Class: Azure::ARM::Compute::Models::ContainerService

Inherits:
MsRestAzure::Resource
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_compute/models/container_service.rb

Overview

Container service.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#agent_pool_profilesArray<ContainerServiceAgentPoolProfile>

agent pool.

Returns:



36
37
38
# File 'lib/generated/azure_mgmt_compute/models/container_service.rb', line 36

def agent_pool_profiles
  @agent_pool_profiles
end

#custom_profileContainerServiceCustomProfile

Returns Properties for custom clusters.

Returns:



25
26
27
# File 'lib/generated/azure_mgmt_compute/models/container_service.rb', line 25

def custom_profile
  @custom_profile
end

#diagnostics_profileContainerServiceDiagnosticsProfile

diagnostic agent.

Returns:



46
47
48
# File 'lib/generated/azure_mgmt_compute/models/container_service.rb', line 46

def diagnostics_profile
  @diagnostics_profile
end

#linux_profileContainerServiceLinuxProfile

Returns Properties of Linux VMs.

Returns:



42
43
44
# File 'lib/generated/azure_mgmt_compute/models/container_service.rb', line 42

def linux_profile
  @linux_profile
end

#master_profileContainerServiceMasterProfile

Returns Properties of master agents.

Returns:



32
33
34
# File 'lib/generated/azure_mgmt_compute/models/container_service.rb', line 32

def master_profile
  @master_profile
end

#orchestrator_profileContainerServiceOrchestratorProfile

orchestrator.

Returns:



22
23
24
# File 'lib/generated/azure_mgmt_compute/models/container_service.rb', line 22

def orchestrator_profile
  @orchestrator_profile
end

#provisioning_stateString

only appears in the response.

Returns:

  • (String)

    the current deployment or provisioning state, which



18
19
20
# File 'lib/generated/azure_mgmt_compute/models/container_service.rb', line 18

def provisioning_state
  @provisioning_state
end

#service_principal_profileContainerServiceServicePrincipalProfile

cluster service principals.

Returns:



29
30
31
# File 'lib/generated/azure_mgmt_compute/models/container_service.rb', line 29

def service_principal_profile
  @service_principal_profile
end

#windows_profileContainerServiceWindowsProfile

Returns Properties of Windows VMs.

Returns:



39
40
41
# File 'lib/generated/azure_mgmt_compute/models/container_service.rb', line 39

def windows_profile
  @windows_profile
end

Class Method Details

.mapperObject

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



53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
# File 'lib/generated/azure_mgmt_compute/models/container_service.rb', line 53

def self.mapper()
  {
    required: false,
    serialized_name: 'ContainerService',
    type: {
      name: 'Composite',
      class_name: 'ContainerService',
      model_properties: {
        id: {
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        location: {
          required: true,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        tags: {
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        provisioning_state: {
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        orchestrator_profile: {
          required: false,
          serialized_name: 'properties.orchestratorProfile',
          type: {
            name: 'Composite',
            class_name: 'ContainerServiceOrchestratorProfile'
          }
        },
        custom_profile: {
          required: false,
          serialized_name: 'properties.customProfile',
          type: {
            name: 'Composite',
            class_name: 'ContainerServiceCustomProfile'
          }
        },
        service_principal_profile: {
          required: false,
          serialized_name: 'properties.servicePrincipalProfile',
          type: {
            name: 'Composite',
            class_name: 'ContainerServiceServicePrincipalProfile'
          }
        },
        master_profile: {
          required: true,
          serialized_name: 'properties.masterProfile',
          type: {
            name: 'Composite',
            class_name: 'ContainerServiceMasterProfile'
          }
        },
        agent_pool_profiles: {
          required: true,
          serialized_name: 'properties.agentPoolProfiles',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serialized_name: 'ContainerServiceAgentPoolProfileElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ContainerServiceAgentPoolProfile'
                }
            }
          }
        },
        windows_profile: {
          required: false,
          serialized_name: 'properties.windowsProfile',
          type: {
            name: 'Composite',
            class_name: 'ContainerServiceWindowsProfile'
          }
        },
        linux_profile: {
          required: true,
          serialized_name: 'properties.linuxProfile',
          type: {
            name: 'Composite',
            class_name: 'ContainerServiceLinuxProfile'
          }
        },
        diagnostics_profile: {
          required: false,
          serialized_name: 'properties.diagnosticsProfile',
          type: {
            name: 'Composite',
            class_name: 'ContainerServiceDiagnosticsProfile'
          }
        }
      }
    }
  }
end