Class ProvisionedClusterPoolUpgradeProfile
java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.ProvisionedClusterPoolUpgradeProfile
The list of available upgrade versions.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ProvisionedClusterPoolUpgradeProfile class. -
Method Summary
Modifier and TypeMethodDescriptionGet the kubernetesVersion property: The Kubernetes version (major.minor.patch).name()
Get the name property: The Agent Pool name.osType()
Get the osType property: OsType - OsType to be used to specify os type.upgrades()
Get the upgrades property: List of orchestrator types and versions available for upgrade.void
validate()
Validates the instance.Set the upgrades property: List of orchestrator types and versions available for upgrade.
-
Constructor Details
-
ProvisionedClusterPoolUpgradeProfile
public ProvisionedClusterPoolUpgradeProfile()Creates an instance of ProvisionedClusterPoolUpgradeProfile class.
-
-
Method Details
-
kubernetesVersion
Get the kubernetesVersion property: The Kubernetes version (major.minor.patch).- Returns:
- the kubernetesVersion value.
-
name
Get the name property: The Agent Pool name.- Returns:
- the name value.
-
osType
Get the osType property: OsType - OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'.- Returns:
- the osType value.
-
upgrades
Get the upgrades property: List of orchestrator types and versions available for upgrade.- Returns:
- the upgrades value.
-
withUpgrades
public ProvisionedClusterPoolUpgradeProfile withUpgrades(List<ProvisionedClusterPoolUpgradeProfileProperties> upgrades) Set the upgrades property: List of orchestrator types and versions available for upgrade.- Parameters:
upgrades
- the upgrades value to set.- Returns:
- the ProvisionedClusterPoolUpgradeProfile object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-