azure_mgmt_container_instance 0.17.6 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2017-08-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
  3. data/lib/2017-10-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
  4. data/lib/2017-12-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
  5. data/lib/2018-02-01-preview/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
  6. data/lib/2018-04-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
  7. data/lib/2018-06-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
  8. data/lib/2018-09-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
  9. data/lib/2018-10-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
  10. data/lib/2019-12-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +1 -1
  11. data/lib/2020-11-01/generated/azure_mgmt_container_instance.rb +92 -0
  12. data/lib/2020-11-01/generated/azure_mgmt_container_instance/container_groups.rb +1404 -0
  13. data/lib/2020-11-01/generated/azure_mgmt_container_instance/container_instance_management_client.rb +145 -0
  14. data/lib/2020-11-01/generated/azure_mgmt_container_instance/containers.rb +375 -0
  15. data/lib/2020-11-01/generated/azure_mgmt_container_instance/location.rb +552 -0
  16. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/azure_file_volume.rb +84 -0
  17. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/cached_images.rb +57 -0
  18. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/cached_images_list_result.rb +98 -0
  19. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/capabilities.rb +108 -0
  20. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/capabilities_capabilities.rb +71 -0
  21. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/capabilities_list_result.rb +98 -0
  22. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container.rb +192 -0
  23. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_attach_response.rb +59 -0
  24. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_exec.rb +54 -0
  25. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb +58 -0
  26. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_exec_request_terminal_size.rb +57 -0
  27. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_exec_response.rb +57 -0
  28. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group.rb +314 -0
  29. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_diagnostics.rb +47 -0
  30. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_identity.rb +102 -0
  31. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_identity_user_assigned_identities_value.rb +61 -0
  32. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_ip_address_type.rb +16 -0
  33. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_list_result.rb +99 -0
  34. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_network_profile.rb +46 -0
  35. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_network_protocol.rb +16 -0
  36. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_properties_instance_view.rb +69 -0
  37. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_restart_policy.rb +17 -0
  38. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_group_sku.rb +16 -0
  39. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_http_get.rb +80 -0
  40. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_instance_operations_origin.rb +16 -0
  41. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_network_protocol.rb +16 -0
  42. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_port.rb +58 -0
  43. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_probe.rb +114 -0
  44. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_properties_instance_view.rb +95 -0
  45. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/container_state.rb +99 -0
  46. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/dns_configuration.rb +77 -0
  47. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/encryption_properties.rb +68 -0
  48. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/environment_variable.rb +68 -0
  49. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/event.rb +107 -0
  50. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/git_repo_volume.rb +72 -0
  51. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/gpu_resource.rb +58 -0
  52. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/gpu_sku.rb +17 -0
  53. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/http_headers.rb +57 -0
  54. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/image_registry_credential.rb +69 -0
  55. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/init_container_definition.rb +133 -0
  56. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/init_container_properties_definition_instance_view.rb +96 -0
  57. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/ip_address.rb +102 -0
  58. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/log_analytics.rb +108 -0
  59. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/log_analytics_log_type.rb +16 -0
  60. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/logs.rb +46 -0
  61. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/operating_system_types.rb +16 -0
  62. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/operation.rb +81 -0
  63. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/operation_display.rb +79 -0
  64. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/operation_list_result.rb +99 -0
  65. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/port.rb +58 -0
  66. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/resource.rb +110 -0
  67. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/resource_identity_type.rb +18 -0
  68. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/resource_limits.rb +69 -0
  69. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/resource_requests.rb +69 -0
  70. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/resource_requirements.rb +61 -0
  71. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/scheme.rb +16 -0
  72. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/usage.rb +84 -0
  73. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/usage_list_result.rb +56 -0
  74. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/usage_name.rb +59 -0
  75. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/volume.rb +100 -0
  76. data/lib/2020-11-01/generated/azure_mgmt_container_instance/models/volume_mount.rb +70 -0
  77. data/lib/2020-11-01/generated/azure_mgmt_container_instance/module_definition.rb +9 -0
  78. data/lib/2020-11-01/generated/azure_mgmt_container_instance/operations.rb +219 -0
  79. data/lib/azure_mgmt_container_instance.rb +6 -5
  80. data/lib/profiles/latest/modules/containerinstance_profile_module.rb +149 -141
  81. data/lib/version.rb +1 -1
  82. metadata +71 -3
@@ -0,0 +1,314 @@
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::ContainerInstance::Mgmt::V2020_11_01
7
+ module Models
8
+ #
9
+ # A container group.
10
+ #
11
+ class ContainerGroup < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [ContainerGroupIdentity] The identity of the container group,
16
+ # if configured.
17
+ attr_accessor :identity
18
+
19
+ # @return [String] The provisioning state of the container group. This
20
+ # only appears in the response.
21
+ attr_accessor :provisioning_state
22
+
23
+ # @return [Array<Container>] The containers within the container group.
24
+ attr_accessor :containers
25
+
26
+ # @return [Array<ImageRegistryCredential>] The image registry credentials
27
+ # by which the container group is created from.
28
+ attr_accessor :image_registry_credentials
29
+
30
+ # @return [ContainerGroupRestartPolicy] Restart policy for all containers
31
+ # within the container group.
32
+ # - `Always` Always restart
33
+ # - `OnFailure` Restart on failure
34
+ # - `Never` Never restart
35
+ # . Possible values include: 'Always', 'OnFailure', 'Never'
36
+ attr_accessor :restart_policy
37
+
38
+ # @return [IpAddress] The IP address type of the container group.
39
+ attr_accessor :ip_address
40
+
41
+ # @return [OperatingSystemTypes] The operating system type required by
42
+ # the containers in the container group. Possible values include:
43
+ # 'Windows', 'Linux'
44
+ attr_accessor :os_type
45
+
46
+ # @return [Array<Volume>] The list of volumes that can be mounted by
47
+ # containers in this container group.
48
+ attr_accessor :volumes
49
+
50
+ # @return [ContainerGroupPropertiesInstanceView] The instance view of the
51
+ # container group. Only valid in response.
52
+ attr_accessor :instance_view
53
+
54
+ # @return [ContainerGroupDiagnostics] The diagnostic information for a
55
+ # container group.
56
+ attr_accessor :diagnostics
57
+
58
+ # @return [ContainerGroupNetworkProfile] The network profile information
59
+ # for a container group.
60
+ attr_accessor :network_profile
61
+
62
+ # @return [DnsConfiguration] The DNS config information for a container
63
+ # group.
64
+ attr_accessor :dns_config
65
+
66
+ # @return [ContainerGroupSku] The SKU for a container group. Possible
67
+ # values include: 'Standard', 'Dedicated'
68
+ attr_accessor :sku
69
+
70
+ # @return [EncryptionProperties] The encryption properties for a
71
+ # container group.
72
+ attr_accessor :encryption_properties
73
+
74
+ # @return [Array<InitContainerDefinition>] The init containers for a
75
+ # container group.
76
+ attr_accessor :init_containers
77
+
78
+
79
+ #
80
+ # Mapper for ContainerGroup class as Ruby Hash.
81
+ # This will be used for serialization/deserialization.
82
+ #
83
+ def self.mapper()
84
+ {
85
+ client_side_validation: true,
86
+ required: false,
87
+ serialized_name: 'ContainerGroup',
88
+ type: {
89
+ name: 'Composite',
90
+ class_name: 'ContainerGroup',
91
+ model_properties: {
92
+ id: {
93
+ client_side_validation: true,
94
+ required: false,
95
+ read_only: true,
96
+ serialized_name: 'id',
97
+ type: {
98
+ name: 'String'
99
+ }
100
+ },
101
+ name: {
102
+ client_side_validation: true,
103
+ required: false,
104
+ read_only: true,
105
+ serialized_name: 'name',
106
+ type: {
107
+ name: 'String'
108
+ }
109
+ },
110
+ type: {
111
+ client_side_validation: true,
112
+ required: false,
113
+ read_only: true,
114
+ serialized_name: 'type',
115
+ type: {
116
+ name: 'String'
117
+ }
118
+ },
119
+ location: {
120
+ client_side_validation: true,
121
+ required: false,
122
+ serialized_name: 'location',
123
+ type: {
124
+ name: 'String'
125
+ }
126
+ },
127
+ tags: {
128
+ client_side_validation: true,
129
+ required: false,
130
+ serialized_name: 'tags',
131
+ type: {
132
+ name: 'Dictionary',
133
+ value: {
134
+ client_side_validation: true,
135
+ required: false,
136
+ serialized_name: 'StringElementType',
137
+ type: {
138
+ name: 'String'
139
+ }
140
+ }
141
+ }
142
+ },
143
+ identity: {
144
+ client_side_validation: true,
145
+ required: false,
146
+ serialized_name: 'identity',
147
+ type: {
148
+ name: 'Composite',
149
+ class_name: 'ContainerGroupIdentity'
150
+ }
151
+ },
152
+ provisioning_state: {
153
+ client_side_validation: true,
154
+ required: false,
155
+ read_only: true,
156
+ serialized_name: 'properties.provisioningState',
157
+ type: {
158
+ name: 'String'
159
+ }
160
+ },
161
+ containers: {
162
+ client_side_validation: true,
163
+ required: false,
164
+ serialized_name: 'properties.containers',
165
+ type: {
166
+ name: 'Sequence',
167
+ element: {
168
+ client_side_validation: true,
169
+ required: false,
170
+ serialized_name: 'ContainerElementType',
171
+ type: {
172
+ name: 'Composite',
173
+ class_name: 'Container'
174
+ }
175
+ }
176
+ }
177
+ },
178
+ image_registry_credentials: {
179
+ client_side_validation: true,
180
+ required: false,
181
+ serialized_name: 'properties.imageRegistryCredentials',
182
+ type: {
183
+ name: 'Sequence',
184
+ element: {
185
+ client_side_validation: true,
186
+ required: false,
187
+ serialized_name: 'ImageRegistryCredentialElementType',
188
+ type: {
189
+ name: 'Composite',
190
+ class_name: 'ImageRegistryCredential'
191
+ }
192
+ }
193
+ }
194
+ },
195
+ restart_policy: {
196
+ client_side_validation: true,
197
+ required: false,
198
+ serialized_name: 'properties.restartPolicy',
199
+ type: {
200
+ name: 'String'
201
+ }
202
+ },
203
+ ip_address: {
204
+ client_side_validation: true,
205
+ required: false,
206
+ serialized_name: 'properties.ipAddress',
207
+ type: {
208
+ name: 'Composite',
209
+ class_name: 'IpAddress'
210
+ }
211
+ },
212
+ os_type: {
213
+ client_side_validation: true,
214
+ required: false,
215
+ serialized_name: 'properties.osType',
216
+ type: {
217
+ name: 'String'
218
+ }
219
+ },
220
+ volumes: {
221
+ client_side_validation: true,
222
+ required: false,
223
+ serialized_name: 'properties.volumes',
224
+ type: {
225
+ name: 'Sequence',
226
+ element: {
227
+ client_side_validation: true,
228
+ required: false,
229
+ serialized_name: 'VolumeElementType',
230
+ type: {
231
+ name: 'Composite',
232
+ class_name: 'Volume'
233
+ }
234
+ }
235
+ }
236
+ },
237
+ instance_view: {
238
+ client_side_validation: true,
239
+ required: false,
240
+ read_only: true,
241
+ serialized_name: 'properties.instanceView',
242
+ type: {
243
+ name: 'Composite',
244
+ class_name: 'ContainerGroupPropertiesInstanceView'
245
+ }
246
+ },
247
+ diagnostics: {
248
+ client_side_validation: true,
249
+ required: false,
250
+ serialized_name: 'properties.diagnostics',
251
+ type: {
252
+ name: 'Composite',
253
+ class_name: 'ContainerGroupDiagnostics'
254
+ }
255
+ },
256
+ network_profile: {
257
+ client_side_validation: true,
258
+ required: false,
259
+ serialized_name: 'properties.networkProfile',
260
+ type: {
261
+ name: 'Composite',
262
+ class_name: 'ContainerGroupNetworkProfile'
263
+ }
264
+ },
265
+ dns_config: {
266
+ client_side_validation: true,
267
+ required: false,
268
+ serialized_name: 'properties.dnsConfig',
269
+ type: {
270
+ name: 'Composite',
271
+ class_name: 'DnsConfiguration'
272
+ }
273
+ },
274
+ sku: {
275
+ client_side_validation: true,
276
+ required: false,
277
+ serialized_name: 'properties.sku',
278
+ type: {
279
+ name: 'String'
280
+ }
281
+ },
282
+ encryption_properties: {
283
+ client_side_validation: true,
284
+ required: false,
285
+ serialized_name: 'properties.encryptionProperties',
286
+ type: {
287
+ name: 'Composite',
288
+ class_name: 'EncryptionProperties'
289
+ }
290
+ },
291
+ init_containers: {
292
+ client_side_validation: true,
293
+ required: false,
294
+ serialized_name: 'properties.initContainers',
295
+ type: {
296
+ name: 'Sequence',
297
+ element: {
298
+ client_side_validation: true,
299
+ required: false,
300
+ serialized_name: 'InitContainerDefinitionElementType',
301
+ type: {
302
+ name: 'Composite',
303
+ class_name: 'InitContainerDefinition'
304
+ }
305
+ }
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }
311
+ end
312
+ end
313
+ end
314
+ end
@@ -0,0 +1,47 @@
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::ContainerInstance::Mgmt::V2020_11_01
7
+ module Models
8
+ #
9
+ # Container group diagnostic information.
10
+ #
11
+ class ContainerGroupDiagnostics
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [LogAnalytics] Container group log analytics information.
16
+ attr_accessor :log_analytics
17
+
18
+
19
+ #
20
+ # Mapper for ContainerGroupDiagnostics 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: 'ContainerGroupDiagnostics',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'ContainerGroupDiagnostics',
31
+ model_properties: {
32
+ log_analytics: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'logAnalytics',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'LogAnalytics'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,102 @@
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::ContainerInstance::Mgmt::V2020_11_01
7
+ module Models
8
+ #
9
+ # Identity for the container group.
10
+ #
11
+ class ContainerGroupIdentity
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The principal id of the container group identity. This
16
+ # property will only be provided for a system assigned identity.
17
+ attr_accessor :principal_id
18
+
19
+ # @return [String] The tenant id associated with the container group.
20
+ # This property will only be provided for a system assigned identity.
21
+ attr_accessor :tenant_id
22
+
23
+ # @return [ResourceIdentityType] The type of identity used for the
24
+ # container group. The type 'SystemAssigned, UserAssigned' includes both
25
+ # an implicitly created identity and a set of user assigned identities.
26
+ # The type 'None' will remove any identities from the container group.
27
+ # Possible values include: 'SystemAssigned', 'UserAssigned',
28
+ # 'SystemAssigned, UserAssigned', 'None'
29
+ attr_accessor :type
30
+
31
+ # @return [Hash{String =>
32
+ # ContainerGroupIdentityUserAssignedIdentitiesValue}] The list of user
33
+ # identities associated with the container group. The user identity
34
+ # dictionary key references will be ARM resource ids in the form:
35
+ # '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
36
+ attr_accessor :user_assigned_identities
37
+
38
+
39
+ #
40
+ # Mapper for ContainerGroupIdentity class as Ruby Hash.
41
+ # This will be used for serialization/deserialization.
42
+ #
43
+ def self.mapper()
44
+ {
45
+ client_side_validation: true,
46
+ required: false,
47
+ serialized_name: 'ContainerGroupIdentity',
48
+ type: {
49
+ name: 'Composite',
50
+ class_name: 'ContainerGroupIdentity',
51
+ model_properties: {
52
+ principal_id: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ read_only: true,
56
+ serialized_name: 'principalId',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ tenant_id: {
62
+ client_side_validation: true,
63
+ required: false,
64
+ read_only: true,
65
+ serialized_name: 'tenantId',
66
+ type: {
67
+ name: 'String'
68
+ }
69
+ },
70
+ type: {
71
+ client_side_validation: true,
72
+ required: false,
73
+ serialized_name: 'type',
74
+ type: {
75
+ name: 'Enum',
76
+ module: 'ResourceIdentityType'
77
+ }
78
+ },
79
+ user_assigned_identities: {
80
+ client_side_validation: true,
81
+ required: false,
82
+ serialized_name: 'userAssignedIdentities',
83
+ type: {
84
+ name: 'Dictionary',
85
+ value: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ serialized_name: 'ContainerGroupIdentityUserAssignedIdentitiesValueElementType',
89
+ type: {
90
+ name: 'Composite',
91
+ class_name: 'ContainerGroupIdentityUserAssignedIdentitiesValue'
92
+ }
93
+ }
94
+ }
95
+ }
96
+ }
97
+ }
98
+ }
99
+ end
100
+ end
101
+ end
102
+ end