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
public abstract PagedIterable listOrchestrators(Region region, ContainerServiceResourceTypes resourceTypes)
Returns the list of available orchestrators for the given Azure region.
Parameters:
region
- the Azure region to query into
resourceTypes
- the resource type of container service
Returns:
a list of orchestrators which can be used when creating a service in this region
listOrchestratorsAsync
public abstract PagedFlux listOrchestratorsAsync(Region region, ContainerServiceResourceTypes resourceTypes)
Returns the list of available orchestrators for the given Azure region.
Parameters:
region
- the Azure region to query into
resourceTypes
- the resource type of container service
Returns:
a list of orchestrators which can be used when creating a service in this region
listUserKubeConfigContent
public abstract List 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 is
kubernetesClusterName
- the managed cluster name
Returns:
the Kube.config content which can be used with a Kubernetes client
listUserKubeConfigContent
public abstract List 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 is
kubernetesClusterName
- the managed cluster name
format
- 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
public abstract Mono> 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 is
kubernetesClusterName
- the managed cluster name
Returns:
a future representation of the Kube.config content which can be used with a Kubernetes client
listUserKubeConfigContentAsync
public abstract Mono> 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 is
kubernetesClusterName
- the managed cluster name
format
- 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
public abstract void start(String resourceGroupName, String kubernetesClusterName)
Starts a stopped Kubernetes cluster.
Parameters:
resourceGroupName
- The name of the resource group.
kubernetesClusterName
- The name of the managed cluster resource.
startAsync
public abstract Mono startAsync(String resourceGroupName, String kubernetesClusterName)
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
public abstract void stop(String resourceGroupName, String kubernetesClusterName)
Stops a running Kubernetes cluster.
Parameters:
resourceGroupName
- The name of the resource group.
kubernetesClusterName
- The name of the managed cluster resource.
stopAsync
public abstract Mono stopAsync(String resourceGroupName, String kubernetesClusterName)
Stops a running Kubernetes cluster.
Parameters:
resourceGroupName
- The name of the resource group.
kubernetesClusterName
- The name of the managed cluster resource.
Returns:
the completion.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.