Class AgentPoolUpgradeProfilePropertiesUpgradesItem
java.lang.Object
com.microsoft.azure.management.containerservice.AgentPoolUpgradeProfilePropertiesUpgradesItem
The AgentPoolUpgradeProfilePropertiesUpgradesItem model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet whether Kubernetes version is currently in preview.Get kubernetes version (major, minor, patch).withIsPreview
(Boolean isPreview) Set whether Kubernetes version is currently in preview.withKubernetesVersion
(String kubernetesVersion) Set kubernetes version (major, minor, patch).
-
Constructor Details
-
AgentPoolUpgradeProfilePropertiesUpgradesItem
public AgentPoolUpgradeProfilePropertiesUpgradesItem()
-
-
Method Details
-
kubernetesVersion
Get kubernetes version (major, minor, patch).- Returns:
- the kubernetesVersion value
-
withKubernetesVersion
public AgentPoolUpgradeProfilePropertiesUpgradesItem withKubernetesVersion(String kubernetesVersion) Set kubernetes version (major, minor, patch).- Parameters:
kubernetesVersion
- the kubernetesVersion value to set- Returns:
- the AgentPoolUpgradeProfilePropertiesUpgradesItem object itself.
-
isPreview
Get whether Kubernetes version is currently in preview.- Returns:
- the isPreview value
-
withIsPreview
Set whether Kubernetes version is currently in preview.- Parameters:
isPreview
- the isPreview value to set- Returns:
- the AgentPoolUpgradeProfilePropertiesUpgradesItem object itself.
-