Class: Azure::ContainerService::Mgmt::V2017_07_01::Models::ContainerServiceOrchestratorProfile

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-07-01/generated/azure_mgmt_container_service/models/container_service_orchestrator_profile.rb

Overview

Profile for the container service orchestrator.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#orchestrator_typeContainerServiceOrchestratorTypes

manage container service cluster resources. Valid values are Kubernetes, Swarm, DCOS, DockerCE and Custom. Possible values include: ‘Kubernetes’, ‘Swarm’, ‘DCOS’, ‘DockerCE’, ‘Custom’

Returns:



19
20
21
# File 'lib/2017-07-01/generated/azure_mgmt_container_service/models/container_service_orchestrator_profile.rb', line 19

def orchestrator_type
  @orchestrator_type
end

#orchestrator_versionString

specify the major.minor.patch part of the actual version.For example, you can specify version as “1.6.11”.

Returns:

  • (String)

    The version of the orchestrator to use. You can



24
25
26
# File 'lib/2017-07-01/generated/azure_mgmt_container_service/models/container_service_orchestrator_profile.rb', line 24

def orchestrator_version
  @orchestrator_version
end

Class Method Details

.mapperObject

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



31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# File 'lib/2017-07-01/generated/azure_mgmt_container_service/models/container_service_orchestrator_profile.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ContainerServiceOrchestratorProfile',
    type: {
      name: 'Composite',
      class_name: 'ContainerServiceOrchestratorProfile',
      model_properties: {
        orchestrator_type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'orchestratorType',
          type: {
            name: 'String'
          }
        },
        orchestrator_version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'orchestratorVersion',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end