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

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