class Azure::ContainerService::Mgmt::V2019_06_01::Models::OrchestratorVersionProfile

The profile of an orchestrator and its available versions.

Attributes

default[RW]

@return [Boolean] Installed by default if version is not specified.

is_preview[RW]

@return [Boolean] Whether Kubernetes version is currently in preview.

orchestrator_type[RW]

@return [String] Orchestrator type.

orchestrator_version[RW]

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

upgrades[RW]

@return [Array<OrchestratorProfile>] The list of available upgrade versions.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-06-01/generated/azure_mgmt_container_service/models/orchestrator_version_profile.rb, line 36
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'OrchestratorVersionProfile',
    type: {
      name: 'Composite',
      class_name: 'OrchestratorVersionProfile',
      model_properties: {
        orchestrator_type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'orchestratorType',
          type: {
            name: 'String'
          }
        },
        orchestrator_version: {
          client_side_validation: true,
          required: true,
          serialized_name: 'orchestratorVersion',
          type: {
            name: 'String'
          }
        },
        default: {
          client_side_validation: true,
          required: false,
          serialized_name: 'default',
          type: {
            name: 'Boolean'
          }
        },
        is_preview: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isPreview',
          type: {
            name: 'Boolean'
          }
        },
        upgrades: {
          client_side_validation: true,
          required: false,
          serialized_name: 'upgrades',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'OrchestratorProfileElementType',
                type: {
                  name: 'Composite',
                  class_name: 'OrchestratorProfile'
                }
            }
          }
        }
      }
    }
  }
end