class Azure::ContainerService::Mgmt::V2016_03_30::Models::ContainerService

Container service.

Attributes

agent_pool_profiles[RW]

@return [Array<ContainerServiceAgentPoolProfile>] Properties of the agent pool.

diagnostics_profile[RW]

@return [ContainerServiceDiagnosticsProfile] Properties of the diagnostic agent.

linux_profile[RW]

@return [ContainerServiceLinuxProfile] Properties of Linux VMs.

master_profile[RW]

@return [ContainerServiceMasterProfile] Properties of master agents.

orchestrator_profile[RW]

@return [ContainerServiceOrchestratorProfile] Properties of the orchestrator.

provisioning_state[RW]

@return [String] the current deployment or provisioning state, which only appears in the response.

windows_profile[RW]

@return [ContainerServiceWindowsProfile] Properties of Windows VMs.

Public Class Methods

mapper() click to toggle source

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

# File lib/2016-03-30/generated/azure_mgmt_container_service/models/container_service.rb, line 45
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ContainerService',
    type: {
      name: 'Composite',
      class_name: 'ContainerService',
      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'
          }
        },
        location: {
          client_side_validation: true,
          required: true,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        orchestrator_profile: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.orchestratorProfile',
          type: {
            name: 'Composite',
            class_name: 'ContainerServiceOrchestratorProfile'
          }
        },
        master_profile: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.masterProfile',
          type: {
            name: 'Composite',
            class_name: 'ContainerServiceMasterProfile'
          }
        },
        agent_pool_profiles: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.agentPoolProfiles',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ContainerServiceAgentPoolProfileElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ContainerServiceAgentPoolProfile'
                }
            }
          }
        },
        windows_profile: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.windowsProfile',
          type: {
            name: 'Composite',
            class_name: 'ContainerServiceWindowsProfile'
          }
        },
        linux_profile: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.linuxProfile',
          type: {
            name: 'Composite',
            class_name: 'ContainerServiceLinuxProfile'
          }
        },
        diagnostics_profile: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.diagnosticsProfile',
          type: {
            name: 'Composite',
            class_name: 'ContainerServiceDiagnosticsProfile'
          }
        }
      }
    }
  }
end