Interface KubernetesClusters
- All Superinterfaces:
HasManager<ContainerServiceManager>,SupportsBatchCreation<KubernetesCluster>,SupportsCreating<KubernetesCluster.DefinitionStages.Blank>,SupportsDeletingById,SupportsDeletingByResourceGroup,SupportsGettingById<KubernetesCluster>,SupportsGettingByResourceGroup<KubernetesCluster>,SupportsListing<KubernetesCluster>,SupportsListingByResourceGroup<KubernetesCluster>
public interface KubernetesClusters
extends HasManager<ContainerServiceManager>, SupportsCreating<KubernetesCluster.DefinitionStages.Blank>, SupportsBatchCreation<KubernetesCluster>, SupportsListing<KubernetesCluster>, SupportsGettingById<KubernetesCluster>, SupportsDeletingById, SupportsDeletingByResourceGroup, SupportsListingByResourceGroup<KubernetesCluster>, SupportsGettingByResourceGroup<KubernetesCluster>
Entry point to managed Kubernetes service management API.
-
Method Summary
Modifier and TypeMethodDescriptionlistAdminKubeConfigContent(String resourceGroupName, String kubernetesClusterName) Returns the admin Kube.config content which can be used with a Kubernetes client.listAdminKubeConfigContentAsync(String resourceGroupName, String kubernetesClusterName) Returns asynchronously the admin Kube.config content which can be used with a Kubernetes client.listKubernetesVersions(com.azure.core.management.Region region) Deprecated.listKubernetesVersionsAsync(com.azure.core.management.Region region) Deprecated.com.azure.core.http.rest.PagedIterable<OrchestratorVersionProfile> listOrchestrators(com.azure.core.management.Region region, ContainerServiceResourceTypes resourceTypes) Returns the list of available orchestrators for the given Azure region.com.azure.core.http.rest.PagedFlux<OrchestratorVersionProfile> listOrchestratorsAsync(com.azure.core.management.Region region, ContainerServiceResourceTypes resourceTypes) Returns the list of available orchestrators for the given Azure region.listUserKubeConfigContent(String resourceGroupName, String kubernetesClusterName) Returns the user Kube.config content which can be used with a Kubernetes client.listUserKubeConfigContent(String resourceGroupName, String kubernetesClusterName, Format format) Returns the user Kube.config content which can be used with a Kubernetes client.listUserKubeConfigContentAsync(String resourceGroupName, String kubernetesClusterName) Returns asynchronously the user Kube.config content which can be used with a Kubernetes client.listUserKubeConfigContentAsync(String resourceGroupName, String kubernetesClusterName, Format format) Returns asynchronously the user Kube.config content which can be used with a Kubernetes client.voidStarts a stopped Kubernetes cluster.startAsync(String resourceGroupName, String kubernetesClusterName) Starts a stopped Kubernetes cluster.voidStops a running Kubernetes cluster.Stops a running Kubernetes cluster.Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
managerMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsBatchCreation
create, create, createAsync, createAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating
defineMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById
deleteById, deleteByIdAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsDeletingByResourceGroup
deleteByResourceGroup, deleteByResourceGroupAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById
getById, getByIdAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingByResourceGroup
getByResourceGroup, getByResourceGroupAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsListing
list, listAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsListingByResourceGroup
listByResourceGroup, listByResourceGroupAsync
-
Method Details
-
listKubernetesVersions
Deprecated.Returns the list of available Kubernetes versions available for the given Azure region.- Parameters:
region- the Azure region to query into- Returns:
- a set of Kubernetes versions which can be used when creating a service in this region
-
listKubernetesVersionsAsync
Deprecated.Returns the list of available Kubernetes versions available for the given Azure region.- Parameters:
region- the Azure region to query into- Returns:
- a future representation of a set of Kubernetes versions which can be used when creating a service in this region
-
listOrchestrators
com.azure.core.http.rest.PagedIterable<OrchestratorVersionProfile> listOrchestrators(com.azure.core.management.Region region, ContainerServiceResourceTypes resourceTypes) Returns the list of available orchestrators for the given Azure region.- Parameters:
region- the Azure region to query intoresourceTypes- the resource type of container service- Returns:
- a list of orchestrators which can be used when creating a service in this region
-
listOrchestratorsAsync
com.azure.core.http.rest.PagedFlux<OrchestratorVersionProfile> listOrchestratorsAsync(com.azure.core.management.Region region, ContainerServiceResourceTypes resourceTypes) Returns the list of available orchestrators for the given Azure region.- Parameters:
region- the Azure region to query intoresourceTypes- the resource type of container service- Returns:
- a list of orchestrators which can be used when creating a service in this region
-
listAdminKubeConfigContent
List<CredentialResult> listAdminKubeConfigContent(String resourceGroupName, String kubernetesClusterName) Returns the admin Kube.config content which can be used with a Kubernetes client.- Parameters:
resourceGroupName- the resource group name where the cluster iskubernetesClusterName- the managed cluster name- Returns:
- the Kube.config content which can be used with a Kubernetes client
-
listAdminKubeConfigContentAsync
Mono<List<CredentialResult>> listAdminKubeConfigContentAsync(String resourceGroupName, String kubernetesClusterName) Returns asynchronously the admin Kube.config content which can be used with a Kubernetes client.- Parameters:
resourceGroupName- the resource group name where the cluster iskubernetesClusterName- the managed cluster name- Returns:
- a future representation of the Kube.config content which can be used with a Kubernetes client
-
listUserKubeConfigContent
List<CredentialResult> listUserKubeConfigContent(String resourceGroupName, String kubernetesClusterName) Returns the user Kube.config content which can be used with a Kubernetes client.- Parameters:
resourceGroupName- the resource group name where the cluster iskubernetesClusterName- the managed cluster name- Returns:
- the Kube.config content which can be used with a Kubernetes client
-
listUserKubeConfigContent
List<CredentialResult> listUserKubeConfigContent(String resourceGroupName, String kubernetesClusterName, Format format) Returns the user Kube.config content which can be used with a Kubernetes client.- Parameters:
resourceGroupName- the resource group name where the cluster iskubernetesClusterName- the managed cluster nameformat- Only apply to AAD clusters, specifies the format of returned kubeconfig. Format 'azure' will return azure auth-provider kubeconfig; format 'exec' will return exec format kubeconfig, which requires kubelogin binary in the path.- Returns:
- the Kube.config content which can be used with a Kubernetes client
-
listUserKubeConfigContentAsync
Mono<List<CredentialResult>> listUserKubeConfigContentAsync(String resourceGroupName, String kubernetesClusterName) Returns asynchronously the user Kube.config content which can be used with a Kubernetes client.- Parameters:
resourceGroupName- the resource group name where the cluster iskubernetesClusterName- the managed cluster name- Returns:
- a future representation of the Kube.config content which can be used with a Kubernetes client
-
listUserKubeConfigContentAsync
Mono<List<CredentialResult>> listUserKubeConfigContentAsync(String resourceGroupName, String kubernetesClusterName, Format format) Returns asynchronously the user Kube.config content which can be used with a Kubernetes client.- Parameters:
resourceGroupName- the resource group name where the cluster iskubernetesClusterName- the managed cluster nameformat- Only apply to AAD clusters, specifies the format of returned kubeconfig. Format 'azure' will return azure auth-provider kubeconfig; format 'exec' will return exec format kubeconfig, which requires kubelogin binary in the path.- Returns:
- a future representation of the Kube.config content which can be used with a Kubernetes client
-
start
Starts a stopped Kubernetes cluster.- Parameters:
resourceGroupName- The name of the resource group.kubernetesClusterName- The name of the managed cluster resource.
-
startAsync
Starts a stopped Kubernetes cluster.- Parameters:
resourceGroupName- The name of the resource group.kubernetesClusterName- The name of the managed cluster resource.- Returns:
- the completion.
-
stop
Stops a running Kubernetes cluster.- Parameters:
resourceGroupName- The name of the resource group.kubernetesClusterName- The name of the managed cluster resource.
-
stopAsync
Stops a running Kubernetes cluster.- Parameters:
resourceGroupName- The name of the resource group.kubernetesClusterName- The name of the managed cluster resource.- Returns:
- the completion.
-
listOrchestrators(Region, ContainerServiceResourceTypes)