azure_mgmt_vmware_cloudsimple 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple.rb +82 -0
  4. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/dedicated_cloud_nodes.rb +945 -0
  5. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/dedicated_cloud_services.rb +932 -0
  6. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/aggregation_type.rb +16 -0
  7. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/available_operation.rb +99 -0
  8. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/available_operation_display.rb +79 -0
  9. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/available_operation_display_property_service_specification_metrics_item.rb +94 -0
  10. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/available_operation_display_property_service_specification_metrics_list.rb +60 -0
  11. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/available_operations_list_response.rb +99 -0
  12. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/csrperror.rb +47 -0
  13. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/csrperror_body.rb +91 -0
  14. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/dedicated_cloud_node.rb +293 -0
  15. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/dedicated_cloud_node_list_response.rb +99 -0
  16. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/dedicated_cloud_service.rb +154 -0
  17. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/dedicated_cloud_service_list_response.rb +99 -0
  18. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/disk_independence_mode.rb +17 -0
  19. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/guest_ostype.rb +17 -0
  20. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/nictype.rb +20 -0
  21. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/node_status.rb +16 -0
  22. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/onboarding_status.rb +18 -0
  23. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/operation_error.rb +57 -0
  24. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/operation_origin.rb +17 -0
  25. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/operation_resource.rb +107 -0
  26. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/patch_payload.rb +54 -0
  27. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud.rb +382 -0
  28. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud_list.rb +98 -0
  29. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/private_cloud_resource_type.rb +15 -0
  30. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/resource_pool.rb +106 -0
  31. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/resource_pools_list_response.rb +98 -0
  32. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/sku.rb +93 -0
  33. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/sku_availability.rb +124 -0
  34. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/sku_availability_list_response.rb +99 -0
  35. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/stop_mode.rb +18 -0
  36. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/usage.rb +87 -0
  37. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/usage_count.rb +20 -0
  38. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/usage_list_response.rb +99 -0
  39. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/usage_name.rb +58 -0
  40. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_disk.rb +94 -0
  41. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_disk_controller.rb +84 -0
  42. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_machine.rb +388 -0
  43. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_machine_list_response.rb +98 -0
  44. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_machine_status.rb +20 -0
  45. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_machine_stop_mode.rb +49 -0
  46. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_machine_template.rb +283 -0
  47. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_machine_template_list_response.rb +98 -0
  48. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_network.rb +106 -0
  49. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_network_list_response.rb +98 -0
  50. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/virtual_nic.rb +124 -0
  51. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/module_definition.rb +9 -0
  52. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/operations.rb +335 -0
  53. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/private_clouds.rb +340 -0
  54. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/resource_pools.rb +349 -0
  55. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/skus_availability.rb +248 -0
  56. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/usages.rb +248 -0
  57. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/virtual_machine_templates.rb +361 -0
  58. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/virtual_machines.rb +1326 -0
  59. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/virtual_networks.rb +358 -0
  60. data/lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/vmware_cloud_simple_client.rb +170 -0
  61. data/lib/azure_mgmt_vmware_cloudsimple.rb +6 -0
  62. data/lib/module_definition.rb +7 -0
  63. data/lib/profiles/latest/modules/vmwarecloudsimple_profile_module.rb +259 -0
  64. data/lib/profiles/latest/vmwarecloudsimple_latest_profile_client.rb +40 -0
  65. data/lib/profiles/latest/vmwarecloudsimple_module_definition.rb +8 -0
  66. data/lib/version.rb +7 -0
  67. metadata +182 -0
@@ -0,0 +1,54 @@
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::VMwareCloudSimple::Mgmt::V2019_04_01
7
+ module Models
8
+ #
9
+ # General patch payload modal
10
+ #
11
+ class PatchPayload
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Hash{String => String}] The tags key:value pairs
16
+ attr_accessor :tags
17
+
18
+
19
+ #
20
+ # Mapper for PatchPayload 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: 'PatchPayload',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'PatchPayload',
31
+ model_properties: {
32
+ tags: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'tags',
36
+ type: {
37
+ name: 'Dictionary',
38
+ value: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'StringElementType',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ end
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,382 @@
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::VMwareCloudSimple::Mgmt::V2019_04_01
7
+ module Models
8
+ #
9
+ # Private cloud model
10
+ #
11
+ class PrivateCloud
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Azure Id, e.g.
16
+ # "/subscriptions/4da99247-a172-4ed6-8ae9-ebed2d12f839/providers/Microsoft.VMwareCloudSimple/privateClouds/cloud123"
17
+ attr_accessor :id
18
+
19
+ # @return [String] Location where private cloud created, e.g "westus"
20
+ attr_accessor :location
21
+
22
+ # @return [String] Private cloud name
23
+ attr_accessor :name
24
+
25
+ # @return [String] Availability Zone id, e.g. "az1"
26
+ attr_accessor :availability_zone_id
27
+
28
+ # @return [String] Availability Zone name, e.g. "Availability Zone 1"
29
+ attr_accessor :availability_zone_name
30
+
31
+ # @return [Integer] Number of clusters
32
+ attr_accessor :clusters_number
33
+
34
+ # @return [String] User's emails who created cloud
35
+ attr_accessor :created_by
36
+
37
+ # @return [DateTime] When private cloud was created
38
+ attr_accessor :created_on
39
+
40
+ # @return [Array<String>] Array of DNS servers
41
+ attr_accessor :dns_servers
42
+
43
+ # @return [String] Expiration date of PC
44
+ attr_accessor :expires
45
+
46
+ # @return [String] Nsx Type, e.g. "Advanced"
47
+ attr_accessor :nsx_type
48
+
49
+ # @return [String] Placement Group id, e.g. "n1"
50
+ attr_accessor :placement_group_id
51
+
52
+ # @return [String] Placement Group name
53
+ attr_accessor :placement_group_name
54
+
55
+ # @return Id of a private cloud
56
+ attr_accessor :private_cloud_id
57
+
58
+ # @return [Array<ResourcePool>] The list of Resource Pools
59
+ attr_accessor :resource_pools
60
+
61
+ # @return [String] Private Cloud state, e.g. "operational"
62
+ attr_accessor :state
63
+
64
+ # @return [Integer] Number of cores
65
+ attr_accessor :total_cpu_cores
66
+
67
+ # @return [Integer] Number of nodes
68
+ attr_accessor :total_nodes
69
+
70
+ # @return [Integer] Memory size
71
+ attr_accessor :total_ram
72
+
73
+ # @return [Float] Disk space in TB
74
+ attr_accessor :total_storage
75
+
76
+ # @return [String] Virtualization type e.g. "vSphere"
77
+ attr_accessor :private_cloud_properties_type
78
+
79
+ # @return [String] e.g. "6.5u2"
80
+ attr_accessor :v_sphere_version
81
+
82
+ # @return [String] FQDN for vcenter access
83
+ attr_accessor :vcenter_fqdn
84
+
85
+ # @return [String] Vcenter ip address
86
+ attr_accessor :vcenter_refid
87
+
88
+ # @return [Array<VirtualMachineTemplate>] The list of Virtual Machine
89
+ # Templates
90
+ attr_accessor :virtual_machine_templates
91
+
92
+ # @return [Array<VirtualNetwork>] The list of Virtual Networks
93
+ attr_accessor :virtual_networks
94
+
95
+ # @return [Boolean] Is Vrops enabled/disabled
96
+ attr_accessor :vr_ops_enabled
97
+
98
+ # @return [PrivateCloudResourceType] Azure Resource type. Possible values
99
+ # include: 'Microsoft.VMwareCloudSimple/privateClouds'
100
+ attr_accessor :type
101
+
102
+
103
+ #
104
+ # Mapper for PrivateCloud class as Ruby Hash.
105
+ # This will be used for serialization/deserialization.
106
+ #
107
+ def self.mapper()
108
+ {
109
+ client_side_validation: true,
110
+ required: false,
111
+ serialized_name: 'PrivateCloud',
112
+ type: {
113
+ name: 'Composite',
114
+ class_name: 'PrivateCloud',
115
+ model_properties: {
116
+ id: {
117
+ client_side_validation: true,
118
+ required: false,
119
+ serialized_name: 'id',
120
+ type: {
121
+ name: 'String'
122
+ }
123
+ },
124
+ location: {
125
+ client_side_validation: true,
126
+ required: false,
127
+ serialized_name: 'location',
128
+ type: {
129
+ name: 'String'
130
+ }
131
+ },
132
+ name: {
133
+ client_side_validation: true,
134
+ required: false,
135
+ serialized_name: 'name',
136
+ type: {
137
+ name: 'String'
138
+ }
139
+ },
140
+ availability_zone_id: {
141
+ client_side_validation: true,
142
+ required: false,
143
+ serialized_name: 'properties.availabilityZoneId',
144
+ type: {
145
+ name: 'String'
146
+ }
147
+ },
148
+ availability_zone_name: {
149
+ client_side_validation: true,
150
+ required: false,
151
+ serialized_name: 'properties.availabilityZoneName',
152
+ type: {
153
+ name: 'String'
154
+ }
155
+ },
156
+ clusters_number: {
157
+ client_side_validation: true,
158
+ required: false,
159
+ serialized_name: 'properties.clustersNumber',
160
+ type: {
161
+ name: 'Number'
162
+ }
163
+ },
164
+ created_by: {
165
+ client_side_validation: true,
166
+ required: false,
167
+ serialized_name: 'properties.createdBy',
168
+ type: {
169
+ name: 'String'
170
+ }
171
+ },
172
+ created_on: {
173
+ client_side_validation: true,
174
+ required: false,
175
+ serialized_name: 'properties.createdOn',
176
+ type: {
177
+ name: 'DateTime'
178
+ }
179
+ },
180
+ dns_servers: {
181
+ client_side_validation: true,
182
+ required: false,
183
+ serialized_name: 'properties.dnsServers',
184
+ type: {
185
+ name: 'Sequence',
186
+ element: {
187
+ client_side_validation: true,
188
+ required: false,
189
+ serialized_name: 'StringElementType',
190
+ type: {
191
+ name: 'String'
192
+ }
193
+ }
194
+ }
195
+ },
196
+ expires: {
197
+ client_side_validation: true,
198
+ required: false,
199
+ serialized_name: 'properties.expires',
200
+ type: {
201
+ name: 'String'
202
+ }
203
+ },
204
+ nsx_type: {
205
+ client_side_validation: true,
206
+ required: false,
207
+ serialized_name: 'properties.nsxType',
208
+ type: {
209
+ name: 'String'
210
+ }
211
+ },
212
+ placement_group_id: {
213
+ client_side_validation: true,
214
+ required: false,
215
+ serialized_name: 'properties.placementGroupId',
216
+ type: {
217
+ name: 'String'
218
+ }
219
+ },
220
+ placement_group_name: {
221
+ client_side_validation: true,
222
+ required: false,
223
+ serialized_name: 'properties.placementGroupName',
224
+ type: {
225
+ name: 'String'
226
+ }
227
+ },
228
+ private_cloud_id: {
229
+ client_side_validation: true,
230
+ required: false,
231
+ serialized_name: 'properties.privateCloudId',
232
+ type: {
233
+ name: 'String'
234
+ }
235
+ },
236
+ resource_pools: {
237
+ client_side_validation: true,
238
+ required: false,
239
+ serialized_name: 'properties.resourcePools',
240
+ type: {
241
+ name: 'Sequence',
242
+ element: {
243
+ client_side_validation: true,
244
+ required: false,
245
+ serialized_name: 'ResourcePoolElementType',
246
+ type: {
247
+ name: 'Composite',
248
+ class_name: 'ResourcePool'
249
+ }
250
+ }
251
+ }
252
+ },
253
+ state: {
254
+ client_side_validation: true,
255
+ required: false,
256
+ serialized_name: 'properties.state',
257
+ type: {
258
+ name: 'String'
259
+ }
260
+ },
261
+ total_cpu_cores: {
262
+ client_side_validation: true,
263
+ required: false,
264
+ serialized_name: 'properties.totalCpuCores',
265
+ type: {
266
+ name: 'Number'
267
+ }
268
+ },
269
+ total_nodes: {
270
+ client_side_validation: true,
271
+ required: false,
272
+ serialized_name: 'properties.totalNodes',
273
+ type: {
274
+ name: 'Number'
275
+ }
276
+ },
277
+ total_ram: {
278
+ client_side_validation: true,
279
+ required: false,
280
+ serialized_name: 'properties.totalRam',
281
+ type: {
282
+ name: 'Number'
283
+ }
284
+ },
285
+ total_storage: {
286
+ client_side_validation: true,
287
+ required: false,
288
+ serialized_name: 'properties.totalStorage',
289
+ type: {
290
+ name: 'Double'
291
+ }
292
+ },
293
+ private_cloud_properties_type: {
294
+ client_side_validation: true,
295
+ required: false,
296
+ serialized_name: 'properties.type',
297
+ type: {
298
+ name: 'String'
299
+ }
300
+ },
301
+ v_sphere_version: {
302
+ client_side_validation: true,
303
+ required: false,
304
+ serialized_name: 'properties.vSphereVersion',
305
+ type: {
306
+ name: 'String'
307
+ }
308
+ },
309
+ vcenter_fqdn: {
310
+ client_side_validation: true,
311
+ required: false,
312
+ serialized_name: 'properties.vcenterFqdn',
313
+ type: {
314
+ name: 'String'
315
+ }
316
+ },
317
+ vcenter_refid: {
318
+ client_side_validation: true,
319
+ required: false,
320
+ serialized_name: 'properties.vcenterRefid',
321
+ type: {
322
+ name: 'String'
323
+ }
324
+ },
325
+ virtual_machine_templates: {
326
+ client_side_validation: true,
327
+ required: false,
328
+ serialized_name: 'properties.virtualMachineTemplates',
329
+ type: {
330
+ name: 'Sequence',
331
+ element: {
332
+ client_side_validation: true,
333
+ required: false,
334
+ serialized_name: 'VirtualMachineTemplateElementType',
335
+ type: {
336
+ name: 'Composite',
337
+ class_name: 'VirtualMachineTemplate'
338
+ }
339
+ }
340
+ }
341
+ },
342
+ virtual_networks: {
343
+ client_side_validation: true,
344
+ required: false,
345
+ serialized_name: 'properties.virtualNetworks',
346
+ type: {
347
+ name: 'Sequence',
348
+ element: {
349
+ client_side_validation: true,
350
+ required: false,
351
+ serialized_name: 'VirtualNetworkElementType',
352
+ type: {
353
+ name: 'Composite',
354
+ class_name: 'VirtualNetwork'
355
+ }
356
+ }
357
+ }
358
+ },
359
+ vr_ops_enabled: {
360
+ client_side_validation: true,
361
+ required: false,
362
+ serialized_name: 'properties.vrOpsEnabled',
363
+ type: {
364
+ name: 'Boolean'
365
+ }
366
+ },
367
+ type: {
368
+ client_side_validation: true,
369
+ required: false,
370
+ serialized_name: 'type',
371
+ type: {
372
+ name: 'Enum',
373
+ module: 'PrivateCloudResourceType'
374
+ }
375
+ }
376
+ }
377
+ }
378
+ }
379
+ end
380
+ end
381
+ end
382
+ end
@@ -0,0 +1,98 @@
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::VMwareCloudSimple::Mgmt::V2019_04_01
7
+ module Models
8
+ #
9
+ # List of private clouds
10
+ #
11
+ class PrivateCloudList
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [String] Link for next list of Private Clouds
17
+ attr_accessor :next_link
18
+
19
+ # @return [Array<PrivateCloud>] the list of private clouds
20
+ attr_accessor :value
21
+
22
+ # return [Proc] with next page method call.
23
+ attr_accessor :next_method
24
+
25
+ #
26
+ # Gets the rest of the items for the request, enabling auto-pagination.
27
+ #
28
+ # @return [Array<PrivateCloud>] operation results.
29
+ #
30
+ def get_all_items
31
+ items = @value
32
+ page = self
33
+ while page.next_link != nil && !page.next_link.strip.empty? do
34
+ page = page.get_next_page
35
+ items.concat(page.value)
36
+ end
37
+ items
38
+ end
39
+
40
+ #
41
+ # Gets the next page of results.
42
+ #
43
+ # @return [PrivateCloudList] with next page content.
44
+ #
45
+ def get_next_page
46
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
47
+ unless response.nil?
48
+ @next_link = response.body.next_link
49
+ @value = response.body.value
50
+ self
51
+ end
52
+ end
53
+
54
+ #
55
+ # Mapper for PrivateCloudList 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: 'PrivateCloudList',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'PrivateCloudList',
66
+ model_properties: {
67
+ next_link: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ serialized_name: 'nextLink',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ value: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ serialized_name: 'value',
79
+ type: {
80
+ name: 'Sequence',
81
+ element: {
82
+ client_side_validation: true,
83
+ required: false,
84
+ serialized_name: 'PrivateCloudElementType',
85
+ type: {
86
+ name: 'Composite',
87
+ class_name: 'PrivateCloud'
88
+ }
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+ }
95
+ end
96
+ end
97
+ end
98
+ end