Class ProvisionedClusterPoolUpgradeProfile

java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.ProvisionedClusterPoolUpgradeProfile

public final class ProvisionedClusterPoolUpgradeProfile extends Object
The list of available upgrade versions.
  • Constructor Details

    • ProvisionedClusterPoolUpgradeProfile

      public ProvisionedClusterPoolUpgradeProfile()
      Creates an instance of ProvisionedClusterPoolUpgradeProfile class.
  • Method Details

    • kubernetesVersion

      public String kubernetesVersion()
      Get the kubernetesVersion property: The Kubernetes version (major.minor.patch).
      Returns:
      the kubernetesVersion value.
    • name

      public String name()
      Get the name property: The Agent Pool name.
      Returns:
      the name value.
    • osType

      public OsType 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

      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.