azure_mgmt_compute 0.17.0 → 0.17.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-06-15/generated/azure_mgmt_compute.rb +5 -3
  3. data/lib/2015-06-15/generated/azure_mgmt_compute/models/update_resource.rb +54 -0
  4. data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +134 -0
  5. data/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_extensions.rb +168 -5
  6. data/lib/2016-03-30/generated/azure_mgmt_compute.rb +28 -25
  7. data/lib/2016-03-30/generated/azure_mgmt_compute/compute_management_client.rb +4 -4
  8. data/lib/2016-03-30/generated/azure_mgmt_compute/models/update_resource.rb +54 -0
  9. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +134 -0
  10. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +55 -0
  11. data/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_extensions.rb +168 -5
  12. data/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machines.rb +98 -0
  13. data/lib/2016-04-30-preview/generated/azure_mgmt_compute.rb +35 -32
  14. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/compute_management_client.rb +4 -4
  15. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/update_resource.rb +54 -0
  16. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +134 -0
  17. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +55 -0
  18. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_extensions.rb +168 -5
  19. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machines.rb +98 -0
  20. data/lib/2017-03-30/generated/azure_mgmt_compute.rb +69 -67
  21. data/lib/2017-03-30/generated/azure_mgmt_compute/availability_sets.rb +1 -1
  22. data/lib/2017-03-30/generated/azure_mgmt_compute/compute_management_client.rb +4 -4
  23. data/lib/2017-03-30/generated/azure_mgmt_compute/disks.rb +1 -1
  24. data/lib/2017-03-30/generated/azure_mgmt_compute/images.rb +1 -1
  25. data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +134 -0
  26. data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +55 -0
  27. data/lib/2017-03-30/generated/azure_mgmt_compute/resource_skus.rb +1 -1
  28. data/lib/2017-03-30/generated/azure_mgmt_compute/snapshots.rb +1 -1
  29. data/lib/2017-03-30/generated/azure_mgmt_compute/usage_operations.rb +1 -1
  30. data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +1 -1
  31. data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_extensions.rb +169 -6
  32. data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_images.rb +1 -1
  33. data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_run_commands.rb +1 -1
  34. data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb +1 -1
  35. data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +1 -1
  36. data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +1 -1
  37. data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +1 -1
  38. data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_sizes.rb +1 -1
  39. data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machines.rb +99 -1
  40. data/lib/2017-12-01/generated/azure_mgmt_compute.rb +75 -64
  41. data/lib/2017-12-01/generated/azure_mgmt_compute/compute_management_client.rb +4 -4
  42. data/lib/2017-12-01/generated/azure_mgmt_compute/models/auto_osupgrade_policy.rb +47 -0
  43. data/lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set_update.rb +1 -10
  44. data/lib/2017-12-01/generated/azure_mgmt_compute/models/data_disk.rb +7 -7
  45. data/lib/2017-12-01/generated/azure_mgmt_compute/models/image_update.rb +1 -3
  46. data/lib/2017-12-01/generated/azure_mgmt_compute/models/osdisk.rb +7 -7
  47. data/lib/2017-12-01/generated/azure_mgmt_compute/models/rollback_status_info.rb +74 -0
  48. data/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info.rb +73 -0
  49. data/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb +116 -0
  50. data/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb +74 -0
  51. data/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_invoker.rb +17 -0
  52. data/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_policy.rb +13 -0
  53. data/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_state.rb +18 -0
  54. data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_eviction_policy_types.rb +16 -0
  55. data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +134 -0
  56. data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +55 -0
  57. data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_osupgrade_history.rb +104 -0
  58. data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +3 -3
  59. data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +14 -0
  60. data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +1 -1
  61. data/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_extensions.rb +168 -5
  62. data/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +202 -0
  63. data/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machines.rb +98 -0
  64. data/lib/2018-04-01/generated/azure_mgmt_compute.rb +56 -0
  65. data/lib/2018-04-01/generated/azure_mgmt_compute/compute_management_client.rb +136 -0
  66. data/lib/2018-04-01/generated/azure_mgmt_compute/disks.rb +1304 -0
  67. data/lib/2018-04-01/generated/azure_mgmt_compute/models/access_level.rb +16 -0
  68. data/lib/2018-04-01/generated/azure_mgmt_compute/models/access_uri.rb +47 -0
  69. data/lib/2018-04-01/generated/azure_mgmt_compute/models/api_error.rb +100 -0
  70. data/lib/2018-04-01/generated/azure_mgmt_compute/models/api_error_base.rb +68 -0
  71. data/lib/2018-04-01/generated/azure_mgmt_compute/models/creation_data.rb +97 -0
  72. data/lib/2018-04-01/generated/azure_mgmt_compute/models/disk.rb +207 -0
  73. data/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_create_option.rb +20 -0
  74. data/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_list.rb +99 -0
  75. data/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_sku.rb +60 -0
  76. data/lib/2018-04-01/generated/azure_mgmt_compute/models/disk_update.rb +100 -0
  77. data/lib/2018-04-01/generated/azure_mgmt_compute/models/encryption_settings.rb +76 -0
  78. data/lib/2018-04-01/generated/azure_mgmt_compute/models/grant_access_data.rb +58 -0
  79. data/lib/2018-04-01/generated/azure_mgmt_compute/models/image_disk_reference.rb +60 -0
  80. data/lib/2018-04-01/generated/azure_mgmt_compute/models/inner_error.rb +57 -0
  81. data/lib/2018-04-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb +60 -0
  82. data/lib/2018-04-01/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb +59 -0
  83. data/lib/2018-04-01/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
  84. data/lib/2018-04-01/generated/azure_mgmt_compute/models/operation_status_response.rb +96 -0
  85. data/lib/2018-04-01/generated/azure_mgmt_compute/models/resource.rb +101 -0
  86. data/lib/2018-04-01/generated/azure_mgmt_compute/models/resource_update.rb +66 -0
  87. data/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot.rb +187 -0
  88. data/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_list.rb +99 -0
  89. data/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_sku.rb +61 -0
  90. data/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_storage_account_types.rb +17 -0
  91. data/lib/2018-04-01/generated/azure_mgmt_compute/models/snapshot_update.rb +100 -0
  92. data/lib/2018-04-01/generated/azure_mgmt_compute/models/source_vault.rb +47 -0
  93. data/lib/2018-04-01/generated/azure_mgmt_compute/models/storage_account_types.rb +16 -0
  94. data/lib/2018-04-01/generated/azure_mgmt_compute/module_definition.rb +9 -0
  95. data/lib/2018-04-01/generated/azure_mgmt_compute/snapshots.rb +1304 -0
  96. data/lib/azure_mgmt_compute.rb +1 -0
  97. data/lib/profiles/latest/modules/compute_profile_module.rb +303 -251
  98. data/lib/profiles/v2017_03_09/modules/compute_profile_module.rb +90 -78
  99. data/lib/version.rb +1 -1
  100. metadata +55 -2
@@ -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::Compute::Mgmt::V2016_04_30_preview
7
+ module Models
8
+ #
9
+ # The List Extension operation response
10
+ #
11
+ class VirtualMachineExtensionsListResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<VirtualMachineExtension>] The list of extensions
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for VirtualMachineExtensionsListResult 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: 'VirtualMachineExtensionsListResult',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'VirtualMachineExtensionsListResult',
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: 'VirtualMachineExtensionElementType',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'VirtualMachineExtension'
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end
@@ -26,7 +26,7 @@ module Azure::Compute::Mgmt::V2016_04_30_preview
26
26
  #
27
27
  # @param resource_group_name [String] The name of the resource group.
28
28
  # @param vm_name [String] The name of the virtual machine where the extension
29
- # should be create or updated.
29
+ # should be created or updated.
30
30
  # @param vm_extension_name [String] The name of the virtual machine extension.
31
31
  # @param extension_parameters [VirtualMachineExtension] Parameters supplied to
32
32
  # the Create Virtual Machine Extension operation.
@@ -43,7 +43,7 @@ module Azure::Compute::Mgmt::V2016_04_30_preview
43
43
  #
44
44
  # @param resource_group_name [String] The name of the resource group.
45
45
  # @param vm_name [String] The name of the virtual machine where the extension
46
- # should be create or updated.
46
+ # should be created or updated.
47
47
  # @param vm_extension_name [String] The name of the virtual machine extension.
48
48
  # @param extension_parameters [VirtualMachineExtension] Parameters supplied to
49
49
  # the Create Virtual Machine Extension operation.
@@ -71,6 +71,56 @@ module Azure::Compute::Mgmt::V2016_04_30_preview
71
71
  promise
72
72
  end
73
73
 
74
+ #
75
+ # The operation to update the extension.
76
+ #
77
+ # @param resource_group_name [String] The name of the resource group.
78
+ # @param vm_name [String] The name of the virtual machine where the extension
79
+ # should be updated.
80
+ # @param vm_extension_name [String] The name of the virtual machine extension.
81
+ # @param extension_parameters [VirtualMachineExtensionUpdate] Parameters
82
+ # supplied to the Update Virtual Machine Extension operation.
83
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
84
+ # will be added to the HTTP request.
85
+ #
86
+ # @return [VirtualMachineExtension] operation results.
87
+ #
88
+ def update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil)
89
+ response = update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value!
90
+ response.body unless response.nil?
91
+ end
92
+
93
+ #
94
+ # @param resource_group_name [String] The name of the resource group.
95
+ # @param vm_name [String] The name of the virtual machine where the extension
96
+ # should be updated.
97
+ # @param vm_extension_name [String] The name of the virtual machine extension.
98
+ # @param extension_parameters [VirtualMachineExtensionUpdate] Parameters
99
+ # supplied to the Update Virtual Machine Extension operation.
100
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
101
+ # will be added to the HTTP request.
102
+ #
103
+ # @return [Concurrent::Promise] promise which provides async access to http
104
+ # response.
105
+ #
106
+ def update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil)
107
+ # Send request
108
+ promise = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers)
109
+
110
+ promise = promise.then do |response|
111
+ # Defining deserialization method.
112
+ deserialize_method = lambda do |parsed_response|
113
+ result_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::VirtualMachineExtension.mapper()
114
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
115
+ end
116
+
117
+ # Waiting for response.
118
+ @client.get_long_running_operation_result(response, deserialize_method)
119
+ end
120
+
121
+ promise
122
+ end
123
+
74
124
  #
75
125
  # The operation to delete the extension.
76
126
  #
@@ -224,7 +274,7 @@ module Azure::Compute::Mgmt::V2016_04_30_preview
224
274
  #
225
275
  # @param resource_group_name [String] The name of the resource group.
226
276
  # @param vm_name [String] The name of the virtual machine where the extension
227
- # should be create or updated.
277
+ # should be created or updated.
228
278
  # @param vm_extension_name [String] The name of the virtual machine extension.
229
279
  # @param extension_parameters [VirtualMachineExtension] Parameters supplied to
230
280
  # the Create Virtual Machine Extension operation.
@@ -243,7 +293,7 @@ module Azure::Compute::Mgmt::V2016_04_30_preview
243
293
  #
244
294
  # @param resource_group_name [String] The name of the resource group.
245
295
  # @param vm_name [String] The name of the virtual machine where the extension
246
- # should be create or updated.
296
+ # should be created or updated.
247
297
  # @param vm_extension_name [String] The name of the virtual machine extension.
248
298
  # @param extension_parameters [VirtualMachineExtension] Parameters supplied to
249
299
  # the Create Virtual Machine Extension operation.
@@ -261,7 +311,7 @@ module Azure::Compute::Mgmt::V2016_04_30_preview
261
311
  #
262
312
  # @param resource_group_name [String] The name of the resource group.
263
313
  # @param vm_name [String] The name of the virtual machine where the extension
264
- # should be create or updated.
314
+ # should be created or updated.
265
315
  # @param vm_extension_name [String] The name of the virtual machine extension.
266
316
  # @param extension_parameters [VirtualMachineExtension] Parameters supplied to
267
317
  # the Create Virtual Machine Extension operation.
@@ -342,6 +392,119 @@ module Azure::Compute::Mgmt::V2016_04_30_preview
342
392
  promise.execute
343
393
  end
344
394
 
395
+ #
396
+ # The operation to update the extension.
397
+ #
398
+ # @param resource_group_name [String] The name of the resource group.
399
+ # @param vm_name [String] The name of the virtual machine where the extension
400
+ # should be updated.
401
+ # @param vm_extension_name [String] The name of the virtual machine extension.
402
+ # @param extension_parameters [VirtualMachineExtensionUpdate] Parameters
403
+ # supplied to the Update Virtual Machine Extension operation.
404
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
405
+ # will be added to the HTTP request.
406
+ #
407
+ # @return [VirtualMachineExtension] operation results.
408
+ #
409
+ def begin_update(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil)
410
+ response = begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value!
411
+ response.body unless response.nil?
412
+ end
413
+
414
+ #
415
+ # The operation to update the extension.
416
+ #
417
+ # @param resource_group_name [String] The name of the resource group.
418
+ # @param vm_name [String] The name of the virtual machine where the extension
419
+ # should be updated.
420
+ # @param vm_extension_name [String] The name of the virtual machine extension.
421
+ # @param extension_parameters [VirtualMachineExtensionUpdate] Parameters
422
+ # supplied to the Update Virtual Machine Extension operation.
423
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
424
+ # will be added to the HTTP request.
425
+ #
426
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
427
+ #
428
+ def begin_update_with_http_info(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil)
429
+ begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:custom_headers).value!
430
+ end
431
+
432
+ #
433
+ # The operation to update the extension.
434
+ #
435
+ # @param resource_group_name [String] The name of the resource group.
436
+ # @param vm_name [String] The name of the virtual machine where the extension
437
+ # should be updated.
438
+ # @param vm_extension_name [String] The name of the virtual machine extension.
439
+ # @param extension_parameters [VirtualMachineExtensionUpdate] Parameters
440
+ # supplied to the Update Virtual Machine Extension operation.
441
+ # @param [Hash{String => String}] A hash of custom headers that will be added
442
+ # to the HTTP request.
443
+ #
444
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
445
+ #
446
+ def begin_update_async(resource_group_name, vm_name, vm_extension_name, extension_parameters, custom_headers:nil)
447
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
448
+ fail ArgumentError, 'vm_name is nil' if vm_name.nil?
449
+ fail ArgumentError, 'vm_extension_name is nil' if vm_extension_name.nil?
450
+ fail ArgumentError, 'extension_parameters is nil' if extension_parameters.nil?
451
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
452
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
453
+
454
+
455
+ request_headers = {}
456
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
457
+
458
+ # Set Headers
459
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
460
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
461
+
462
+ # Serialize Request
463
+ request_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::VirtualMachineExtensionUpdate.mapper()
464
+ request_content = @client.serialize(request_mapper, extension_parameters)
465
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
466
+
467
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{vmExtensionName}'
468
+
469
+ request_url = @base_url || @client.base_url
470
+
471
+ options = {
472
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
473
+ path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'vmExtensionName' => vm_extension_name,'subscriptionId' => @client.subscription_id},
474
+ query_params: {'api-version' => @client.api_version},
475
+ body: request_content,
476
+ headers: request_headers.merge(custom_headers || {}),
477
+ base_url: request_url
478
+ }
479
+ promise = @client.make_request_async(:patch, path_template, options)
480
+
481
+ promise = promise.then do |result|
482
+ http_response = result.response
483
+ status_code = http_response.status
484
+ response_content = http_response.body
485
+ unless status_code == 200
486
+ error_model = JSON.load(response_content)
487
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
488
+ end
489
+
490
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
491
+ # Deserialize Response
492
+ if status_code == 200
493
+ begin
494
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
495
+ result_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::VirtualMachineExtension.mapper()
496
+ result.body = @client.deserialize(result_mapper, parsed_response)
497
+ rescue Exception => e
498
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
499
+ end
500
+ end
501
+
502
+ result
503
+ end
504
+
505
+ promise.execute
506
+ end
507
+
345
508
  #
346
509
  # The operation to delete the extension.
347
510
  #
@@ -21,6 +21,104 @@ module Azure::Compute::Mgmt::V2016_04_30_preview
21
21
  # @return [ComputeManagementClient] reference to the ComputeManagementClient
22
22
  attr_reader :client
23
23
 
24
+ #
25
+ # The operation to get all extensions of a Virtual Machine.
26
+ #
27
+ # @param resource_group_name [String] The name of the resource group.
28
+ # @param vm_name [String] The name of the virtual machine containing the
29
+ # extension.
30
+ # @param expand [String] The expand expression to apply on the operation.
31
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
32
+ # will be added to the HTTP request.
33
+ #
34
+ # @return [VirtualMachineExtensionsListResult] operation results.
35
+ #
36
+ def get_extensions(resource_group_name, vm_name, expand:nil, custom_headers:nil)
37
+ response = get_extensions_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value!
38
+ response.body unless response.nil?
39
+ end
40
+
41
+ #
42
+ # The operation to get all extensions of a Virtual Machine.
43
+ #
44
+ # @param resource_group_name [String] The name of the resource group.
45
+ # @param vm_name [String] The name of the virtual machine containing the
46
+ # extension.
47
+ # @param expand [String] The expand expression to apply on the operation.
48
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
49
+ # will be added to the HTTP request.
50
+ #
51
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
52
+ #
53
+ def get_extensions_with_http_info(resource_group_name, vm_name, expand:nil, custom_headers:nil)
54
+ get_extensions_async(resource_group_name, vm_name, expand:expand, custom_headers:custom_headers).value!
55
+ end
56
+
57
+ #
58
+ # The operation to get all extensions of a Virtual Machine.
59
+ #
60
+ # @param resource_group_name [String] The name of the resource group.
61
+ # @param vm_name [String] The name of the virtual machine containing the
62
+ # extension.
63
+ # @param expand [String] The expand expression to apply on the operation.
64
+ # @param [Hash{String => String}] A hash of custom headers that will be added
65
+ # to the HTTP request.
66
+ #
67
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
68
+ #
69
+ def get_extensions_async(resource_group_name, vm_name, expand:nil, custom_headers:nil)
70
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
71
+ fail ArgumentError, 'vm_name is nil' if vm_name.nil?
72
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
73
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
74
+
75
+
76
+ request_headers = {}
77
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
78
+
79
+ # Set Headers
80
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
81
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
82
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions'
83
+
84
+ request_url = @base_url || @client.base_url
85
+
86
+ options = {
87
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
88
+ path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'subscriptionId' => @client.subscription_id},
89
+ query_params: {'$expand' => expand,'api-version' => @client.api_version},
90
+ headers: request_headers.merge(custom_headers || {}),
91
+ base_url: request_url
92
+ }
93
+ promise = @client.make_request_async(:get, path_template, options)
94
+
95
+ promise = promise.then do |result|
96
+ http_response = result.response
97
+ status_code = http_response.status
98
+ response_content = http_response.body
99
+ unless status_code == 200
100
+ error_model = JSON.load(response_content)
101
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
102
+ end
103
+
104
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
105
+ # Deserialize Response
106
+ if status_code == 200
107
+ begin
108
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
109
+ result_mapper = Azure::Compute::Mgmt::V2016_04_30_preview::Models::VirtualMachineExtensionsListResult.mapper()
110
+ result.body = @client.deserialize(result_mapper, parsed_response)
111
+ rescue Exception => e
112
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
113
+ end
114
+ end
115
+
116
+ result
117
+ end
118
+
119
+ promise.execute
120
+ end
121
+
24
122
  #
25
123
  # Captures the VM by copying virtual hard disks of the VM and outputs a
26
124
  # template that can be used to create similar VMs.
@@ -23,12 +23,12 @@ module Azure::Compute::Mgmt::V2017_03_30
23
23
  autoload :AvailabilitySets, '2017-03-30/generated/azure_mgmt_compute/availability_sets.rb'
24
24
  autoload :VirtualMachineExtensionImages, '2017-03-30/generated/azure_mgmt_compute/virtual_machine_extension_images.rb'
25
25
  autoload :VirtualMachineExtensions, '2017-03-30/generated/azure_mgmt_compute/virtual_machine_extensions.rb'
26
+ autoload :VirtualMachines, '2017-03-30/generated/azure_mgmt_compute/virtual_machines.rb'
26
27
  autoload :VirtualMachineImages, '2017-03-30/generated/azure_mgmt_compute/virtual_machine_images.rb'
27
28
  autoload :UsageOperations, '2017-03-30/generated/azure_mgmt_compute/usage_operations.rb'
28
29
  autoload :VirtualMachineSizes, '2017-03-30/generated/azure_mgmt_compute/virtual_machine_sizes.rb'
29
30
  autoload :Images, '2017-03-30/generated/azure_mgmt_compute/images.rb'
30
31
  autoload :ResourceSkus, '2017-03-30/generated/azure_mgmt_compute/resource_skus.rb'
31
- autoload :VirtualMachines, '2017-03-30/generated/azure_mgmt_compute/virtual_machines.rb'
32
32
  autoload :VirtualMachineScaleSets, '2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb'
33
33
  autoload :VirtualMachineScaleSetExtensions, '2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb'
34
34
  autoload :VirtualMachineScaleSetRollingUpgrades, '2017-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb'
@@ -39,127 +39,129 @@ module Azure::Compute::Mgmt::V2017_03_30
39
39
  autoload :ComputeManagementClient, '2017-03-30/generated/azure_mgmt_compute/compute_management_client.rb'
40
40
 
41
41
  module Models
42
+ autoload :VirtualMachineScaleSetManagedDiskParameters, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb'
42
43
  autoload :VirtualMachineScaleSetOSDisk, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb'
43
- autoload :VirtualMachineScaleSetUpdateOSDisk, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb'
44
44
  autoload :SubResource, '2017-03-30/generated/azure_mgmt_compute/models/sub_resource.rb'
45
- autoload :VirtualMachineScaleSetDataDisk, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb'
45
+ autoload :VirtualMachineScaleSetUpdateOSDisk, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb'
46
+ autoload :EncryptionSettings, '2017-03-30/generated/azure_mgmt_compute/models/encryption_settings.rb'
47
+ autoload :AvailabilitySetListResult, '2017-03-30/generated/azure_mgmt_compute/models/availability_set_list_result.rb'
46
48
  autoload :ImageListResult, '2017-03-30/generated/azure_mgmt_compute/models/image_list_result.rb'
49
+ autoload :VirtualMachineSizeListResult, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb'
47
50
  autoload :VirtualMachineScaleSetIdentity, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb'
48
- autoload :VirtualMachineSize, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_size.rb'
51
+ autoload :RunCommandListResult, '2017-03-30/generated/azure_mgmt_compute/models/run_command_list_result.rb'
49
52
  autoload :ResourceSkuCapacity, '2017-03-30/generated/azure_mgmt_compute/models/resource_sku_capacity.rb'
53
+ autoload :RunCommandDocumentBase, '2017-03-30/generated/azure_mgmt_compute/models/run_command_document_base.rb'
50
54
  autoload :ResourceSkuCosts, '2017-03-30/generated/azure_mgmt_compute/models/resource_sku_costs.rb'
51
- autoload :VirtualMachineExtensionInstanceView, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb'
55
+ autoload :VirtualMachineExtensionsListResult, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb'
52
56
  autoload :ResourceSkuCapabilities, '2017-03-30/generated/azure_mgmt_compute/models/resource_sku_capabilities.rb'
53
- autoload :PurchasePlan, '2017-03-30/generated/azure_mgmt_compute/models/purchase_plan.rb'
57
+ autoload :OSDiskImage, '2017-03-30/generated/azure_mgmt_compute/models/osdisk_image.rb'
54
58
  autoload :ResourceSkuRestrictions, '2017-03-30/generated/azure_mgmt_compute/models/resource_sku_restrictions.rb'
55
- autoload :DataDiskImage, '2017-03-30/generated/azure_mgmt_compute/models/data_disk_image.rb'
59
+ autoload :RunCommandInput, '2017-03-30/generated/azure_mgmt_compute/models/run_command_input.rb'
56
60
  autoload :ResourceSku, '2017-03-30/generated/azure_mgmt_compute/models/resource_sku.rb'
57
- autoload :UsageName, '2017-03-30/generated/azure_mgmt_compute/models/usage_name.rb'
61
+ autoload :Usage, '2017-03-30/generated/azure_mgmt_compute/models/usage.rb'
58
62
  autoload :ResourceSkusResult, '2017-03-30/generated/azure_mgmt_compute/models/resource_skus_result.rb'
59
- autoload :ListUsagesResult, '2017-03-30/generated/azure_mgmt_compute/models/list_usages_result.rb'
63
+ autoload :VirtualMachineCaptureParameters, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb'
60
64
  autoload :VirtualMachineScaleSetOSProfile, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb'
61
- autoload :RunCommandInput, '2017-03-30/generated/azure_mgmt_compute/models/run_command_input.rb'
65
+ autoload :Plan, '2017-03-30/generated/azure_mgmt_compute/models/plan.rb'
62
66
  autoload :VirtualMachineScaleSetUpdateOSProfile, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb'
63
- autoload :HardwareProfile, '2017-03-30/generated/azure_mgmt_compute/models/hardware_profile.rb'
64
- autoload :VirtualMachineScaleSetManagedDiskParameters, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb'
65
- autoload :KeyVaultSecretReference, '2017-03-30/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb'
67
+ autoload :SnapshotList, '2017-03-30/generated/azure_mgmt_compute/models/snapshot_list.rb'
66
68
  autoload :InstanceViewStatus, '2017-03-30/generated/azure_mgmt_compute/models/instance_view_status.rb'
67
- autoload :DiskEncryptionSettings, '2017-03-30/generated/azure_mgmt_compute/models/disk_encryption_settings.rb'
69
+ autoload :KeyVaultKeyReference, '2017-03-30/generated/azure_mgmt_compute/models/key_vault_key_reference.rb'
68
70
  autoload :Sku, '2017-03-30/generated/azure_mgmt_compute/models/sku.rb'
69
- autoload :SnapshotList, '2017-03-30/generated/azure_mgmt_compute/models/snapshot_list.rb'
70
- autoload :EncryptionSettings, '2017-03-30/generated/azure_mgmt_compute/models/encryption_settings.rb'
71
- autoload :DataDisk, '2017-03-30/generated/azure_mgmt_compute/models/data_disk.rb'
71
+ autoload :VirtualHardDisk, '2017-03-30/generated/azure_mgmt_compute/models/virtual_hard_disk.rb'
72
+ autoload :KeyVaultAndKeyReference, '2017-03-30/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb'
73
+ autoload :OSDisk, '2017-03-30/generated/azure_mgmt_compute/models/osdisk.rb'
74
+ autoload :VirtualMachineScaleSetDataDisk, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb'
75
+ autoload :StorageProfile, '2017-03-30/generated/azure_mgmt_compute/models/storage_profile.rb'
72
76
  autoload :VirtualMachineScaleSetStorageProfile, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb'
73
- autoload :AdditionalUnattendContent, '2017-03-30/generated/azure_mgmt_compute/models/additional_unattend_content.rb'
77
+ autoload :WinRMListener, '2017-03-30/generated/azure_mgmt_compute/models/win_rmlistener.rb'
74
78
  autoload :VirtualMachineScaleSetUpdateStorageProfile, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb'
75
- autoload :WinRMConfiguration, '2017-03-30/generated/azure_mgmt_compute/models/win_rmconfiguration.rb'
79
+ autoload :WindowsConfiguration, '2017-03-30/generated/azure_mgmt_compute/models/windows_configuration.rb'
76
80
  autoload :ApiEntityReference, '2017-03-30/generated/azure_mgmt_compute/models/api_entity_reference.rb'
77
- autoload :SshPublicKey, '2017-03-30/generated/azure_mgmt_compute/models/ssh_public_key.rb'
81
+ autoload :SshConfiguration, '2017-03-30/generated/azure_mgmt_compute/models/ssh_configuration.rb'
78
82
  autoload :VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb'
79
- autoload :LinuxConfiguration, '2017-03-30/generated/azure_mgmt_compute/models/linux_configuration.rb'
83
+ autoload :VaultCertificate, '2017-03-30/generated/azure_mgmt_compute/models/vault_certificate.rb'
80
84
  autoload :VirtualMachineScaleSetPublicIPAddressConfiguration, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb'
81
- autoload :VaultSecretGroup, '2017-03-30/generated/azure_mgmt_compute/models/vault_secret_group.rb'
85
+ autoload :OSProfile, '2017-03-30/generated/azure_mgmt_compute/models/osprofile.rb'
82
86
  autoload :VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb'
83
- autoload :AccessUri, '2017-03-30/generated/azure_mgmt_compute/models/access_uri.rb'
84
- autoload :KeyVaultAndKeyReference, '2017-03-30/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb'
85
- autoload :BootDiagnostics, '2017-03-30/generated/azure_mgmt_compute/models/boot_diagnostics.rb'
87
+ autoload :NetworkProfile, '2017-03-30/generated/azure_mgmt_compute/models/network_profile.rb'
86
88
  autoload :KeyVaultAndSecretReference, '2017-03-30/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb'
87
- autoload :VirtualMachineExtensionHandlerInstanceView, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb'
88
- autoload :VirtualMachineScaleSetNetworkConfigurationDnsSettings, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb'
89
- autoload :DiskInstanceView, '2017-03-30/generated/azure_mgmt_compute/models/disk_instance_view.rb'
89
+ autoload :DiagnosticsProfile, '2017-03-30/generated/azure_mgmt_compute/models/diagnostics_profile.rb'
90
90
  autoload :SourceVault, '2017-03-30/generated/azure_mgmt_compute/models/source_vault.rb'
91
- autoload :VirtualMachineIdentity, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_identity.rb'
91
+ autoload :VirtualMachineAgentInstanceView, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb'
92
+ autoload :VirtualMachineScaleSetNetworkConfigurationDnsSettings, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb'
93
+ autoload :BootDiagnosticsInstanceView, '2017-03-30/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb'
92
94
  autoload :CreationData, '2017-03-30/generated/azure_mgmt_compute/models/creation_data.rb'
93
- autoload :VirtualMachineInstanceView, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb'
95
+ autoload :MaintenanceRedeployStatus, '2017-03-30/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb'
96
+ autoload :ImageDiskReference, '2017-03-30/generated/azure_mgmt_compute/models/image_disk_reference.rb'
97
+ autoload :DiskList, '2017-03-30/generated/azure_mgmt_compute/models/disk_list.rb'
94
98
  autoload :VirtualMachineScaleSetNetworkProfile, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb'
95
- autoload :VirtualMachineListResult, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb'
99
+ autoload :RollingUpgradePolicy, '2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb'
96
100
  autoload :VirtualMachineScaleSetUpdateNetworkProfile, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb'
97
- autoload :UpgradePolicy, '2017-03-30/generated/azure_mgmt_compute/models/upgrade_policy.rb'
98
- autoload :ImageDiskReference, '2017-03-30/generated/azure_mgmt_compute/models/image_disk_reference.rb'
99
- autoload :ImageDataDisk, '2017-03-30/generated/azure_mgmt_compute/models/image_data_disk.rb'
101
+ autoload :ImageOSDisk, '2017-03-30/generated/azure_mgmt_compute/models/image_osdisk.rb'
102
+ autoload :ResourceUpdate, '2017-03-30/generated/azure_mgmt_compute/models/resource_update.rb'
103
+ autoload :ImageStorageProfile, '2017-03-30/generated/azure_mgmt_compute/models/image_storage_profile.rb'
100
104
  autoload :VirtualMachineScaleSetExtensionListResult, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb'
101
- autoload :DiskList, '2017-03-30/generated/azure_mgmt_compute/models/disk_list.rb'
102
105
  autoload :VirtualMachineScaleSetExtensionProfile, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb'
103
- autoload :VirtualMachineSizeListResult, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb'
106
+ autoload :RunCommandParameterDefinition, '2017-03-30/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb'
104
107
  autoload :VirtualMachineScaleSetVMProfile, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb'
105
- autoload :RunCommandDocumentBase, '2017-03-30/generated/azure_mgmt_compute/models/run_command_document_base.rb'
108
+ autoload :DataDiskImage, '2017-03-30/generated/azure_mgmt_compute/models/data_disk_image.rb'
106
109
  autoload :VirtualMachineScaleSetUpdateVMProfile, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb'
107
- autoload :RunCommandParameterDefinition, '2017-03-30/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb'
108
- autoload :ResourceUpdate, '2017-03-30/generated/azure_mgmt_compute/models/resource_update.rb'
109
- autoload :VirtualMachineCaptureParameters, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb'
110
+ autoload :ListUsagesResult, '2017-03-30/generated/azure_mgmt_compute/models/list_usages_result.rb'
110
111
  autoload :DiskSku, '2017-03-30/generated/azure_mgmt_compute/models/disk_sku.rb'
111
- autoload :RunCommandInputParameter, '2017-03-30/generated/azure_mgmt_compute/models/run_command_input_parameter.rb'
112
+ autoload :HardwareProfile, '2017-03-30/generated/azure_mgmt_compute/models/hardware_profile.rb'
113
+ autoload :OperationStatusResponse, '2017-03-30/generated/azure_mgmt_compute/models/operation_status_response.rb'
114
+ autoload :DiskEncryptionSettings, '2017-03-30/generated/azure_mgmt_compute/models/disk_encryption_settings.rb'
112
115
  autoload :VirtualMachineScaleSetVMInstanceIDs, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb'
113
- autoload :VirtualHardDisk, '2017-03-30/generated/azure_mgmt_compute/models/virtual_hard_disk.rb'
116
+ autoload :DataDisk, '2017-03-30/generated/azure_mgmt_compute/models/data_disk.rb'
114
117
  autoload :VirtualMachineScaleSetVMInstanceRequiredIDs, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb'
115
- autoload :StorageProfile, '2017-03-30/generated/azure_mgmt_compute/models/storage_profile.rb'
118
+ autoload :WinRMConfiguration, '2017-03-30/generated/azure_mgmt_compute/models/win_rmconfiguration.rb'
116
119
  autoload :VirtualMachineStatusCodeCount, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb'
117
- autoload :WindowsConfiguration, '2017-03-30/generated/azure_mgmt_compute/models/windows_configuration.rb'
120
+ autoload :LinuxConfiguration, '2017-03-30/generated/azure_mgmt_compute/models/linux_configuration.rb'
118
121
  autoload :VirtualMachineScaleSetInstanceViewStatusesSummary, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb'
119
- autoload :VaultCertificate, '2017-03-30/generated/azure_mgmt_compute/models/vault_certificate.rb'
122
+ autoload :GrantAccessData, '2017-03-30/generated/azure_mgmt_compute/models/grant_access_data.rb'
120
123
  autoload :VirtualMachineScaleSetVMExtensionsSummary, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb'
121
- autoload :NetworkProfile, '2017-03-30/generated/azure_mgmt_compute/models/network_profile.rb'
124
+ autoload :VirtualMachineExtensionHandlerInstanceView, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb'
122
125
  autoload :VirtualMachineScaleSetInstanceView, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb'
123
- autoload :VirtualMachineAgentInstanceView, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb'
126
+ autoload :VirtualMachineIdentity, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_identity.rb'
124
127
  autoload :VirtualMachineScaleSetListResult, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb'
125
- autoload :MaintenanceRedeployStatus, '2017-03-30/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb'
128
+ autoload :VirtualMachineListResult, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb'
126
129
  autoload :VirtualMachineScaleSetListWithLinkResult, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb'
127
- autoload :RollingUpgradePolicy, '2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb'
130
+ autoload :ImageDataDisk, '2017-03-30/generated/azure_mgmt_compute/models/image_data_disk.rb'
128
131
  autoload :VirtualMachineScaleSetSkuCapacity, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb'
129
- autoload :ImageStorageProfile, '2017-03-30/generated/azure_mgmt_compute/models/image_storage_profile.rb'
132
+ autoload :VirtualMachineExtensionInstanceView, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb'
130
133
  autoload :VirtualMachineScaleSetSku, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb'
131
- autoload :RunCommandListResult, '2017-03-30/generated/azure_mgmt_compute/models/run_command_list_result.rb'
134
+ autoload :UsageName, '2017-03-30/generated/azure_mgmt_compute/models/usage_name.rb'
132
135
  autoload :VirtualMachineScaleSetListSkusResult, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb'
133
- autoload :Usage, '2017-03-30/generated/azure_mgmt_compute/models/usage.rb'
134
- autoload :OperationStatusResponse, '2017-03-30/generated/azure_mgmt_compute/models/operation_status_response.rb'
135
- autoload :KeyVaultKeyReference, '2017-03-30/generated/azure_mgmt_compute/models/key_vault_key_reference.rb'
136
+ autoload :KeyVaultSecretReference, '2017-03-30/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb'
137
+ autoload :SubResourceReadOnly, '2017-03-30/generated/azure_mgmt_compute/models/sub_resource_read_only.rb'
138
+ autoload :AdditionalUnattendContent, '2017-03-30/generated/azure_mgmt_compute/models/additional_unattend_content.rb'
136
139
  autoload :VirtualMachineHealthStatus, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb'
137
- autoload :WinRMListener, '2017-03-30/generated/azure_mgmt_compute/models/win_rmlistener.rb'
140
+ autoload :VaultSecretGroup, '2017-03-30/generated/azure_mgmt_compute/models/vault_secret_group.rb'
138
141
  autoload :VirtualMachineScaleSetVMInstanceView, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb'
139
- autoload :OSProfile, '2017-03-30/generated/azure_mgmt_compute/models/osprofile.rb'
142
+ autoload :DiskInstanceView, '2017-03-30/generated/azure_mgmt_compute/models/disk_instance_view.rb'
140
143
  autoload :VirtualMachineScaleSetVMListResult, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb'
141
- autoload :BootDiagnosticsInstanceView, '2017-03-30/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb'
144
+ autoload :UpgradePolicy, '2017-03-30/generated/azure_mgmt_compute/models/upgrade_policy.rb'
142
145
  autoload :RollingUpgradeRunningStatus, '2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb'
143
- autoload :ImageOSDisk, '2017-03-30/generated/azure_mgmt_compute/models/image_osdisk.rb'
146
+ autoload :PurchasePlan, '2017-03-30/generated/azure_mgmt_compute/models/purchase_plan.rb'
144
147
  autoload :RollingUpgradeProgressInfo, '2017-03-30/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb'
145
- autoload :OSDiskImage, '2017-03-30/generated/azure_mgmt_compute/models/osdisk_image.rb'
148
+ autoload :AccessUri, '2017-03-30/generated/azure_mgmt_compute/models/access_uri.rb'
146
149
  autoload :ApiErrorBase, '2017-03-30/generated/azure_mgmt_compute/models/api_error_base.rb'
147
- autoload :OSDisk, '2017-03-30/generated/azure_mgmt_compute/models/osdisk.rb'
150
+ autoload :BootDiagnostics, '2017-03-30/generated/azure_mgmt_compute/models/boot_diagnostics.rb'
148
151
  autoload :InnerError, '2017-03-30/generated/azure_mgmt_compute/models/inner_error.rb'
149
- autoload :DiagnosticsProfile, '2017-03-30/generated/azure_mgmt_compute/models/diagnostics_profile.rb'
152
+ autoload :VirtualMachineSize, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_size.rb'
150
153
  autoload :ApiError, '2017-03-30/generated/azure_mgmt_compute/models/api_error.rb'
151
- autoload :AvailabilitySetListResult, '2017-03-30/generated/azure_mgmt_compute/models/availability_set_list_result.rb'
152
- autoload :SubResourceReadOnly, '2017-03-30/generated/azure_mgmt_compute/models/sub_resource_read_only.rb'
153
- autoload :SshConfiguration, '2017-03-30/generated/azure_mgmt_compute/models/ssh_configuration.rb'
154
+ autoload :SshPublicKey, '2017-03-30/generated/azure_mgmt_compute/models/ssh_public_key.rb'
155
+ autoload :UpdateResource, '2017-03-30/generated/azure_mgmt_compute/models/update_resource.rb'
156
+ autoload :RunCommandInputParameter, '2017-03-30/generated/azure_mgmt_compute/models/run_command_input_parameter.rb'
154
157
  autoload :ComputeLongRunningOperationProperties, '2017-03-30/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb'
155
- autoload :Plan, '2017-03-30/generated/azure_mgmt_compute/models/plan.rb'
158
+ autoload :VirtualMachineInstanceView, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb'
156
159
  autoload :Resource, '2017-03-30/generated/azure_mgmt_compute/models/resource.rb'
157
- autoload :GrantAccessData, '2017-03-30/generated/azure_mgmt_compute/models/grant_access_data.rb'
158
- autoload :UpdateResource, '2017-03-30/generated/azure_mgmt_compute/models/update_resource.rb'
159
160
  autoload :AvailabilitySet, '2017-03-30/generated/azure_mgmt_compute/models/availability_set.rb'
160
161
  autoload :VirtualMachineExtensionImage, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb'
161
162
  autoload :VirtualMachineImageResource, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb'
162
163
  autoload :VirtualMachineExtension, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension.rb'
164
+ autoload :VirtualMachineExtensionUpdate, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb'
163
165
  autoload :VirtualMachineImage, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_image.rb'
164
166
  autoload :VirtualMachineCaptureResult, '2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb'
165
167
  autoload :ImageReference, '2017-03-30/generated/azure_mgmt_compute/models/image_reference.rb'