azure_mgmt_compute 0.14.0 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -4
- data/lib/2015-06-15/generated/azure_mgmt_compute.rb +131 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/availability_sets.rb +495 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/compute_management_client.rb +163 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/additional_unattend_content.rb +87 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/api_entity_reference.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/api_error.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/api_error_base.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/availability_set.rb +137 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/availability_set_list_result.rb +1 -1
- data/lib/{generated/azure_mgmt_compute/models/container_service_vmdiagnostics.rb → 2015-06-15/generated/azure_mgmt_compute/models/boot_diagnostics.rb} +11 -12
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/caching_types.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/component_names.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/data_disk.rb +114 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/data_disk_image.rb +47 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/diagnostics_profile.rb +47 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/disk_create_option_types.rb +17 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +69 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/disk_instance_view.rb +62 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/hardware_profile.rb +58 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/image_reference.rb +76 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/inner_error.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/instance_view_status.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/instance_view_types.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +56 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/key_vault_secret_reference.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/linux_configuration.rb +56 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/list_usages_result.rb +84 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/network_interface_reference.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/network_profile.rb +54 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/operating_system_types.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/operation_status_response.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/osdisk.rb +127 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/osdisk_image.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/osprofile.rb +119 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/pass_names.rb +15 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/plan.rb +74 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/protocol_types.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/purchase_plan.rb +65 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/resource.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/setting_names.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/sku.rb +64 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/ssh_configuration.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/ssh_public_key.rb +59 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/status_level_types.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/storage_profile.rb +74 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/sub_resource.rb +44 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/upgrade_mode.rb +16 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/upgrade_policy.rb +46 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/usage.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/usage_name.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/vault_certificate.rb +57 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/vault_secret_group.rb +65 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +45 -0
- data/lib/{generated/azure_mgmt_compute/models/container_service.rb → 2015-06-15/generated/azure_mgmt_compute/models/virtual_machine.rb} +93 -69
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_capture_result.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +175 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +67 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_extension_image.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +101 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_image.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +78 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +142 -0
- data/lib/{generated/azure_mgmt_compute/models/container_service_list_result.rb → 2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb} +13 -13
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +134 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +124 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +98 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +85 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +86 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +98 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +82 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +53 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +111 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +116 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +70 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +56 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +247 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +51 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +142 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +85 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +82 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_size.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +1 -1
- data/lib/{generated/azure_mgmt_compute/models/container_service_vmsize_types.rb → 2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb} +13 -8
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +1 -1
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/models/win_rmconfiguration.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/win_rmlistener.rb +57 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/windows_configuration.rb +99 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/module_definition.rb +9 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/usage_operations.rb +5 -5
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/version.rb +2 -2
- data/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +347 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/virtual_machine_extensions.rb +14 -14
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/virtual_machine_images.rb +12 -12
- data/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +1285 -0
- data/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +2182 -0
- data/lib/{generated → 2015-06-15/generated}/azure_mgmt_compute/virtual_machine_sizes.rb +4 -4
- data/lib/2015-06-15/generated/azure_mgmt_compute/virtual_machines.rb +1839 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute.rb +134 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/availability_sets.rb +495 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/compute_management_client.rb +163 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/additional_unattend_content.rb +87 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/api_entity_reference.rb +45 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/api_error.rb +93 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/api_error_base.rb +64 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/availability_set.rb +137 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/availability_set_list_result.rb +52 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/boot_diagnostics.rb +56 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +54 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/caching_types.rb +17 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/component_names.rb +15 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +44 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/data_disk.rb +114 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/data_disk_image.rb +47 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/diagnostics_profile.rb +47 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/disk_create_option_types.rb +17 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +69 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/disk_instance_view.rb +62 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/hardware_profile.rb +61 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/image_reference.rb +76 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/inner_error.rb +54 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/instance_view_status.rb +87 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/instance_view_types.rb +15 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +56 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +56 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/linux_configuration.rb +56 -0
- data/lib/{generated → 2016-03-30/generated}/azure_mgmt_compute/models/list_usages_result.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb +52 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/network_profile.rb +54 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/operation_status_response.rb +90 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/osdisk.rb +127 -0
- data/lib/{generated/azure_mgmt_compute/models/container_service_custom_profile.rb → 2016-03-30/generated/azure_mgmt_compute/models/osdisk_image.rb} +13 -11
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/osprofile.rb +119 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/pass_names.rb +15 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/plan.rb +74 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/protocol_types.rb +16 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/purchase_plan.rb +65 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/resource.rb +94 -0
- data/lib/{generated → 2016-03-30/generated}/azure_mgmt_compute/models/resource_identity_type.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/setting_names.rb +16 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/sku.rb +64 -0
- data/lib/{generated/azure_mgmt_compute/models/container_service_ssh_configuration.rb → 2016-03-30/generated/azure_mgmt_compute/models/ssh_configuration.rb} +11 -11
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/ssh_public_key.rb +59 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/status_level_types.rb +17 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/storage_profile.rb +74 -0
- data/lib/{generated → 2016-03-30/generated}/azure_mgmt_compute/models/sub_resource.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/upgrade_mode.rb +16 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/upgrade_policy.rb +46 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/usage.rb +78 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/usage_name.rb +54 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/vault_certificate.rb +57 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/vault_secret_group.rb +65 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +45 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine.rb +239 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +81 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +65 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +51 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +175 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +67 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +134 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +101 -0
- data/lib/{generated → 2016-03-30/generated}/azure_mgmt_compute/models/virtual_machine_identity.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_image.rb +109 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +78 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +142 -0
- data/lib/{generated → 2016-03-30/generated}/azure_mgmt_compute/models/virtual_machine_list_result.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +147 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +124 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +53 -0
- data/lib/{generated → 2016-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +85 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +56 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +117 -0
- data/lib/{generated → 2016-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +1 -1
- data/lib/{generated → 2016-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +1 -1
- data/lib/{generated → 2016-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +82 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +53 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +111 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +116 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +70 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +80 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +16 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +56 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +259 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +66 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +51 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +52 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +142 -0
- data/lib/{generated → 2016-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +82 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_size.rb +99 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +52 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb +77 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +58 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +53 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/win_rmlistener.rb +57 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/windows_configuration.rb +99 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/module_definition.rb +9 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/usage_operations.rb +234 -0
- data/lib/{generated/azure_mgmt_compute/module_definition.rb → 2016-03-30/generated/azure_mgmt_compute/version.rb} +3 -3
- data/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +347 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_extensions.rb +444 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_images.rb +577 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +1285 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +2182 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machine_sizes.rb +115 -0
- data/lib/2016-03-30/generated/azure_mgmt_compute/virtual_machines.rb +1839 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute.rb +165 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/availability_sets.rb +495 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/compute_management_client.rb +175 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/disks.rb +1272 -0
- data/lib/{generated/azure_mgmt_compute/container_services.rb → 2016-04-30-preview/generated/azure_mgmt_compute/images.rb} +235 -347
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/access_level.rb +16 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/access_uri.rb +45 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/additional_unattend_content.rb +87 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_entity_reference.rb +45 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_error.rb +93 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_error_base.rb +64 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/availability_set.rb +158 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/availability_set_list_result.rb +52 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/boot_diagnostics.rb +56 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +54 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/caching_types.rb +17 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/component_names.rb +15 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +44 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/creation_data.rb +94 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/data_disk.rb +125 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/data_disk_image.rb +47 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/diagnostics_profile.rb +47 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk.rb +174 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_create_option.rb +20 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_create_option_types.rb +17 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +69 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_instance_view.rb +62 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_list.rb +95 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/disk_update.rb +109 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/encryption_settings.rb +72 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/grant_access_data.rb +56 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/hardware_profile.rb +61 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image.rb +113 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_data_disk.rb +99 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_disk_reference.rb +57 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_list_result.rb +95 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_osdisk.rb +113 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_reference.rb +83 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/image_storage_profile.rb +63 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/inner_error.rb +54 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/instance_view_status.rb +87 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/instance_view_types.rb +15 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb +57 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb +56 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +56 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +56 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/linux_configuration.rb +56 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/list_usages_result.rb +96 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +53 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/network_interface_reference.rb +52 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/network_profile.rb +54 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/operating_system_state_types.rb +16 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/operation_status_response.rb +90 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osdisk.rb +138 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osdisk_image.rb +46 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osprofile.rb +119 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/pass_names.rb +15 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/plan.rb +74 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/protocol_types.rb +16 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/purchase_plan.rb +65 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/resource.rb +94 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/resource_identity_type.rb +15 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/resource_update.rb +51 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/setting_names.rb +16 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sku.rb +64 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot.rb +174 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot_list.rb +95 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/snapshot_update.rb +109 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/source_vault.rb +45 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/ssh_configuration.rb +53 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/ssh_public_key.rb +59 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/status_level_types.rb +17 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/storage_account_types.rb +16 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/storage_profile.rb +74 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sub_resource.rb +45 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/sub_resource_read_only.rb +46 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/upgrade_mode.rb +16 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/upgrade_policy.rb +46 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/usage.rb +78 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/usage_name.rb +54 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/vault_certificate.rb +57 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/vault_secret_group.rb +65 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +45 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine.rb +239 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +81 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +65 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +51 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +175 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +67 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +134 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +101 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +70 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_image.rb +109 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +78 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +142 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +95 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +170 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +101 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +125 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +53 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +72 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +85 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +56 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +117 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +96 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +97 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +98 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +47 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +82 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +53 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +123 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +116 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +70 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +80 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +16 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +74 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +259 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +66 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +51 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +52 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +153 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +97 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +82 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_size.rb +99 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +52 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb +77 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +58 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +53 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/win_rmlistener.rb +57 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/windows_configuration.rb +99 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/module_definition.rb +9 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/snapshots.rb +1272 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/usage_operations.rb +234 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/version.rb +8 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +347 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_extensions.rb +444 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_images.rb +577 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +1432 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +2323 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_sizes.rb +115 -0
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machines.rb +1976 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute.rb +210 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/availability_sets.rb +18 -18
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/compute_management_client.rb +7 -7
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/disks.rb +38 -38
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/images.rb +23 -23
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/access_level.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/access_uri.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/additional_unattend_content.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/api_entity_reference.rb +45 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/api_error.rb +93 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/api_error_base.rb +64 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/availability_set.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/availability_set_list_result.rb +52 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/boot_diagnostics.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +54 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/caching_types.rb +17 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/component_names.rb +15 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/compute_long_running_operation_properties.rb +44 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/creation_data.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/data_disk.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/data_disk_image.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/diagnostics_profile.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/disk.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/disk_create_option.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/disk_create_option_types.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/disk_encryption_settings.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/disk_instance_view.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/disk_list.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/disk_sku.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/disk_update.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/encryption_settings.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/grant_access_data.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/hardware_profile.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/image.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/image_data_disk.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/image_disk_reference.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/image_list_result.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/image_osdisk.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/image_reference.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/image_storage_profile.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/inner_error.rb +54 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/instance_view_status.rb +87 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/instance_view_types.rb +15 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/ipversion.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/key_vault_and_key_reference.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/key_vault_and_secret_reference.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/key_vault_key_reference.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +56 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/linux_configuration.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/list_usages_result.rb +96 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/maintenance_operation_result_code_types.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/maintenance_redeploy_status.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/managed_disk_parameters.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/network_interface_reference.rb +52 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/network_profile.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/operating_system_state_types.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/operation_status_response.rb +90 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/osdisk.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/osdisk_image.rb +46 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/osprofile.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/pass_names.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/plan.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/protocol_types.rb +16 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/purchase_plan.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/resource.rb +94 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_identity_type.rb +15 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/resource_sku.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/resource_sku_capabilities.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/resource_sku_capacity.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/resource_sku_capacity_scale_type.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/resource_sku_costs.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/resource_sku_restrictions.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/resource_sku_restrictions_reason_code.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/resource_sku_restrictions_type.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/resource_skus_result.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/resource_update.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/rolling_upgrade_action_type.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/rolling_upgrade_policy.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/rolling_upgrade_running_status.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/rolling_upgrade_status_code.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/rolling_upgrade_status_info.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/run_command_document.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/run_command_document_base.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/run_command_input.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/run_command_input_parameter.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/run_command_list_result.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/run_command_parameter_definition.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/run_command_result.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/setting_names.rb +16 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/sku.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/snapshot.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/snapshot_list.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/snapshot_update.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/source_vault.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/ssh_configuration.rb +53 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/ssh_public_key.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/status_level_types.rb +17 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/storage_account_types.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/storage_profile.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/sub_resource.rb +45 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/sub_resource_read_only.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/update_resource.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/upgrade_mode.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/upgrade_policy.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/usage.rb +78 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/usage_name.rb +54 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/vault_certificate.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/vault_secret_group.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_hard_disk.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +81 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +65 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +51 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_extension.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +134 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_health_status.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +70 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_image.rb +109 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_image_resource.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_instance_view.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +95 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +53 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +72 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +85 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +56 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +96 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +97 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +98 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +80 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +16 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +66 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +52 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +97 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_size.rb +99 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +52 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/virtual_machine_size_types.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +58 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +53 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/win_rmlistener.rb +1 -1
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/models/windows_configuration.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/module_definition.rb +9 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/resource_skus.rb +6 -6
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/snapshots.rb +38 -38
- data/lib/2017-03-30/generated/azure_mgmt_compute/usage_operations.rb +234 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/version.rb +8 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/virtual_machine_extension_images.rb +9 -9
- data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_extensions.rb +444 -0
- data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_images.rb +577 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/virtual_machine_run_commands.rb +9 -9
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb +19 -19
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +13 -13
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +40 -40
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/virtual_machine_scale_sets.rb +75 -75
- data/lib/2017-03-30/generated/azure_mgmt_compute/virtual_machine_sizes.rb +115 -0
- data/lib/{generated → 2017-03-30/generated}/azure_mgmt_compute/virtual_machines.rb +70 -70
- data/lib/azure_mgmt_compute.rb +6 -1
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/common/configurable.rb +73 -0
- data/lib/profiles/common/default.rb +68 -0
- data/lib/profiles/latest/compute_latest_profile_client.rb +33 -0
- data/lib/profiles/latest/compute_module_definition.rb +9 -0
- data/lib/profiles/latest/modules/compute_profile_module.rb +740 -0
- data/lib/profiles/v2017_03_09/compute_module_definition.rb +9 -0
- data/lib/profiles/v2017_03_09/compute_v2017_03_09_profile_client.rb +33 -0
- data/lib/profiles/v2017_03_09/modules/compute_profile_module.rb +450 -0
- data/lib/version.rb +7 -0
- metadata +560 -205
- data/lib/generated/azure_mgmt_compute.rb +0 -226
- data/lib/generated/azure_mgmt_compute/models/container_service_agent_pool_profile.rb +0 -107
- data/lib/generated/azure_mgmt_compute/models/container_service_diagnostics_profile.rb +0 -47
- data/lib/generated/azure_mgmt_compute/models/container_service_linux_profile.rb +0 -59
- data/lib/generated/azure_mgmt_compute/models/container_service_master_profile.rb +0 -68
- data/lib/generated/azure_mgmt_compute/models/container_service_orchestrator_profile.rb +0 -48
- data/lib/generated/azure_mgmt_compute/models/container_service_orchestrator_types.rb +0 -18
- data/lib/generated/azure_mgmt_compute/models/container_service_service_principal_profile.rb +0 -56
- data/lib/generated/azure_mgmt_compute/models/container_service_ssh_public_key.rb +0 -46
- data/lib/generated/azure_mgmt_compute/models/container_service_windows_profile.rb +0 -60
@@ -0,0 +1,115 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Compute::Mgmt::V2017_03_30
|
7
|
+
#
|
8
|
+
# VirtualMachineSizes
|
9
|
+
#
|
10
|
+
class VirtualMachineSizes
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the VirtualMachineSizes class.
|
15
|
+
# @param client service class for accessing basic functionality.
|
16
|
+
#
|
17
|
+
def initialize(client)
|
18
|
+
@client = client
|
19
|
+
end
|
20
|
+
|
21
|
+
# @return [ComputeManagementClient] reference to the ComputeManagementClient
|
22
|
+
attr_reader :client
|
23
|
+
|
24
|
+
#
|
25
|
+
# Lists all available virtual machine sizes for a subscription in a location.
|
26
|
+
#
|
27
|
+
# @param location [String] The location upon which virtual-machine-sizes is
|
28
|
+
# queried.
|
29
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
30
|
+
# will be added to the HTTP request.
|
31
|
+
#
|
32
|
+
# @return [VirtualMachineSizeListResult] operation results.
|
33
|
+
#
|
34
|
+
def list(location, custom_headers = nil)
|
35
|
+
response = list_async(location, custom_headers).value!
|
36
|
+
response.body unless response.nil?
|
37
|
+
end
|
38
|
+
|
39
|
+
#
|
40
|
+
# Lists all available virtual machine sizes for a subscription in a location.
|
41
|
+
#
|
42
|
+
# @param location [String] The location upon which virtual-machine-sizes is
|
43
|
+
# queried.
|
44
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
45
|
+
# will be added to the HTTP request.
|
46
|
+
#
|
47
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
48
|
+
#
|
49
|
+
def list_with_http_info(location, custom_headers = nil)
|
50
|
+
list_async(location, custom_headers).value!
|
51
|
+
end
|
52
|
+
|
53
|
+
#
|
54
|
+
# Lists all available virtual machine sizes for a subscription in a location.
|
55
|
+
#
|
56
|
+
# @param location [String] The location upon which virtual-machine-sizes is
|
57
|
+
# queried.
|
58
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
59
|
+
# to the HTTP request.
|
60
|
+
#
|
61
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
62
|
+
#
|
63
|
+
def list_async(location, custom_headers = nil)
|
64
|
+
fail ArgumentError, 'location is nil' if location.nil?
|
65
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
66
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
67
|
+
|
68
|
+
|
69
|
+
request_headers = {}
|
70
|
+
|
71
|
+
# Set Headers
|
72
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
73
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
74
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/vmSizes'
|
75
|
+
|
76
|
+
request_url = @base_url || @client.base_url
|
77
|
+
|
78
|
+
options = {
|
79
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
80
|
+
path_params: {'location' => location,'subscriptionId' => @client.subscription_id},
|
81
|
+
query_params: {'api-version' => @client.api_version},
|
82
|
+
headers: request_headers.merge(custom_headers || {}),
|
83
|
+
base_url: request_url
|
84
|
+
}
|
85
|
+
promise = @client.make_request_async(:get, path_template, options)
|
86
|
+
|
87
|
+
promise = promise.then do |result|
|
88
|
+
http_response = result.response
|
89
|
+
status_code = http_response.status
|
90
|
+
response_content = http_response.body
|
91
|
+
unless status_code == 200
|
92
|
+
error_model = JSON.load(response_content)
|
93
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
94
|
+
end
|
95
|
+
|
96
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
97
|
+
# Deserialize Response
|
98
|
+
if status_code == 200
|
99
|
+
begin
|
100
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
101
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineSizeListResult.mapper()
|
102
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
103
|
+
rescue Exception => e
|
104
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
result
|
109
|
+
end
|
110
|
+
|
111
|
+
promise.execute
|
112
|
+
end
|
113
|
+
|
114
|
+
end
|
115
|
+
end
|
@@ -3,9 +3,9 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::
|
6
|
+
module Azure::Compute::Mgmt::V2017_03_30
|
7
7
|
#
|
8
|
-
#
|
8
|
+
# VirtualMachines
|
9
9
|
#
|
10
10
|
class VirtualMachines
|
11
11
|
include MsRestAzure
|
@@ -57,7 +57,7 @@ module Azure::ARM::Compute
|
|
57
57
|
promise = promise.then do |response|
|
58
58
|
# Defining deserialization method.
|
59
59
|
deserialize_method = lambda do |parsed_response|
|
60
|
-
result_mapper = Azure::
|
60
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineCaptureResult.mapper()
|
61
61
|
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
62
62
|
end
|
63
63
|
|
@@ -103,7 +103,7 @@ module Azure::ARM::Compute
|
|
103
103
|
promise = promise.then do |response|
|
104
104
|
# Defining deserialization method.
|
105
105
|
deserialize_method = lambda do |parsed_response|
|
106
|
-
result_mapper = Azure::
|
106
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachine.mapper()
|
107
107
|
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
108
108
|
end
|
109
109
|
|
@@ -145,7 +145,7 @@ module Azure::ARM::Compute
|
|
145
145
|
promise = promise.then do |response|
|
146
146
|
# Defining deserialization method.
|
147
147
|
deserialize_method = lambda do |parsed_response|
|
148
|
-
result_mapper = Azure::
|
148
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
|
149
149
|
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
150
150
|
end
|
151
151
|
|
@@ -207,7 +207,7 @@ module Azure::ARM::Compute
|
|
207
207
|
def get_async(resource_group_name, vm_name, expand = nil, custom_headers = nil)
|
208
208
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
209
209
|
fail ArgumentError, 'vm_name is nil' if vm_name.nil?
|
210
|
-
api_version
|
210
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
211
211
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
212
212
|
|
213
213
|
|
@@ -223,7 +223,7 @@ module Azure::ARM::Compute
|
|
223
223
|
options = {
|
224
224
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
225
225
|
path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'subscriptionId' => @client.subscription_id},
|
226
|
-
query_params: {'$expand' => expand,'api-version' => api_version},
|
226
|
+
query_params: {'$expand' => expand,'api-version' => @client.api_version},
|
227
227
|
headers: request_headers.merge(custom_headers || {}),
|
228
228
|
base_url: request_url
|
229
229
|
}
|
@@ -243,7 +243,7 @@ module Azure::ARM::Compute
|
|
243
243
|
if status_code == 200
|
244
244
|
begin
|
245
245
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
246
|
-
result_mapper = Azure::
|
246
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachine.mapper()
|
247
247
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
248
248
|
rescue Exception => e
|
249
249
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -298,7 +298,7 @@ module Azure::ARM::Compute
|
|
298
298
|
def instance_view_async(resource_group_name, vm_name, custom_headers = nil)
|
299
299
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
300
300
|
fail ArgumentError, 'vm_name is nil' if vm_name.nil?
|
301
|
-
api_version
|
301
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
302
302
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
303
303
|
|
304
304
|
|
@@ -314,7 +314,7 @@ module Azure::ARM::Compute
|
|
314
314
|
options = {
|
315
315
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
316
316
|
path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'subscriptionId' => @client.subscription_id},
|
317
|
-
query_params: {'api-version' => api_version},
|
317
|
+
query_params: {'api-version' => @client.api_version},
|
318
318
|
headers: request_headers.merge(custom_headers || {}),
|
319
319
|
base_url: request_url
|
320
320
|
}
|
@@ -334,7 +334,7 @@ module Azure::ARM::Compute
|
|
334
334
|
if status_code == 200
|
335
335
|
begin
|
336
336
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
337
|
-
result_mapper = Azure::
|
337
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineInstanceView.mapper()
|
338
338
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
339
339
|
rescue Exception => e
|
340
340
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -379,7 +379,7 @@ module Azure::ARM::Compute
|
|
379
379
|
promise = promise.then do |response|
|
380
380
|
# Defining deserialization method.
|
381
381
|
deserialize_method = lambda do |parsed_response|
|
382
|
-
result_mapper = Azure::
|
382
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
|
383
383
|
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
384
384
|
end
|
385
385
|
|
@@ -422,7 +422,7 @@ module Azure::ARM::Compute
|
|
422
422
|
promise = promise.then do |response|
|
423
423
|
# Defining deserialization method.
|
424
424
|
deserialize_method = lambda do |parsed_response|
|
425
|
-
result_mapper = Azure::
|
425
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
|
426
426
|
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
427
427
|
end
|
428
428
|
|
@@ -475,7 +475,7 @@ module Azure::ARM::Compute
|
|
475
475
|
def generalize_async(resource_group_name, vm_name, custom_headers = nil)
|
476
476
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
477
477
|
fail ArgumentError, 'vm_name is nil' if vm_name.nil?
|
478
|
-
api_version
|
478
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
479
479
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
480
480
|
|
481
481
|
|
@@ -491,7 +491,7 @@ module Azure::ARM::Compute
|
|
491
491
|
options = {
|
492
492
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
493
493
|
path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'subscriptionId' => @client.subscription_id},
|
494
|
-
query_params: {'api-version' => api_version},
|
494
|
+
query_params: {'api-version' => @client.api_version},
|
495
495
|
headers: request_headers.merge(custom_headers || {}),
|
496
496
|
base_url: request_url
|
497
497
|
}
|
@@ -511,7 +511,7 @@ module Azure::ARM::Compute
|
|
511
511
|
if status_code == 200
|
512
512
|
begin
|
513
513
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
514
|
-
result_mapper = Azure::
|
514
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
|
515
515
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
516
516
|
rescue Exception => e
|
517
517
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -565,7 +565,7 @@ module Azure::ARM::Compute
|
|
565
565
|
#
|
566
566
|
def list_async(resource_group_name, custom_headers = nil)
|
567
567
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
568
|
-
api_version
|
568
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
569
569
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
570
570
|
|
571
571
|
|
@@ -581,7 +581,7 @@ module Azure::ARM::Compute
|
|
581
581
|
options = {
|
582
582
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
583
583
|
path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
|
584
|
-
query_params: {'api-version' => api_version},
|
584
|
+
query_params: {'api-version' => @client.api_version},
|
585
585
|
headers: request_headers.merge(custom_headers || {}),
|
586
586
|
base_url: request_url
|
587
587
|
}
|
@@ -601,7 +601,7 @@ module Azure::ARM::Compute
|
|
601
601
|
if status_code == 200
|
602
602
|
begin
|
603
603
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
604
|
-
result_mapper = Azure::
|
604
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineListResult.mapper()
|
605
605
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
606
606
|
rescue Exception => e
|
607
607
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -651,7 +651,7 @@ module Azure::ARM::Compute
|
|
651
651
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
652
652
|
#
|
653
653
|
def list_all_async(custom_headers = nil)
|
654
|
-
api_version
|
654
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
655
655
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
656
656
|
|
657
657
|
|
@@ -667,7 +667,7 @@ module Azure::ARM::Compute
|
|
667
667
|
options = {
|
668
668
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
669
669
|
path_params: {'subscriptionId' => @client.subscription_id},
|
670
|
-
query_params: {'api-version' => api_version},
|
670
|
+
query_params: {'api-version' => @client.api_version},
|
671
671
|
headers: request_headers.merge(custom_headers || {}),
|
672
672
|
base_url: request_url
|
673
673
|
}
|
@@ -687,7 +687,7 @@ module Azure::ARM::Compute
|
|
687
687
|
if status_code == 200
|
688
688
|
begin
|
689
689
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
690
|
-
result_mapper = Azure::
|
690
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineListResult.mapper()
|
691
691
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
692
692
|
rescue Exception => e
|
693
693
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -745,7 +745,7 @@ module Azure::ARM::Compute
|
|
745
745
|
def list_available_sizes_async(resource_group_name, vm_name, custom_headers = nil)
|
746
746
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
747
747
|
fail ArgumentError, 'vm_name is nil' if vm_name.nil?
|
748
|
-
api_version
|
748
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
749
749
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
750
750
|
|
751
751
|
|
@@ -761,7 +761,7 @@ module Azure::ARM::Compute
|
|
761
761
|
options = {
|
762
762
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
763
763
|
path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'subscriptionId' => @client.subscription_id},
|
764
|
-
query_params: {'api-version' => api_version},
|
764
|
+
query_params: {'api-version' => @client.api_version},
|
765
765
|
headers: request_headers.merge(custom_headers || {}),
|
766
766
|
base_url: request_url
|
767
767
|
}
|
@@ -781,7 +781,7 @@ module Azure::ARM::Compute
|
|
781
781
|
if status_code == 200
|
782
782
|
begin
|
783
783
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
784
|
-
result_mapper = Azure::
|
784
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineSizeListResult.mapper()
|
785
785
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
786
786
|
rescue Exception => e
|
787
787
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -827,7 +827,7 @@ module Azure::ARM::Compute
|
|
827
827
|
promise = promise.then do |response|
|
828
828
|
# Defining deserialization method.
|
829
829
|
deserialize_method = lambda do |parsed_response|
|
830
|
-
result_mapper = Azure::
|
830
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
|
831
831
|
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
832
832
|
end
|
833
833
|
|
@@ -869,7 +869,7 @@ module Azure::ARM::Compute
|
|
869
869
|
promise = promise.then do |response|
|
870
870
|
# Defining deserialization method.
|
871
871
|
deserialize_method = lambda do |parsed_response|
|
872
|
-
result_mapper = Azure::
|
872
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
|
873
873
|
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
874
874
|
end
|
875
875
|
|
@@ -911,7 +911,7 @@ module Azure::ARM::Compute
|
|
911
911
|
promise = promise.then do |response|
|
912
912
|
# Defining deserialization method.
|
913
913
|
deserialize_method = lambda do |parsed_response|
|
914
|
-
result_mapper = Azure::
|
914
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
|
915
915
|
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
916
916
|
end
|
917
917
|
|
@@ -953,7 +953,7 @@ module Azure::ARM::Compute
|
|
953
953
|
promise = promise.then do |response|
|
954
954
|
# Defining deserialization method.
|
955
955
|
deserialize_method = lambda do |parsed_response|
|
956
|
-
result_mapper = Azure::
|
956
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
|
957
957
|
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
958
958
|
end
|
959
959
|
|
@@ -995,7 +995,7 @@ module Azure::ARM::Compute
|
|
995
995
|
promise = promise.then do |response|
|
996
996
|
# Defining deserialization method.
|
997
997
|
deserialize_method = lambda do |parsed_response|
|
998
|
-
result_mapper = Azure::
|
998
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
|
999
999
|
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
1000
1000
|
end
|
1001
1001
|
|
@@ -1041,7 +1041,7 @@ module Azure::ARM::Compute
|
|
1041
1041
|
promise = promise.then do |response|
|
1042
1042
|
# Defining deserialization method.
|
1043
1043
|
deserialize_method = lambda do |parsed_response|
|
1044
|
-
result_mapper = Azure::
|
1044
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::RunCommandResult.mapper()
|
1045
1045
|
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
1046
1046
|
end
|
1047
1047
|
|
@@ -1104,7 +1104,7 @@ module Azure::ARM::Compute
|
|
1104
1104
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1105
1105
|
fail ArgumentError, 'vm_name is nil' if vm_name.nil?
|
1106
1106
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
1107
|
-
api_version
|
1107
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1108
1108
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1109
1109
|
|
1110
1110
|
|
@@ -1117,7 +1117,7 @@ module Azure::ARM::Compute
|
|
1117
1117
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1118
1118
|
|
1119
1119
|
# Serialize Request
|
1120
|
-
request_mapper = Azure::
|
1120
|
+
request_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineCaptureParameters.mapper()
|
1121
1121
|
request_content = @client.serialize(request_mapper, parameters)
|
1122
1122
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1123
1123
|
|
@@ -1128,7 +1128,7 @@ module Azure::ARM::Compute
|
|
1128
1128
|
options = {
|
1129
1129
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1130
1130
|
path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'subscriptionId' => @client.subscription_id},
|
1131
|
-
query_params: {'api-version' => api_version},
|
1131
|
+
query_params: {'api-version' => @client.api_version},
|
1132
1132
|
body: request_content,
|
1133
1133
|
headers: request_headers.merge(custom_headers || {}),
|
1134
1134
|
base_url: request_url
|
@@ -1149,7 +1149,7 @@ module Azure::ARM::Compute
|
|
1149
1149
|
if status_code == 200
|
1150
1150
|
begin
|
1151
1151
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1152
|
-
result_mapper = Azure::
|
1152
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineCaptureResult.mapper()
|
1153
1153
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1154
1154
|
rescue Exception => e
|
1155
1155
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1211,7 +1211,7 @@ module Azure::ARM::Compute
|
|
1211
1211
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1212
1212
|
fail ArgumentError, 'vm_name is nil' if vm_name.nil?
|
1213
1213
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
1214
|
-
api_version
|
1214
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1215
1215
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1216
1216
|
|
1217
1217
|
|
@@ -1224,7 +1224,7 @@ module Azure::ARM::Compute
|
|
1224
1224
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1225
1225
|
|
1226
1226
|
# Serialize Request
|
1227
|
-
request_mapper = Azure::
|
1227
|
+
request_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachine.mapper()
|
1228
1228
|
request_content = @client.serialize(request_mapper, parameters)
|
1229
1229
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1230
1230
|
|
@@ -1235,7 +1235,7 @@ module Azure::ARM::Compute
|
|
1235
1235
|
options = {
|
1236
1236
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1237
1237
|
path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'subscriptionId' => @client.subscription_id},
|
1238
|
-
query_params: {'api-version' => api_version},
|
1238
|
+
query_params: {'api-version' => @client.api_version},
|
1239
1239
|
body: request_content,
|
1240
1240
|
headers: request_headers.merge(custom_headers || {}),
|
1241
1241
|
base_url: request_url
|
@@ -1256,7 +1256,7 @@ module Azure::ARM::Compute
|
|
1256
1256
|
if status_code == 200
|
1257
1257
|
begin
|
1258
1258
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1259
|
-
result_mapper = Azure::
|
1259
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachine.mapper()
|
1260
1260
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1261
1261
|
rescue Exception => e
|
1262
1262
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1266,7 +1266,7 @@ module Azure::ARM::Compute
|
|
1266
1266
|
if status_code == 201
|
1267
1267
|
begin
|
1268
1268
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1269
|
-
result_mapper = Azure::
|
1269
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachine.mapper()
|
1270
1270
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1271
1271
|
rescue Exception => e
|
1272
1272
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1321,7 +1321,7 @@ module Azure::ARM::Compute
|
|
1321
1321
|
def begin_delete_async(resource_group_name, vm_name, custom_headers = nil)
|
1322
1322
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1323
1323
|
fail ArgumentError, 'vm_name is nil' if vm_name.nil?
|
1324
|
-
api_version
|
1324
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1325
1325
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1326
1326
|
|
1327
1327
|
|
@@ -1337,7 +1337,7 @@ module Azure::ARM::Compute
|
|
1337
1337
|
options = {
|
1338
1338
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1339
1339
|
path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'subscriptionId' => @client.subscription_id},
|
1340
|
-
query_params: {'api-version' => api_version},
|
1340
|
+
query_params: {'api-version' => @client.api_version},
|
1341
1341
|
headers: request_headers.merge(custom_headers || {}),
|
1342
1342
|
base_url: request_url
|
1343
1343
|
}
|
@@ -1357,7 +1357,7 @@ module Azure::ARM::Compute
|
|
1357
1357
|
if status_code == 200
|
1358
1358
|
begin
|
1359
1359
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1360
|
-
result_mapper = Azure::
|
1360
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
|
1361
1361
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1362
1362
|
rescue Exception => e
|
1363
1363
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1415,7 +1415,7 @@ module Azure::ARM::Compute
|
|
1415
1415
|
def begin_convert_to_managed_disks_async(resource_group_name, vm_name, custom_headers = nil)
|
1416
1416
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1417
1417
|
fail ArgumentError, 'vm_name is nil' if vm_name.nil?
|
1418
|
-
api_version
|
1418
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1419
1419
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1420
1420
|
|
1421
1421
|
|
@@ -1431,7 +1431,7 @@ module Azure::ARM::Compute
|
|
1431
1431
|
options = {
|
1432
1432
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1433
1433
|
path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'subscriptionId' => @client.subscription_id},
|
1434
|
-
query_params: {'api-version' => api_version},
|
1434
|
+
query_params: {'api-version' => @client.api_version},
|
1435
1435
|
headers: request_headers.merge(custom_headers || {}),
|
1436
1436
|
base_url: request_url
|
1437
1437
|
}
|
@@ -1451,7 +1451,7 @@ module Azure::ARM::Compute
|
|
1451
1451
|
if status_code == 200
|
1452
1452
|
begin
|
1453
1453
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1454
|
-
result_mapper = Azure::
|
1454
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
|
1455
1455
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1456
1456
|
rescue Exception => e
|
1457
1457
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1509,7 +1509,7 @@ module Azure::ARM::Compute
|
|
1509
1509
|
def begin_deallocate_async(resource_group_name, vm_name, custom_headers = nil)
|
1510
1510
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1511
1511
|
fail ArgumentError, 'vm_name is nil' if vm_name.nil?
|
1512
|
-
api_version
|
1512
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1513
1513
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1514
1514
|
|
1515
1515
|
|
@@ -1525,7 +1525,7 @@ module Azure::ARM::Compute
|
|
1525
1525
|
options = {
|
1526
1526
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1527
1527
|
path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'subscriptionId' => @client.subscription_id},
|
1528
|
-
query_params: {'api-version' => api_version},
|
1528
|
+
query_params: {'api-version' => @client.api_version},
|
1529
1529
|
headers: request_headers.merge(custom_headers || {}),
|
1530
1530
|
base_url: request_url
|
1531
1531
|
}
|
@@ -1545,7 +1545,7 @@ module Azure::ARM::Compute
|
|
1545
1545
|
if status_code == 200
|
1546
1546
|
begin
|
1547
1547
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1548
|
-
result_mapper = Azure::
|
1548
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
|
1549
1549
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1550
1550
|
rescue Exception => e
|
1551
1551
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1606,7 +1606,7 @@ module Azure::ARM::Compute
|
|
1606
1606
|
def begin_power_off_async(resource_group_name, vm_name, custom_headers = nil)
|
1607
1607
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1608
1608
|
fail ArgumentError, 'vm_name is nil' if vm_name.nil?
|
1609
|
-
api_version
|
1609
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1610
1610
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1611
1611
|
|
1612
1612
|
|
@@ -1622,7 +1622,7 @@ module Azure::ARM::Compute
|
|
1622
1622
|
options = {
|
1623
1623
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1624
1624
|
path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'subscriptionId' => @client.subscription_id},
|
1625
|
-
query_params: {'api-version' => api_version},
|
1625
|
+
query_params: {'api-version' => @client.api_version},
|
1626
1626
|
headers: request_headers.merge(custom_headers || {}),
|
1627
1627
|
base_url: request_url
|
1628
1628
|
}
|
@@ -1642,7 +1642,7 @@ module Azure::ARM::Compute
|
|
1642
1642
|
if status_code == 200
|
1643
1643
|
begin
|
1644
1644
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1645
|
-
result_mapper = Azure::
|
1645
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
|
1646
1646
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1647
1647
|
rescue Exception => e
|
1648
1648
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1697,7 +1697,7 @@ module Azure::ARM::Compute
|
|
1697
1697
|
def begin_restart_async(resource_group_name, vm_name, custom_headers = nil)
|
1698
1698
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1699
1699
|
fail ArgumentError, 'vm_name is nil' if vm_name.nil?
|
1700
|
-
api_version
|
1700
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1701
1701
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1702
1702
|
|
1703
1703
|
|
@@ -1713,7 +1713,7 @@ module Azure::ARM::Compute
|
|
1713
1713
|
options = {
|
1714
1714
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1715
1715
|
path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'subscriptionId' => @client.subscription_id},
|
1716
|
-
query_params: {'api-version' => api_version},
|
1716
|
+
query_params: {'api-version' => @client.api_version},
|
1717
1717
|
headers: request_headers.merge(custom_headers || {}),
|
1718
1718
|
base_url: request_url
|
1719
1719
|
}
|
@@ -1733,7 +1733,7 @@ module Azure::ARM::Compute
|
|
1733
1733
|
if status_code == 200
|
1734
1734
|
begin
|
1735
1735
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1736
|
-
result_mapper = Azure::
|
1736
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
|
1737
1737
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1738
1738
|
rescue Exception => e
|
1739
1739
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1788,7 +1788,7 @@ module Azure::ARM::Compute
|
|
1788
1788
|
def begin_start_async(resource_group_name, vm_name, custom_headers = nil)
|
1789
1789
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1790
1790
|
fail ArgumentError, 'vm_name is nil' if vm_name.nil?
|
1791
|
-
api_version
|
1791
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1792
1792
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1793
1793
|
|
1794
1794
|
|
@@ -1804,7 +1804,7 @@ module Azure::ARM::Compute
|
|
1804
1804
|
options = {
|
1805
1805
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1806
1806
|
path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'subscriptionId' => @client.subscription_id},
|
1807
|
-
query_params: {'api-version' => api_version},
|
1807
|
+
query_params: {'api-version' => @client.api_version},
|
1808
1808
|
headers: request_headers.merge(custom_headers || {}),
|
1809
1809
|
base_url: request_url
|
1810
1810
|
}
|
@@ -1824,7 +1824,7 @@ module Azure::ARM::Compute
|
|
1824
1824
|
if status_code == 200
|
1825
1825
|
begin
|
1826
1826
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1827
|
-
result_mapper = Azure::
|
1827
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
|
1828
1828
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1829
1829
|
rescue Exception => e
|
1830
1830
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1879,7 +1879,7 @@ module Azure::ARM::Compute
|
|
1879
1879
|
def begin_redeploy_async(resource_group_name, vm_name, custom_headers = nil)
|
1880
1880
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1881
1881
|
fail ArgumentError, 'vm_name is nil' if vm_name.nil?
|
1882
|
-
api_version
|
1882
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1883
1883
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1884
1884
|
|
1885
1885
|
|
@@ -1895,7 +1895,7 @@ module Azure::ARM::Compute
|
|
1895
1895
|
options = {
|
1896
1896
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1897
1897
|
path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'subscriptionId' => @client.subscription_id},
|
1898
|
-
query_params: {'api-version' => api_version},
|
1898
|
+
query_params: {'api-version' => @client.api_version},
|
1899
1899
|
headers: request_headers.merge(custom_headers || {}),
|
1900
1900
|
base_url: request_url
|
1901
1901
|
}
|
@@ -1915,7 +1915,7 @@ module Azure::ARM::Compute
|
|
1915
1915
|
if status_code == 200
|
1916
1916
|
begin
|
1917
1917
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1918
|
-
result_mapper = Azure::
|
1918
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
|
1919
1919
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1920
1920
|
rescue Exception => e
|
1921
1921
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1970,7 +1970,7 @@ module Azure::ARM::Compute
|
|
1970
1970
|
def begin_perform_maintenance_async(resource_group_name, vm_name, custom_headers = nil)
|
1971
1971
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1972
1972
|
fail ArgumentError, 'vm_name is nil' if vm_name.nil?
|
1973
|
-
api_version
|
1973
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1974
1974
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1975
1975
|
|
1976
1976
|
|
@@ -1986,7 +1986,7 @@ module Azure::ARM::Compute
|
|
1986
1986
|
options = {
|
1987
1987
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1988
1988
|
path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'subscriptionId' => @client.subscription_id},
|
1989
|
-
query_params: {'api-version' => api_version},
|
1989
|
+
query_params: {'api-version' => @client.api_version},
|
1990
1990
|
headers: request_headers.merge(custom_headers || {}),
|
1991
1991
|
base_url: request_url
|
1992
1992
|
}
|
@@ -2006,7 +2006,7 @@ module Azure::ARM::Compute
|
|
2006
2006
|
if status_code == 200
|
2007
2007
|
begin
|
2008
2008
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2009
|
-
result_mapper = Azure::
|
2009
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::OperationStatusResponse.mapper()
|
2010
2010
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
2011
2011
|
rescue Exception => e
|
2012
2012
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -2068,7 +2068,7 @@ module Azure::ARM::Compute
|
|
2068
2068
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
2069
2069
|
fail ArgumentError, 'vm_name is nil' if vm_name.nil?
|
2070
2070
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
2071
|
-
api_version
|
2071
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
2072
2072
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
2073
2073
|
|
2074
2074
|
|
@@ -2081,7 +2081,7 @@ module Azure::ARM::Compute
|
|
2081
2081
|
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
2082
2082
|
|
2083
2083
|
# Serialize Request
|
2084
|
-
request_mapper = Azure::
|
2084
|
+
request_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::RunCommandInput.mapper()
|
2085
2085
|
request_content = @client.serialize(request_mapper, parameters)
|
2086
2086
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
2087
2087
|
|
@@ -2092,7 +2092,7 @@ module Azure::ARM::Compute
|
|
2092
2092
|
options = {
|
2093
2093
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2094
2094
|
path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'subscriptionId' => @client.subscription_id},
|
2095
|
-
query_params: {'api-version' => api_version},
|
2095
|
+
query_params: {'api-version' => @client.api_version},
|
2096
2096
|
body: request_content,
|
2097
2097
|
headers: request_headers.merge(custom_headers || {}),
|
2098
2098
|
base_url: request_url
|
@@ -2113,7 +2113,7 @@ module Azure::ARM::Compute
|
|
2113
2113
|
if status_code == 200
|
2114
2114
|
begin
|
2115
2115
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2116
|
-
result_mapper = Azure::
|
2116
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::RunCommandResult.mapper()
|
2117
2117
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
2118
2118
|
rescue Exception => e
|
2119
2119
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -2203,7 +2203,7 @@ module Azure::ARM::Compute
|
|
2203
2203
|
if status_code == 200
|
2204
2204
|
begin
|
2205
2205
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2206
|
-
result_mapper = Azure::
|
2206
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineListResult.mapper()
|
2207
2207
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
2208
2208
|
rescue Exception => e
|
2209
2209
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -2293,7 +2293,7 @@ module Azure::ARM::Compute
|
|
2293
2293
|
if status_code == 200
|
2294
2294
|
begin
|
2295
2295
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2296
|
-
result_mapper = Azure::
|
2296
|
+
result_mapper = Azure::Compute::Mgmt::V2017_03_30::Models::VirtualMachineListResult.mapper()
|
2297
2297
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
2298
2298
|
rescue Exception => e
|
2299
2299
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|