共用方式為


IWithVersion.WithVersion Method

Definition

Overloads

WithVersion(KubernetesVersion)

Specifies the version for the Kubernetes cluster.

WithVersion(String)

Specifies the version for the Kubernetes cluster.

WithVersion(KubernetesVersion)

Specifies the version for the Kubernetes cluster.

public Microsoft.Azure.Management.ContainerService.Fluent.KubernetesCluster.Definition.IWithLinuxRootUsername WithVersion (Microsoft.Azure.Management.ContainerService.Fluent.Models.KubernetesVersion kubernetesVersion);
abstract member WithVersion : Microsoft.Azure.Management.ContainerService.Fluent.Models.KubernetesVersion -> Microsoft.Azure.Management.ContainerService.Fluent.KubernetesCluster.Definition.IWithLinuxRootUsername
Public Function WithVersion (kubernetesVersion As KubernetesVersion) As IWithLinuxRootUsername

Parameters

kubernetesVersion
KubernetesVersion

The kubernetes version.

Returns

Applies to

WithVersion(String)

Specifies the version for the Kubernetes cluster.

public Microsoft.Azure.Management.ContainerService.Fluent.KubernetesCluster.Definition.IWithLinuxRootUsername WithVersion (string kubernetesVersion);
abstract member WithVersion : string -> Microsoft.Azure.Management.ContainerService.Fluent.KubernetesCluster.Definition.IWithLinuxRootUsername
Public Function WithVersion (kubernetesVersion As String) As IWithLinuxRootUsername

Parameters

kubernetesVersion
String

The kubernetes version.

Returns

Applies to