azure_mgmt_compute 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/azure_mgmt_compute.gemspec +4 -4
- data/lib/azure_mgmt_compute.rb +3 -138
- data/lib/generated/azure_mgmt_compute.rb +128 -0
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/availability_sets.rb +24 -22
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/compute_management_client.rb +12 -12
- data/lib/generated/azure_mgmt_compute/models/additional_unattend_content.rb +88 -0
- data/lib/generated/azure_mgmt_compute/models/api_entity_reference.rb +45 -0
- data/lib/generated/azure_mgmt_compute/models/api_error.rb +93 -0
- data/lib/generated/azure_mgmt_compute/models/api_error_base.rb +64 -0
- data/lib/generated/azure_mgmt_compute/models/availability_set.rb +136 -0
- data/lib/generated/azure_mgmt_compute/models/availability_set_list_result.rb +52 -0
- data/lib/generated/azure_mgmt_compute/models/boot_diagnostics.rb +56 -0
- data/lib/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +54 -0
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/caching_types.rb +0 -0
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/component_names.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +44 -0
- data/lib/generated/azure_mgmt_compute/models/data_disk.rb +114 -0
- data/lib/generated/azure_mgmt_compute/models/data_disk_image.rb +48 -0
- data/lib/generated/azure_mgmt_compute/models/diagnostics_profile.rb +45 -0
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/disk_create_option_types.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +69 -0
- data/lib/generated/azure_mgmt_compute/models/disk_instance_view.rb +62 -0
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/hardware_profile.rb +20 -35
- data/lib/generated/azure_mgmt_compute/models/image_reference.rb +76 -0
- data/lib/generated/azure_mgmt_compute/models/inner_error.rb +54 -0
- data/lib/generated/azure_mgmt_compute/models/instance_view_status.rb +87 -0
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/instance_view_types.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +56 -0
- data/lib/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +56 -0
- data/lib/generated/azure_mgmt_compute/models/linux_configuration.rb +56 -0
- data/lib/generated/azure_mgmt_compute/models/list_usages_result.rb +95 -0
- data/lib/generated/azure_mgmt_compute/models/network_interface_reference.rb +51 -0
- data/lib/generated/azure_mgmt_compute/models/network_profile.rb +52 -0
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/operating_system_types.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/osdisk.rb +127 -0
- data/lib/generated/azure_mgmt_compute/models/osdisk_image.rb +46 -0
- data/lib/generated/azure_mgmt_compute/models/osprofile.rb +116 -0
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/pass_names.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/plan.rb +74 -0
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/protocol_types.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/purchase_plan.rb +65 -0
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/setting_names.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/sku.rb +64 -0
- data/lib/generated/azure_mgmt_compute/models/ssh_configuration.rb +53 -0
- data/lib/generated/azure_mgmt_compute/models/ssh_public_key.rb +59 -0
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/status_level_types.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/storage_profile.rb +74 -0
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/upgrade_mode.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/upgrade_policy.rb +46 -0
- data/lib/generated/azure_mgmt_compute/models/usage.rb +78 -0
- data/lib/generated/azure_mgmt_compute/models/usage_name.rb +54 -0
- data/lib/generated/azure_mgmt_compute/models/vault_certificate.rb +57 -0
- data/lib/generated/azure_mgmt_compute/models/vault_secret_group.rb +65 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +45 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine.rb +224 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +81 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +65 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +51 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +175 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +67 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +134 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +101 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_image.rb +109 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +78 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +142 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +135 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +124 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +53 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +85 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +56 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +117 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +95 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +97 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +97 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +82 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +53 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +111 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +116 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +70 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +80 -0
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/virtual_machine_scale_set_sku_scale_type.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +56 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +248 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +66 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +51 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +52 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +142 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +96 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +82 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_size.rb +95 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +52 -0
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/models/virtual_machine_size_types.rb +0 -0
- data/lib/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +58 -0
- data/lib/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +53 -0
- data/lib/generated/azure_mgmt_compute/models/win_rmlistener.rb +58 -0
- data/lib/generated/azure_mgmt_compute/models/windows_configuration.rb +98 -0
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/module_definition.rb +0 -0
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/usage_operations.rb +32 -11
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/version.rb +1 -1
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/virtual_machine_extension_images.rb +40 -26
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/virtual_machine_extensions.rb +59 -31
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/virtual_machine_images.rb +76 -48
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/virtual_machine_scale_set_vms.rb +169 -41
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/virtual_machine_scale_sets.rb +341 -125
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/virtual_machine_sizes.rb +4 -4
- data/lib/{azure_mgmt_compute → generated/azure_mgmt_compute}/virtual_machines.rb +340 -84
- metadata +126 -142
- data/lib/azure_mgmt_compute/models/additional_unattend_content.rb +0 -105
- data/lib/azure_mgmt_compute/models/api_entity_reference.rb +0 -57
- data/lib/azure_mgmt_compute/models/api_error.rb +0 -119
- data/lib/azure_mgmt_compute/models/api_error_base.rb +0 -74
- data/lib/azure_mgmt_compute/models/availability_set.rb +0 -92
- data/lib/azure_mgmt_compute/models/availability_set_list_result.rb +0 -77
- data/lib/azure_mgmt_compute/models/availability_set_properties.rb +0 -128
- data/lib/azure_mgmt_compute/models/boot_diagnostics.rb +0 -67
- data/lib/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +0 -65
- data/lib/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +0 -56
- data/lib/azure_mgmt_compute/models/data_disk.rb +0 -143
- data/lib/azure_mgmt_compute/models/data_disk_image.rb +0 -60
- data/lib/azure_mgmt_compute/models/diagnostics_profile.rb +0 -62
- data/lib/azure_mgmt_compute/models/disk_encryption_settings.rb +0 -90
- data/lib/azure_mgmt_compute/models/disk_instance_view.rb +0 -86
- data/lib/azure_mgmt_compute/models/image_reference.rb +0 -85
- data/lib/azure_mgmt_compute/models/inner_error.rb +0 -66
- data/lib/azure_mgmt_compute/models/instance_view_status.rb +0 -100
- data/lib/azure_mgmt_compute/models/key_vault_key_reference.rb +0 -74
- data/lib/azure_mgmt_compute/models/key_vault_secret_reference.rb +0 -75
- data/lib/azure_mgmt_compute/models/linux_configuration.rb +0 -73
- data/lib/azure_mgmt_compute/models/list_usages_result.rb +0 -76
- data/lib/azure_mgmt_compute/models/network_interface_reference.rb +0 -68
- data/lib/azure_mgmt_compute/models/network_interface_reference_properties.rb +0 -57
- data/lib/azure_mgmt_compute/models/network_profile.rb +0 -77
- data/lib/azure_mgmt_compute/models/osdisk.rb +0 -163
- data/lib/azure_mgmt_compute/models/osdisk_image.rb +0 -61
- data/lib/azure_mgmt_compute/models/osprofile.rb +0 -147
- data/lib/azure_mgmt_compute/models/plan.rb +0 -83
- data/lib/azure_mgmt_compute/models/purchase_plan.rb +0 -77
- data/lib/azure_mgmt_compute/models/sku.rb +0 -75
- data/lib/azure_mgmt_compute/models/ssh_configuration.rb +0 -77
- data/lib/azure_mgmt_compute/models/ssh_public_key.rb +0 -70
- data/lib/azure_mgmt_compute/models/storage_profile.rb +0 -108
- data/lib/azure_mgmt_compute/models/upgrade_policy.rb +0 -60
- data/lib/azure_mgmt_compute/models/usage.rb +0 -96
- data/lib/azure_mgmt_compute/models/usage_name.rb +0 -66
- data/lib/azure_mgmt_compute/models/vault_certificate.rb +0 -68
- data/lib/azure_mgmt_compute/models/vault_secret_group.rb +0 -94
- data/lib/azure_mgmt_compute/models/virtual_hard_disk.rb +0 -57
- data/lib/azure_mgmt_compute/models/virtual_machine.rb +0 -140
- data/lib/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +0 -117
- data/lib/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +0 -78
- data/lib/azure_mgmt_compute/models/virtual_machine_capture_result.rb +0 -68
- data/lib/azure_mgmt_compute/models/virtual_machine_capture_result_properties.rb +0 -56
- data/lib/azure_mgmt_compute/models/virtual_machine_extension.rb +0 -92
- data/lib/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +0 -83
- data/lib/azure_mgmt_compute/models/virtual_machine_extension_image.rb +0 -92
- data/lib/azure_mgmt_compute/models/virtual_machine_extension_image_properties.rb +0 -102
- data/lib/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +0 -137
- data/lib/azure_mgmt_compute/models/virtual_machine_extension_properties.rb +0 -141
- data/lib/azure_mgmt_compute/models/virtual_machine_image.rb +0 -86
- data/lib/azure_mgmt_compute/models/virtual_machine_image_properties.rb +0 -108
- data/lib/azure_mgmt_compute/models/virtual_machine_image_resource.rb +0 -83
- data/lib/azure_mgmt_compute/models/virtual_machine_instance_view.rb +0 -202
- data/lib/azure_mgmt_compute/models/virtual_machine_list_result.rb +0 -87
- data/lib/azure_mgmt_compute/models/virtual_machine_properties.rb +0 -189
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set.rb +0 -108
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +0 -77
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +0 -77
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_extension_properties.rb +0 -116
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +0 -125
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +0 -79
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +0 -78
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration_properties.rb +0 -158
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +0 -77
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +0 -77
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +0 -88
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +0 -80
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_properties.rb +0 -89
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +0 -77
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +0 -129
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +0 -147
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_properties.rb +0 -99
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +0 -88
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +0 -90
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +0 -78
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +0 -165
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +0 -87
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +0 -57
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +0 -59
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +0 -202
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +0 -77
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +0 -114
- data/lib/azure_mgmt_compute/models/virtual_machine_scale_set_vmproperties.rb +0 -190
- data/lib/azure_mgmt_compute/models/virtual_machine_size.rb +0 -109
- data/lib/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +0 -77
- data/lib/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +0 -68
- data/lib/azure_mgmt_compute/models/win_rmconfiguration.rb +0 -77
- data/lib/azure_mgmt_compute/models/win_rmlistener.rb +0 -71
- data/lib/azure_mgmt_compute/models/windows_configuration.rb +0 -124
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
Nzc5MTg4MjRhNzU2NmQ3ZTVmMGU0YWU1ZGNlODk2MWRiZTViMTIxMA==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 972f98cda426ced68d75cb8accd4949af68b850d
|
4
|
+
data.tar.gz: d1145374dd2bb9a192d1c3c398b4ffefe3510a97
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
ZDFkMzU0Y2FlN2FkYjJjZjg2MTNhZWI3ZDEyOWJhNThlNmIyMWFkZjIxZWJm
|
11
|
-
MzY1ZTg0MzMzYTFmNDk1M2Y2NjVhYjBjZTQ3M2IzYWZiM2QxYWI=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
N2M1NzA2YzU5ZmEzZDhmMzg0NTNjYTYwN2UwNTU1MWZlMmNjZTUyMGI5YzJm
|
14
|
-
M2U0MmVlNDgxNjY5YmZkNDc3MWZiMDM1ZWRjOGYzMDkzMDJiYzk0NDljMTZm
|
15
|
-
N2U1ZTVhYjYxMWJmNzgyMzEyZmViMzMxNTUyZTAxNDBiYTAzZmU=
|
6
|
+
metadata.gz: 0acca7c968e8029ec8ec7304b68dab0151c6113845669bd0f4831cf87d7f0c5196df7514907dfc3d3a767446649964f74af6d2219741c8232d3f1edafd1c493c
|
7
|
+
data.tar.gz: b99878922af047b1130bd1aa5803529928c5d3dde8d62c32c1dcf58214b1ce881083bb9f116c83ab5fc869f83849cb947bc69c62415e45cac4086e3e6917328b
|
data/azure_mgmt_compute.gemspec
CHANGED
@@ -5,8 +5,8 @@
|
|
5
5
|
lib = File.expand_path('../lib', __FILE__)
|
6
6
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
7
7
|
|
8
|
-
require 'azure_mgmt_compute/module_definition'
|
9
|
-
require 'azure_mgmt_compute/version'
|
8
|
+
require 'generated/azure_mgmt_compute/module_definition'
|
9
|
+
require 'generated/azure_mgmt_compute/version'
|
10
10
|
|
11
11
|
Gem::Specification.new do |spec|
|
12
12
|
spec.name = 'azure_mgmt_compute'
|
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
|
|
15
15
|
spec.email = 'azrubyteam@microsoft.com'
|
16
16
|
spec.description = 'Microsoft Azure Compute Management Client Library for Ruby'
|
17
17
|
spec.summary = 'Official Ruby client library to consume Microsoft Azure Compute Management services.'
|
18
|
-
spec.homepage = '
|
18
|
+
spec.homepage = 'https://aka.ms/azure-sdk-for-ruby'
|
19
19
|
spec.license = 'MIT'
|
20
20
|
|
21
21
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
@@ -28,5 +28,5 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.add_development_dependency 'rspec', '~> 3'
|
29
29
|
spec.add_development_dependency 'dotenv', '~> 2'
|
30
30
|
|
31
|
-
spec.add_runtime_dependency 'ms_rest_azure', '~> 0.
|
31
|
+
spec.add_runtime_dependency 'ms_rest_azure', '~> 0.3.0'
|
32
32
|
end
|
data/lib/azure_mgmt_compute.rb
CHANGED
@@ -1,140 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
#
|
3
|
-
#
|
4
|
-
# regenerated.
|
2
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
# Licensed under the MIT License. See License.txt in the project root for license information.
|
5
4
|
|
6
|
-
require '
|
7
|
-
require 'cgi'
|
8
|
-
require 'date'
|
9
|
-
require 'json'
|
10
|
-
require 'base64'
|
11
|
-
require 'erb'
|
12
|
-
require 'securerandom'
|
13
|
-
require 'time'
|
14
|
-
require 'timeliness'
|
15
|
-
require 'faraday'
|
16
|
-
require 'faraday-cookie_jar'
|
17
|
-
require 'concurrent'
|
18
|
-
require 'ms_rest'
|
19
|
-
require 'azure_mgmt_compute/module_definition'
|
20
|
-
require 'ms_rest_azure'
|
21
|
-
|
22
|
-
module Azure::ARM::Compute
|
23
|
-
autoload :AvailabilitySets, 'azure_mgmt_compute/availability_sets.rb'
|
24
|
-
autoload :VirtualMachineExtensionImages, 'azure_mgmt_compute/virtual_machine_extension_images.rb'
|
25
|
-
autoload :VirtualMachineExtensions, 'azure_mgmt_compute/virtual_machine_extensions.rb'
|
26
|
-
autoload :VirtualMachineImages, 'azure_mgmt_compute/virtual_machine_images.rb'
|
27
|
-
autoload :UsageOperations, 'azure_mgmt_compute/usage_operations.rb'
|
28
|
-
autoload :VirtualMachineSizes, 'azure_mgmt_compute/virtual_machine_sizes.rb'
|
29
|
-
autoload :VirtualMachines, 'azure_mgmt_compute/virtual_machines.rb'
|
30
|
-
autoload :VirtualMachineScaleSets, 'azure_mgmt_compute/virtual_machine_scale_sets.rb'
|
31
|
-
autoload :VirtualMachineScaleSetVMs, 'azure_mgmt_compute/virtual_machine_scale_set_vms.rb'
|
32
|
-
autoload :ComputeManagementClient, 'azure_mgmt_compute/compute_management_client.rb'
|
33
|
-
|
34
|
-
module Models
|
35
|
-
autoload :InstanceViewStatus, 'azure_mgmt_compute/models/instance_view_status.rb'
|
36
|
-
autoload :AvailabilitySetProperties, 'azure_mgmt_compute/models/availability_set_properties.rb'
|
37
|
-
autoload :AvailabilitySetListResult, 'azure_mgmt_compute/models/availability_set_list_result.rb'
|
38
|
-
autoload :VirtualMachineSize, 'azure_mgmt_compute/models/virtual_machine_size.rb'
|
39
|
-
autoload :VirtualMachineSizeListResult, 'azure_mgmt_compute/models/virtual_machine_size_list_result.rb'
|
40
|
-
autoload :VirtualMachineExtensionImageProperties, 'azure_mgmt_compute/models/virtual_machine_extension_image_properties.rb'
|
41
|
-
autoload :VirtualMachineExtensionInstanceView, 'azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb'
|
42
|
-
autoload :VirtualMachineExtensionProperties, 'azure_mgmt_compute/models/virtual_machine_extension_properties.rb'
|
43
|
-
autoload :PurchasePlan, 'azure_mgmt_compute/models/purchase_plan.rb'
|
44
|
-
autoload :OSDiskImage, 'azure_mgmt_compute/models/osdisk_image.rb'
|
45
|
-
autoload :DataDiskImage, 'azure_mgmt_compute/models/data_disk_image.rb'
|
46
|
-
autoload :VirtualMachineImageProperties, 'azure_mgmt_compute/models/virtual_machine_image_properties.rb'
|
47
|
-
autoload :UsageName, 'azure_mgmt_compute/models/usage_name.rb'
|
48
|
-
autoload :Usage, 'azure_mgmt_compute/models/usage.rb'
|
49
|
-
autoload :ListUsagesResult, 'azure_mgmt_compute/models/list_usages_result.rb'
|
50
|
-
autoload :VirtualMachineCaptureParameters, 'azure_mgmt_compute/models/virtual_machine_capture_parameters.rb'
|
51
|
-
autoload :VirtualMachineCaptureResultProperties, 'azure_mgmt_compute/models/virtual_machine_capture_result_properties.rb'
|
52
|
-
autoload :Plan, 'azure_mgmt_compute/models/plan.rb'
|
53
|
-
autoload :HardwareProfile, 'azure_mgmt_compute/models/hardware_profile.rb'
|
54
|
-
autoload :ImageReference, 'azure_mgmt_compute/models/image_reference.rb'
|
55
|
-
autoload :KeyVaultSecretReference, 'azure_mgmt_compute/models/key_vault_secret_reference.rb'
|
56
|
-
autoload :KeyVaultKeyReference, 'azure_mgmt_compute/models/key_vault_key_reference.rb'
|
57
|
-
autoload :DiskEncryptionSettings, 'azure_mgmt_compute/models/disk_encryption_settings.rb'
|
58
|
-
autoload :VirtualHardDisk, 'azure_mgmt_compute/models/virtual_hard_disk.rb'
|
59
|
-
autoload :OSDisk, 'azure_mgmt_compute/models/osdisk.rb'
|
60
|
-
autoload :DataDisk, 'azure_mgmt_compute/models/data_disk.rb'
|
61
|
-
autoload :StorageProfile, 'azure_mgmt_compute/models/storage_profile.rb'
|
62
|
-
autoload :AdditionalUnattendContent, 'azure_mgmt_compute/models/additional_unattend_content.rb'
|
63
|
-
autoload :WinRMListener, 'azure_mgmt_compute/models/win_rmlistener.rb'
|
64
|
-
autoload :WinRMConfiguration, 'azure_mgmt_compute/models/win_rmconfiguration.rb'
|
65
|
-
autoload :WindowsConfiguration, 'azure_mgmt_compute/models/windows_configuration.rb'
|
66
|
-
autoload :SshPublicKey, 'azure_mgmt_compute/models/ssh_public_key.rb'
|
67
|
-
autoload :SshConfiguration, 'azure_mgmt_compute/models/ssh_configuration.rb'
|
68
|
-
autoload :LinuxConfiguration, 'azure_mgmt_compute/models/linux_configuration.rb'
|
69
|
-
autoload :VaultCertificate, 'azure_mgmt_compute/models/vault_certificate.rb'
|
70
|
-
autoload :VaultSecretGroup, 'azure_mgmt_compute/models/vault_secret_group.rb'
|
71
|
-
autoload :OSProfile, 'azure_mgmt_compute/models/osprofile.rb'
|
72
|
-
autoload :NetworkInterfaceReferenceProperties, 'azure_mgmt_compute/models/network_interface_reference_properties.rb'
|
73
|
-
autoload :NetworkProfile, 'azure_mgmt_compute/models/network_profile.rb'
|
74
|
-
autoload :BootDiagnostics, 'azure_mgmt_compute/models/boot_diagnostics.rb'
|
75
|
-
autoload :DiagnosticsProfile, 'azure_mgmt_compute/models/diagnostics_profile.rb'
|
76
|
-
autoload :VirtualMachineExtensionHandlerInstanceView, 'azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb'
|
77
|
-
autoload :VirtualMachineAgentInstanceView, 'azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb'
|
78
|
-
autoload :DiskInstanceView, 'azure_mgmt_compute/models/disk_instance_view.rb'
|
79
|
-
autoload :BootDiagnosticsInstanceView, 'azure_mgmt_compute/models/boot_diagnostics_instance_view.rb'
|
80
|
-
autoload :VirtualMachineInstanceView, 'azure_mgmt_compute/models/virtual_machine_instance_view.rb'
|
81
|
-
autoload :VirtualMachineProperties, 'azure_mgmt_compute/models/virtual_machine_properties.rb'
|
82
|
-
autoload :VirtualMachineListResult, 'azure_mgmt_compute/models/virtual_machine_list_result.rb'
|
83
|
-
autoload :Sku, 'azure_mgmt_compute/models/sku.rb'
|
84
|
-
autoload :UpgradePolicy, 'azure_mgmt_compute/models/upgrade_policy.rb'
|
85
|
-
autoload :VirtualMachineScaleSetOSProfile, 'azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb'
|
86
|
-
autoload :VirtualMachineScaleSetOSDisk, 'azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb'
|
87
|
-
autoload :VirtualMachineScaleSetStorageProfile, 'azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb'
|
88
|
-
autoload :ApiEntityReference, 'azure_mgmt_compute/models/api_entity_reference.rb'
|
89
|
-
autoload :VirtualMachineScaleSetIPConfigurationProperties, 'azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration_properties.rb'
|
90
|
-
autoload :VirtualMachineScaleSetNetworkConfigurationProperties, 'azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_properties.rb'
|
91
|
-
autoload :VirtualMachineScaleSetNetworkProfile, 'azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb'
|
92
|
-
autoload :VirtualMachineScaleSetExtensionProperties, 'azure_mgmt_compute/models/virtual_machine_scale_set_extension_properties.rb'
|
93
|
-
autoload :VirtualMachineScaleSetExtensionProfile, 'azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb'
|
94
|
-
autoload :VirtualMachineScaleSetVMProfile, 'azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb'
|
95
|
-
autoload :VirtualMachineScaleSetProperties, 'azure_mgmt_compute/models/virtual_machine_scale_set_properties.rb'
|
96
|
-
autoload :VirtualMachineScaleSetVMInstanceIDs, 'azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb'
|
97
|
-
autoload :VirtualMachineScaleSetVMInstanceRequiredIDs, 'azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb'
|
98
|
-
autoload :VirtualMachineStatusCodeCount, 'azure_mgmt_compute/models/virtual_machine_status_code_count.rb'
|
99
|
-
autoload :VirtualMachineScaleSetInstanceViewStatusesSummary, 'azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb'
|
100
|
-
autoload :VirtualMachineScaleSetVMExtensionsSummary, 'azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb'
|
101
|
-
autoload :VirtualMachineScaleSetInstanceView, 'azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb'
|
102
|
-
autoload :VirtualMachineScaleSetListResult, 'azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb'
|
103
|
-
autoload :VirtualMachineScaleSetListWithLinkResult, 'azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb'
|
104
|
-
autoload :VirtualMachineScaleSetSkuCapacity, 'azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb'
|
105
|
-
autoload :VirtualMachineScaleSetSku, 'azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb'
|
106
|
-
autoload :VirtualMachineScaleSetListSkusResult, 'azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb'
|
107
|
-
autoload :VirtualMachineScaleSetVMProperties, 'azure_mgmt_compute/models/virtual_machine_scale_set_vmproperties.rb'
|
108
|
-
autoload :VirtualMachineScaleSetVMInstanceView, 'azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb'
|
109
|
-
autoload :VirtualMachineScaleSetVMListResult, 'azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb'
|
110
|
-
autoload :ApiErrorBase, 'azure_mgmt_compute/models/api_error_base.rb'
|
111
|
-
autoload :InnerError, 'azure_mgmt_compute/models/inner_error.rb'
|
112
|
-
autoload :ApiError, 'azure_mgmt_compute/models/api_error.rb'
|
113
|
-
autoload :ComputeLongRunningOperationProperties, 'azure_mgmt_compute/models/compute_long_running_operation_properties.rb'
|
114
|
-
autoload :AvailabilitySet, 'azure_mgmt_compute/models/availability_set.rb'
|
115
|
-
autoload :VirtualMachineExtensionImage, 'azure_mgmt_compute/models/virtual_machine_extension_image.rb'
|
116
|
-
autoload :VirtualMachineImageResource, 'azure_mgmt_compute/models/virtual_machine_image_resource.rb'
|
117
|
-
autoload :VirtualMachineExtension, 'azure_mgmt_compute/models/virtual_machine_extension.rb'
|
118
|
-
autoload :VirtualMachineCaptureResult, 'azure_mgmt_compute/models/virtual_machine_capture_result.rb'
|
119
|
-
autoload :NetworkInterfaceReference, 'azure_mgmt_compute/models/network_interface_reference.rb'
|
120
|
-
autoload :VirtualMachine, 'azure_mgmt_compute/models/virtual_machine.rb'
|
121
|
-
autoload :VirtualMachineScaleSetIPConfiguration, 'azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb'
|
122
|
-
autoload :VirtualMachineScaleSetNetworkConfiguration, 'azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb'
|
123
|
-
autoload :VirtualMachineScaleSetExtension, 'azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb'
|
124
|
-
autoload :VirtualMachineScaleSet, 'azure_mgmt_compute/models/virtual_machine_scale_set.rb'
|
125
|
-
autoload :VirtualMachineScaleSetVM, 'azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb'
|
126
|
-
autoload :VirtualMachineImage, 'azure_mgmt_compute/models/virtual_machine_image.rb'
|
127
|
-
autoload :StatusLevelTypes, 'azure_mgmt_compute/models/status_level_types.rb'
|
128
|
-
autoload :OperatingSystemTypes, 'azure_mgmt_compute/models/operating_system_types.rb'
|
129
|
-
autoload :VirtualMachineSizeTypes, 'azure_mgmt_compute/models/virtual_machine_size_types.rb'
|
130
|
-
autoload :CachingTypes, 'azure_mgmt_compute/models/caching_types.rb'
|
131
|
-
autoload :DiskCreateOptionTypes, 'azure_mgmt_compute/models/disk_create_option_types.rb'
|
132
|
-
autoload :PassNames, 'azure_mgmt_compute/models/pass_names.rb'
|
133
|
-
autoload :ComponentNames, 'azure_mgmt_compute/models/component_names.rb'
|
134
|
-
autoload :SettingNames, 'azure_mgmt_compute/models/setting_names.rb'
|
135
|
-
autoload :ProtocolTypes, 'azure_mgmt_compute/models/protocol_types.rb'
|
136
|
-
autoload :UpgradeMode, 'azure_mgmt_compute/models/upgrade_mode.rb'
|
137
|
-
autoload :VirtualMachineScaleSetSkuScaleType, 'azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb'
|
138
|
-
autoload :InstanceViewTypes, 'azure_mgmt_compute/models/instance_view_types.rb'
|
139
|
-
end
|
140
|
-
end
|
5
|
+
require 'generated/azure_mgmt_compute'
|
@@ -0,0 +1,128 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
require 'uri'
|
7
|
+
require 'cgi'
|
8
|
+
require 'date'
|
9
|
+
require 'json'
|
10
|
+
require 'base64'
|
11
|
+
require 'erb'
|
12
|
+
require 'securerandom'
|
13
|
+
require 'time'
|
14
|
+
require 'timeliness'
|
15
|
+
require 'faraday'
|
16
|
+
require 'faraday-cookie_jar'
|
17
|
+
require 'concurrent'
|
18
|
+
require 'ms_rest'
|
19
|
+
require 'generated/azure_mgmt_compute/module_definition'
|
20
|
+
require 'ms_rest_azure'
|
21
|
+
|
22
|
+
module Azure::ARM::Compute
|
23
|
+
autoload :AvailabilitySets, 'generated/azure_mgmt_compute/availability_sets.rb'
|
24
|
+
autoload :VirtualMachineExtensionImages, 'generated/azure_mgmt_compute/virtual_machine_extension_images.rb'
|
25
|
+
autoload :VirtualMachineExtensions, 'generated/azure_mgmt_compute/virtual_machine_extensions.rb'
|
26
|
+
autoload :VirtualMachineImages, 'generated/azure_mgmt_compute/virtual_machine_images.rb'
|
27
|
+
autoload :UsageOperations, 'generated/azure_mgmt_compute/usage_operations.rb'
|
28
|
+
autoload :VirtualMachineSizes, 'generated/azure_mgmt_compute/virtual_machine_sizes.rb'
|
29
|
+
autoload :VirtualMachines, 'generated/azure_mgmt_compute/virtual_machines.rb'
|
30
|
+
autoload :VirtualMachineScaleSets, 'generated/azure_mgmt_compute/virtual_machine_scale_sets.rb'
|
31
|
+
autoload :VirtualMachineScaleSetVMs, 'generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb'
|
32
|
+
autoload :ComputeManagementClient, 'generated/azure_mgmt_compute/compute_management_client.rb'
|
33
|
+
|
34
|
+
module Models
|
35
|
+
autoload :InstanceViewStatus, 'generated/azure_mgmt_compute/models/instance_view_status.rb'
|
36
|
+
autoload :AvailabilitySetListResult, 'generated/azure_mgmt_compute/models/availability_set_list_result.rb'
|
37
|
+
autoload :VirtualMachineSize, 'generated/azure_mgmt_compute/models/virtual_machine_size.rb'
|
38
|
+
autoload :VirtualMachineSizeListResult, 'generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb'
|
39
|
+
autoload :VirtualMachineExtensionInstanceView, 'generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb'
|
40
|
+
autoload :PurchasePlan, 'generated/azure_mgmt_compute/models/purchase_plan.rb'
|
41
|
+
autoload :OSDiskImage, 'generated/azure_mgmt_compute/models/osdisk_image.rb'
|
42
|
+
autoload :DataDiskImage, 'generated/azure_mgmt_compute/models/data_disk_image.rb'
|
43
|
+
autoload :UsageName, 'generated/azure_mgmt_compute/models/usage_name.rb'
|
44
|
+
autoload :Usage, 'generated/azure_mgmt_compute/models/usage.rb'
|
45
|
+
autoload :ListUsagesResult, 'generated/azure_mgmt_compute/models/list_usages_result.rb'
|
46
|
+
autoload :VirtualMachineCaptureParameters, 'generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb'
|
47
|
+
autoload :Plan, 'generated/azure_mgmt_compute/models/plan.rb'
|
48
|
+
autoload :HardwareProfile, 'generated/azure_mgmt_compute/models/hardware_profile.rb'
|
49
|
+
autoload :ImageReference, 'generated/azure_mgmt_compute/models/image_reference.rb'
|
50
|
+
autoload :KeyVaultSecretReference, 'generated/azure_mgmt_compute/models/key_vault_secret_reference.rb'
|
51
|
+
autoload :KeyVaultKeyReference, 'generated/azure_mgmt_compute/models/key_vault_key_reference.rb'
|
52
|
+
autoload :DiskEncryptionSettings, 'generated/azure_mgmt_compute/models/disk_encryption_settings.rb'
|
53
|
+
autoload :VirtualHardDisk, 'generated/azure_mgmt_compute/models/virtual_hard_disk.rb'
|
54
|
+
autoload :OSDisk, 'generated/azure_mgmt_compute/models/osdisk.rb'
|
55
|
+
autoload :DataDisk, 'generated/azure_mgmt_compute/models/data_disk.rb'
|
56
|
+
autoload :StorageProfile, 'generated/azure_mgmt_compute/models/storage_profile.rb'
|
57
|
+
autoload :AdditionalUnattendContent, 'generated/azure_mgmt_compute/models/additional_unattend_content.rb'
|
58
|
+
autoload :WinRMListener, 'generated/azure_mgmt_compute/models/win_rmlistener.rb'
|
59
|
+
autoload :WinRMConfiguration, 'generated/azure_mgmt_compute/models/win_rmconfiguration.rb'
|
60
|
+
autoload :WindowsConfiguration, 'generated/azure_mgmt_compute/models/windows_configuration.rb'
|
61
|
+
autoload :SshPublicKey, 'generated/azure_mgmt_compute/models/ssh_public_key.rb'
|
62
|
+
autoload :SshConfiguration, 'generated/azure_mgmt_compute/models/ssh_configuration.rb'
|
63
|
+
autoload :LinuxConfiguration, 'generated/azure_mgmt_compute/models/linux_configuration.rb'
|
64
|
+
autoload :VaultCertificate, 'generated/azure_mgmt_compute/models/vault_certificate.rb'
|
65
|
+
autoload :VaultSecretGroup, 'generated/azure_mgmt_compute/models/vault_secret_group.rb'
|
66
|
+
autoload :OSProfile, 'generated/azure_mgmt_compute/models/osprofile.rb'
|
67
|
+
autoload :NetworkProfile, 'generated/azure_mgmt_compute/models/network_profile.rb'
|
68
|
+
autoload :BootDiagnostics, 'generated/azure_mgmt_compute/models/boot_diagnostics.rb'
|
69
|
+
autoload :DiagnosticsProfile, 'generated/azure_mgmt_compute/models/diagnostics_profile.rb'
|
70
|
+
autoload :VirtualMachineExtensionHandlerInstanceView, 'generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb'
|
71
|
+
autoload :VirtualMachineAgentInstanceView, 'generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb'
|
72
|
+
autoload :DiskInstanceView, 'generated/azure_mgmt_compute/models/disk_instance_view.rb'
|
73
|
+
autoload :BootDiagnosticsInstanceView, 'generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb'
|
74
|
+
autoload :VirtualMachineInstanceView, 'generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb'
|
75
|
+
autoload :VirtualMachineListResult, 'generated/azure_mgmt_compute/models/virtual_machine_list_result.rb'
|
76
|
+
autoload :Sku, 'generated/azure_mgmt_compute/models/sku.rb'
|
77
|
+
autoload :UpgradePolicy, 'generated/azure_mgmt_compute/models/upgrade_policy.rb'
|
78
|
+
autoload :VirtualMachineScaleSetOSProfile, 'generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb'
|
79
|
+
autoload :VirtualMachineScaleSetOSDisk, 'generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb'
|
80
|
+
autoload :VirtualMachineScaleSetStorageProfile, 'generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb'
|
81
|
+
autoload :ApiEntityReference, 'generated/azure_mgmt_compute/models/api_entity_reference.rb'
|
82
|
+
autoload :VirtualMachineScaleSetNetworkProfile, 'generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb'
|
83
|
+
autoload :VirtualMachineScaleSetExtensionProfile, 'generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb'
|
84
|
+
autoload :VirtualMachineScaleSetVMProfile, 'generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb'
|
85
|
+
autoload :VirtualMachineScaleSetVMInstanceIDs, 'generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb'
|
86
|
+
autoload :VirtualMachineScaleSetVMInstanceRequiredIDs, 'generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb'
|
87
|
+
autoload :VirtualMachineStatusCodeCount, 'generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb'
|
88
|
+
autoload :VirtualMachineScaleSetInstanceViewStatusesSummary, 'generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb'
|
89
|
+
autoload :VirtualMachineScaleSetVMExtensionsSummary, 'generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb'
|
90
|
+
autoload :VirtualMachineScaleSetInstanceView, 'generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb'
|
91
|
+
autoload :VirtualMachineScaleSetListResult, 'generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb'
|
92
|
+
autoload :VirtualMachineScaleSetListWithLinkResult, 'generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb'
|
93
|
+
autoload :VirtualMachineScaleSetSkuCapacity, 'generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb'
|
94
|
+
autoload :VirtualMachineScaleSetSku, 'generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb'
|
95
|
+
autoload :VirtualMachineScaleSetListSkusResult, 'generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb'
|
96
|
+
autoload :VirtualMachineScaleSetVMInstanceView, 'generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb'
|
97
|
+
autoload :VirtualMachineScaleSetVMListResult, 'generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb'
|
98
|
+
autoload :ApiErrorBase, 'generated/azure_mgmt_compute/models/api_error_base.rb'
|
99
|
+
autoload :InnerError, 'generated/azure_mgmt_compute/models/inner_error.rb'
|
100
|
+
autoload :ApiError, 'generated/azure_mgmt_compute/models/api_error.rb'
|
101
|
+
autoload :ComputeLongRunningOperationProperties, 'generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb'
|
102
|
+
autoload :AvailabilitySet, 'generated/azure_mgmt_compute/models/availability_set.rb'
|
103
|
+
autoload :VirtualMachineExtensionImage, 'generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb'
|
104
|
+
autoload :VirtualMachineImageResource, 'generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb'
|
105
|
+
autoload :VirtualMachineExtension, 'generated/azure_mgmt_compute/models/virtual_machine_extension.rb'
|
106
|
+
autoload :VirtualMachineCaptureResult, 'generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb'
|
107
|
+
autoload :NetworkInterfaceReference, 'generated/azure_mgmt_compute/models/network_interface_reference.rb'
|
108
|
+
autoload :VirtualMachine, 'generated/azure_mgmt_compute/models/virtual_machine.rb'
|
109
|
+
autoload :VirtualMachineScaleSetIPConfiguration, 'generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb'
|
110
|
+
autoload :VirtualMachineScaleSetNetworkConfiguration, 'generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb'
|
111
|
+
autoload :VirtualMachineScaleSetExtension, 'generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb'
|
112
|
+
autoload :VirtualMachineScaleSet, 'generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb'
|
113
|
+
autoload :VirtualMachineScaleSetVM, 'generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb'
|
114
|
+
autoload :VirtualMachineImage, 'generated/azure_mgmt_compute/models/virtual_machine_image.rb'
|
115
|
+
autoload :StatusLevelTypes, 'generated/azure_mgmt_compute/models/status_level_types.rb'
|
116
|
+
autoload :OperatingSystemTypes, 'generated/azure_mgmt_compute/models/operating_system_types.rb'
|
117
|
+
autoload :VirtualMachineSizeTypes, 'generated/azure_mgmt_compute/models/virtual_machine_size_types.rb'
|
118
|
+
autoload :CachingTypes, 'generated/azure_mgmt_compute/models/caching_types.rb'
|
119
|
+
autoload :DiskCreateOptionTypes, 'generated/azure_mgmt_compute/models/disk_create_option_types.rb'
|
120
|
+
autoload :PassNames, 'generated/azure_mgmt_compute/models/pass_names.rb'
|
121
|
+
autoload :ComponentNames, 'generated/azure_mgmt_compute/models/component_names.rb'
|
122
|
+
autoload :SettingNames, 'generated/azure_mgmt_compute/models/setting_names.rb'
|
123
|
+
autoload :ProtocolTypes, 'generated/azure_mgmt_compute/models/protocol_types.rb'
|
124
|
+
autoload :UpgradeMode, 'generated/azure_mgmt_compute/models/upgrade_mode.rb'
|
125
|
+
autoload :VirtualMachineScaleSetSkuScaleType, 'generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb'
|
126
|
+
autoload :InstanceViewTypes, 'generated/azure_mgmt_compute/models/instance_view_types.rb'
|
127
|
+
end
|
128
|
+
end
|
@@ -74,21 +74,23 @@ module Azure::ARM::Compute
|
|
74
74
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
75
75
|
fail ArgumentError, 'name is nil' if name.nil?
|
76
76
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
77
|
-
parameters.validate unless parameters.nil?
|
78
77
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
79
78
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
79
|
+
|
80
|
+
|
80
81
|
request_headers = {}
|
81
82
|
|
82
83
|
# Set Headers
|
83
84
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
84
85
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
85
86
|
|
86
|
-
# Serialize Request
|
87
87
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
request_content =
|
88
|
+
|
89
|
+
# Serialize Request
|
90
|
+
request_mapper = AvailabilitySet.mapper()
|
91
|
+
request_content = @client.serialize(request_mapper, parameters, 'parameters')
|
92
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
93
|
+
|
92
94
|
path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{name}'
|
93
95
|
options = {
|
94
96
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
@@ -120,10 +122,8 @@ module Azure::ARM::Compute
|
|
120
122
|
if status_code == 200
|
121
123
|
begin
|
122
124
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
123
|
-
|
124
|
-
|
125
|
-
end
|
126
|
-
result.body = parsed_response
|
125
|
+
result_mapper = AvailabilitySet.mapper()
|
126
|
+
result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
|
127
127
|
rescue Exception => e
|
128
128
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
129
129
|
end
|
@@ -178,6 +178,8 @@ module Azure::ARM::Compute
|
|
178
178
|
fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil?
|
179
179
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
180
180
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
181
|
+
|
182
|
+
|
181
183
|
request_headers = {}
|
182
184
|
|
183
185
|
# Set Headers
|
@@ -260,6 +262,8 @@ module Azure::ARM::Compute
|
|
260
262
|
fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil?
|
261
263
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
262
264
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
265
|
+
|
266
|
+
|
263
267
|
request_headers = {}
|
264
268
|
|
265
269
|
# Set Headers
|
@@ -295,10 +299,8 @@ module Azure::ARM::Compute
|
|
295
299
|
if status_code == 200
|
296
300
|
begin
|
297
301
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
298
|
-
|
299
|
-
|
300
|
-
end
|
301
|
-
result.body = parsed_response
|
302
|
+
result_mapper = AvailabilitySet.mapper()
|
303
|
+
result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
|
302
304
|
rescue Exception => e
|
303
305
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
304
306
|
end
|
@@ -350,6 +352,8 @@ module Azure::ARM::Compute
|
|
350
352
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
351
353
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
352
354
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
355
|
+
|
356
|
+
|
353
357
|
request_headers = {}
|
354
358
|
|
355
359
|
# Set Headers
|
@@ -385,10 +389,8 @@ module Azure::ARM::Compute
|
|
385
389
|
if status_code == 200
|
386
390
|
begin
|
387
391
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
388
|
-
|
389
|
-
|
390
|
-
end
|
391
|
-
result.body = parsed_response
|
392
|
+
result_mapper = AvailabilitySetListResult.mapper()
|
393
|
+
result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
|
392
394
|
rescue Exception => e
|
393
395
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
394
396
|
end
|
@@ -447,6 +449,8 @@ module Azure::ARM::Compute
|
|
447
449
|
fail ArgumentError, 'availability_set_name is nil' if availability_set_name.nil?
|
448
450
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
449
451
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
452
|
+
|
453
|
+
|
450
454
|
request_headers = {}
|
451
455
|
|
452
456
|
# Set Headers
|
@@ -482,10 +486,8 @@ module Azure::ARM::Compute
|
|
482
486
|
if status_code == 200
|
483
487
|
begin
|
484
488
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
485
|
-
|
486
|
-
|
487
|
-
end
|
488
|
-
result.body = parsed_response
|
489
|
+
result_mapper = VirtualMachineSizeListResult.mapper()
|
490
|
+
result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
|
489
491
|
rescue Exception => e
|
490
492
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
491
493
|
end
|
@@ -8,16 +8,16 @@ module Azure::ARM::Compute
|
|
8
8
|
# A service client - single point of access to the REST API.
|
9
9
|
#
|
10
10
|
class ComputeManagementClient < MsRestAzure::AzureServiceClient
|
11
|
-
include
|
11
|
+
include MsRest::Serialization
|
12
12
|
include MsRestAzure
|
13
13
|
|
14
14
|
# @return [String] the base URI of the service.
|
15
15
|
attr_accessor :base_url
|
16
16
|
|
17
|
-
# @return
|
17
|
+
# @return Credentials needed for the client to connect to Azure.
|
18
18
|
attr_reader :credentials
|
19
19
|
|
20
|
-
# @return [String]
|
20
|
+
# @return [String] subscription credentials which uniquely identify
|
21
21
|
# Microsoft Azure subscription. The subscription ID forms part of the URI
|
22
22
|
# for every service call.
|
23
23
|
attr_accessor :subscription_id
|
@@ -40,31 +40,31 @@ module Azure::ARM::Compute
|
|
40
40
|
# subscription.
|
41
41
|
attr_accessor :credentials
|
42
42
|
|
43
|
-
# @return availability_sets
|
43
|
+
# @return [AvailabilitySets] availability_sets
|
44
44
|
attr_reader :availability_sets
|
45
45
|
|
46
|
-
# @return virtual_machine_extension_images
|
46
|
+
# @return [VirtualMachineExtensionImages] virtual_machine_extension_images
|
47
47
|
attr_reader :virtual_machine_extension_images
|
48
48
|
|
49
|
-
# @return virtual_machine_extensions
|
49
|
+
# @return [VirtualMachineExtensions] virtual_machine_extensions
|
50
50
|
attr_reader :virtual_machine_extensions
|
51
51
|
|
52
|
-
# @return virtual_machine_images
|
52
|
+
# @return [VirtualMachineImages] virtual_machine_images
|
53
53
|
attr_reader :virtual_machine_images
|
54
54
|
|
55
|
-
# @return usage_operations
|
55
|
+
# @return [UsageOperations] usage_operations
|
56
56
|
attr_reader :usage_operations
|
57
57
|
|
58
|
-
# @return virtual_machine_sizes
|
58
|
+
# @return [VirtualMachineSizes] virtual_machine_sizes
|
59
59
|
attr_reader :virtual_machine_sizes
|
60
60
|
|
61
|
-
# @return virtual_machines
|
61
|
+
# @return [VirtualMachines] virtual_machines
|
62
62
|
attr_reader :virtual_machines
|
63
63
|
|
64
|
-
# @return virtual_machine_scale_sets
|
64
|
+
# @return [VirtualMachineScaleSets] virtual_machine_scale_sets
|
65
65
|
attr_reader :virtual_machine_scale_sets
|
66
66
|
|
67
|
-
# @return virtual_machine_scale_set_vms
|
67
|
+
# @return [VirtualMachineScaleSetVMs] virtual_machine_scale_set_vms
|
68
68
|
attr_reader :virtual_machine_scale_set_vms
|
69
69
|
|
70
70
|
#
|