azure_mgmt_container_service 0.18.3 → 0.18.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. checksums.yaml +5 -5
  2. data/lib/2016-03-30/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  3. data/lib/2016-09-30/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  4. data/lib/2017-01-31/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  5. data/lib/2017-07-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  6. data/lib/2017-08-31/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  7. data/lib/2017-09-30/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  8. data/lib/2018-03-31/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  9. data/lib/2018-08-01-preview/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  10. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  11. data/lib/2018-09-30-preview/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_aadidentity_provider.rb +11 -0
  12. data/lib/2019-02-01/generated/azure_mgmt_container_service/container_service_client.rb +1 -1
  13. data/lib/2019-04-01/generated/azure_mgmt_container_service.rb +71 -0
  14. data/lib/2019-04-01/generated/azure_mgmt_container_service/agent_pools.rb +680 -0
  15. data/lib/2019-04-01/generated/azure_mgmt_container_service/container_service_client.rb +145 -0
  16. data/lib/2019-04-01/generated/azure_mgmt_container_service/container_services.rb +131 -0
  17. data/lib/2019-04-01/generated/azure_mgmt_container_service/managed_clusters.rb +1730 -0
  18. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/agent_pool.rb +284 -0
  19. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/agent_pool_list_result.rb +99 -0
  20. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/agent_pool_type.rb +16 -0
  21. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb +48 -0
  22. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb +62 -0
  23. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/container_service_master_profile.rb +188 -0
  24. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/container_service_network_profile.rb +140 -0
  25. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb +57 -0
  26. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb +48 -0
  27. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/container_service_storage_profile_types.rb +16 -0
  28. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb +60 -0
  29. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/container_service_vmsize_types.rb +188 -0
  30. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/credential_result.rb +59 -0
  31. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/credential_results.rb +57 -0
  32. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/load_balancer_sku.rb +16 -0
  33. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/managed_cluster.rb +325 -0
  34. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb +80 -0
  35. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/managed_cluster_access_profile.rb +97 -0
  36. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb +66 -0
  37. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile.rb +169 -0
  38. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile_properties.rb +257 -0
  39. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/managed_cluster_identity.rb +78 -0
  40. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/managed_cluster_list_result.rb +100 -0
  41. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile.rb +92 -0
  42. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile_upgrades_item.rb +59 -0
  43. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb +59 -0
  44. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/managed_cluster_upgrade_profile.rb +105 -0
  45. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/managed_cluster_windows_profile.rb +63 -0
  46. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/network_plugin.rb +16 -0
  47. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/network_policy.rb +16 -0
  48. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/operation_list_result.rb +56 -0
  49. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/operation_value.rb +108 -0
  50. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/orchestrator_profile.rb +68 -0
  51. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/orchestrator_version_profile.rb +100 -0
  52. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/orchestrator_version_profile_list_result.rb +92 -0
  53. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/ostype.rb +16 -0
  54. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/resource.rb +110 -0
  55. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/resource_identity_type.rb +16 -0
  56. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/sub_resource.rb +72 -0
  57. data/lib/2019-04-01/generated/azure_mgmt_container_service/models/tags_object.rb +54 -0
  58. data/lib/2019-04-01/generated/azure_mgmt_container_service/module_definition.rb +9 -0
  59. data/lib/2019-04-01/generated/azure_mgmt_container_service/operations.rb +107 -0
  60. data/lib/2019-04-30/generated/azure_mgmt_container_service.rb +44 -0
  61. data/lib/2019-04-30/generated/azure_mgmt_container_service/container_service_client.rb +133 -0
  62. data/lib/2019-04-30/generated/azure_mgmt_container_service/models/network_profile.rb +70 -0
  63. data/lib/2019-04-30/generated/azure_mgmt_container_service/models/open_shift_agent_pool_profile_role.rb +16 -0
  64. data/lib/2019-04-30/generated/azure_mgmt_container_service/models/open_shift_container_service_vmsize.rb +47 -0
  65. data/lib/2019-04-30/generated/azure_mgmt_container_service/models/open_shift_managed_cluster.rb +242 -0
  66. data/lib/2019-04-30/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_aadidentity_provider.rb +95 -0
  67. data/lib/2019-04-30/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_agent_pool_profile.rb +119 -0
  68. data/lib/2019-04-30/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_auth_profile.rb +56 -0
  69. data/lib/2019-04-30/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_base_identity_provider.rb +47 -0
  70. data/lib/2019-04-30/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_identity_provider.rb +62 -0
  71. data/lib/2019-04-30/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_list_result.rb +101 -0
  72. data/lib/2019-04-30/generated/azure_mgmt_container_service/models/open_shift_managed_cluster_master_pool_profile.rb +107 -0
  73. data/lib/2019-04-30/generated/azure_mgmt_container_service/models/open_shift_router_profile.rb +70 -0
  74. data/lib/2019-04-30/generated/azure_mgmt_container_service/models/ostype.rb +16 -0
  75. data/lib/2019-04-30/generated/azure_mgmt_container_service/models/purchase_plan.rb +82 -0
  76. data/lib/2019-04-30/generated/azure_mgmt_container_service/models/resource.rb +110 -0
  77. data/lib/2019-04-30/generated/azure_mgmt_container_service/models/tags_object.rb +54 -0
  78. data/lib/2019-04-30/generated/azure_mgmt_container_service/module_definition.rb +9 -0
  79. data/lib/2019-04-30/generated/azure_mgmt_container_service/open_shift_managed_clusters.rb +1052 -0
  80. data/lib/azure_mgmt_container_service.rb +2 -0
  81. data/lib/profiles/latest/modules/containerservice_profile_module.rb +177 -165
  82. data/lib/version.rb +1 -1
  83. metadata +70 -3
@@ -0,0 +1,325 @@
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::V2019_04_01
7
+ module Models
8
+ #
9
+ # Managed cluster.
10
+ #
11
+ class ManagedCluster < 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 [Integer] The max number of agent pools for the managed
20
+ # cluster.
21
+ attr_accessor :max_agent_pools
22
+
23
+ # @return [String] Version of Kubernetes specified when creating the
24
+ # managed cluster.
25
+ attr_accessor :kubernetes_version
26
+
27
+ # @return [String] DNS prefix specified when creating the managed
28
+ # cluster.
29
+ attr_accessor :dns_prefix
30
+
31
+ # @return [String] FQDN for the master pool.
32
+ attr_accessor :fqdn
33
+
34
+ # @return [Array<ManagedClusterAgentPoolProfile>] Properties of the agent
35
+ # pool.
36
+ attr_accessor :agent_pool_profiles
37
+
38
+ # @return [ContainerServiceLinuxProfile] Profile for Linux VMs in the
39
+ # container service cluster.
40
+ attr_accessor :linux_profile
41
+
42
+ # @return [ManagedClusterWindowsProfile] Profile for Windows VMs in the
43
+ # container service cluster.
44
+ attr_accessor :windows_profile
45
+
46
+ # @return [ManagedClusterServicePrincipalProfile] Information about a
47
+ # service principal identity for the cluster to use for manipulating
48
+ # Azure APIs.
49
+ attr_accessor :service_principal_profile
50
+
51
+ # @return [Hash{String => ManagedClusterAddonProfile}] Profile of managed
52
+ # cluster add-on.
53
+ attr_accessor :addon_profiles
54
+
55
+ # @return [String] Name of the resource group containing agent pool
56
+ # nodes.
57
+ attr_accessor :node_resource_group
58
+
59
+ # @return [Boolean] Whether to enable Kubernetes Role-Based Access
60
+ # Control.
61
+ attr_accessor :enable_rbac
62
+
63
+ # @return [Boolean] (PREVIEW) Whether to enable Kubernetes Pod security
64
+ # policy.
65
+ attr_accessor :enable_pod_security_policy
66
+
67
+ # @return [ContainerServiceNetworkProfile] Profile of network
68
+ # configuration.
69
+ attr_accessor :network_profile
70
+
71
+ # @return [ManagedClusterAADProfile] Profile of Azure Active Directory
72
+ # configuration.
73
+ attr_accessor :aad_profile
74
+
75
+ # @return [Array<String>] (PREVIEW) Authorized IP Ranges to kubernetes
76
+ # API server.
77
+ attr_accessor :api_server_authorized_ipranges
78
+
79
+ # @return [ManagedClusterIdentity] The identity of the managed cluster,
80
+ # if configured.
81
+ attr_accessor :identity
82
+
83
+
84
+ #
85
+ # Mapper for ManagedCluster class as Ruby Hash.
86
+ # This will be used for serialization/deserialization.
87
+ #
88
+ def self.mapper()
89
+ {
90
+ client_side_validation: true,
91
+ required: false,
92
+ serialized_name: 'ManagedCluster',
93
+ type: {
94
+ name: 'Composite',
95
+ class_name: 'ManagedCluster',
96
+ model_properties: {
97
+ id: {
98
+ client_side_validation: true,
99
+ required: false,
100
+ read_only: true,
101
+ serialized_name: 'id',
102
+ type: {
103
+ name: 'String'
104
+ }
105
+ },
106
+ name: {
107
+ client_side_validation: true,
108
+ required: false,
109
+ read_only: true,
110
+ serialized_name: 'name',
111
+ type: {
112
+ name: 'String'
113
+ }
114
+ },
115
+ type: {
116
+ client_side_validation: true,
117
+ required: false,
118
+ read_only: true,
119
+ serialized_name: 'type',
120
+ type: {
121
+ name: 'String'
122
+ }
123
+ },
124
+ location: {
125
+ client_side_validation: true,
126
+ required: true,
127
+ serialized_name: 'location',
128
+ type: {
129
+ name: 'String'
130
+ }
131
+ },
132
+ tags: {
133
+ client_side_validation: true,
134
+ required: false,
135
+ serialized_name: 'tags',
136
+ type: {
137
+ name: 'Dictionary',
138
+ value: {
139
+ client_side_validation: true,
140
+ required: false,
141
+ serialized_name: 'StringElementType',
142
+ type: {
143
+ name: 'String'
144
+ }
145
+ }
146
+ }
147
+ },
148
+ provisioning_state: {
149
+ client_side_validation: true,
150
+ required: false,
151
+ read_only: true,
152
+ serialized_name: 'properties.provisioningState',
153
+ type: {
154
+ name: 'String'
155
+ }
156
+ },
157
+ max_agent_pools: {
158
+ client_side_validation: true,
159
+ required: false,
160
+ read_only: true,
161
+ serialized_name: 'properties.maxAgentPools',
162
+ type: {
163
+ name: 'Number'
164
+ }
165
+ },
166
+ kubernetes_version: {
167
+ client_side_validation: true,
168
+ required: false,
169
+ serialized_name: 'properties.kubernetesVersion',
170
+ type: {
171
+ name: 'String'
172
+ }
173
+ },
174
+ dns_prefix: {
175
+ client_side_validation: true,
176
+ required: false,
177
+ serialized_name: 'properties.dnsPrefix',
178
+ type: {
179
+ name: 'String'
180
+ }
181
+ },
182
+ fqdn: {
183
+ client_side_validation: true,
184
+ required: false,
185
+ read_only: true,
186
+ serialized_name: 'properties.fqdn',
187
+ type: {
188
+ name: 'String'
189
+ }
190
+ },
191
+ agent_pool_profiles: {
192
+ client_side_validation: true,
193
+ required: false,
194
+ serialized_name: 'properties.agentPoolProfiles',
195
+ type: {
196
+ name: 'Sequence',
197
+ element: {
198
+ client_side_validation: true,
199
+ required: false,
200
+ serialized_name: 'ManagedClusterAgentPoolProfileElementType',
201
+ type: {
202
+ name: 'Composite',
203
+ class_name: 'ManagedClusterAgentPoolProfile'
204
+ }
205
+ }
206
+ }
207
+ },
208
+ linux_profile: {
209
+ client_side_validation: true,
210
+ required: false,
211
+ serialized_name: 'properties.linuxProfile',
212
+ type: {
213
+ name: 'Composite',
214
+ class_name: 'ContainerServiceLinuxProfile'
215
+ }
216
+ },
217
+ windows_profile: {
218
+ client_side_validation: true,
219
+ required: false,
220
+ serialized_name: 'properties.windowsProfile',
221
+ type: {
222
+ name: 'Composite',
223
+ class_name: 'ManagedClusterWindowsProfile'
224
+ }
225
+ },
226
+ service_principal_profile: {
227
+ client_side_validation: true,
228
+ required: false,
229
+ serialized_name: 'properties.servicePrincipalProfile',
230
+ type: {
231
+ name: 'Composite',
232
+ class_name: 'ManagedClusterServicePrincipalProfile'
233
+ }
234
+ },
235
+ addon_profiles: {
236
+ client_side_validation: true,
237
+ required: false,
238
+ serialized_name: 'properties.addonProfiles',
239
+ type: {
240
+ name: 'Dictionary',
241
+ value: {
242
+ client_side_validation: true,
243
+ required: false,
244
+ serialized_name: 'ManagedClusterAddonProfileElementType',
245
+ type: {
246
+ name: 'Composite',
247
+ class_name: 'ManagedClusterAddonProfile'
248
+ }
249
+ }
250
+ }
251
+ },
252
+ node_resource_group: {
253
+ client_side_validation: true,
254
+ required: false,
255
+ serialized_name: 'properties.nodeResourceGroup',
256
+ type: {
257
+ name: 'String'
258
+ }
259
+ },
260
+ enable_rbac: {
261
+ client_side_validation: true,
262
+ required: false,
263
+ serialized_name: 'properties.enableRBAC',
264
+ type: {
265
+ name: 'Boolean'
266
+ }
267
+ },
268
+ enable_pod_security_policy: {
269
+ client_side_validation: true,
270
+ required: false,
271
+ serialized_name: 'properties.enablePodSecurityPolicy',
272
+ type: {
273
+ name: 'Boolean'
274
+ }
275
+ },
276
+ network_profile: {
277
+ client_side_validation: true,
278
+ required: false,
279
+ serialized_name: 'properties.networkProfile',
280
+ type: {
281
+ name: 'Composite',
282
+ class_name: 'ContainerServiceNetworkProfile'
283
+ }
284
+ },
285
+ aad_profile: {
286
+ client_side_validation: true,
287
+ required: false,
288
+ serialized_name: 'properties.aadProfile',
289
+ type: {
290
+ name: 'Composite',
291
+ class_name: 'ManagedClusterAADProfile'
292
+ }
293
+ },
294
+ api_server_authorized_ipranges: {
295
+ client_side_validation: true,
296
+ required: false,
297
+ serialized_name: 'properties.apiServerAuthorizedIPRanges',
298
+ type: {
299
+ name: 'Sequence',
300
+ element: {
301
+ client_side_validation: true,
302
+ required: false,
303
+ serialized_name: 'StringElementType',
304
+ type: {
305
+ name: 'String'
306
+ }
307
+ }
308
+ }
309
+ },
310
+ identity: {
311
+ client_side_validation: true,
312
+ required: false,
313
+ serialized_name: 'identity',
314
+ type: {
315
+ name: 'Composite',
316
+ class_name: 'ManagedClusterIdentity'
317
+ }
318
+ }
319
+ }
320
+ }
321
+ }
322
+ end
323
+ end
324
+ end
325
+ end
@@ -0,0 +1,80 @@
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::V2019_04_01
7
+ module Models
8
+ #
9
+ # AADProfile specifies attributes for Azure Active Directory integration.
10
+ #
11
+ class ManagedClusterAADProfile
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The client AAD application ID.
16
+ attr_accessor :client_app_id
17
+
18
+ # @return [String] The server AAD application ID.
19
+ attr_accessor :server_app_id
20
+
21
+ # @return [String] The server AAD application secret.
22
+ attr_accessor :server_app_secret
23
+
24
+ # @return [String] The AAD tenant ID to use for authentication. If not
25
+ # specified, will use the tenant of the deployment subscription.
26
+ attr_accessor :tenant_id
27
+
28
+
29
+ #
30
+ # Mapper for ManagedClusterAADProfile class as Ruby Hash.
31
+ # This will be used for serialization/deserialization.
32
+ #
33
+ def self.mapper()
34
+ {
35
+ client_side_validation: true,
36
+ required: false,
37
+ serialized_name: 'ManagedClusterAADProfile',
38
+ type: {
39
+ name: 'Composite',
40
+ class_name: 'ManagedClusterAADProfile',
41
+ model_properties: {
42
+ client_app_id: {
43
+ client_side_validation: true,
44
+ required: true,
45
+ serialized_name: 'clientAppID',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ server_app_id: {
51
+ client_side_validation: true,
52
+ required: true,
53
+ serialized_name: 'serverAppID',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ server_app_secret: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ serialized_name: 'serverAppSecret',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ tenant_id: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ serialized_name: 'tenantID',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ end
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,97 @@
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::V2019_04_01
7
+ module Models
8
+ #
9
+ # Managed cluster Access Profile.
10
+ #
11
+ class ManagedClusterAccessProfile < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<Integer>] Base64-encoded Kubernetes configuration file.
16
+ attr_accessor :kube_config
17
+
18
+
19
+ #
20
+ # Mapper for ManagedClusterAccessProfile 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: 'ManagedClusterAccessProfile',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'ManagedClusterAccessProfile',
31
+ model_properties: {
32
+ id: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ read_only: true,
36
+ serialized_name: 'id',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ },
41
+ name: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ read_only: true,
45
+ serialized_name: 'name',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ type: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ read_only: true,
54
+ serialized_name: 'type',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ location: {
60
+ client_side_validation: true,
61
+ required: true,
62
+ serialized_name: 'location',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ },
67
+ tags: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ serialized_name: 'tags',
71
+ type: {
72
+ name: 'Dictionary',
73
+ value: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ serialized_name: 'StringElementType',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ }
81
+ }
82
+ },
83
+ kube_config: {
84
+ client_side_validation: true,
85
+ required: false,
86
+ serialized_name: 'properties.kubeConfig',
87
+ type: {
88
+ name: 'ByteArray'
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+ end
95
+ end
96
+ end
97
+ end