azure_mgmt_migrate 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2018-02-02/generated/azure_mgmt_migrate.rb +80 -0
  4. data/lib/2018-02-02/generated/azure_mgmt_migrate/assessed_machines.rb +293 -0
  5. data/lib/2018-02-02/generated/azure_mgmt_migrate/assessment_options.rb +121 -0
  6. data/lib/2018-02-02/generated/azure_mgmt_migrate/assessments.rb +790 -0
  7. data/lib/2018-02-02/generated/azure_mgmt_migrate/azure_migrate.rb +160 -0
  8. data/lib/2018-02-02/generated/azure_mgmt_migrate/groups.rb +506 -0
  9. data/lib/2018-02-02/generated/azure_mgmt_migrate/location.rb +129 -0
  10. data/lib/2018-02-02/generated/azure_mgmt_migrate/machines.rb +241 -0
  11. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/assessed_disk.rb +312 -0
  12. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/assessed_machine.rb +547 -0
  13. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/assessed_machine_result_list.rb +55 -0
  14. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/assessed_network_adapter.rb +197 -0
  15. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/assessment.rb +367 -0
  16. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/assessment_options_result_list.rb +78 -0
  17. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/assessment_result_list.rb +55 -0
  18. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/assessment_sizing_criterion.rb +16 -0
  19. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/assessment_stage.rb +17 -0
  20. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/assessment_status.rb +19 -0
  21. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_disk_size.rb +29 -0
  22. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_disk_suitability_explanation.rb +22 -0
  23. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_disk_type.rb +17 -0
  24. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_hybrid_use_benefit.rb +17 -0
  25. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_location.rb +45 -0
  26. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_network_adapter_suitability_explanation.rb +17 -0
  27. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_offer_code.rb +52 -0
  28. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_pricing_tier.rb +16 -0
  29. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_storage_redundancy.rb +19 -0
  30. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_vm_size.rb +105 -0
  31. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/azure_vm_suitability_explanation.rb +50 -0
  32. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/check_name_availability_parameters.rb +61 -0
  33. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/check_name_availability_result.rb +78 -0
  34. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/cloud_suitability.rb +19 -0
  35. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/currency.rb +40 -0
  36. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/discovery_status.rb +18 -0
  37. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/disk.rb +59 -0
  38. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/download_url.rb +59 -0
  39. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/group.rb +151 -0
  40. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/group_result_list.rb +55 -0
  41. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/machine.rb +317 -0
  42. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/machine_boot_type.rb +17 -0
  43. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/machine_result_list.rb +55 -0
  44. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/name_availability_reason.rb +17 -0
  45. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/network_adapter.rb +67 -0
  46. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/operation.rb +71 -0
  47. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/operation_display.rb +83 -0
  48. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/operation_result_list.rb +55 -0
  49. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/percentile.rb +18 -0
  50. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/project.rb +256 -0
  51. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/project_key.rb +59 -0
  52. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/project_result_list.rb +55 -0
  53. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/provisioning_state.rb +20 -0
  54. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/time_range.rb +17 -0
  55. data/lib/2018-02-02/generated/azure_mgmt_migrate/models/vm_family.rb +88 -0
  56. data/lib/2018-02-02/generated/azure_mgmt_migrate/module_definition.rb +9 -0
  57. data/lib/2018-02-02/generated/azure_mgmt_migrate/operations.rb +113 -0
  58. data/lib/2018-02-02/generated/azure_mgmt_migrate/projects.rb +756 -0
  59. data/lib/azure_mgmt_migrate.rb +6 -0
  60. data/lib/module_definition.rb +7 -0
  61. data/lib/profiles/latest/migrate_latest_profile_client.rb +40 -0
  62. data/lib/profiles/latest/migrate_module_definition.rb +8 -0
  63. data/lib/profiles/latest/modules/migrate_profile_module.rb +255 -0
  64. data/lib/version.rb +7 -0
  65. metadata +180 -0
@@ -0,0 +1,55 @@
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::Migrate::Mgmt::V2018_02_02
7
+ module Models
8
+ #
9
+ # List of groups.
10
+ #
11
+ class GroupResultList
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<Group>] List of groups.
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for GroupResultList 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: 'GroupResultList',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'GroupResultList',
31
+ model_properties: {
32
+ value: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'value',
36
+ type: {
37
+ name: 'Sequence',
38
+ element: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'GroupElementType',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'Group'
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,317 @@
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::Migrate::Mgmt::V2018_02_02
7
+ module Models
8
+ #
9
+ # A machine in a migration project.
10
+ #
11
+ class Machine
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Path reference to this machine.
16
+ # /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/projects/{projectName}/machines/{machineName}
17
+ attr_accessor :id
18
+
19
+ # @return [String] Name of the machine. It is a GUID which is unique
20
+ # identifier of machine in private data center. For user-readable name,
21
+ # we have a displayName property on this machine.
22
+ attr_accessor :name
23
+
24
+ # @return [String] For optimistic concurrency control.
25
+ attr_accessor :e_tag
26
+
27
+ # @return [String] Type of the object =
28
+ # [Microsoft.Migrate/projects/machines].
29
+ attr_accessor :type
30
+
31
+ # @return [MachineBootType] Boot type of the machine. Possible values
32
+ # include: 'Unknown', 'EFI', 'BIOS'
33
+ attr_accessor :boot_type
34
+
35
+ # @return [String] Container defined in the management solution that this
36
+ # machine is part of in the datacenter.
37
+ attr_accessor :datacenter_container
38
+
39
+ # @return [String] Name of the server hosting the datacenter management
40
+ # solution.
41
+ attr_accessor :datacenter_management_server
42
+
43
+ # @return [String] ID of the machine as tracked by the datacenter
44
+ # management solution.
45
+ attr_accessor :datacenter_machine_id
46
+
47
+ # @return [String] ID of the server hosting the datacenter management
48
+ # solution.
49
+ attr_accessor :datacenter_management_server_id
50
+
51
+ # @return [String] Description of the machine
52
+ attr_accessor :description
53
+
54
+ # @return [String] User readable name of the machine as defined by the
55
+ # user in their private datacenter.
56
+ attr_accessor :display_name
57
+
58
+ # @return [Float] Memory in Megabytes.
59
+ attr_accessor :megabytes_of_memory
60
+
61
+ # @return [Integer] Processor count.
62
+ attr_accessor :number_of_cores
63
+
64
+ # @return [String] Operating System of the machine.
65
+ attr_accessor :operating_system
66
+
67
+ # @return [Array<String>] List of references to the groups that the
68
+ # machine is member of.
69
+ attr_accessor :groups
70
+
71
+ # @return [DateTime] Time when this machine was created. Date-Time
72
+ # represented in ISO-8601 format.
73
+ attr_accessor :created_timestamp
74
+
75
+ # @return [DateTime] Time when this machine was last updated. Date-Time
76
+ # represented in ISO-8601 format.
77
+ attr_accessor :updated_timestamp
78
+
79
+ # @return [DateTime] Time when this machine was discovered by Azure
80
+ # Migrate agent. Date-Time represented in ISO-8601 format.
81
+ attr_accessor :discovered_timestamp
82
+
83
+ # @return [Hash{String => Disk}] Dictionary of disks attached to the
84
+ # machine. Key is ID of disk. Value is a disk object
85
+ attr_accessor :disks
86
+
87
+ # @return [Hash{String => NetworkAdapter}] Dictionary of network adapters
88
+ # attached to the machine. Key is ID of network adapter. Value is a
89
+ # network adapter object
90
+ attr_accessor :network_adapters
91
+
92
+
93
+ #
94
+ # Mapper for Machine class as Ruby Hash.
95
+ # This will be used for serialization/deserialization.
96
+ #
97
+ def self.mapper()
98
+ {
99
+ client_side_validation: true,
100
+ required: false,
101
+ serialized_name: 'Machine',
102
+ type: {
103
+ name: 'Composite',
104
+ class_name: 'Machine',
105
+ model_properties: {
106
+ id: {
107
+ client_side_validation: true,
108
+ required: false,
109
+ read_only: true,
110
+ serialized_name: 'id',
111
+ type: {
112
+ name: 'String'
113
+ }
114
+ },
115
+ name: {
116
+ client_side_validation: true,
117
+ required: false,
118
+ read_only: true,
119
+ serialized_name: 'name',
120
+ type: {
121
+ name: 'String'
122
+ }
123
+ },
124
+ e_tag: {
125
+ client_side_validation: true,
126
+ required: false,
127
+ serialized_name: 'eTag',
128
+ type: {
129
+ name: 'String'
130
+ }
131
+ },
132
+ type: {
133
+ client_side_validation: true,
134
+ required: false,
135
+ read_only: true,
136
+ serialized_name: 'type',
137
+ type: {
138
+ name: 'String'
139
+ }
140
+ },
141
+ boot_type: {
142
+ client_side_validation: true,
143
+ required: false,
144
+ read_only: true,
145
+ serialized_name: 'properties.bootType',
146
+ type: {
147
+ name: 'String'
148
+ }
149
+ },
150
+ datacenter_container: {
151
+ client_side_validation: true,
152
+ required: false,
153
+ read_only: true,
154
+ serialized_name: 'properties.datacenterContainer',
155
+ type: {
156
+ name: 'String'
157
+ }
158
+ },
159
+ datacenter_management_server: {
160
+ client_side_validation: true,
161
+ required: false,
162
+ read_only: true,
163
+ serialized_name: 'properties.datacenterManagementServer',
164
+ type: {
165
+ name: 'String'
166
+ }
167
+ },
168
+ datacenter_machine_id: {
169
+ client_side_validation: true,
170
+ required: false,
171
+ read_only: true,
172
+ serialized_name: 'properties.datacenterMachineId',
173
+ type: {
174
+ name: 'String'
175
+ }
176
+ },
177
+ datacenter_management_server_id: {
178
+ client_side_validation: true,
179
+ required: false,
180
+ read_only: true,
181
+ serialized_name: 'properties.datacenterManagementServerId',
182
+ type: {
183
+ name: 'String'
184
+ }
185
+ },
186
+ description: {
187
+ client_side_validation: true,
188
+ required: false,
189
+ read_only: true,
190
+ serialized_name: 'properties.description',
191
+ type: {
192
+ name: 'String'
193
+ }
194
+ },
195
+ display_name: {
196
+ client_side_validation: true,
197
+ required: false,
198
+ read_only: true,
199
+ serialized_name: 'properties.displayName',
200
+ type: {
201
+ name: 'String'
202
+ }
203
+ },
204
+ megabytes_of_memory: {
205
+ client_side_validation: true,
206
+ required: false,
207
+ read_only: true,
208
+ serialized_name: 'properties.megabytesOfMemory',
209
+ type: {
210
+ name: 'Double'
211
+ }
212
+ },
213
+ number_of_cores: {
214
+ client_side_validation: true,
215
+ required: false,
216
+ read_only: true,
217
+ serialized_name: 'properties.numberOfCores',
218
+ type: {
219
+ name: 'Number'
220
+ }
221
+ },
222
+ operating_system: {
223
+ client_side_validation: true,
224
+ required: false,
225
+ read_only: true,
226
+ serialized_name: 'properties.operatingSystem',
227
+ type: {
228
+ name: 'String'
229
+ }
230
+ },
231
+ groups: {
232
+ client_side_validation: true,
233
+ required: false,
234
+ read_only: true,
235
+ serialized_name: 'properties.groups',
236
+ type: {
237
+ name: 'Sequence',
238
+ element: {
239
+ client_side_validation: true,
240
+ required: false,
241
+ serialized_name: 'StringElementType',
242
+ type: {
243
+ name: 'String'
244
+ }
245
+ }
246
+ }
247
+ },
248
+ created_timestamp: {
249
+ client_side_validation: true,
250
+ required: false,
251
+ read_only: true,
252
+ serialized_name: 'properties.createdTimestamp',
253
+ type: {
254
+ name: 'DateTime'
255
+ }
256
+ },
257
+ updated_timestamp: {
258
+ client_side_validation: true,
259
+ required: false,
260
+ read_only: true,
261
+ serialized_name: 'properties.updatedTimestamp',
262
+ type: {
263
+ name: 'DateTime'
264
+ }
265
+ },
266
+ discovered_timestamp: {
267
+ client_side_validation: true,
268
+ required: false,
269
+ read_only: true,
270
+ serialized_name: 'properties.discoveredTimestamp',
271
+ type: {
272
+ name: 'DateTime'
273
+ }
274
+ },
275
+ disks: {
276
+ client_side_validation: true,
277
+ required: false,
278
+ read_only: true,
279
+ serialized_name: 'properties.disks',
280
+ type: {
281
+ name: 'Dictionary',
282
+ value: {
283
+ client_side_validation: true,
284
+ required: false,
285
+ serialized_name: 'DiskElementType',
286
+ type: {
287
+ name: 'Composite',
288
+ class_name: 'Disk'
289
+ }
290
+ }
291
+ }
292
+ },
293
+ network_adapters: {
294
+ client_side_validation: true,
295
+ required: false,
296
+ read_only: true,
297
+ serialized_name: 'properties.networkAdapters',
298
+ type: {
299
+ name: 'Dictionary',
300
+ value: {
301
+ client_side_validation: true,
302
+ required: false,
303
+ serialized_name: 'NetworkAdapterElementType',
304
+ type: {
305
+ name: 'Composite',
306
+ class_name: 'NetworkAdapter'
307
+ }
308
+ }
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ end
315
+ end
316
+ end
317
+ end
@@ -0,0 +1,17 @@
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::Migrate::Mgmt::V2018_02_02
7
+ module Models
8
+ #
9
+ # Defines values for MachineBootType
10
+ #
11
+ module MachineBootType
12
+ Unknown = "Unknown"
13
+ EFI = "EFI"
14
+ BIOS = "BIOS"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,55 @@
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::Migrate::Mgmt::V2018_02_02
7
+ module Models
8
+ #
9
+ # List of machines.
10
+ #
11
+ class MachineResultList
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<Machine>] List of machines.
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for MachineResultList 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: 'MachineResultList',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'MachineResultList',
31
+ model_properties: {
32
+ value: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'value',
36
+ type: {
37
+ name: 'Sequence',
38
+ element: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'MachineElementType',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'Machine'
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,17 @@
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::Migrate::Mgmt::V2018_02_02
7
+ module Models
8
+ #
9
+ # Defines values for NameAvailabilityReason
10
+ #
11
+ module NameAvailabilityReason
12
+ Available = "Available"
13
+ Invalid = "Invalid"
14
+ AlreadyExists = "AlreadyExists"
15
+ end
16
+ end
17
+ end