class Azure::ContainerService::Mgmt::V2020_09_01::Models::AgentPoolUpgradeProfile

The list of available upgrades for an agent pool.

Attributes

id[RW]

@return [String] Id of the agent pool upgrade profile.

kubernetes_version[RW]

@return [String] Kubernetes version (major, minor, patch).

latest_node_image_version[RW]

@return [String] LatestNodeImageVersion is the latest AKS supported node image version.

name[RW]

@return [String] Name of the agent pool upgrade profile.

os_type[RW]

@return [OSType] OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux. Possible values include: 'Linux', 'Windows'. Default value: 'Linux' .

type[RW]

@return [String] Type of the agent pool upgrade profile.

upgrades[RW]

@return [Array<AgentPoolUpgradeProfilePropertiesUpgradesItem>] List of orchestrator types and versions available for upgrade.

Public Class Methods

mapper() click to toggle source

Mapper for AgentPoolUpgradeProfile class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2020-09-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile.rb, line 45
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AgentPoolUpgradeProfile',
    type: {
      name: 'Composite',
      class_name: 'AgentPoolUpgradeProfile',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        kubernetes_version: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.kubernetesVersion',
          type: {
            name: 'String'
          }
        },
        os_type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.osType',
          default_value: 'Linux',
          type: {
            name: 'String'
          }
        },
        upgrades: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.upgrades',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'AgentPoolUpgradeProfilePropertiesUpgradesItemElementType',
                type: {
                  name: 'Composite',
                  class_name: 'AgentPoolUpgradeProfilePropertiesUpgradesItem'
                }
            }
          }
        },
        latest_node_image_version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.latestNodeImageVersion',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end