azure_mgmt_compute 0.18.2 → 0.18.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-06-15/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  3. data/lib/2015-06-15/generated/azure_mgmt_compute/models/boot_diagnostics.rb +3 -4
  4. data/lib/2015-06-15/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +2 -0
  5. data/lib/2015-06-15/generated/azure_mgmt_compute/models/diagnostics_profile.rb +1 -2
  6. data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +3 -4
  7. data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +3 -4
  8. data/lib/2016-03-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  9. data/lib/2016-03-30/generated/azure_mgmt_compute/models/boot_diagnostics.rb +3 -4
  10. data/lib/2016-03-30/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +2 -0
  11. data/lib/2016-03-30/generated/azure_mgmt_compute/models/diagnostics_profile.rb +1 -2
  12. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +3 -4
  13. data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +3 -4
  14. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  15. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/boot_diagnostics.rb +3 -4
  16. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +2 -0
  17. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/diagnostics_profile.rb +1 -2
  18. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_disk_reference.rb +1 -1
  19. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +3 -4
  20. data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +3 -4
  21. data/lib/2017-03-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  22. data/lib/2017-03-30/generated/azure_mgmt_compute/models/boot_diagnostics.rb +3 -4
  23. data/lib/2017-03-30/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +2 -0
  24. data/lib/2017-03-30/generated/azure_mgmt_compute/models/diagnostics_profile.rb +1 -2
  25. data/lib/2017-03-30/generated/azure_mgmt_compute/models/image_disk_reference.rb +1 -1
  26. data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +3 -4
  27. data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +3 -4
  28. data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machines.rb +209 -0
  29. data/lib/2017-09-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  30. data/lib/2017-12-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
  31. data/lib/2017-12-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb +3 -4
  32. data/lib/2017-12-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +2 -0
  33. data/lib/2017-12-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb +1 -2
  34. data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +3 -4
  35. data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +3 -4
  36. data/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machines.rb +209 -0
  37. data/lib/2018-04-01/generated/azure_mgmt_compute.rb +1 -1
  38. data/lib/2018-04-01/generated/azure_mgmt_compute/compute_management_client.rb +5 -5
  39. data/lib/2018-04-01/generated/azure_mgmt_compute/disks.rb +2 -2
  40. data/lib/2018-04-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb +3 -4
  41. data/lib/2018-04-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +17 -0
  42. data/lib/2018-04-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb +1 -2
  43. data/lib/2018-04-01/generated/azure_mgmt_compute/models/image_disk_reference.rb +1 -1
  44. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +3 -4
  45. data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +3 -4
  46. data/lib/2018-04-01/generated/azure_mgmt_compute/snapshots.rb +2 -2
  47. data/lib/2018-04-01/generated/azure_mgmt_compute/virtual_machines.rb +209 -0
  48. data/lib/2018-06-01/generated/azure_mgmt_compute.rb +43 -40
  49. data/lib/2018-06-01/generated/azure_mgmt_compute/compute_management_client.rb +5 -5
  50. data/lib/2018-06-01/generated/azure_mgmt_compute/disks.rb +2 -2
  51. data/lib/2018-06-01/generated/azure_mgmt_compute/galleries.rb +49 -34
  52. data/lib/2018-06-01/generated/azure_mgmt_compute/gallery_image_versions.rb +127 -93
  53. data/lib/2018-06-01/generated/azure_mgmt_compute/gallery_images.rb +84 -44
  54. data/lib/2018-06-01/generated/azure_mgmt_compute/models/additional_capabilities.rb +6 -6
  55. data/lib/2018-06-01/generated/azure_mgmt_compute/models/availability_set.rb +4 -1
  56. data/lib/2018-06-01/generated/azure_mgmt_compute/models/availability_set_sku_types.rb +16 -0
  57. data/lib/2018-06-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb +3 -4
  58. data/lib/2018-06-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +17 -0
  59. data/lib/2018-06-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb +1 -2
  60. data/lib/2018-06-01/generated/azure_mgmt_compute/models/diff_disk_options.rb +15 -0
  61. data/lib/2018-06-01/generated/azure_mgmt_compute/models/diff_disk_settings.rb +49 -0
  62. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery.rb +4 -3
  63. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_artifact_publishing_profile_base.rb +2 -2
  64. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_artifact_source.rb +1 -1
  65. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_data_disk_image.rb +4 -3
  66. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_disk_image.rb +2 -1
  67. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_identifier.rb +2 -1
  68. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image.rb +17 -14
  69. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_identifier.rb +4 -4
  70. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_list.rb +4 -3
  71. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_version.rb +2 -2
  72. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_version_list.rb +4 -4
  73. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_version_publishing_profile.rb +10 -6
  74. data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_version_storage_profile.rb +1 -1
  75. data/lib/2018-06-01/generated/azure_mgmt_compute/models/image_data_disk.rb +3 -3
  76. data/lib/2018-06-01/generated/azure_mgmt_compute/models/image_disk_reference.rb +1 -1
  77. data/lib/2018-06-01/generated/azure_mgmt_compute/models/image_osdisk.rb +3 -3
  78. data/lib/2018-06-01/generated/azure_mgmt_compute/models/image_purchase_plan.rb +2 -2
  79. data/lib/2018-06-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +3 -3
  80. data/lib/2018-06-01/generated/azure_mgmt_compute/models/osdisk.rb +13 -0
  81. data/lib/2018-06-01/generated/azure_mgmt_compute/models/recommended_machine_configuration.rb +2 -1
  82. data/lib/2018-06-01/generated/azure_mgmt_compute/models/regional_replication_status.rb +2 -2
  83. data/lib/2018-06-01/generated/azure_mgmt_compute/models/replication_status.rb +3 -3
  84. data/lib/2018-06-01/generated/azure_mgmt_compute/models/target_region.rb +3 -3
  85. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine.rb +1 -3
  86. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +3 -4
  87. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +3 -3
  88. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +13 -0
  89. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +3 -4
  90. data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +1 -3
  91. data/lib/2018-06-01/generated/azure_mgmt_compute/snapshots.rb +2 -2
  92. data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machines.rb +209 -0
  93. data/lib/azure_mgmt_compute.rb +1 -0
  94. data/lib/profiles/latest/modules/compute_profile_module.rb +140 -128
  95. data/lib/profiles/v2018_03_01/compute_module_definition.rb +8 -0
  96. data/lib/profiles/v2018_03_01/compute_v2018_03_01_profile_client.rb +40 -0
  97. data/lib/profiles/v2018_03_01/modules/compute_profile_module.rb +767 -0
  98. data/lib/version.rb +1 -1
  99. metadata +8 -2
@@ -35,6 +35,10 @@ module Azure::Compute::Mgmt::V2018_06_01
35
35
  # Possible values include: 'FromImage', 'Empty', 'Attach'
36
36
  attr_accessor :create_option
37
37
 
38
+ # @return [DiffDiskSettings] Specifies the differencing Disk Settings for
39
+ # the operating system disk used by the virtual machine scale set.
40
+ attr_accessor :diff_disk_settings
41
+
38
42
  # @return [Integer] Specifies the size of the operating system disk in
39
43
  # gigabytes. This element can be used to overwrite the size of the disk
40
44
  # in a virtual machine image. <br><br> This value cannot be larger than
@@ -107,6 +111,15 @@ module Azure::Compute::Mgmt::V2018_06_01
107
111
  name: 'String'
108
112
  }
109
113
  },
114
+ diff_disk_settings: {
115
+ client_side_validation: true,
116
+ required: false,
117
+ serialized_name: 'diffDiskSettings',
118
+ type: {
119
+ name: 'Composite',
120
+ class_name: 'DiffDiskSettings'
121
+ }
122
+ },
110
123
  disk_size_gb: {
111
124
  client_side_validation: true,
112
125
  required: false,
@@ -41,10 +41,9 @@ module Azure::Compute::Mgmt::V2018_06_01
41
41
 
42
42
  # @return [BootDiagnosticsInstanceView] Boot Diagnostics is a debugging
43
43
  # feature which allows you to view Console Output and Screenshot to
44
- # diagnose VM status. <br><br> For Linux Virtual Machines, you can easily
45
- # view the output of your console log. <br><br> For both Windows and
46
- # Linux virtual machines, Azure also enables you to see a screenshot of
47
- # the VM from the hypervisor.
44
+ # diagnose VM status. <br><br> You can easily view the output of your
45
+ # console log. <br><br> Azure also enables you to see a screenshot of the
46
+ # VM from the hypervisor.
48
47
  attr_accessor :boot_diagnostics
49
48
 
50
49
  # @return [Array<InstanceViewStatus>] The resource status information.
@@ -30,9 +30,7 @@ module Azure::Compute::Mgmt::V2018_06_01
30
30
  attr_accessor :storage_profile
31
31
 
32
32
  # @return [AdditionalCapabilities] Specifies additional capabilities
33
- # enabled or disabled on the virtual machine. For instance: whether the
34
- # virtual machine has the capability to support attaching managed data
35
- # disks with UltraSSD_LRS storage account type.
33
+ # enabled or disabled on the virtual machine.
36
34
  attr_accessor :additional_capabilities
37
35
 
38
36
  # @return [OSProfile] Specifies the operating system settings for the
@@ -477,7 +477,7 @@ module Azure::Compute::Mgmt::V2018_06_01
477
477
  end
478
478
 
479
479
  # Waiting for response.
480
- @client.get_long_running_operation_result(response, deserialize_method)
480
+ @client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::LOCATION)
481
481
  end
482
482
 
483
483
  promise
@@ -519,7 +519,7 @@ module Azure::Compute::Mgmt::V2018_06_01
519
519
  end
520
520
 
521
521
  # Waiting for response.
522
- @client.get_long_running_operation_result(response, deserialize_method)
522
+ @client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::LOCATION)
523
523
  end
524
524
 
525
525
  promise
@@ -21,6 +21,101 @@ module Azure::Compute::Mgmt::V2018_06_01
21
21
  # @return [ComputeManagementClient] reference to the ComputeManagementClient
22
22
  attr_reader :client
23
23
 
24
+ #
25
+ # Gets all the virtual machines under the specified subscription for the
26
+ # specified location.
27
+ #
28
+ # @param location [String] The location for which virtual machines under the
29
+ # subscription are queried.
30
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
31
+ # will be added to the HTTP request.
32
+ #
33
+ # @return [Array<VirtualMachine>] operation results.
34
+ #
35
+ def list_by_location(location, custom_headers:nil)
36
+ first_page = list_by_location_as_lazy(location, custom_headers:custom_headers)
37
+ first_page.get_all_items
38
+ end
39
+
40
+ #
41
+ # Gets all the virtual machines under the specified subscription for the
42
+ # specified location.
43
+ #
44
+ # @param location [String] The location for which virtual machines under the
45
+ # subscription are queried.
46
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
47
+ # will be added to the HTTP request.
48
+ #
49
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
50
+ #
51
+ def list_by_location_with_http_info(location, custom_headers:nil)
52
+ list_by_location_async(location, custom_headers:custom_headers).value!
53
+ end
54
+
55
+ #
56
+ # Gets all the virtual machines under the specified subscription for the
57
+ # specified location.
58
+ #
59
+ # @param location [String] The location for which virtual machines under the
60
+ # subscription are queried.
61
+ # @param [Hash{String => String}] A hash of custom headers that will be added
62
+ # to the HTTP request.
63
+ #
64
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
65
+ #
66
+ def list_by_location_async(location, custom_headers:nil)
67
+ fail ArgumentError, 'location is nil' if location.nil?
68
+ fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil?
69
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
70
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
71
+
72
+
73
+ request_headers = {}
74
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
75
+
76
+ # Set Headers
77
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
78
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
79
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachines'
80
+
81
+ request_url = @base_url || @client.base_url
82
+
83
+ options = {
84
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
85
+ path_params: {'location' => location,'subscriptionId' => @client.subscription_id},
86
+ query_params: {'api-version' => @client.api_version},
87
+ headers: request_headers.merge(custom_headers || {}),
88
+ base_url: request_url
89
+ }
90
+ promise = @client.make_request_async(:get, path_template, options)
91
+
92
+ promise = promise.then do |result|
93
+ http_response = result.response
94
+ status_code = http_response.status
95
+ response_content = http_response.body
96
+ unless status_code == 200
97
+ error_model = JSON.load(response_content)
98
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
99
+ end
100
+
101
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
102
+ # Deserialize Response
103
+ if status_code == 200
104
+ begin
105
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
106
+ result_mapper = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineListResult.mapper()
107
+ result.body = @client.deserialize(result_mapper, parsed_response)
108
+ rescue Exception => e
109
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
110
+ end
111
+ end
112
+
113
+ result
114
+ end
115
+
116
+ promise.execute
117
+ end
118
+
24
119
  #
25
120
  # Captures the VM by copying virtual hard disks of the VM and outputs a
26
121
  # template that can be used to create similar VMs.
@@ -2168,6 +2263,97 @@ module Azure::Compute::Mgmt::V2018_06_01
2168
2263
  promise.execute
2169
2264
  end
2170
2265
 
2266
+ #
2267
+ # Gets all the virtual machines under the specified subscription for the
2268
+ # specified location.
2269
+ #
2270
+ # @param next_page_link [String] The NextLink from the previous successful call
2271
+ # to List operation.
2272
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2273
+ # will be added to the HTTP request.
2274
+ #
2275
+ # @return [VirtualMachineListResult] operation results.
2276
+ #
2277
+ def list_by_location_next(next_page_link, custom_headers:nil)
2278
+ response = list_by_location_next_async(next_page_link, custom_headers:custom_headers).value!
2279
+ response.body unless response.nil?
2280
+ end
2281
+
2282
+ #
2283
+ # Gets all the virtual machines under the specified subscription for the
2284
+ # specified location.
2285
+ #
2286
+ # @param next_page_link [String] The NextLink from the previous successful call
2287
+ # to List operation.
2288
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2289
+ # will be added to the HTTP request.
2290
+ #
2291
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2292
+ #
2293
+ def list_by_location_next_with_http_info(next_page_link, custom_headers:nil)
2294
+ list_by_location_next_async(next_page_link, custom_headers:custom_headers).value!
2295
+ end
2296
+
2297
+ #
2298
+ # Gets all the virtual machines under the specified subscription for the
2299
+ # specified location.
2300
+ #
2301
+ # @param next_page_link [String] The NextLink from the previous successful call
2302
+ # to List operation.
2303
+ # @param [Hash{String => String}] A hash of custom headers that will be added
2304
+ # to the HTTP request.
2305
+ #
2306
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2307
+ #
2308
+ def list_by_location_next_async(next_page_link, custom_headers:nil)
2309
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
2310
+
2311
+
2312
+ request_headers = {}
2313
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2314
+
2315
+ # Set Headers
2316
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2317
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2318
+ path_template = '{nextLink}'
2319
+
2320
+ request_url = @base_url || @client.base_url
2321
+
2322
+ options = {
2323
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
2324
+ skip_encoding_path_params: {'nextLink' => next_page_link},
2325
+ headers: request_headers.merge(custom_headers || {}),
2326
+ base_url: request_url
2327
+ }
2328
+ promise = @client.make_request_async(:get, path_template, options)
2329
+
2330
+ promise = promise.then do |result|
2331
+ http_response = result.response
2332
+ status_code = http_response.status
2333
+ response_content = http_response.body
2334
+ unless status_code == 200
2335
+ error_model = JSON.load(response_content)
2336
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
2337
+ end
2338
+
2339
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
2340
+ # Deserialize Response
2341
+ if status_code == 200
2342
+ begin
2343
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
2344
+ result_mapper = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineListResult.mapper()
2345
+ result.body = @client.deserialize(result_mapper, parsed_response)
2346
+ rescue Exception => e
2347
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
2348
+ end
2349
+ end
2350
+
2351
+ result
2352
+ end
2353
+
2354
+ promise.execute
2355
+ end
2356
+
2171
2357
  #
2172
2358
  # Lists all of the virtual machines in the specified resource group. Use the
2173
2359
  # nextLink property in the response to get the next page of virtual machines.
@@ -2350,6 +2536,29 @@ module Azure::Compute::Mgmt::V2018_06_01
2350
2536
  promise.execute
2351
2537
  end
2352
2538
 
2539
+ #
2540
+ # Gets all the virtual machines under the specified subscription for the
2541
+ # specified location.
2542
+ #
2543
+ # @param location [String] The location for which virtual machines under the
2544
+ # subscription are queried.
2545
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
2546
+ # will be added to the HTTP request.
2547
+ #
2548
+ # @return [VirtualMachineListResult] which provide lazy access to pages of the
2549
+ # response.
2550
+ #
2551
+ def list_by_location_as_lazy(location, custom_headers:nil)
2552
+ response = list_by_location_async(location, custom_headers:custom_headers).value!
2553
+ unless response.nil?
2554
+ page = response.body
2555
+ page.next_method = Proc.new do |next_page_link|
2556
+ list_by_location_next_async(next_page_link, custom_headers:custom_headers)
2557
+ end
2558
+ page
2559
+ end
2560
+ end
2561
+
2353
2562
  #
2354
2563
  # Lists all of the virtual machines in the specified resource group. Use the
2355
2564
  # nextLink property in the response to get the next page of virtual machines.
@@ -12,3 +12,4 @@ require '2017-03-30/generated/azure_mgmt_compute'
12
12
  require '2017-12-01/generated/azure_mgmt_compute'
13
13
  require 'profiles/v2017_03_09/compute_v2017_03_09_profile_client'
14
14
  require 'profiles/latest/compute_latest_profile_client'
15
+ require 'profiles/v2018_03_01/compute_v2018_03_01_profile_client'
@@ -13,9 +13,9 @@ module Azure::Compute::Profiles::Latest
13
13
  VirtualMachineExtensions = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineExtensions
14
14
  VirtualMachineImages = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineImages
15
15
  UsageOperations = Azure::Compute::Mgmt::V2018_06_01::UsageOperations
16
+ VirtualMachines = Azure::Compute::Mgmt::V2018_06_01::VirtualMachines
16
17
  VirtualMachineSizes = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineSizes
17
18
  Images = Azure::Compute::Mgmt::V2018_06_01::Images
18
- VirtualMachines = Azure::Compute::Mgmt::V2018_06_01::VirtualMachines
19
19
  VirtualMachineScaleSets = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineScaleSets
20
20
  VirtualMachineScaleSetExtensions = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineScaleSetExtensions
21
21
  VirtualMachineScaleSetRollingUpgrades = Azure::Compute::Mgmt::V2018_06_01::VirtualMachineScaleSetRollingUpgrades
@@ -42,40 +42,40 @@ module Azure::Compute::Profiles::Latest
42
42
  ResourceSkuRestrictionsReasonCode = Azure::Compute::Mgmt::V2017_09_01::Models::ResourceSkuRestrictionsReasonCode
43
43
  ComputeLongRunningOperationProperties = Azure::Compute::Mgmt::V2017_12_01::Models::ComputeLongRunningOperationProperties
44
44
  OperationStatusResponse = Azure::Compute::Mgmt::V2017_12_01::Models::OperationStatusResponse
45
+ ApiEntityReference = Azure::Compute::Mgmt::V2018_06_01::Models::ApiEntityReference
45
46
  VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings
46
- ComputeOperationValue = Azure::Compute::Mgmt::V2018_06_01::Models::ComputeOperationValue
47
+ ComputeOperationListResult = Azure::Compute::Mgmt::V2018_06_01::Models::ComputeOperationListResult
47
48
  VirtualMachineScaleSetIpTag = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIpTag
48
- InstanceViewStatus = Azure::Compute::Mgmt::V2018_06_01::Models::InstanceViewStatus
49
+ SubResource = Azure::Compute::Mgmt::V2018_06_01::Models::SubResource
49
50
  VirtualMachineScaleSetPublicIPAddressConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetPublicIPAddressConfiguration
50
- Sku = Azure::Compute::Mgmt::V2018_06_01::Models::Sku
51
- VirtualMachineScaleSetUpdatePublicIPAddressConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration
52
- VirtualMachineScaleSetUpdateOSDisk = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateOSDisk
51
+ VirtualMachineScaleSetManagedDiskParameters = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetManagedDiskParameters
52
+ VirtualMachineScaleSetOSDisk = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetOSDisk
53
53
  AvailabilitySetListResult = Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySetListResult
54
- VirtualMachineScaleSetDataDisk = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetDataDisk
54
+ VirtualMachineScaleSetUpdateOSDisk = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateOSDisk
55
55
  VirtualMachineSizeListResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSizeListResult
56
+ VirtualMachineScaleSetDataDisk = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetDataDisk
57
+ GalleryList = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryList
56
58
  VirtualMachineScaleSetStorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetStorageProfile
57
- GalleryImageList = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageList
59
+ GalleryDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDiskImage
58
60
  VirtualMachineScaleSetUpdateStorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateStorageProfile
59
- GalleryList = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryList
60
- ApiEntityReference = Azure::Compute::Mgmt::V2018_06_01::Models::ApiEntityReference
61
61
  VirtualMachineExtensionsListResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionsListResult
62
- ComputeOperationListResult = Azure::Compute::Mgmt::V2018_06_01::Models::ComputeOperationListResult
62
+ ComputeOperationValue = Azure::Compute::Mgmt::V2018_06_01::Models::ComputeOperationValue
63
63
  OSDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::OSDiskImage
64
- SubResource = Azure::Compute::Mgmt::V2018_06_01::Models::SubResource
65
- GalleryArtifactPublishingProfileBase = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryArtifactPublishingProfileBase
66
- UsageName = Azure::Compute::Mgmt::V2018_06_01::Models::UsageName
67
- Disallowed = Azure::Compute::Mgmt::V2018_06_01::Models::Disallowed
68
- ListUsagesResult = Azure::Compute::Mgmt::V2018_06_01::Models::ListUsagesResult
69
- ImageDiskReference = Azure::Compute::Mgmt::V2018_06_01::Models::ImageDiskReference
64
+ InstanceViewStatus = Azure::Compute::Mgmt::V2018_06_01::Models::InstanceViewStatus
70
65
  GalleryArtifactSource = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryArtifactSource
66
+ Sku = Azure::Compute::Mgmt::V2018_06_01::Models::Sku
67
+ Usage = Azure::Compute::Mgmt::V2018_06_01::Models::Usage
71
68
  CreationData = Azure::Compute::Mgmt::V2018_06_01::Models::CreationData
72
- HardwareProfile = Azure::Compute::Mgmt::V2018_06_01::Models::HardwareProfile
69
+ VirtualMachineCaptureParameters = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineCaptureParameters
70
+ VirtualMachineScaleSetUpdatePublicIPAddressConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration
71
+ Plan = Azure::Compute::Mgmt::V2018_06_01::Models::Plan
73
72
  SourceVault = Azure::Compute::Mgmt::V2018_06_01::Models::SourceVault
74
- KeyVaultSecretReference = Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultSecretReference
75
- VirtualMachineScaleSetNetworkConfigurationDnsSettings = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetNetworkConfigurationDnsSettings
76
- DiskEncryptionSettings = Azure::Compute::Mgmt::V2018_06_01::Models::DiskEncryptionSettings
77
- ImagePurchasePlan = Azure::Compute::Mgmt::V2018_06_01::Models::ImagePurchasePlan
78
73
  TargetRegion = Azure::Compute::Mgmt::V2018_06_01::Models::TargetRegion
74
+ ImagePurchasePlan = Azure::Compute::Mgmt::V2018_06_01::Models::ImagePurchasePlan
75
+ KeyVaultKeyReference = Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultKeyReference
76
+ VirtualMachineScaleSetNetworkConfigurationDnsSettings = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetNetworkConfigurationDnsSettings
77
+ VirtualHardDisk = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualHardDisk
78
+ Disallowed = Azure::Compute::Mgmt::V2018_06_01::Models::Disallowed
79
79
  SnapshotList = Azure::Compute::Mgmt::V2018_06_01::Models::SnapshotList
80
80
  DataDisk = Azure::Compute::Mgmt::V2018_06_01::Models::DataDisk
81
81
  VirtualMachineScaleSetNetworkProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetNetworkProfile
@@ -103,7 +103,7 @@ module Azure::Compute::Profiles::Latest
103
103
  VirtualMachineStatusCodeCount = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineStatusCodeCount
104
104
  VirtualMachineInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineInstanceView
105
105
  VirtualMachineScaleSetInstanceViewStatusesSummary = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetInstanceViewStatusesSummary
106
- RegionalReplicationStatus = Azure::Compute::Mgmt::V2018_06_01::Models::RegionalReplicationStatus
106
+ GalleryImageVersionStorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionStorageProfile
107
107
  VirtualMachineScaleSetVMExtensionsSummary = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMExtensionsSummary
108
108
  AutoOSUpgradePolicy = Azure::Compute::Mgmt::V2018_06_01::Models::AutoOSUpgradePolicy
109
109
  VirtualMachineScaleSetInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetInstanceView
@@ -111,7 +111,7 @@ module Azure::Compute::Profiles::Latest
111
111
  VirtualMachineScaleSetListResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListResult
112
112
  ImageDataDisk = Azure::Compute::Mgmt::V2018_06_01::Models::ImageDataDisk
113
113
  VirtualMachineScaleSetListWithLinkResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListWithLinkResult
114
- GalleryImageVersionStorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionStorageProfile
114
+ DiskSku = Azure::Compute::Mgmt::V2018_06_01::Models::DiskSku
115
115
  VirtualMachineScaleSetSkuCapacity = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSkuCapacity
116
116
  ImageListResult = Azure::Compute::Mgmt::V2018_06_01::Models::ImageListResult
117
117
  VirtualMachineScaleSetSku = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSku
@@ -119,19 +119,19 @@ module Azure::Compute::Profiles::Latest
119
119
  VirtualMachineScaleSetListSkusResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListSkusResult
120
120
  VirtualMachineScaleSetUpdateOSProfile = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateOSProfile
121
121
  ApiErrorBase = Azure::Compute::Mgmt::V2018_06_01::Models::ApiErrorBase
122
- VirtualMachineScaleSetOSDisk = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetOSDisk
122
+ VirtualMachineSize = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSize
123
123
  InnerError = Azure::Compute::Mgmt::V2018_06_01::Models::InnerError
124
- GalleryImageVersionList = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionList
124
+ VirtualMachineExtensionInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionInstanceView
125
125
  ApiError = Azure::Compute::Mgmt::V2018_06_01::Models::ApiError
126
- GalleryDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDiskImage
126
+ PurchasePlan = Azure::Compute::Mgmt::V2018_06_01::Models::PurchasePlan
127
127
  RollbackStatusInfo = Azure::Compute::Mgmt::V2018_06_01::Models::RollbackStatusInfo
128
- DataDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::DataDiskImage
128
+ UsageName = Azure::Compute::Mgmt::V2018_06_01::Models::UsageName
129
129
  UpgradeOperationHistoryStatus = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationHistoryStatus
130
- VirtualMachineCaptureParameters = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineCaptureParameters
131
- RollingUpgradeProgressInfo = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeProgressInfo
132
130
  ManagedArtifact = Azure::Compute::Mgmt::V2018_06_01::Models::ManagedArtifact
131
+ RollingUpgradeProgressInfo = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeProgressInfo
132
+ KeyVaultSecretReference = Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultSecretReference
133
133
  UpgradeOperationHistoricalStatusInfoProperties = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationHistoricalStatusInfoProperties
134
- VirtualHardDisk = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualHardDisk
134
+ DiffDiskSettings = Azure::Compute::Mgmt::V2018_06_01::Models::DiffDiskSettings
135
135
  UpgradeOperationHistoricalStatusInfo = Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationHistoricalStatusInfo
136
136
  StorageProfile = Azure::Compute::Mgmt::V2018_06_01::Models::StorageProfile
137
137
  VirtualMachineScaleSetListOSUpgradeHistory = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListOSUpgradeHistory
@@ -139,12 +139,13 @@ module Azure::Compute::Profiles::Latest
139
139
  VirtualMachineHealthStatus = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineHealthStatus
140
140
  LinuxConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::LinuxConfiguration
141
141
  VirtualMachineScaleSetVMInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMInstanceView
142
+ ReplicationStatus = Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationStatus
142
143
  SnapshotSku = Azure::Compute::Mgmt::V2018_06_01::Models::SnapshotSku
143
144
  VirtualMachineExtensionHandlerInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionHandlerInstanceView
144
145
  VirtualMachineScaleSetVMListResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMListResult
145
146
  VirtualMachineIdentityUserAssignedIdentitiesValue = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineIdentityUserAssignedIdentitiesValue
146
147
  RollingUpgradeRunningStatus = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeRunningStatus
147
- ReplicationStatus = Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationStatus
148
+ RegionalReplicationStatus = Azure::Compute::Mgmt::V2018_06_01::Models::RegionalReplicationStatus
148
149
  DiskList = Azure::Compute::Mgmt::V2018_06_01::Models::DiskList
149
150
  RollingUpgradePolicy = Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradePolicy
150
151
  Resource = Azure::Compute::Mgmt::V2018_06_01::Models::Resource
@@ -152,13 +153,13 @@ module Azure::Compute::Profiles::Latest
152
153
  UpdateResource = Azure::Compute::Mgmt::V2018_06_01::Models::UpdateResource
153
154
  VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue
154
155
  SubResourceReadOnly = Azure::Compute::Mgmt::V2018_06_01::Models::SubResourceReadOnly
155
- VirtualMachineScaleSetManagedDiskParameters = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetManagedDiskParameters
156
+ GalleryImageVersionList = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionList
156
157
  RecoveryWalkResponse = Azure::Compute::Mgmt::V2018_06_01::Models::RecoveryWalkResponse
157
- VirtualMachineExtensionInstanceView = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionInstanceView
158
+ GalleryArtifactPublishingProfileBase = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryArtifactPublishingProfileBase
158
159
  DiskUpdate = Azure::Compute::Mgmt::V2018_06_01::Models::DiskUpdate
159
- Usage = Azure::Compute::Mgmt::V2018_06_01::Models::Usage
160
+ ListUsagesResult = Azure::Compute::Mgmt::V2018_06_01::Models::ListUsagesResult
160
161
  EncryptionSettings = Azure::Compute::Mgmt::V2018_06_01::Models::EncryptionSettings
161
- KeyVaultKeyReference = Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultKeyReference
162
+ DiskEncryptionSettings = Azure::Compute::Mgmt::V2018_06_01::Models::DiskEncryptionSettings
162
163
  LogAnalyticsInputBase = Azure::Compute::Mgmt::V2018_06_01::Models::LogAnalyticsInputBase
163
164
  AdditionalUnattendContent = Azure::Compute::Mgmt::V2018_06_01::Models::AdditionalUnattendContent
164
165
  LogAnalyticsOutput = Azure::Compute::Mgmt::V2018_06_01::Models::LogAnalyticsOutput
@@ -168,11 +169,11 @@ module Azure::Compute::Profiles::Latest
168
169
  RunCommandInputParameter = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandInputParameter
169
170
  VirtualMachineListResult = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineListResult
170
171
  RunCommandInput = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandInput
171
- DiskSku = Azure::Compute::Mgmt::V2018_06_01::Models::DiskSku
172
+ ImageDiskReference = Azure::Compute::Mgmt::V2018_06_01::Models::ImageDiskReference
172
173
  RunCommandParameterDefinition = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandParameterDefinition
173
- VirtualMachineSize = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSize
174
+ GalleryImageList = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageList
174
175
  RunCommandDocumentBase = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandDocumentBase
175
- Plan = Azure::Compute::Mgmt::V2018_06_01::Models::Plan
176
+ HardwareProfile = Azure::Compute::Mgmt::V2018_06_01::Models::HardwareProfile
176
177
  KeyVaultAndKeyReference = Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultAndKeyReference
177
178
  SshPublicKey = Azure::Compute::Mgmt::V2018_06_01::Models::SshPublicKey
178
179
  RunCommandListResult = Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandListResult
@@ -186,7 +187,7 @@ module Azure::Compute::Profiles::Latest
186
187
  GalleryImageIdentifier = Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageIdentifier
187
188
  BootDiagnostics = Azure::Compute::Mgmt::V2018_06_01::Models::BootDiagnostics
188
189
  ResourceRange = Azure::Compute::Mgmt::V2018_06_01::Models::ResourceRange
189
- PurchasePlan = Azure::Compute::Mgmt::V2018_06_01::Models::PurchasePlan
190
+ DataDiskImage = Azure::Compute::Mgmt::V2018_06_01::Models::DataDiskImage
190
191
  RecommendedMachineConfiguration = Azure::Compute::Mgmt::V2018_06_01::Models::RecommendedMachineConfiguration
191
192
  AvailabilitySet = Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySet
192
193
  AvailabilitySetUpdate = Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySetUpdate
@@ -224,11 +225,13 @@ module Azure::Compute::Profiles::Latest
224
225
  Disk = Azure::Compute::Mgmt::V2018_06_01::Models::Disk
225
226
  Snapshot = Azure::Compute::Mgmt::V2018_06_01::Models::Snapshot
226
227
  StatusLevelTypes = Azure::Compute::Mgmt::V2018_06_01::Models::StatusLevelTypes
228
+ AvailabilitySetSkuTypes = Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySetSkuTypes
227
229
  OperatingSystemTypes = Azure::Compute::Mgmt::V2018_06_01::Models::OperatingSystemTypes
228
230
  VirtualMachineSizeTypes = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSizeTypes
229
231
  CachingTypes = Azure::Compute::Mgmt::V2018_06_01::Models::CachingTypes
230
232
  DiskCreateOptionTypes = Azure::Compute::Mgmt::V2018_06_01::Models::DiskCreateOptionTypes
231
233
  StorageAccountTypes = Azure::Compute::Mgmt::V2018_06_01::Models::StorageAccountTypes
234
+ DiffDiskOptions = Azure::Compute::Mgmt::V2018_06_01::Models::DiffDiskOptions
232
235
  PassNames = Azure::Compute::Mgmt::V2018_06_01::Models::PassNames
233
236
  ComponentNames = Azure::Compute::Mgmt::V2018_06_01::Models::ComponentNames
234
237
  SettingNames = Azure::Compute::Mgmt::V2018_06_01::Models::SettingNames
@@ -261,7 +264,7 @@ module Azure::Compute::Profiles::Latest
261
264
  # ComputeManagementClass
262
265
  #
263
266
  class ComputeManagementClass
264
- attr_reader :resource_skus, :operations, :availability_sets, :virtual_machine_extension_images, :virtual_machine_extensions, :virtual_machine_images, :usage_operations, :virtual_machine_sizes, :images, :virtual_machines, :virtual_machine_scale_sets, :virtual_machine_scale_set_extensions, :virtual_machine_scale_set_rolling_upgrades, :virtual_machine_scale_set_vms, :log_analytics, :virtual_machine_run_commands, :galleries, :gallery_images, :gallery_image_versions, :disks, :snapshots, :configurable, :base_url, :options, :model_classes
267
+ attr_reader :resource_skus, :operations, :availability_sets, :virtual_machine_extension_images, :virtual_machine_extensions, :virtual_machine_images, :usage_operations, :virtual_machines, :virtual_machine_sizes, :images, :virtual_machine_scale_sets, :virtual_machine_scale_set_extensions, :virtual_machine_scale_set_rolling_upgrades, :virtual_machine_scale_set_vms, :log_analytics, :virtual_machine_run_commands, :galleries, :gallery_images, :gallery_image_versions, :disks, :snapshots, :configurable, :base_url, :options, :model_classes
265
268
 
266
269
  def initialize(options = {})
267
270
  if options.is_a?(Hash) && options.length == 0
@@ -306,9 +309,9 @@ module Azure::Compute::Profiles::Latest
306
309
  @virtual_machine_extensions = @client_3.virtual_machine_extensions
307
310
  @virtual_machine_images = @client_3.virtual_machine_images
308
311
  @usage_operations = @client_3.usage_operations
312
+ @virtual_machines = @client_3.virtual_machines
309
313
  @virtual_machine_sizes = @client_3.virtual_machine_sizes
310
314
  @images = @client_3.images
311
- @virtual_machines = @client_3.virtual_machines
312
315
  @virtual_machine_scale_sets = @client_3.virtual_machine_scale_sets
313
316
  @virtual_machine_scale_set_extensions = @client_3.virtual_machine_scale_set_extensions
314
317
  @virtual_machine_scale_set_rolling_upgrades = @client_3.virtual_machine_scale_set_rolling_upgrades
@@ -385,107 +388,107 @@ module Azure::Compute::Profiles::Latest
385
388
  def operation_status_response
386
389
  Azure::Compute::Mgmt::V2017_12_01::Models::OperationStatusResponse
387
390
  end
391
+ def api_entity_reference
392
+ Azure::Compute::Mgmt::V2018_06_01::Models::ApiEntityReference
393
+ end
388
394
  def virtual_machine_scale_set_public_ipaddress_configuration_dns_settings
389
395
  Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings
390
396
  end
391
- def compute_operation_value
392
- Azure::Compute::Mgmt::V2018_06_01::Models::ComputeOperationValue
397
+ def compute_operation_list_result
398
+ Azure::Compute::Mgmt::V2018_06_01::Models::ComputeOperationListResult
393
399
  end
394
400
  def virtual_machine_scale_set_ip_tag
395
401
  Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetIpTag
396
402
  end
397
- def instance_view_status
398
- Azure::Compute::Mgmt::V2018_06_01::Models::InstanceViewStatus
403
+ def sub_resource
404
+ Azure::Compute::Mgmt::V2018_06_01::Models::SubResource
399
405
  end
400
406
  def virtual_machine_scale_set_public_ipaddress_configuration
401
407
  Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetPublicIPAddressConfiguration
402
408
  end
403
- def sku
404
- Azure::Compute::Mgmt::V2018_06_01::Models::Sku
409
+ def virtual_machine_scale_set_managed_disk_parameters
410
+ Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetManagedDiskParameters
405
411
  end
406
- def virtual_machine_scale_set_update_public_ipaddress_configuration
407
- Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration
412
+ def virtual_machine_scale_set_osdisk
413
+ Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetOSDisk
414
+ end
415
+ def availability_set_list_result
416
+ Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySetListResult
408
417
  end
409
418
  def virtual_machine_scale_set_update_osdisk
410
419
  Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateOSDisk
411
420
  end
412
- def availability_set_list_result
413
- Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySetListResult
421
+ def virtual_machine_size_list_result
422
+ Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSizeListResult
414
423
  end
415
424
  def virtual_machine_scale_set_data_disk
416
425
  Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetDataDisk
417
426
  end
418
- def virtual_machine_size_list_result
419
- Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSizeListResult
427
+ def gallery_list
428
+ Azure::Compute::Mgmt::V2018_06_01::Models::GalleryList
420
429
  end
421
430
  def virtual_machine_scale_set_storage_profile
422
431
  Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetStorageProfile
423
432
  end
424
- def gallery_image_list
425
- Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageList
433
+ def gallery_disk_image
434
+ Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDiskImage
426
435
  end
427
436
  def virtual_machine_scale_set_update_storage_profile
428
437
  Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdateStorageProfile
429
438
  end
430
- def gallery_list
431
- Azure::Compute::Mgmt::V2018_06_01::Models::GalleryList
432
- end
433
- def api_entity_reference
434
- Azure::Compute::Mgmt::V2018_06_01::Models::ApiEntityReference
435
- end
436
439
  def virtual_machine_extensions_list_result
437
440
  Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionsListResult
438
441
  end
439
- def compute_operation_list_result
440
- Azure::Compute::Mgmt::V2018_06_01::Models::ComputeOperationListResult
442
+ def compute_operation_value
443
+ Azure::Compute::Mgmt::V2018_06_01::Models::ComputeOperationValue
441
444
  end
442
445
  def osdisk_image
443
446
  Azure::Compute::Mgmt::V2018_06_01::Models::OSDiskImage
444
447
  end
445
- def sub_resource
446
- Azure::Compute::Mgmt::V2018_06_01::Models::SubResource
447
- end
448
- def gallery_artifact_publishing_profile_base
449
- Azure::Compute::Mgmt::V2018_06_01::Models::GalleryArtifactPublishingProfileBase
450
- end
451
- def usage_name
452
- Azure::Compute::Mgmt::V2018_06_01::Models::UsageName
453
- end
454
- def disallowed
455
- Azure::Compute::Mgmt::V2018_06_01::Models::Disallowed
456
- end
457
- def list_usages_result
458
- Azure::Compute::Mgmt::V2018_06_01::Models::ListUsagesResult
459
- end
460
- def image_disk_reference
461
- Azure::Compute::Mgmt::V2018_06_01::Models::ImageDiskReference
448
+ def instance_view_status
449
+ Azure::Compute::Mgmt::V2018_06_01::Models::InstanceViewStatus
462
450
  end
463
451
  def gallery_artifact_source
464
452
  Azure::Compute::Mgmt::V2018_06_01::Models::GalleryArtifactSource
465
453
  end
454
+ def sku
455
+ Azure::Compute::Mgmt::V2018_06_01::Models::Sku
456
+ end
457
+ def usage
458
+ Azure::Compute::Mgmt::V2018_06_01::Models::Usage
459
+ end
466
460
  def creation_data
467
461
  Azure::Compute::Mgmt::V2018_06_01::Models::CreationData
468
462
  end
469
- def hardware_profile
470
- Azure::Compute::Mgmt::V2018_06_01::Models::HardwareProfile
463
+ def virtual_machine_capture_parameters
464
+ Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineCaptureParameters
465
+ end
466
+ def virtual_machine_scale_set_update_public_ipaddress_configuration
467
+ Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration
468
+ end
469
+ def plan
470
+ Azure::Compute::Mgmt::V2018_06_01::Models::Plan
471
471
  end
472
472
  def source_vault
473
473
  Azure::Compute::Mgmt::V2018_06_01::Models::SourceVault
474
474
  end
475
- def key_vault_secret_reference
476
- Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultSecretReference
475
+ def target_region
476
+ Azure::Compute::Mgmt::V2018_06_01::Models::TargetRegion
477
+ end
478
+ def image_purchase_plan
479
+ Azure::Compute::Mgmt::V2018_06_01::Models::ImagePurchasePlan
480
+ end
481
+ def key_vault_key_reference
482
+ Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultKeyReference
477
483
  end
478
484
  def virtual_machine_scale_set_network_configuration_dns_settings
479
485
  Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetNetworkConfigurationDnsSettings
480
486
  end
481
- def disk_encryption_settings
482
- Azure::Compute::Mgmt::V2018_06_01::Models::DiskEncryptionSettings
483
- end
484
- def image_purchase_plan
485
- Azure::Compute::Mgmt::V2018_06_01::Models::ImagePurchasePlan
487
+ def virtual_hard_disk
488
+ Azure::Compute::Mgmt::V2018_06_01::Models::VirtualHardDisk
486
489
  end
487
- def target_region
488
- Azure::Compute::Mgmt::V2018_06_01::Models::TargetRegion
490
+ def disallowed
491
+ Azure::Compute::Mgmt::V2018_06_01::Models::Disallowed
489
492
  end
490
493
  def snapshot_list
491
494
  Azure::Compute::Mgmt::V2018_06_01::Models::SnapshotList
@@ -568,8 +571,8 @@ module Azure::Compute::Profiles::Latest
568
571
  def virtual_machine_scale_set_instance_view_statuses_summary
569
572
  Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetInstanceViewStatusesSummary
570
573
  end
571
- def regional_replication_status
572
- Azure::Compute::Mgmt::V2018_06_01::Models::RegionalReplicationStatus
574
+ def gallery_image_version_storage_profile
575
+ Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionStorageProfile
573
576
  end
574
577
  def virtual_machine_scale_set_vmextensions_summary
575
578
  Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMExtensionsSummary
@@ -592,8 +595,8 @@ module Azure::Compute::Profiles::Latest
592
595
  def virtual_machine_scale_set_list_with_link_result
593
596
  Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetListWithLinkResult
594
597
  end
595
- def gallery_image_version_storage_profile
596
- Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionStorageProfile
598
+ def disk_sku
599
+ Azure::Compute::Mgmt::V2018_06_01::Models::DiskSku
597
600
  end
598
601
  def virtual_machine_scale_set_sku_capacity
599
602
  Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetSkuCapacity
@@ -616,44 +619,44 @@ module Azure::Compute::Profiles::Latest
616
619
  def api_error_base
617
620
  Azure::Compute::Mgmt::V2018_06_01::Models::ApiErrorBase
618
621
  end
619
- def virtual_machine_scale_set_osdisk
620
- Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetOSDisk
622
+ def virtual_machine_size
623
+ Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSize
621
624
  end
622
625
  def inner_error
623
626
  Azure::Compute::Mgmt::V2018_06_01::Models::InnerError
624
627
  end
625
- def gallery_image_version_list
626
- Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionList
628
+ def virtual_machine_extension_instance_view
629
+ Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionInstanceView
627
630
  end
628
631
  def api_error
629
632
  Azure::Compute::Mgmt::V2018_06_01::Models::ApiError
630
633
  end
631
- def gallery_disk_image
632
- Azure::Compute::Mgmt::V2018_06_01::Models::GalleryDiskImage
634
+ def purchase_plan
635
+ Azure::Compute::Mgmt::V2018_06_01::Models::PurchasePlan
633
636
  end
634
637
  def rollback_status_info
635
638
  Azure::Compute::Mgmt::V2018_06_01::Models::RollbackStatusInfo
636
639
  end
637
- def data_disk_image
638
- Azure::Compute::Mgmt::V2018_06_01::Models::DataDiskImage
640
+ def usage_name
641
+ Azure::Compute::Mgmt::V2018_06_01::Models::UsageName
639
642
  end
640
643
  def upgrade_operation_history_status
641
644
  Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationHistoryStatus
642
645
  end
643
- def virtual_machine_capture_parameters
644
- Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineCaptureParameters
646
+ def managed_artifact
647
+ Azure::Compute::Mgmt::V2018_06_01::Models::ManagedArtifact
645
648
  end
646
649
  def rolling_upgrade_progress_info
647
650
  Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeProgressInfo
648
651
  end
649
- def managed_artifact
650
- Azure::Compute::Mgmt::V2018_06_01::Models::ManagedArtifact
652
+ def key_vault_secret_reference
653
+ Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultSecretReference
651
654
  end
652
655
  def upgrade_operation_historical_status_info_properties
653
656
  Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationHistoricalStatusInfoProperties
654
657
  end
655
- def virtual_hard_disk
656
- Azure::Compute::Mgmt::V2018_06_01::Models::VirtualHardDisk
658
+ def diff_disk_settings
659
+ Azure::Compute::Mgmt::V2018_06_01::Models::DiffDiskSettings
657
660
  end
658
661
  def upgrade_operation_historical_status_info
659
662
  Azure::Compute::Mgmt::V2018_06_01::Models::UpgradeOperationHistoricalStatusInfo
@@ -676,6 +679,9 @@ module Azure::Compute::Profiles::Latest
676
679
  def virtual_machine_scale_set_vminstance_view
677
680
  Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMInstanceView
678
681
  end
682
+ def replication_status
683
+ Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationStatus
684
+ end
679
685
  def snapshot_sku
680
686
  Azure::Compute::Mgmt::V2018_06_01::Models::SnapshotSku
681
687
  end
@@ -691,8 +697,8 @@ module Azure::Compute::Profiles::Latest
691
697
  def rolling_upgrade_running_status
692
698
  Azure::Compute::Mgmt::V2018_06_01::Models::RollingUpgradeRunningStatus
693
699
  end
694
- def replication_status
695
- Azure::Compute::Mgmt::V2018_06_01::Models::ReplicationStatus
700
+ def regional_replication_status
701
+ Azure::Compute::Mgmt::V2018_06_01::Models::RegionalReplicationStatus
696
702
  end
697
703
  def disk_list
698
704
  Azure::Compute::Mgmt::V2018_06_01::Models::DiskList
@@ -715,26 +721,26 @@ module Azure::Compute::Profiles::Latest
715
721
  def sub_resource_read_only
716
722
  Azure::Compute::Mgmt::V2018_06_01::Models::SubResourceReadOnly
717
723
  end
718
- def virtual_machine_scale_set_managed_disk_parameters
719
- Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetManagedDiskParameters
724
+ def gallery_image_version_list
725
+ Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageVersionList
720
726
  end
721
727
  def recovery_walk_response
722
728
  Azure::Compute::Mgmt::V2018_06_01::Models::RecoveryWalkResponse
723
729
  end
724
- def virtual_machine_extension_instance_view
725
- Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineExtensionInstanceView
730
+ def gallery_artifact_publishing_profile_base
731
+ Azure::Compute::Mgmt::V2018_06_01::Models::GalleryArtifactPublishingProfileBase
726
732
  end
727
733
  def disk_update
728
734
  Azure::Compute::Mgmt::V2018_06_01::Models::DiskUpdate
729
735
  end
730
- def usage
731
- Azure::Compute::Mgmt::V2018_06_01::Models::Usage
736
+ def list_usages_result
737
+ Azure::Compute::Mgmt::V2018_06_01::Models::ListUsagesResult
732
738
  end
733
739
  def encryption_settings
734
740
  Azure::Compute::Mgmt::V2018_06_01::Models::EncryptionSettings
735
741
  end
736
- def key_vault_key_reference
737
- Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultKeyReference
742
+ def disk_encryption_settings
743
+ Azure::Compute::Mgmt::V2018_06_01::Models::DiskEncryptionSettings
738
744
  end
739
745
  def log_analytics_input_base
740
746
  Azure::Compute::Mgmt::V2018_06_01::Models::LogAnalyticsInputBase
@@ -763,20 +769,20 @@ module Azure::Compute::Profiles::Latest
763
769
  def run_command_input
764
770
  Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandInput
765
771
  end
766
- def disk_sku
767
- Azure::Compute::Mgmt::V2018_06_01::Models::DiskSku
772
+ def image_disk_reference
773
+ Azure::Compute::Mgmt::V2018_06_01::Models::ImageDiskReference
768
774
  end
769
775
  def run_command_parameter_definition
770
776
  Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandParameterDefinition
771
777
  end
772
- def virtual_machine_size
773
- Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineSize
778
+ def gallery_image_list
779
+ Azure::Compute::Mgmt::V2018_06_01::Models::GalleryImageList
774
780
  end
775
781
  def run_command_document_base
776
782
  Azure::Compute::Mgmt::V2018_06_01::Models::RunCommandDocumentBase
777
783
  end
778
- def plan
779
- Azure::Compute::Mgmt::V2018_06_01::Models::Plan
784
+ def hardware_profile
785
+ Azure::Compute::Mgmt::V2018_06_01::Models::HardwareProfile
780
786
  end
781
787
  def key_vault_and_key_reference
782
788
  Azure::Compute::Mgmt::V2018_06_01::Models::KeyVaultAndKeyReference
@@ -817,8 +823,8 @@ module Azure::Compute::Profiles::Latest
817
823
  def resource_range
818
824
  Azure::Compute::Mgmt::V2018_06_01::Models::ResourceRange
819
825
  end
820
- def purchase_plan
821
- Azure::Compute::Mgmt::V2018_06_01::Models::PurchasePlan
826
+ def data_disk_image
827
+ Azure::Compute::Mgmt::V2018_06_01::Models::DataDiskImage
822
828
  end
823
829
  def recommended_machine_configuration
824
830
  Azure::Compute::Mgmt::V2018_06_01::Models::RecommendedMachineConfiguration
@@ -931,6 +937,9 @@ module Azure::Compute::Profiles::Latest
931
937
  def status_level_types
932
938
  Azure::Compute::Mgmt::V2018_06_01::Models::StatusLevelTypes
933
939
  end
940
+ def availability_set_sku_types
941
+ Azure::Compute::Mgmt::V2018_06_01::Models::AvailabilitySetSkuTypes
942
+ end
934
943
  def operating_system_types
935
944
  Azure::Compute::Mgmt::V2018_06_01::Models::OperatingSystemTypes
936
945
  end
@@ -946,6 +955,9 @@ module Azure::Compute::Profiles::Latest
946
955
  def storage_account_types
947
956
  Azure::Compute::Mgmt::V2018_06_01::Models::StorageAccountTypes
948
957
  end
958
+ def diff_disk_options
959
+ Azure::Compute::Mgmt::V2018_06_01::Models::DiffDiskOptions
960
+ end
949
961
  def pass_names
950
962
  Azure::Compute::Mgmt::V2018_06_01::Models::PassNames
951
963
  end