azure_mgmt_container_service 0.17.0 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2016-03-30/generated/azure_mgmt_container_service/container_service_client.rb +7 -6
- data/lib/2016-09-30/generated/azure_mgmt_container_service/container_service_client.rb +7 -6
- data/lib/2016-09-30/generated/azure_mgmt_container_service/container_services.rb +1 -1
- data/lib/2017-01-31/generated/azure_mgmt_container_service/container_service_client.rb +7 -6
- data/lib/2017-01-31/generated/azure_mgmt_container_service/container_services.rb +1 -1
- data/lib/2017-07-01/generated/azure_mgmt_container_service.rb +47 -0
- data/lib/2017-07-01/generated/azure_mgmt_container_service/container_service_client.rb +133 -0
- data/lib/2017-07-01/generated/azure_mgmt_container_service/container_services.rb +924 -0
- data/lib/2017-07-01/generated/azure_mgmt_container_service/models/container_service.rb +213 -0
- data/lib/2017-07-01/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb +226 -0
- data/lib/2017-07-01/generated/azure_mgmt_container_service/models/container_service_custom_profile.rb +46 -0
- data/lib/2017-07-01/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +48 -0
- data/lib/2017-07-01/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +62 -0
- data/lib/2017-07-01/generated/azure_mgmt_container_service/models/container_service_list_result.rb +100 -0
- data/lib/2017-07-01/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +188 -0
- data/lib/2017-07-01/generated/azure_mgmt_container_service/models/container_service_orchestrator_profile.rb +62 -0
- data/lib/2017-07-01/generated/azure_mgmt_container_service/models/container_service_orchestrator_types.rb +19 -0
- data/lib/2017-07-01/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb +73 -0
- data/lib/2017-07-01/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +57 -0
- data/lib/2017-07-01/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +48 -0
- data/lib/2017-07-01/generated/azure_mgmt_container_service/models/container_service_storage_profile_types.rb +16 -0
- data/lib/2017-07-01/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +60 -0
- data/lib/2017-07-01/generated/azure_mgmt_container_service/models/container_service_vmsize_types.rb +188 -0
- data/lib/2017-07-01/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb +63 -0
- data/lib/2017-07-01/generated/azure_mgmt_container_service/models/key_vault_secret_ref.rb +68 -0
- data/lib/2017-07-01/generated/azure_mgmt_container_service/models/ostype.rb +16 -0
- data/lib/2017-07-01/generated/azure_mgmt_container_service/models/resource.rb +101 -0
- data/lib/2017-07-01/generated/azure_mgmt_container_service/module_definition.rb +9 -0
- data/lib/2017-08-31/generated/azure_mgmt_container_service.rb +48 -0
- data/lib/2017-08-31/generated/azure_mgmt_container_service/container_service_client.rb +133 -0
- data/lib/2017-08-31/generated/azure_mgmt_container_service/managed_clusters.rb +1172 -0
- data/lib/2017-08-31/generated/azure_mgmt_container_service/models/container_service_agent_pool_profile.rb +226 -0
- data/lib/2017-08-31/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +48 -0
- data/lib/2017-08-31/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +62 -0
- data/lib/2017-08-31/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +188 -0
- data/lib/2017-08-31/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb +73 -0
- data/lib/2017-08-31/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +57 -0
- data/lib/2017-08-31/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +48 -0
- data/lib/2017-08-31/generated/azure_mgmt_container_service/models/container_service_storage_profile_types.rb +16 -0
- data/lib/2017-08-31/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +60 -0
- data/lib/2017-08-31/generated/azure_mgmt_container_service/models/container_service_vmsize_types.rb +188 -0
- data/lib/2017-08-31/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb +63 -0
- data/lib/2017-08-31/generated/azure_mgmt_container_service/models/key_vault_secret_ref.rb +68 -0
- data/lib/2017-08-31/generated/azure_mgmt_container_service/models/managed_cluster.rb +183 -0
- data/lib/2017-08-31/generated/azure_mgmt_container_service/models/managed_cluster_access_profile.rb +97 -0
- data/lib/2017-08-31/generated/azure_mgmt_container_service/models/managed_cluster_list_result.rb +100 -0
- data/lib/2017-08-31/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile.rb +91 -0
- data/lib/2017-08-31/generated/azure_mgmt_container_service/models/managed_cluster_upgrade_profile.rb +105 -0
- data/lib/2017-08-31/generated/azure_mgmt_container_service/models/orchestrator_profile.rb +57 -0
- data/lib/2017-08-31/generated/azure_mgmt_container_service/models/ostype.rb +16 -0
- data/lib/2017-08-31/generated/azure_mgmt_container_service/models/resource.rb +101 -0
- data/lib/2017-08-31/generated/azure_mgmt_container_service/module_definition.rb +9 -0
- data/lib/2017-09-30/generated/azure_mgmt_container_service.rb +31 -0
- data/lib/2017-09-30/generated/azure_mgmt_container_service/container_service_client.rb +133 -0
- data/lib/2017-09-30/generated/azure_mgmt_container_service/container_services.rb +131 -0
- data/lib/2017-09-30/generated/azure_mgmt_container_service/models/orchestrator_profile.rb +57 -0
- data/lib/2017-09-30/generated/azure_mgmt_container_service/models/orchestrator_version_profile.rb +89 -0
- data/lib/2017-09-30/generated/azure_mgmt_container_service/models/orchestrator_version_profile_list_result.rb +92 -0
- data/lib/2017-09-30/generated/azure_mgmt_container_service/module_definition.rb +9 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service.rb +57 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/container_service_client.rb +137 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/managed_clusters.rb +1227 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +48 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +62 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +188 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/container_service_network_profile.rb +128 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/container_service_service_principal_profile.rb +73 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +57 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +48 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/container_service_storage_profile_types.rb +16 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +60 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/container_service_vmsize_types.rb +188 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/container_service_windows_profile.rb +63 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/key_vault_secret_ref.rb +68 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster.rb +255 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb +80 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_access_profile.rb +97 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb +66 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile.rb +237 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_list_result.rb +100 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile.rb +91 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/managed_cluster_upgrade_profile.rb +105 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/network_plugin.rb +16 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/network_policy.rb +15 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/operation_list_result.rb +56 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/operation_value.rb +108 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/orchestrator_profile.rb +57 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/ostype.rb +16 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/resource.rb +101 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/models/tags_object.rb +54 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/module_definition.rb +9 -0
- data/lib/2018-03-31/generated/azure_mgmt_container_service/operations.rb +107 -0
- data/lib/azure_mgmt_container_service.rb +5 -1
- data/lib/profiles/latest/modules/containerservice_profile_module.rb +149 -49
- data/lib/version.rb +1 -1
- metadata +91 -4
@@ -0,0 +1,213 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ContainerService::Mgmt::V2017_07_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Container service.
|
10
|
+
#
|
11
|
+
class ContainerService < Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The current deployment or provisioning state, which
|
16
|
+
# only appears in the response.
|
17
|
+
attr_accessor :provisioning_state
|
18
|
+
|
19
|
+
# @return [ContainerServiceOrchestratorProfile] Profile for the container
|
20
|
+
# service orchestrator.
|
21
|
+
attr_accessor :orchestrator_profile
|
22
|
+
|
23
|
+
# @return [ContainerServiceCustomProfile] Properties to configure a
|
24
|
+
# custom container service cluster.
|
25
|
+
attr_accessor :custom_profile
|
26
|
+
|
27
|
+
# @return [ContainerServiceServicePrincipalProfile] Information about a
|
28
|
+
# service principal identity for the cluster to use for manipulating
|
29
|
+
# Azure APIs. Exact one of secret or keyVaultSecretRef need to be
|
30
|
+
# specified.
|
31
|
+
attr_accessor :service_principal_profile
|
32
|
+
|
33
|
+
# @return [ContainerServiceMasterProfile] Profile for the container
|
34
|
+
# service master.
|
35
|
+
attr_accessor :master_profile
|
36
|
+
|
37
|
+
# @return [Array<ContainerServiceAgentPoolProfile>] Properties of the
|
38
|
+
# agent pool.
|
39
|
+
attr_accessor :agent_pool_profiles
|
40
|
+
|
41
|
+
# @return [ContainerServiceWindowsProfile] Profile for Windows VMs in the
|
42
|
+
# container service cluster.
|
43
|
+
attr_accessor :windows_profile
|
44
|
+
|
45
|
+
# @return [ContainerServiceLinuxProfile] Profile for Linux VMs in the
|
46
|
+
# container service cluster.
|
47
|
+
attr_accessor :linux_profile
|
48
|
+
|
49
|
+
# @return [ContainerServiceDiagnosticsProfile] Profile for diagnostics in
|
50
|
+
# the container service cluster.
|
51
|
+
attr_accessor :diagnostics_profile
|
52
|
+
|
53
|
+
|
54
|
+
#
|
55
|
+
# Mapper for ContainerService class as Ruby Hash.
|
56
|
+
# This will be used for serialization/deserialization.
|
57
|
+
#
|
58
|
+
def self.mapper()
|
59
|
+
{
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'ContainerService',
|
63
|
+
type: {
|
64
|
+
name: 'Composite',
|
65
|
+
class_name: 'ContainerService',
|
66
|
+
model_properties: {
|
67
|
+
id: {
|
68
|
+
client_side_validation: true,
|
69
|
+
required: false,
|
70
|
+
read_only: true,
|
71
|
+
serialized_name: 'id',
|
72
|
+
type: {
|
73
|
+
name: 'String'
|
74
|
+
}
|
75
|
+
},
|
76
|
+
name: {
|
77
|
+
client_side_validation: true,
|
78
|
+
required: false,
|
79
|
+
read_only: true,
|
80
|
+
serialized_name: 'name',
|
81
|
+
type: {
|
82
|
+
name: 'String'
|
83
|
+
}
|
84
|
+
},
|
85
|
+
type: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
read_only: true,
|
89
|
+
serialized_name: 'type',
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
93
|
+
},
|
94
|
+
location: {
|
95
|
+
client_side_validation: true,
|
96
|
+
required: true,
|
97
|
+
serialized_name: 'location',
|
98
|
+
type: {
|
99
|
+
name: 'String'
|
100
|
+
}
|
101
|
+
},
|
102
|
+
tags: {
|
103
|
+
client_side_validation: true,
|
104
|
+
required: false,
|
105
|
+
serialized_name: 'tags',
|
106
|
+
type: {
|
107
|
+
name: 'Dictionary',
|
108
|
+
value: {
|
109
|
+
client_side_validation: true,
|
110
|
+
required: false,
|
111
|
+
serialized_name: 'StringElementType',
|
112
|
+
type: {
|
113
|
+
name: 'String'
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}
|
117
|
+
},
|
118
|
+
provisioning_state: {
|
119
|
+
client_side_validation: true,
|
120
|
+
required: false,
|
121
|
+
read_only: true,
|
122
|
+
serialized_name: 'properties.provisioningState',
|
123
|
+
type: {
|
124
|
+
name: 'String'
|
125
|
+
}
|
126
|
+
},
|
127
|
+
orchestrator_profile: {
|
128
|
+
client_side_validation: true,
|
129
|
+
required: true,
|
130
|
+
serialized_name: 'properties.orchestratorProfile',
|
131
|
+
type: {
|
132
|
+
name: 'Composite',
|
133
|
+
class_name: 'ContainerServiceOrchestratorProfile'
|
134
|
+
}
|
135
|
+
},
|
136
|
+
custom_profile: {
|
137
|
+
client_side_validation: true,
|
138
|
+
required: false,
|
139
|
+
serialized_name: 'properties.customProfile',
|
140
|
+
type: {
|
141
|
+
name: 'Composite',
|
142
|
+
class_name: 'ContainerServiceCustomProfile'
|
143
|
+
}
|
144
|
+
},
|
145
|
+
service_principal_profile: {
|
146
|
+
client_side_validation: true,
|
147
|
+
required: false,
|
148
|
+
serialized_name: 'properties.servicePrincipalProfile',
|
149
|
+
type: {
|
150
|
+
name: 'Composite',
|
151
|
+
class_name: 'ContainerServiceServicePrincipalProfile'
|
152
|
+
}
|
153
|
+
},
|
154
|
+
master_profile: {
|
155
|
+
client_side_validation: true,
|
156
|
+
required: true,
|
157
|
+
serialized_name: 'properties.masterProfile',
|
158
|
+
type: {
|
159
|
+
name: 'Composite',
|
160
|
+
class_name: 'ContainerServiceMasterProfile'
|
161
|
+
}
|
162
|
+
},
|
163
|
+
agent_pool_profiles: {
|
164
|
+
client_side_validation: true,
|
165
|
+
required: false,
|
166
|
+
serialized_name: 'properties.agentPoolProfiles',
|
167
|
+
type: {
|
168
|
+
name: 'Sequence',
|
169
|
+
element: {
|
170
|
+
client_side_validation: true,
|
171
|
+
required: false,
|
172
|
+
serialized_name: 'ContainerServiceAgentPoolProfileElementType',
|
173
|
+
type: {
|
174
|
+
name: 'Composite',
|
175
|
+
class_name: 'ContainerServiceAgentPoolProfile'
|
176
|
+
}
|
177
|
+
}
|
178
|
+
}
|
179
|
+
},
|
180
|
+
windows_profile: {
|
181
|
+
client_side_validation: true,
|
182
|
+
required: false,
|
183
|
+
serialized_name: 'properties.windowsProfile',
|
184
|
+
type: {
|
185
|
+
name: 'Composite',
|
186
|
+
class_name: 'ContainerServiceWindowsProfile'
|
187
|
+
}
|
188
|
+
},
|
189
|
+
linux_profile: {
|
190
|
+
client_side_validation: true,
|
191
|
+
required: true,
|
192
|
+
serialized_name: 'properties.linuxProfile',
|
193
|
+
type: {
|
194
|
+
name: 'Composite',
|
195
|
+
class_name: 'ContainerServiceLinuxProfile'
|
196
|
+
}
|
197
|
+
},
|
198
|
+
diagnostics_profile: {
|
199
|
+
client_side_validation: true,
|
200
|
+
required: false,
|
201
|
+
serialized_name: 'properties.diagnosticsProfile',
|
202
|
+
type: {
|
203
|
+
name: 'Composite',
|
204
|
+
class_name: 'ContainerServiceDiagnosticsProfile'
|
205
|
+
}
|
206
|
+
}
|
207
|
+
}
|
208
|
+
}
|
209
|
+
}
|
210
|
+
end
|
211
|
+
end
|
212
|
+
end
|
213
|
+
end
|
@@ -0,0 +1,226 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ContainerService::Mgmt::V2017_07_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Profile for the container service agent pool.
|
10
|
+
#
|
11
|
+
class ContainerServiceAgentPoolProfile
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Unique name of the agent pool profile in the context
|
16
|
+
# of the subscription and resource group.
|
17
|
+
attr_accessor :name
|
18
|
+
|
19
|
+
# @return [Integer] Number of agents (VMs) to host docker containers.
|
20
|
+
# Allowed values must be in the range of 1 to 100 (inclusive). The
|
21
|
+
# default value is 1. . Default value: 1 .
|
22
|
+
attr_accessor :count
|
23
|
+
|
24
|
+
# @return [ContainerServiceVMSizeTypes] Size of agent VMs. Possible
|
25
|
+
# values include: 'Standard_A1', 'Standard_A10', 'Standard_A11',
|
26
|
+
# 'Standard_A1_v2', 'Standard_A2', 'Standard_A2_v2', 'Standard_A2m_v2',
|
27
|
+
# 'Standard_A3', 'Standard_A4', 'Standard_A4_v2', 'Standard_A4m_v2',
|
28
|
+
# 'Standard_A5', 'Standard_A6', 'Standard_A7', 'Standard_A8',
|
29
|
+
# 'Standard_A8_v2', 'Standard_A8m_v2', 'Standard_A9', 'Standard_B2ms',
|
30
|
+
# 'Standard_B2s', 'Standard_B4ms', 'Standard_B8ms', 'Standard_D1',
|
31
|
+
# 'Standard_D11', 'Standard_D11_v2', 'Standard_D11_v2_Promo',
|
32
|
+
# 'Standard_D12', 'Standard_D12_v2', 'Standard_D12_v2_Promo',
|
33
|
+
# 'Standard_D13', 'Standard_D13_v2', 'Standard_D13_v2_Promo',
|
34
|
+
# 'Standard_D14', 'Standard_D14_v2', 'Standard_D14_v2_Promo',
|
35
|
+
# 'Standard_D15_v2', 'Standard_D16_v3', 'Standard_D16s_v3',
|
36
|
+
# 'Standard_D1_v2', 'Standard_D2', 'Standard_D2_v2',
|
37
|
+
# 'Standard_D2_v2_Promo', 'Standard_D2_v3', 'Standard_D2s_v3',
|
38
|
+
# 'Standard_D3', 'Standard_D32_v3', 'Standard_D32s_v3', 'Standard_D3_v2',
|
39
|
+
# 'Standard_D3_v2_Promo', 'Standard_D4', 'Standard_D4_v2',
|
40
|
+
# 'Standard_D4_v2_Promo', 'Standard_D4_v3', 'Standard_D4s_v3',
|
41
|
+
# 'Standard_D5_v2', 'Standard_D5_v2_Promo', 'Standard_D64_v3',
|
42
|
+
# 'Standard_D64s_v3', 'Standard_D8_v3', 'Standard_D8s_v3',
|
43
|
+
# 'Standard_DS1', 'Standard_DS11', 'Standard_DS11_v2',
|
44
|
+
# 'Standard_DS11_v2_Promo', 'Standard_DS12', 'Standard_DS12_v2',
|
45
|
+
# 'Standard_DS12_v2_Promo', 'Standard_DS13', 'Standard_DS13-2_v2',
|
46
|
+
# 'Standard_DS13-4_v2', 'Standard_DS13_v2', 'Standard_DS13_v2_Promo',
|
47
|
+
# 'Standard_DS14', 'Standard_DS14-4_v2', 'Standard_DS14-8_v2',
|
48
|
+
# 'Standard_DS14_v2', 'Standard_DS14_v2_Promo', 'Standard_DS15_v2',
|
49
|
+
# 'Standard_DS1_v2', 'Standard_DS2', 'Standard_DS2_v2',
|
50
|
+
# 'Standard_DS2_v2_Promo', 'Standard_DS3', 'Standard_DS3_v2',
|
51
|
+
# 'Standard_DS3_v2_Promo', 'Standard_DS4', 'Standard_DS4_v2',
|
52
|
+
# 'Standard_DS4_v2_Promo', 'Standard_DS5_v2', 'Standard_DS5_v2_Promo',
|
53
|
+
# 'Standard_E16_v3', 'Standard_E16s_v3', 'Standard_E2_v3',
|
54
|
+
# 'Standard_E2s_v3', 'Standard_E32-16s_v3', 'Standard_E32-8s_v3',
|
55
|
+
# 'Standard_E32_v3', 'Standard_E32s_v3', 'Standard_E4_v3',
|
56
|
+
# 'Standard_E4s_v3', 'Standard_E64-16s_v3', 'Standard_E64-32s_v3',
|
57
|
+
# 'Standard_E64_v3', 'Standard_E64s_v3', 'Standard_E8_v3',
|
58
|
+
# 'Standard_E8s_v3', 'Standard_F1', 'Standard_F16', 'Standard_F16s',
|
59
|
+
# 'Standard_F16s_v2', 'Standard_F1s', 'Standard_F2', 'Standard_F2s',
|
60
|
+
# 'Standard_F2s_v2', 'Standard_F32s_v2', 'Standard_F4', 'Standard_F4s',
|
61
|
+
# 'Standard_F4s_v2', 'Standard_F64s_v2', 'Standard_F72s_v2',
|
62
|
+
# 'Standard_F8', 'Standard_F8s', 'Standard_F8s_v2', 'Standard_G1',
|
63
|
+
# 'Standard_G2', 'Standard_G3', 'Standard_G4', 'Standard_G5',
|
64
|
+
# 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4',
|
65
|
+
# 'Standard_GS4-4', 'Standard_GS4-8', 'Standard_GS5', 'Standard_GS5-16',
|
66
|
+
# 'Standard_GS5-8', 'Standard_H16', 'Standard_H16m', 'Standard_H16mr',
|
67
|
+
# 'Standard_H16r', 'Standard_H8', 'Standard_H8m', 'Standard_L16s',
|
68
|
+
# 'Standard_L32s', 'Standard_L4s', 'Standard_L8s', 'Standard_M128-32ms',
|
69
|
+
# 'Standard_M128-64ms', 'Standard_M128ms', 'Standard_M128s',
|
70
|
+
# 'Standard_M64-16ms', 'Standard_M64-32ms', 'Standard_M64ms',
|
71
|
+
# 'Standard_M64s', 'Standard_NC12', 'Standard_NC12s_v2',
|
72
|
+
# 'Standard_NC12s_v3', 'Standard_NC24', 'Standard_NC24r',
|
73
|
+
# 'Standard_NC24rs_v2', 'Standard_NC24rs_v3', 'Standard_NC24s_v2',
|
74
|
+
# 'Standard_NC24s_v3', 'Standard_NC6', 'Standard_NC6s_v2',
|
75
|
+
# 'Standard_NC6s_v3', 'Standard_ND12s', 'Standard_ND24rs',
|
76
|
+
# 'Standard_ND24s', 'Standard_ND6s', 'Standard_NV12', 'Standard_NV24',
|
77
|
+
# 'Standard_NV6'
|
78
|
+
attr_accessor :vm_size
|
79
|
+
|
80
|
+
# @return [Integer] OS Disk Size in GB to be used to specify the disk
|
81
|
+
# size for every machine in this master/agent pool. If you specify 0, it
|
82
|
+
# will apply the default osDisk size according to the vmSize specified.
|
83
|
+
attr_accessor :os_disk_size_gb
|
84
|
+
|
85
|
+
# @return [String] DNS prefix to be used to create the FQDN for the agent
|
86
|
+
# pool.
|
87
|
+
attr_accessor :dns_prefix
|
88
|
+
|
89
|
+
# @return [String] FDQN for the agent pool.
|
90
|
+
attr_accessor :fqdn
|
91
|
+
|
92
|
+
# @return [Array<Integer>] Ports number array used to expose on this
|
93
|
+
# agent pool. The default opened ports are different based on your choice
|
94
|
+
# of orchestrator.
|
95
|
+
attr_accessor :ports
|
96
|
+
|
97
|
+
# @return [ContainerServiceStorageProfileTypes] Storage profile specifies
|
98
|
+
# what kind of storage used. Choose from StorageAccount and ManagedDisks.
|
99
|
+
# Leave it empty, we will choose for you based on the orchestrator
|
100
|
+
# choice. Possible values include: 'StorageAccount', 'ManagedDisks'
|
101
|
+
attr_accessor :storage_profile
|
102
|
+
|
103
|
+
# @return [String] VNet SubnetID specifies the vnet's subnet identifier.
|
104
|
+
attr_accessor :vnet_subnet_id
|
105
|
+
|
106
|
+
# @return [OSType] OsType to be used to specify os type. Choose from
|
107
|
+
# Linux and Windows. Default to Linux. Possible values include: 'Linux',
|
108
|
+
# 'Windows'. Default value: 'Linux' .
|
109
|
+
attr_accessor :os_type
|
110
|
+
|
111
|
+
|
112
|
+
#
|
113
|
+
# Mapper for ContainerServiceAgentPoolProfile class as Ruby Hash.
|
114
|
+
# This will be used for serialization/deserialization.
|
115
|
+
#
|
116
|
+
def self.mapper()
|
117
|
+
{
|
118
|
+
client_side_validation: true,
|
119
|
+
required: false,
|
120
|
+
serialized_name: 'ContainerServiceAgentPoolProfile',
|
121
|
+
type: {
|
122
|
+
name: 'Composite',
|
123
|
+
class_name: 'ContainerServiceAgentPoolProfile',
|
124
|
+
model_properties: {
|
125
|
+
name: {
|
126
|
+
client_side_validation: true,
|
127
|
+
required: true,
|
128
|
+
serialized_name: 'name',
|
129
|
+
type: {
|
130
|
+
name: 'String'
|
131
|
+
}
|
132
|
+
},
|
133
|
+
count: {
|
134
|
+
client_side_validation: true,
|
135
|
+
required: false,
|
136
|
+
serialized_name: 'count',
|
137
|
+
default_value: 1,
|
138
|
+
constraints: {
|
139
|
+
InclusiveMaximum: 100,
|
140
|
+
InclusiveMinimum: 1
|
141
|
+
},
|
142
|
+
type: {
|
143
|
+
name: 'Number'
|
144
|
+
}
|
145
|
+
},
|
146
|
+
vm_size: {
|
147
|
+
client_side_validation: true,
|
148
|
+
required: true,
|
149
|
+
serialized_name: 'vmSize',
|
150
|
+
type: {
|
151
|
+
name: 'String'
|
152
|
+
}
|
153
|
+
},
|
154
|
+
os_disk_size_gb: {
|
155
|
+
client_side_validation: true,
|
156
|
+
required: false,
|
157
|
+
serialized_name: 'osDiskSizeGB',
|
158
|
+
type: {
|
159
|
+
name: 'Number'
|
160
|
+
}
|
161
|
+
},
|
162
|
+
dns_prefix: {
|
163
|
+
client_side_validation: true,
|
164
|
+
required: false,
|
165
|
+
serialized_name: 'dnsPrefix',
|
166
|
+
type: {
|
167
|
+
name: 'String'
|
168
|
+
}
|
169
|
+
},
|
170
|
+
fqdn: {
|
171
|
+
client_side_validation: true,
|
172
|
+
required: false,
|
173
|
+
read_only: true,
|
174
|
+
serialized_name: 'fqdn',
|
175
|
+
type: {
|
176
|
+
name: 'String'
|
177
|
+
}
|
178
|
+
},
|
179
|
+
ports: {
|
180
|
+
client_side_validation: true,
|
181
|
+
required: false,
|
182
|
+
serialized_name: 'ports',
|
183
|
+
type: {
|
184
|
+
name: 'Sequence',
|
185
|
+
element: {
|
186
|
+
client_side_validation: true,
|
187
|
+
required: false,
|
188
|
+
serialized_name: 'NumberElementType',
|
189
|
+
type: {
|
190
|
+
name: 'Number'
|
191
|
+
}
|
192
|
+
}
|
193
|
+
}
|
194
|
+
},
|
195
|
+
storage_profile: {
|
196
|
+
client_side_validation: true,
|
197
|
+
required: false,
|
198
|
+
serialized_name: 'storageProfile',
|
199
|
+
type: {
|
200
|
+
name: 'String'
|
201
|
+
}
|
202
|
+
},
|
203
|
+
vnet_subnet_id: {
|
204
|
+
client_side_validation: true,
|
205
|
+
required: false,
|
206
|
+
serialized_name: 'vnetSubnetID',
|
207
|
+
type: {
|
208
|
+
name: 'String'
|
209
|
+
}
|
210
|
+
},
|
211
|
+
os_type: {
|
212
|
+
client_side_validation: true,
|
213
|
+
required: false,
|
214
|
+
serialized_name: 'osType',
|
215
|
+
default_value: 'Linux',
|
216
|
+
type: {
|
217
|
+
name: 'String'
|
218
|
+
}
|
219
|
+
}
|
220
|
+
}
|
221
|
+
}
|
222
|
+
}
|
223
|
+
end
|
224
|
+
end
|
225
|
+
end
|
226
|
+
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ContainerService::Mgmt::V2017_07_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Properties to configure a custom container service cluster.
|
10
|
+
#
|
11
|
+
class ContainerServiceCustomProfile
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The name of the custom orchestrator to use.
|
16
|
+
attr_accessor :orchestrator
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for ContainerServiceCustomProfile class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
client_side_validation: true,
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'ContainerServiceCustomProfile',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'ContainerServiceCustomProfile',
|
31
|
+
model_properties: {
|
32
|
+
orchestrator: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: true,
|
35
|
+
serialized_name: 'orchestrator',
|
36
|
+
type: {
|
37
|
+
name: 'String'
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|