Interface KubernetesClusters
- All Superinterfaces:
HasInner<com.microsoft.azure.management.containerservice.implementation.ManagedClustersInner>
,HasManager<com.microsoft.azure.management.containerservice.implementation.ContainerServiceManager>
,SupportsBatchCreation<KubernetesCluster>
,SupportsCreating<KubernetesCluster.DefinitionStages.Blank>
,SupportsDeletingById
,SupportsDeletingByResourceGroup
,SupportsGettingById<KubernetesCluster>
,SupportsGettingByResourceGroup<KubernetesCluster>
,SupportsListing<KubernetesCluster>
,SupportsListingByResourceGroup<KubernetesCluster>
@Beta(V1_4_0)
public interface KubernetesClusters
extends HasManager<com.microsoft.azure.management.containerservice.implementation.ContainerServiceManager>, HasInner<com.microsoft.azure.management.containerservice.implementation.ManagedClustersInner>, 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 TypeMethodDescriptionbyte[]
getAdminKubeConfigContent
(String resourceGroupName, String kubernetesClusterName) Returns the admin Kube.config content which can be used with a Kubernetes client.rx.Observable<byte[]>
getAdminKubeConfigContentAsync
(String resourceGroupName, String kubernetesClusterName) Returns asynchronously the admin Kube.config content which can be used with a Kubernetes client.byte[]
getUserKubeConfigContent
(String resourceGroupName, String kubernetesClusterName) Returns the user Kube.config content which can be used with a Kubernetes client.rx.Observable<byte[]>
getUserKubeConfigContentAsync
(String resourceGroupName, String kubernetesClusterName) Returns asynchronously the user Kube.config content which can be used with a Kubernetes client.listKubernetesVersions
(Region region) Returns the list of available Kubernetes versions available for the given Azure region.listKubernetesVersionsAsync
(Region region) Returns the list of available Kubernetes versions available for the given Azure region.Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
inner
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager
manager
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsBatchCreation
create, create, createAsync, createAsync, createAsync, createAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating
define
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById
deleteById, deleteByIdAsync, deleteByIdAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsDeletingByResourceGroup
deleteByResourceGroup, deleteByResourceGroupAsync, deleteByResourceGroupAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById
getById, getByIdAsync, getByIdAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingByResourceGroup
getByResourceGroup, getByResourceGroupAsync, getByResourceGroupAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing
list, listAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsListingByResourceGroup
listByResourceGroup, listByResourceGroupAsync
-
Method Details
-
listKubernetesVersions
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
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
-
getAdminKubeConfigContent
@Beta(V1_7_0) byte[] getAdminKubeConfigContent(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
-
getAdminKubeConfigContentAsync
@Beta(V1_7_0) rx.Observable<byte[]> getAdminKubeConfigContentAsync(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
-
getUserKubeConfigContent
@Beta(V1_7_0) byte[] getUserKubeConfigContent(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
-
getUserKubeConfigContentAsync
@Beta(V1_7_0) rx.Observable<byte[]> getUserKubeConfigContentAsync(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
-