Share via


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IContainerGroups 接口

定义

容器实例管理 API 的入口点。

public interface IContainerGroups : Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsBatchCreation<Microsoft.Azure.Management.ContainerInstance.Fluent.IContainerGroup>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsBatchDeletion, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsCreating<Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IBlank>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsDeletingById, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsDeletingByResourceGroup, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsGettingById<Microsoft.Azure.Management.ContainerInstance.Fluent.IContainerGroup>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsGettingByResourceGroup<Microsoft.Azure.Management.ContainerInstance.Fluent.IContainerGroup>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsListing<Microsoft.Azure.Management.ContainerInstance.Fluent.IContainerGroup>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsListingByResourceGroup<Microsoft.Azure.Management.ContainerInstance.Fluent.IContainerGroup>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.ContainerInstance.Fluent.IContainerGroupsOperations>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasManager<Microsoft.Azure.Management.ContainerInstance.Fluent.IContainerInstanceManager>
type IContainerGroups = interface
    interface IBeta
    interface ISupportsCreating<IBlank>
    interface IHasManager<IContainerInstanceManager>
    interface IHasInner<IContainerGroupsOperations>
    interface ISupportsBatchCreation<IContainerGroup>
    interface ISupportsGettingByResourceGroup<IContainerGroup>
    interface ISupportsGettingById<IContainerGroup>
    interface ISupportsDeletingByResourceGroup
    interface ISupportsDeletingById
    interface ISupportsBatchDeletion
    interface ISupportsListingByResourceGroup<IContainerGroup>
    interface ISupportsListing<IContainerGroup>
Public Interface IContainerGroups
Implements IHasInner(Of IContainerGroupsOperations), IHasManager(Of IContainerInstanceManager), ISupportsBatchCreation(Of IContainerGroup), ISupportsBatchDeletion, ISupportsCreating(Of IBlank), ISupportsDeletingById, ISupportsDeletingByResourceGroup, ISupportsGettingById(Of IContainerGroup), ISupportsGettingByResourceGroup(Of IContainerGroup), ISupportsListing(Of IContainerGroup), ISupportsListingByResourceGroup(Of IContainerGroup)
实现

属性

Inner

容器实例管理 API 的入口点。

(继承自 IHasInner<T>)
Manager

获取此资源类型的管理器客户端类型。

(继承自 IHasManager<ManagerT>)

方法

Create(ICreatable<IFluentResourceT>[])

创建一组 (批量) 资源。

(继承自 ISupportsBatchCreation<IFluentResourceT>)
Create(IEnumerable<ICreatable<IFluentResourceT>>)

创建一组 (批量) 资源。

(继承自 ISupportsBatchCreation<IFluentResourceT>)
CreateAsync(IEnumerable<ICreatable<IFluentResourceT>>, CancellationToken)

创建一组 (批量) 资源。

(继承自 ISupportsBatchCreation<IFluentResourceT>)
Define(String)

容器实例管理 API 的入口点。

(继承自 ISupportsCreating<T>)
DeleteById(String)

从 Azure 中删除资源,并按其资源 ID 标识该资源。

(继承自 ISupportsDeletingById)
DeleteByIdAsync(String, CancellationToken)

从 Azure 中删除资源,并按其资源 ID 标识该资源。

(继承自 ISupportsDeletingById)
DeleteByIds(IList<String>)

从 Azure 中删除指定的资源。

(继承自 ISupportsBatchDeletion)
DeleteByIds(String[])

从 Azure 中删除指定的资源。

(继承自 ISupportsBatchDeletion)
DeleteByIdsAsync(IList<String>, CancellationToken)

以异步方式和并行方式从 Azure 中删除指定的资源。

(继承自 ISupportsBatchDeletion)
DeleteByIdsAsync(String[], CancellationToken)

以异步方式和并行方式从 Azure 中删除指定的资源。

(继承自 ISupportsBatchDeletion)
DeleteByResourceGroup(String, String)

从 Azure 中删除资源,并按其名称和资源组对其进行标识。

(继承自 ISupportsDeletingByResourceGroup)
DeleteByResourceGroupAsync(String, String, CancellationToken)

从 Azure 中删除资源,并按其名称和资源组对其进行标识。

(继承自 ISupportsDeletingByResourceGroup)
GetById(String)

根据资源 ID 从 Azure 获取有关资源的信息。

(继承自 ISupportsGettingById<T>)
GetByIdAsync(String, CancellationToken)

根据资源 ID 从 Azure 获取有关资源的信息。

(继承自 ISupportsGettingById<T>)
GetByResourceGroup(String, String)

根据资源名称和资源组的名称从 Azure 获取有关资源的信息。

(继承自 ISupportsGettingByResourceGroup<T>)
GetByResourceGroupAsync(String, String, CancellationToken)

根据资源名称和资源组的名称从 Azure 获取有关资源的信息。

(继承自 ISupportsGettingByResourceGroup<T>)
GetLogContent(String, String, String)

获取容器组中指定容器实例的日志内容。

GetLogContent(String, String, String, Int32)

获取容器组中指定容器实例的日志内容。

GetLogContentAsync(String, String, String, CancellationToken)

获取容器组中指定容器实例的日志内容。

GetLogContentAsync(String, String, String, Int32, CancellationToken)

获取容器组中指定容器实例的日志内容。

List()

列出当前所选订阅中指定类型的所有资源。

(继承自 ISupportsListing<T>)
ListAsync(Boolean, CancellationToken)

列出当前所选订阅中指定类型的所有资源。

(继承自 ISupportsListing<T>)
ListByResourceGroup(String)

列出指定资源组中指定类型的资源。

(继承自 ISupportsListingByResourceGroup<T>)
ListByResourceGroupAsync(String, Boolean, CancellationToken)

列出指定资源组中指定类型的资源。

(继承自 ISupportsListingByResourceGroup<T>)
ListCachedImages(String)

列出区域中订阅的缓存映像。

ListCachedImagesAsync(String, CancellationToken)

列出区域中订阅的缓存映像。

ListCapabilities(String)

列出某个位置的功能。

ListCapabilitiesAsync(String, CancellationToken)

列出某个位置的功能。

ListOperations()

列出 Azure 容器实例服务的所有操作。

ListOperationsAsync(CancellationToken)

列出 Azure 容器实例服务的所有操作。

Start(String, String)

启动容器组中的所有容器。

StartAsync(String, String, CancellationToken)

启动容器组中的所有容器。

适用于