KubernetesCluster.DefinitionStages.WithVersion Interface

public static interface KubernetesCluster.DefinitionStages.WithVersion

The stage of the Kubernetes cluster definition allowing to specify orchestration type.

Method Summary

Modifier and Type Method and Description
abstract WithLinuxRootUsername withDefaultVersion()

Uses the default version for the Kubernetes cluster.

abstract WithLinuxRootUsername withVersion(String kubernetesVersion)

Specifies the version for the Kubernetes cluster.

Method Details

withDefaultVersion

public abstract KubernetesCluster.DefinitionStages.WithLinuxRootUsername withDefaultVersion()

Uses the default version for the Kubernetes cluster.

Returns:

the next stage of the definition

withVersion

public abstract KubernetesCluster.DefinitionStages.WithLinuxRootUsername withVersion(String kubernetesVersion)

Specifies the version for the Kubernetes cluster. Could retrieve from listOrchestrators(Region region, ContainerServiceResourceTypes resourceTypes)

Parameters:

kubernetesVersion - the kubernetes version

Returns:

the next stage of the definition

Applies to