KubernetesCluster.DefinitionStages.WithVersion Interface

public interface WithVersion

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

Method Summary

Modifier and Type Method and Description
KubernetesCluster.DefinitionStages.WithLinuxRootUsername withLatestVersion()

Uses the latest version for the Kubernetes cluster.

KubernetesCluster.DefinitionStages.WithLinuxRootUsername withVersion(KubernetesVersion kubernetesVersion)

Specifies the version for the Kubernetes cluster.

KubernetesCluster.DefinitionStages.WithLinuxRootUsername withVersion(String kubernetesVersion)

Specifies the version for the Kubernetes cluster.

Method Details

withLatestVersion

public WithLinuxRootUsername withLatestVersion()

Uses the latest version for the Kubernetes cluster.

Returns:

the next stage of the definition

withVersion

public WithLinuxRootUsername withVersion(KubernetesVersion kubernetesVersion)

Specifies the version for the Kubernetes cluster.

Parameters:

kubernetesVersion - the kubernetes version

Returns:

the next stage of the definition

withVersion

public WithLinuxRootUsername withVersion(String kubernetesVersion)

Specifies the version for the Kubernetes cluster.

Parameters:

kubernetesVersion - the kubernetes version

Returns:

the next stage of the definition

Applies to