Share via


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

IKubernetesClusters 接口

定义

托管 Kubernetes 服务管理 API 的入口点。

public interface IKubernetesClusters : Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsBatchCreation<Microsoft.Azure.Management.ContainerService.Fluent.IKubernetesCluster>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsCreating<Microsoft.Azure.Management.ContainerService.Fluent.KubernetesCluster.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.ContainerService.Fluent.IKubernetesCluster>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsGettingByResourceGroup<Microsoft.Azure.Management.ContainerService.Fluent.IKubernetesCluster>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsListing<Microsoft.Azure.Management.ContainerService.Fluent.IKubernetesCluster>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsListingByResourceGroup<Microsoft.Azure.Management.ContainerService.Fluent.IKubernetesCluster>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.ContainerService.Fluent.IManagedClustersOperations>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasManager<Microsoft.Azure.Management.ContainerService.Fluent.IContainerServiceManager>
type IKubernetesClusters = interface
    interface IBeta
    interface IHasManager<IContainerServiceManager>
    interface IHasInner<IManagedClustersOperations>
    interface ISupportsCreating<IBlank>
    interface ISupportsBatchCreation<IKubernetesCluster>
    interface ISupportsListing<IKubernetesCluster>
    interface ISupportsGettingById<IKubernetesCluster>
    interface ISupportsDeletingById
    interface ISupportsDeletingByResourceGroup
    interface ISupportsListingByResourceGroup<IKubernetesCluster>
    interface ISupportsGettingByResourceGroup<IKubernetesCluster>
Public Interface IKubernetesClusters
Implements IBeta, IHasInner(Of IManagedClustersOperations), IHasManager(Of IContainerServiceManager), ISupportsBatchCreation(Of IKubernetesCluster), ISupportsCreating(Of IBlank), ISupportsDeletingById, ISupportsDeletingByResourceGroup, ISupportsGettingById(Of IKubernetesCluster), ISupportsGettingByResourceGroup(Of IKubernetesCluster), ISupportsListing(Of IKubernetesCluster), ISupportsListingByResourceGroup(Of IKubernetesCluster)
实现

属性

Inner

托管 Kubernetes 服务管理 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)

托管 Kubernetes 服务管理 API 的入口点。

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

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

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

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

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

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

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

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

(继承自 ISupportsDeletingByResourceGroup)
GetAdminKubeConfigContents(String, String)

返回可与 Kubernetes 客户端一起使用的管理员Kube.config内容。

GetAdminKubeConfigContentsAsync(String, String, CancellationToken)

异步返回可与 Kubernetes 客户端一起使用的管理员Kube.config内容。

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>)
GetUserKubeConfigContents(String, String)

返回用户Kube.config可用于 Kubernetes 客户端的内容。

GetUserKubeConfigContentsAsync(String, String, CancellationToken)

异步返回用户Kube.config可与 Kubernetes 客户端一起使用的内容。

List()

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

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

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

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

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

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

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

(继承自 ISupportsListingByResourceGroup<T>)
ListKubernetesVersions(Region)

返回给定 Azure 区域可用的可用 Kubernetes 版本列表。

ListKubernetesVersionsAsync(Region, CancellationToken)

返回给定 Azure 区域可用的可用 Kubernetes 版本列表。

适用于