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,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::VMwareCloudSimple::Mgmt::V2019_04_01
7
+ module Models
8
+ #
9
+ # General error model
10
+ #
11
+ class CSRPError
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [CSRPErrorBody] Error's body
16
+ attr_accessor :error
17
+
18
+
19
+ #
20
+ # Mapper for CSRPError 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: 'CSRPError',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'CSRPError',
31
+ model_properties: {
32
+ error: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'error',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'CSRPErrorBody'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,91 @@
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
+ # Error properties
10
+ #
11
+ class CSRPErrorBody
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Error's code
16
+ attr_accessor :code
17
+
18
+ # @return [Array<CSRPErrorBody>] Error's details
19
+ attr_accessor :details
20
+
21
+ # @return [String] Error's message
22
+ attr_accessor :message
23
+
24
+ # @return [String] Error's target
25
+ attr_accessor :target
26
+
27
+
28
+ #
29
+ # Mapper for CSRPErrorBody class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'CSRPErrorBody',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'CSRPErrorBody',
40
+ model_properties: {
41
+ code: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ read_only: true,
45
+ serialized_name: 'code',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ details: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ read_only: true,
54
+ serialized_name: 'details',
55
+ type: {
56
+ name: 'Sequence',
57
+ element: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'CSRPErrorBodyElementType',
61
+ type: {
62
+ name: 'Composite',
63
+ class_name: 'CSRPErrorBody'
64
+ }
65
+ }
66
+ }
67
+ },
68
+ message: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ read_only: true,
72
+ serialized_name: 'message',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ },
77
+ target: {
78
+ client_side_validation: true,
79
+ required: false,
80
+ serialized_name: 'target',
81
+ type: {
82
+ name: 'String'
83
+ }
84
+ }
85
+ }
86
+ }
87
+ }
88
+ end
89
+ end
90
+ end
91
+ end
@@ -0,0 +1,293 @@
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
+ # Dedicated cloud node model
10
+ #
11
+ class DedicatedCloudNode
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String]
16
+ # /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/dedicatedCloudNodes/{dedicatedCloudNodeName}
17
+ attr_accessor :id
18
+
19
+ # @return [String] Azure region
20
+ attr_accessor :location
21
+
22
+ # @return [String] {dedicatedCloudNodeName}
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 [String] VMWare Cloud Rack Name
32
+ attr_accessor :cloud_rack_name
33
+
34
+ # @return date time the resource was created
35
+ attr_accessor :created
36
+
37
+ # @return [Integer] count of nodes to create
38
+ attr_accessor :nodes_count
39
+
40
+ # @return [String] Placement Group id, e.g. "n1"
41
+ attr_accessor :placement_group_id
42
+
43
+ # @return [String] Placement Name, e.g. "Placement Group 1"
44
+ attr_accessor :placement_group_name
45
+
46
+ # @return [String] Private Cloud Id
47
+ attr_accessor :private_cloud_id
48
+
49
+ # @return [String] Resource Pool Name
50
+ attr_accessor :private_cloud_name
51
+
52
+ # @return [String] The provisioning status of the resource
53
+ attr_accessor :provisioning_state
54
+
55
+ # @return purchase id
56
+ attr_accessor :purchase_id
57
+
58
+ # @return [String] SKU's id
59
+ attr_accessor :id1
60
+
61
+ # @return [String] SKU's name
62
+ attr_accessor :name1
63
+
64
+ # @return [NodeStatus] Node status, indicates is private cloud set up on
65
+ # this node or not. Possible values include: 'unused', 'used'
66
+ attr_accessor :status
67
+
68
+ # @return [String] VMWare Cluster Name
69
+ attr_accessor :vmware_cluster_name
70
+
71
+ # @return [Sku] Dedicated Cloud Nodes SKU
72
+ attr_accessor :sku
73
+
74
+ # @return [Hash{String => String}] Dedicated Cloud Nodes tags
75
+ attr_accessor :tags
76
+
77
+ # @return [String] {resourceProviderNamespace}/{resourceType}
78
+ attr_accessor :type
79
+
80
+
81
+ #
82
+ # Mapper for DedicatedCloudNode class as Ruby Hash.
83
+ # This will be used for serialization/deserialization.
84
+ #
85
+ def self.mapper()
86
+ {
87
+ client_side_validation: true,
88
+ required: false,
89
+ serialized_name: 'DedicatedCloudNode',
90
+ type: {
91
+ name: 'Composite',
92
+ class_name: 'DedicatedCloudNode',
93
+ model_properties: {
94
+ id: {
95
+ client_side_validation: true,
96
+ required: false,
97
+ read_only: true,
98
+ serialized_name: 'id',
99
+ type: {
100
+ name: 'String'
101
+ }
102
+ },
103
+ location: {
104
+ client_side_validation: true,
105
+ required: true,
106
+ serialized_name: 'location',
107
+ type: {
108
+ name: 'String'
109
+ }
110
+ },
111
+ name: {
112
+ client_side_validation: true,
113
+ required: false,
114
+ read_only: true,
115
+ serialized_name: 'name',
116
+ constraints: {
117
+ Pattern: '^[-a-zA-Z0-9]+$'
118
+ },
119
+ type: {
120
+ name: 'String'
121
+ }
122
+ },
123
+ availability_zone_id: {
124
+ client_side_validation: true,
125
+ required: true,
126
+ serialized_name: 'properties.availabilityZoneId',
127
+ type: {
128
+ name: 'String'
129
+ }
130
+ },
131
+ availability_zone_name: {
132
+ client_side_validation: true,
133
+ required: false,
134
+ read_only: true,
135
+ serialized_name: 'properties.availabilityZoneName',
136
+ type: {
137
+ name: 'String'
138
+ }
139
+ },
140
+ cloud_rack_name: {
141
+ client_side_validation: true,
142
+ required: false,
143
+ read_only: true,
144
+ serialized_name: 'properties.cloudRackName',
145
+ type: {
146
+ name: 'String'
147
+ }
148
+ },
149
+ created: {
150
+ client_side_validation: true,
151
+ required: false,
152
+ read_only: true,
153
+ serialized_name: 'properties.created',
154
+ type: {
155
+ name: 'Object'
156
+ }
157
+ },
158
+ nodes_count: {
159
+ client_side_validation: true,
160
+ required: true,
161
+ serialized_name: 'properties.nodesCount',
162
+ type: {
163
+ name: 'Number'
164
+ }
165
+ },
166
+ placement_group_id: {
167
+ client_side_validation: true,
168
+ required: true,
169
+ serialized_name: 'properties.placementGroupId',
170
+ type: {
171
+ name: 'String'
172
+ }
173
+ },
174
+ placement_group_name: {
175
+ client_side_validation: true,
176
+ required: false,
177
+ read_only: true,
178
+ serialized_name: 'properties.placementGroupName',
179
+ type: {
180
+ name: 'String'
181
+ }
182
+ },
183
+ private_cloud_id: {
184
+ client_side_validation: true,
185
+ required: false,
186
+ read_only: true,
187
+ serialized_name: 'properties.privateCloudId',
188
+ type: {
189
+ name: 'String'
190
+ }
191
+ },
192
+ private_cloud_name: {
193
+ client_side_validation: true,
194
+ required: false,
195
+ read_only: true,
196
+ serialized_name: 'properties.privateCloudName',
197
+ type: {
198
+ name: 'String'
199
+ }
200
+ },
201
+ provisioning_state: {
202
+ client_side_validation: true,
203
+ required: false,
204
+ read_only: true,
205
+ serialized_name: 'properties.provisioningState',
206
+ type: {
207
+ name: 'String'
208
+ }
209
+ },
210
+ purchase_id: {
211
+ client_side_validation: true,
212
+ required: true,
213
+ serialized_name: 'properties.purchaseId',
214
+ type: {
215
+ name: 'String'
216
+ }
217
+ },
218
+ id1: {
219
+ client_side_validation: true,
220
+ required: true,
221
+ serialized_name: 'properties.skuDescription.id',
222
+ type: {
223
+ name: 'String'
224
+ }
225
+ },
226
+ name1: {
227
+ client_side_validation: true,
228
+ required: true,
229
+ serialized_name: 'properties.skuDescription.name',
230
+ type: {
231
+ name: 'String'
232
+ }
233
+ },
234
+ status: {
235
+ client_side_validation: true,
236
+ required: false,
237
+ read_only: true,
238
+ serialized_name: 'properties.status',
239
+ type: {
240
+ name: 'Enum',
241
+ module: 'NodeStatus'
242
+ }
243
+ },
244
+ vmware_cluster_name: {
245
+ client_side_validation: true,
246
+ required: false,
247
+ read_only: true,
248
+ serialized_name: 'properties.vmwareClusterName',
249
+ type: {
250
+ name: 'String'
251
+ }
252
+ },
253
+ sku: {
254
+ client_side_validation: true,
255
+ required: false,
256
+ serialized_name: 'sku',
257
+ type: {
258
+ name: 'Composite',
259
+ class_name: 'Sku'
260
+ }
261
+ },
262
+ tags: {
263
+ client_side_validation: true,
264
+ required: false,
265
+ serialized_name: 'tags',
266
+ type: {
267
+ name: 'Dictionary',
268
+ value: {
269
+ client_side_validation: true,
270
+ required: false,
271
+ serialized_name: 'StringElementType',
272
+ type: {
273
+ name: 'String'
274
+ }
275
+ }
276
+ }
277
+ },
278
+ type: {
279
+ client_side_validation: true,
280
+ required: false,
281
+ read_only: true,
282
+ serialized_name: 'type',
283
+ type: {
284
+ name: 'String'
285
+ }
286
+ }
287
+ }
288
+ }
289
+ }
290
+ end
291
+ end
292
+ end
293
+ end
@@ -0,0 +1,99 @@
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 dedicated nodes response model
10
+ #
11
+ class DedicatedCloudNodeListResponse
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [String] Link for next list of DedicatedCloudNode
17
+ attr_accessor :next_link
18
+
19
+ # @return [Array<DedicatedCloudNode>] Results of the DedicatedCloudNode
20
+ # list
21
+ attr_accessor :value
22
+
23
+ # return [Proc] with next page method call.
24
+ attr_accessor :next_method
25
+
26
+ #
27
+ # Gets the rest of the items for the request, enabling auto-pagination.
28
+ #
29
+ # @return [Array<DedicatedCloudNode>] operation results.
30
+ #
31
+ def get_all_items
32
+ items = @value
33
+ page = self
34
+ while page.next_link != nil && !page.next_link.strip.empty? do
35
+ page = page.get_next_page
36
+ items.concat(page.value)
37
+ end
38
+ items
39
+ end
40
+
41
+ #
42
+ # Gets the next page of results.
43
+ #
44
+ # @return [DedicatedCloudNodeListResponse] with next page content.
45
+ #
46
+ def get_next_page
47
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
48
+ unless response.nil?
49
+ @next_link = response.body.next_link
50
+ @value = response.body.value
51
+ self
52
+ end
53
+ end
54
+
55
+ #
56
+ # Mapper for DedicatedCloudNodeListResponse class as Ruby Hash.
57
+ # This will be used for serialization/deserialization.
58
+ #
59
+ def self.mapper()
60
+ {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'DedicatedCloudNodeListResponse',
64
+ type: {
65
+ name: 'Composite',
66
+ class_name: 'DedicatedCloudNodeListResponse',
67
+ model_properties: {
68
+ next_link: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'nextLink',
72
+ type: {
73
+ name: 'String'
74
+ }
75
+ },
76
+ value: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ serialized_name: 'value',
80
+ type: {
81
+ name: 'Sequence',
82
+ element: {
83
+ client_side_validation: true,
84
+ required: false,
85
+ serialized_name: 'DedicatedCloudNodeElementType',
86
+ type: {
87
+ name: 'Composite',
88
+ class_name: 'DedicatedCloudNode'
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+ }
95
+ }
96
+ end
97
+ end
98
+ end
99
+ end