azure_mgmt_compute 0.18.5 → 0.18.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/2015-06-15/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/api_entity_reference.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/availability_set.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/hardware_profile.rb +19 -18
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/osprofile.rb +2 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/vault_certificate.rb +3 -3
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/api_entity_reference.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/availability_set.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/hardware_profile.rb +22 -22
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/osprofile.rb +2 -1
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/vault_certificate.rb +3 -3
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +1 -1
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/api_entity_reference.rb +1 -1
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/availability_set.rb +1 -1
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osprofile.rb +2 -1
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/source_vault.rb +1 -1
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/vault_certificate.rb +1 -1
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine.rb +1 -1
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/api_entity_reference.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/availability_set.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/disk_sku.rb +1 -2
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/hardware_profile.rb +19 -18
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/image_data_disk.rb +1 -2
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/image_osdisk.rb +1 -2
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +1 -2
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/osprofile.rb +2 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/resource_sku_capabilities.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/source_vault.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/vault_certificate.rb +3 -3
- data/lib/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_scale_set_managed_disk_parameters.rb +1 -2
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +1 -1
- data/lib/2017-09-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2017-09-01/generated/azure_mgmt_compute/models/resource_sku_capabilities.rb +1 -1
- data/lib/2017-12-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/api_entity_reference.rb +1 -1
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/availability_set.rb +1 -1
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb +1 -1
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/osprofile.rb +2 -1
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb +1 -1
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/vault_certificate.rb +3 -3
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine.rb +1 -1
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +1 -1
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +1 -1
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +1 -1
- data/lib/2018-04-01/generated/azure_mgmt_compute.rb +75 -70
- data/lib/2018-04-01/generated/azure_mgmt_compute/compute_management_client.rb +5 -1
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/api_entity_reference.rb +1 -1
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/availability_set.rb +15 -1
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/availability_set_update.rb +14 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb +1 -1
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/osprofile.rb +2 -1
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/proximity_placement_group.rb +166 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/proximity_placement_group_list_result.rb +100 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/proximity_placement_group_type.rb +16 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/proximity_placement_group_update.rb +51 -0
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/source_vault.rb +1 -1
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb +1 -1
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/vault_certificate.rb +3 -3
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine.rb +15 -1
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +15 -1
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +1 -1
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +15 -1
- data/lib/2018-04-01/generated/azure_mgmt_compute/proximity_placement_groups.rb +821 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute.rb +93 -85
- data/lib/2018-06-01/generated/azure_mgmt_compute/compute_management_client.rb +5 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/api_entity_reference.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/availability_set.rb +15 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/availability_set_update.rb +14 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/diff_disk_settings.rb +4 -4
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/disk.rb +6 -2
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_artifact_publishing_profile_base.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image.rb +2 -2
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_version_publishing_profile.rb +2 -2
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/osdisk.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/osprofile.rb +2 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/proximity_placement_group.rb +166 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/proximity_placement_group_list_result.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/proximity_placement_group_type.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/proximity_placement_group_update.rb +51 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/recommended_machine_configuration.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/source_vault.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/target_region.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/vault_certificate.rb +3 -3
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine.rb +15 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_reimage_parameters.rb +48 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +15 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +20 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_reimage_parameters.rb +65 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmreimage_parameters.rb +44 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +15 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/proximity_placement_groups.rb +821 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +31 -9
- data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +29 -25
- data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machines.rb +140 -0
- data/lib/2018-09-30/generated/azure_mgmt_compute.rb +54 -0
- data/lib/2018-09-30/generated/azure_mgmt_compute/compute_management_client.rb +137 -0
- data/lib/2018-09-30/generated/azure_mgmt_compute/disks.rb +1274 -0
- data/lib/2018-09-30/generated/azure_mgmt_compute/models/access_level.rb +17 -0
- data/lib/2018-09-30/generated/azure_mgmt_compute/models/access_uri.rb +47 -0
- data/lib/2018-09-30/generated/azure_mgmt_compute/models/creation_data.rb +97 -0
- data/lib/2018-09-30/generated/azure_mgmt_compute/models/disk.rb +262 -0
- data/lib/2018-09-30/generated/azure_mgmt_compute/models/disk_create_option.rb +21 -0
- data/lib/2018-09-30/generated/azure_mgmt_compute/models/disk_list.rb +99 -0
- data/lib/2018-09-30/generated/azure_mgmt_compute/models/disk_sku.rb +62 -0
- data/lib/2018-09-30/generated/azure_mgmt_compute/models/disk_state.rb +20 -0
- data/lib/2018-09-30/generated/azure_mgmt_compute/models/disk_storage_account_types.rb +18 -0
- data/lib/2018-09-30/generated/azure_mgmt_compute/models/disk_update.rb +134 -0
- data/lib/2018-09-30/generated/azure_mgmt_compute/models/encryption_settings_collection.rb +71 -0
- data/lib/2018-09-30/generated/azure_mgmt_compute/models/encryption_settings_element.rb +62 -0
- data/lib/2018-09-30/generated/azure_mgmt_compute/models/grant_access_data.rb +58 -0
- data/lib/2018-09-30/generated/azure_mgmt_compute/models/hyper_vgeneration.rb +16 -0
- data/lib/2018-09-30/generated/azure_mgmt_compute/models/image_disk_reference.rb +60 -0
- data/lib/2018-09-30/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb +60 -0
- data/lib/2018-09-30/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb +59 -0
- data/lib/2018-09-30/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
- data/lib/2018-09-30/generated/azure_mgmt_compute/models/resource.rb +110 -0
- data/lib/2018-09-30/generated/azure_mgmt_compute/models/snapshot.rb +202 -0
- data/lib/2018-09-30/generated/azure_mgmt_compute/models/snapshot_list.rb +99 -0
- data/lib/2018-09-30/generated/azure_mgmt_compute/models/snapshot_sku.rb +61 -0
- data/lib/2018-09-30/generated/azure_mgmt_compute/models/snapshot_storage_account_types.rb +17 -0
- data/lib/2018-09-30/generated/azure_mgmt_compute/models/snapshot_update.rb +108 -0
- data/lib/2018-09-30/generated/azure_mgmt_compute/models/source_vault.rb +47 -0
- data/lib/2018-09-30/generated/azure_mgmt_compute/module_definition.rb +9 -0
- data/lib/2018-09-30/generated/azure_mgmt_compute/snapshots.rb +1274 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute.rb +220 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/availability_sets.rb +894 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/compute_management_client.rb +195 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/images.rb +959 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/log_analytics.rb +337 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/additional_capabilities.rb +51 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb +93 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/api_entity_reference.rb +47 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/api_error.rb +100 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/api_error_base.rb +68 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/automatic_osupgrade_policy.rb +64 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/automatic_osupgrade_properties.rb +47 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/availability_set.rb +189 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/availability_set_list_result.rb +100 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/availability_set_sku_types.rb +16 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/availability_set_update.rb +142 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb +62 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +74 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/caching_types.rb +17 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/component_names.rb +15 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/compute_operation_list_result.rb +56 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/compute_operation_value.rb +108 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/data_disk.rb +159 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/data_disk_image.rb +49 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb +52 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/diff_disk_options.rb +15 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/diff_disk_settings.rb +49 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/disk_create_option_types.rb +17 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +73 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/disk_instance_view.rb +87 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/hardware_profile.rb +104 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/image.rb +126 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/image_data_disk.rb +126 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/image_list_result.rb +99 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/image_osdisk.rb +141 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/image_reference.rb +98 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/image_storage_profile.rb +86 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/image_update.rb +89 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/inner_error.rb +57 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/instance_view_status.rb +93 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/instance_view_types.rb +15 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/interval_in_mins.rb +18 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/ipversion.rb +16 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +59 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +59 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/linux_configuration.rb +81 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/list_usages_result.rb +100 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb +102 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/log_analytics_operation_result.rb +48 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/log_analytics_output.rb +47 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/maintenance_operation_result_code_types.rb +18 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb +115 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +57 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/network_interface_reference.rb +55 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/network_profile.rb +57 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/operating_system_state_types.rb +16 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/osdisk.rb +191 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/osdisk_image.rb +48 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/osprofile.rb +183 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/pass_names.rb +15 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/plan.rb +86 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/protocol_types.rb +16 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/proximity_placement_group.rb +166 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/proximity_placement_group_list_result.rb +100 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/proximity_placement_group_type.rb +16 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/proximity_placement_group_update.rb +51 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/purchase_plan.rb +71 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/recovery_walk_response.rb +60 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb +97 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/resource.rb +110 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/resource_identity_type.rb +18 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/rollback_status_info.rb +74 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/rolling_upgrade_action_type.rb +16 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb +108 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb +88 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb +88 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_code.rb +18 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb +141 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/run_command_document.rb +116 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/run_command_document_base.rb +92 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/run_command_input.rb +87 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/run_command_input_parameter.rb +57 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/run_command_list_result.rb +100 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb +81 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/run_command_result.rb +56 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/setting_names.rb +16 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/sku.rb +71 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/ssh_configuration.rb +56 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/ssh_public_key.rb +64 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/status_level_types.rb +17 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/storage_account_types.rb +18 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/storage_profile.rb +89 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/sub_resource.rb +47 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/sub_resource_read_only.rb +48 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/throttled_requests_input.rb +83 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/update_resource.rb +54 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/upgrade_mode.rb +17 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info.rb +73 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb +116 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb +74 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/upgrade_operation_invoker.rb +17 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/upgrade_policy.rb +79 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/upgrade_state.rb +18 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/usage.rb +83 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/usage_name.rb +57 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/vault_certificate.rb +72 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/vault_secret_group.rb +69 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +46 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine.rb +331 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +87 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +69 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +99 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_eviction_policy_types.rb +16 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +195 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +71 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +146 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +109 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +134 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +55 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb +48 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +102 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_identity_user_assigned_identities_value.rb +61 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_image.rb +131 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +87 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +205 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +99 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_priority_types.rb +16 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_reimage_parameters.rb +48 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +273 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +126 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +172 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb +103 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +56 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +105 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity_user_assigned_identities_value.rb +61 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +91 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +59 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ip_tag.rb +58 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +195 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_osupgrade_history.rb +104 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +100 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +101 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +102 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +50 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +137 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb +56 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +71 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +180 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +167 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb +106 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb +51 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_reimage_parameters.rb +65 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +74 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +85 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +16 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +91 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb +138 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb +188 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb +136 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb +57 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb +122 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb +92 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb +72 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb +80 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb +112 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +344 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +70 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +57 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +55 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +196 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +101 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +162 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmreimage_parameters.rb +44 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_size.rb +106 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +55 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb +180 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +61 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +274 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +56 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/win_rmlistener.rb +67 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/models/windows_configuration.rb +111 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/module_definition.rb +9 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/operations.rb +107 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/proximity_placement_groups.rb +821 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/usage_operations.rb +237 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +354 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/virtual_machine_extensions.rb +691 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/virtual_machine_images.rb +590 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/virtual_machine_run_commands.rb +316 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb +636 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +490 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +1937 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +2971 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/virtual_machine_sizes.rb +120 -0
- data/lib/2018-10-01/generated/azure_mgmt_compute/virtual_machines.rb +2746 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute.rb +255 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/availability_sets.rb +894 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/compute_management_client.rb +207 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/galleries.rb +810 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/gallery_image_versions.rb +710 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/gallery_images.rb +666 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/images.rb +959 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/log_analytics.rb +337 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/additional_capabilities.rb +51 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb +93 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/aggregated_replication_state.rb +18 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/api_entity_reference.rb +47 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/api_error.rb +100 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/api_error_base.rb +68 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/automatic_osupgrade_policy.rb +64 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/automatic_osupgrade_properties.rb +47 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/availability_set.rb +189 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/availability_set_list_result.rb +100 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/availability_set_sku_types.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/availability_set_update.rb +142 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb +62 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +74 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/caching_types.rb +17 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/component_names.rb +15 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/compute_operation_list_result.rb +56 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/compute_operation_value.rb +108 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/data_disk.rb +171 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/data_disk_image.rb +49 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb +52 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/diff_disk_options.rb +15 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/diff_disk_settings.rb +49 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/disallowed.rb +54 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/disk_create_option_types.rb +17 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +73 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/disk_instance_view.rb +87 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery.rb +125 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_artifact_publishing_profile_base.rb +68 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_artifact_source.rb +47 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_data_disk_image.rb +69 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_disk_image.rb +63 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_identifier.rb +48 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_image.rb +236 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_image_identifier.rb +68 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_image_list.rb +100 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_image_version.rb +140 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_image_version_list.rb +100 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_image_version_publishing_profile.rb +125 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_image_version_storage_profile.rb +69 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_list.rb +99 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_osdisk_image.rb +54 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/hardware_profile.rb +104 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/host_caching.rb +17 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/hyper_vgeneration_types.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/image.rb +139 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/image_data_disk.rb +126 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/image_list_result.rb +99 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/image_osdisk.rb +141 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/image_purchase_plan.rb +69 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/image_reference.rb +98 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/image_storage_profile.rb +86 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/image_update.rb +102 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/inner_error.rb +57 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/instance_view_status.rb +93 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/instance_view_types.rb +15 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/interval_in_mins.rb +18 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/ipversion.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +59 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +59 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/linux_configuration.rb +81 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/list_usages_result.rb +100 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb +102 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/log_analytics_operation_result.rb +48 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/log_analytics_output.rb +47 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/maintenance_operation_result_code_types.rb +18 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb +115 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/managed_artifact.rb +46 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +57 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/network_interface_reference.rb +55 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/network_profile.rb +57 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/operating_system_state_types.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/osdisk.rb +191 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/osdisk_image.rb +48 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/osprofile.rb +183 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/pass_names.rb +15 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/plan.rb +86 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/protocol_types.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/proximity_placement_group.rb +166 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/proximity_placement_group_list_result.rb +100 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/proximity_placement_group_type.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/proximity_placement_group_update.rb +51 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/purchase_plan.rb +71 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/recommended_machine_configuration.rb +60 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/recovery_walk_response.rb +60 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/regional_replication_status.rb +86 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/replication_state.rb +18 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/replication_status.rb +71 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/replication_status_types.rb +15 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb +97 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/resource.rb +110 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/resource_identity_type.rb +18 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/resource_range.rb +57 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/rollback_status_info.rb +74 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/rolling_upgrade_action_type.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb +108 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb +88 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb +88 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_code.rb +18 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb +141 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/run_command_document.rb +116 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/run_command_document_base.rb +92 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/run_command_input.rb +87 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/run_command_input_parameter.rb +57 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/run_command_list_result.rb +100 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb +81 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/run_command_result.rb +56 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/setting_names.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/sku.rb +71 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/ssh_configuration.rb +56 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/ssh_public_key.rb +64 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/status_level_types.rb +17 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/storage_account_type.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/storage_account_types.rb +18 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/storage_profile.rb +89 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/sub_resource.rb +47 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/sub_resource_read_only.rb +48 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/target_region.rb +71 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/throttled_requests_input.rb +83 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/update_resource.rb +54 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/upgrade_mode.rb +17 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info.rb +73 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb +116 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb +74 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/upgrade_operation_invoker.rb +17 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/upgrade_policy.rb +79 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/upgrade_state.rb +18 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/usage.rb +83 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/usage_name.rb +57 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/vault_certificate.rb +72 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/vault_secret_group.rb +69 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +46 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine.rb +331 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +87 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +69 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +99 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_eviction_policy_types.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +195 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +71 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +146 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +109 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +134 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +55 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb +48 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +102 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_identity_user_assigned_identities_value.rb +61 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_image.rb +131 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +87 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +205 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +99 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_priority_types.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_reimage_parameters.rb +48 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +289 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +126 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +172 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb +103 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +56 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +105 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity_user_assigned_identities_value.rb +61 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +91 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +59 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ip_tag.rb +58 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +195 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_osupgrade_history.rb +104 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +100 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +101 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +102 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +50 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +137 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb +56 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +71 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +180 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +167 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb +106 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb +51 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_reimage_parameters.rb +65 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +74 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +85 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +91 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb +154 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb +188 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb +136 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb +57 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb +122 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb +92 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb +72 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb +80 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb +112 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +384 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +70 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +57 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +55 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +196 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +101 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmnetwork_profile_configuration.rb +57 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +147 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprotection_policy.rb +60 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmreimage_parameters.rb +44 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_size.rb +106 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +55 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb +180 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +61 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +274 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/vmscale_set_convert_to_single_placement_group_input.rb +52 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +56 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/win_rmlistener.rb +67 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/windows_configuration.rb +111 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/module_definition.rb +9 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/operations.rb +107 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/proximity_placement_groups.rb +821 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/usage_operations.rb +237 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +354 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/virtual_machine_extensions.rb +691 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/virtual_machine_images.rb +590 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/virtual_machine_run_commands.rb +316 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb +636 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +490 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +1957 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +3090 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/virtual_machine_sizes.rb +120 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/virtual_machines.rb +2766 -0
- data/lib/2019-04-01/generated/azure_mgmt_compute.rb +40 -0
- data/lib/2019-04-01/generated/azure_mgmt_compute/compute_management_client.rb +133 -0
- data/lib/2019-04-01/generated/azure_mgmt_compute/models/resource_sku.rb +250 -0
- data/lib/2019-04-01/generated/azure_mgmt_compute/models/resource_sku_capabilities.rb +59 -0
- data/lib/2019-04-01/generated/azure_mgmt_compute/models/resource_sku_capacity.rb +85 -0
- data/lib/2019-04-01/generated/azure_mgmt_compute/models/resource_sku_capacity_scale_type.rb +17 -0
- data/lib/2019-04-01/generated/azure_mgmt_compute/models/resource_sku_costs.rb +72 -0
- data/lib/2019-04-01/generated/azure_mgmt_compute/models/resource_sku_location_info.rb +91 -0
- data/lib/2019-04-01/generated/azure_mgmt_compute/models/resource_sku_restriction_info.rb +77 -0
- data/lib/2019-04-01/generated/azure_mgmt_compute/models/resource_sku_restrictions.rb +99 -0
- data/lib/2019-04-01/generated/azure_mgmt_compute/models/resource_sku_restrictions_reason_code.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_compute/models/resource_sku_restrictions_type.rb +16 -0
- data/lib/2019-04-01/generated/azure_mgmt_compute/models/resource_sku_zone_details.rb +78 -0
- data/lib/2019-04-01/generated/azure_mgmt_compute/models/resource_skus_result.rb +100 -0
- data/lib/2019-04-01/generated/azure_mgmt_compute/module_definition.rb +9 -0
- data/lib/2019-04-01/generated/azure_mgmt_compute/resource_skus.rb +217 -0
- data/lib/azure_mgmt_compute.rb +4 -0
- data/lib/profiles/latest/modules/compute_profile_module.rb +722 -668
- data/lib/version.rb +1 -1
- metadata +489 -3
@@ -28,11 +28,14 @@ module Azure::Compute::Mgmt::V2018_06_01
|
|
28
28
|
# @param resource_group_name [String] The name of the resource group.
|
29
29
|
# @param vm_scale_set_name [String] The name of the VM scale set.
|
30
30
|
# @param instance_id [String] The instance ID of the virtual machine.
|
31
|
+
# @param vm_scale_set_vmreimage_input
|
32
|
+
# [VirtualMachineScaleSetVMReimageParameters] Parameters for the Reimaging
|
33
|
+
# Virtual machine in ScaleSet.
|
31
34
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
32
35
|
# will be added to the HTTP request.
|
33
36
|
#
|
34
|
-
def reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil)
|
35
|
-
response = reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value!
|
37
|
+
def reimage(resource_group_name, vm_scale_set_name, instance_id, vm_scale_set_vmreimage_input:nil, custom_headers:nil)
|
38
|
+
response = reimage_async(resource_group_name, vm_scale_set_name, instance_id, vm_scale_set_vmreimage_input:vm_scale_set_vmreimage_input, custom_headers:custom_headers).value!
|
36
39
|
nil
|
37
40
|
end
|
38
41
|
|
@@ -40,15 +43,18 @@ module Azure::Compute::Mgmt::V2018_06_01
|
|
40
43
|
# @param resource_group_name [String] The name of the resource group.
|
41
44
|
# @param vm_scale_set_name [String] The name of the VM scale set.
|
42
45
|
# @param instance_id [String] The instance ID of the virtual machine.
|
46
|
+
# @param vm_scale_set_vmreimage_input
|
47
|
+
# [VirtualMachineScaleSetVMReimageParameters] Parameters for the Reimaging
|
48
|
+
# Virtual machine in ScaleSet.
|
43
49
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
44
50
|
# will be added to the HTTP request.
|
45
51
|
#
|
46
52
|
# @return [Concurrent::Promise] promise which provides async access to http
|
47
53
|
# response.
|
48
54
|
#
|
49
|
-
def reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil)
|
55
|
+
def reimage_async(resource_group_name, vm_scale_set_name, instance_id, vm_scale_set_vmreimage_input:nil, custom_headers:nil)
|
50
56
|
# Send request
|
51
|
-
promise = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers)
|
57
|
+
promise = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, vm_scale_set_vmreimage_input:vm_scale_set_vmreimage_input, custom_headers:custom_headers)
|
52
58
|
|
53
59
|
promise = promise.then do |response|
|
54
60
|
# Defining deserialization method.
|
@@ -786,12 +792,15 @@ module Azure::Compute::Mgmt::V2018_06_01
|
|
786
792
|
# @param resource_group_name [String] The name of the resource group.
|
787
793
|
# @param vm_scale_set_name [String] The name of the VM scale set.
|
788
794
|
# @param instance_id [String] The instance ID of the virtual machine.
|
795
|
+
# @param vm_scale_set_vmreimage_input
|
796
|
+
# [VirtualMachineScaleSetVMReimageParameters] Parameters for the Reimaging
|
797
|
+
# Virtual machine in ScaleSet.
|
789
798
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
790
799
|
# will be added to the HTTP request.
|
791
800
|
#
|
792
801
|
#
|
793
|
-
def begin_reimage(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil)
|
794
|
-
response = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value!
|
802
|
+
def begin_reimage(resource_group_name, vm_scale_set_name, instance_id, vm_scale_set_vmreimage_input:nil, custom_headers:nil)
|
803
|
+
response = begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, vm_scale_set_vmreimage_input:vm_scale_set_vmreimage_input, custom_headers:custom_headers).value!
|
795
804
|
nil
|
796
805
|
end
|
797
806
|
|
@@ -802,13 +811,16 @@ module Azure::Compute::Mgmt::V2018_06_01
|
|
802
811
|
# @param resource_group_name [String] The name of the resource group.
|
803
812
|
# @param vm_scale_set_name [String] The name of the VM scale set.
|
804
813
|
# @param instance_id [String] The instance ID of the virtual machine.
|
814
|
+
# @param vm_scale_set_vmreimage_input
|
815
|
+
# [VirtualMachineScaleSetVMReimageParameters] Parameters for the Reimaging
|
816
|
+
# Virtual machine in ScaleSet.
|
805
817
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
806
818
|
# will be added to the HTTP request.
|
807
819
|
#
|
808
820
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
809
821
|
#
|
810
|
-
def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil)
|
811
|
-
begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value!
|
822
|
+
def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, instance_id, vm_scale_set_vmreimage_input:nil, custom_headers:nil)
|
823
|
+
begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, vm_scale_set_vmreimage_input:vm_scale_set_vmreimage_input, custom_headers:custom_headers).value!
|
812
824
|
end
|
813
825
|
|
814
826
|
#
|
@@ -818,12 +830,15 @@ module Azure::Compute::Mgmt::V2018_06_01
|
|
818
830
|
# @param resource_group_name [String] The name of the resource group.
|
819
831
|
# @param vm_scale_set_name [String] The name of the VM scale set.
|
820
832
|
# @param instance_id [String] The instance ID of the virtual machine.
|
833
|
+
# @param vm_scale_set_vmreimage_input
|
834
|
+
# [VirtualMachineScaleSetVMReimageParameters] Parameters for the Reimaging
|
835
|
+
# Virtual machine in ScaleSet.
|
821
836
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
822
837
|
# to the HTTP request.
|
823
838
|
#
|
824
839
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
825
840
|
#
|
826
|
-
def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil)
|
841
|
+
def begin_reimage_async(resource_group_name, vm_scale_set_name, instance_id, vm_scale_set_vmreimage_input:nil, custom_headers:nil)
|
827
842
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
828
843
|
fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil?
|
829
844
|
fail ArgumentError, 'instance_id is nil' if instance_id.nil?
|
@@ -837,6 +852,12 @@ module Azure::Compute::Mgmt::V2018_06_01
|
|
837
852
|
# Set Headers
|
838
853
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
839
854
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
855
|
+
|
856
|
+
# Serialize Request
|
857
|
+
request_mapper = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetVMReimageParameters.mapper()
|
858
|
+
request_content = @client.serialize(request_mapper, vm_scale_set_vmreimage_input)
|
859
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
860
|
+
|
840
861
|
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/reimage'
|
841
862
|
|
842
863
|
request_url = @base_url || @client.base_url
|
@@ -845,6 +866,7 @@ module Azure::Compute::Mgmt::V2018_06_01
|
|
845
866
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
846
867
|
path_params: {'resourceGroupName' => resource_group_name,'vmScaleSetName' => vm_scale_set_name,'instanceId' => instance_id,'subscriptionId' => @client.subscription_id},
|
847
868
|
query_params: {'api-version' => @client.api_version},
|
869
|
+
body: request_content,
|
848
870
|
headers: request_headers.merge(custom_headers || {}),
|
849
871
|
base_url: request_url
|
850
872
|
}
|
@@ -1049,34 +1049,35 @@ module Azure::Compute::Mgmt::V2018_06_01
|
|
1049
1049
|
|
1050
1050
|
#
|
1051
1051
|
# Reimages (upgrade the operating system) one or more virtual machines in a VM
|
1052
|
-
# scale set
|
1052
|
+
# scale set which don't have a ephemeral OS disk, for virtual machines who have
|
1053
|
+
# a ephemeral OS disk the virtual machine is reset to initial state.
|
1053
1054
|
#
|
1054
1055
|
# @param resource_group_name [String] The name of the resource group.
|
1055
1056
|
# @param vm_scale_set_name [String] The name of the VM scale set.
|
1056
|
-
# @param
|
1057
|
-
#
|
1057
|
+
# @param vm_scale_set_reimage_input [VirtualMachineScaleSetReimageParameters]
|
1058
|
+
# Parameters for Reimaging VM ScaleSet.
|
1058
1059
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1059
1060
|
# will be added to the HTTP request.
|
1060
1061
|
#
|
1061
|
-
def reimage(resource_group_name, vm_scale_set_name,
|
1062
|
-
response = reimage_async(resource_group_name, vm_scale_set_name,
|
1062
|
+
def reimage(resource_group_name, vm_scale_set_name, vm_scale_set_reimage_input:nil, custom_headers:nil)
|
1063
|
+
response = reimage_async(resource_group_name, vm_scale_set_name, vm_scale_set_reimage_input:vm_scale_set_reimage_input, custom_headers:custom_headers).value!
|
1063
1064
|
nil
|
1064
1065
|
end
|
1065
1066
|
|
1066
1067
|
#
|
1067
1068
|
# @param resource_group_name [String] The name of the resource group.
|
1068
1069
|
# @param vm_scale_set_name [String] The name of the VM scale set.
|
1069
|
-
# @param
|
1070
|
-
#
|
1070
|
+
# @param vm_scale_set_reimage_input [VirtualMachineScaleSetReimageParameters]
|
1071
|
+
# Parameters for Reimaging VM ScaleSet.
|
1071
1072
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1072
1073
|
# will be added to the HTTP request.
|
1073
1074
|
#
|
1074
1075
|
# @return [Concurrent::Promise] promise which provides async access to http
|
1075
1076
|
# response.
|
1076
1077
|
#
|
1077
|
-
def reimage_async(resource_group_name, vm_scale_set_name,
|
1078
|
+
def reimage_async(resource_group_name, vm_scale_set_name, vm_scale_set_reimage_input:nil, custom_headers:nil)
|
1078
1079
|
# Send request
|
1079
|
-
promise = begin_reimage_async(resource_group_name, vm_scale_set_name,
|
1080
|
+
promise = begin_reimage_async(resource_group_name, vm_scale_set_name, vm_scale_set_reimage_input:vm_scale_set_reimage_input, custom_headers:custom_headers)
|
1080
1081
|
|
1081
1082
|
promise = promise.then do |response|
|
1082
1083
|
# Defining deserialization method.
|
@@ -2318,52 +2319,55 @@ module Azure::Compute::Mgmt::V2018_06_01
|
|
2318
2319
|
|
2319
2320
|
#
|
2320
2321
|
# Reimages (upgrade the operating system) one or more virtual machines in a VM
|
2321
|
-
# scale set
|
2322
|
+
# scale set which don't have a ephemeral OS disk, for virtual machines who have
|
2323
|
+
# a ephemeral OS disk the virtual machine is reset to initial state.
|
2322
2324
|
#
|
2323
2325
|
# @param resource_group_name [String] The name of the resource group.
|
2324
2326
|
# @param vm_scale_set_name [String] The name of the VM scale set.
|
2325
|
-
# @param
|
2326
|
-
#
|
2327
|
+
# @param vm_scale_set_reimage_input [VirtualMachineScaleSetReimageParameters]
|
2328
|
+
# Parameters for Reimaging VM ScaleSet.
|
2327
2329
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2328
2330
|
# will be added to the HTTP request.
|
2329
2331
|
#
|
2330
2332
|
#
|
2331
|
-
def begin_reimage(resource_group_name, vm_scale_set_name,
|
2332
|
-
response = begin_reimage_async(resource_group_name, vm_scale_set_name,
|
2333
|
+
def begin_reimage(resource_group_name, vm_scale_set_name, vm_scale_set_reimage_input:nil, custom_headers:nil)
|
2334
|
+
response = begin_reimage_async(resource_group_name, vm_scale_set_name, vm_scale_set_reimage_input:vm_scale_set_reimage_input, custom_headers:custom_headers).value!
|
2333
2335
|
nil
|
2334
2336
|
end
|
2335
2337
|
|
2336
2338
|
#
|
2337
2339
|
# Reimages (upgrade the operating system) one or more virtual machines in a VM
|
2338
|
-
# scale set
|
2340
|
+
# scale set which don't have a ephemeral OS disk, for virtual machines who have
|
2341
|
+
# a ephemeral OS disk the virtual machine is reset to initial state.
|
2339
2342
|
#
|
2340
2343
|
# @param resource_group_name [String] The name of the resource group.
|
2341
2344
|
# @param vm_scale_set_name [String] The name of the VM scale set.
|
2342
|
-
# @param
|
2343
|
-
#
|
2345
|
+
# @param vm_scale_set_reimage_input [VirtualMachineScaleSetReimageParameters]
|
2346
|
+
# Parameters for Reimaging VM ScaleSet.
|
2344
2347
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2345
2348
|
# will be added to the HTTP request.
|
2346
2349
|
#
|
2347
2350
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
2348
2351
|
#
|
2349
|
-
def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name,
|
2350
|
-
begin_reimage_async(resource_group_name, vm_scale_set_name,
|
2352
|
+
def begin_reimage_with_http_info(resource_group_name, vm_scale_set_name, vm_scale_set_reimage_input:nil, custom_headers:nil)
|
2353
|
+
begin_reimage_async(resource_group_name, vm_scale_set_name, vm_scale_set_reimage_input:vm_scale_set_reimage_input, custom_headers:custom_headers).value!
|
2351
2354
|
end
|
2352
2355
|
|
2353
2356
|
#
|
2354
2357
|
# Reimages (upgrade the operating system) one or more virtual machines in a VM
|
2355
|
-
# scale set
|
2358
|
+
# scale set which don't have a ephemeral OS disk, for virtual machines who have
|
2359
|
+
# a ephemeral OS disk the virtual machine is reset to initial state.
|
2356
2360
|
#
|
2357
2361
|
# @param resource_group_name [String] The name of the resource group.
|
2358
2362
|
# @param vm_scale_set_name [String] The name of the VM scale set.
|
2359
|
-
# @param
|
2360
|
-
#
|
2363
|
+
# @param vm_scale_set_reimage_input [VirtualMachineScaleSetReimageParameters]
|
2364
|
+
# Parameters for Reimaging VM ScaleSet.
|
2361
2365
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
2362
2366
|
# to the HTTP request.
|
2363
2367
|
#
|
2364
2368
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
2365
2369
|
#
|
2366
|
-
def begin_reimage_async(resource_group_name, vm_scale_set_name,
|
2370
|
+
def begin_reimage_async(resource_group_name, vm_scale_set_name, vm_scale_set_reimage_input:nil, custom_headers:nil)
|
2367
2371
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
2368
2372
|
fail ArgumentError, 'vm_scale_set_name is nil' if vm_scale_set_name.nil?
|
2369
2373
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -2378,8 +2382,8 @@ module Azure::Compute::Mgmt::V2018_06_01
|
|
2378
2382
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
2379
2383
|
|
2380
2384
|
# Serialize Request
|
2381
|
-
request_mapper = Azure::Compute::Mgmt::V2018_06_01::Models::
|
2382
|
-
request_content = @client.serialize(request_mapper,
|
2385
|
+
request_mapper = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineScaleSetReimageParameters.mapper()
|
2386
|
+
request_content = @client.serialize(request_mapper, vm_scale_set_reimage_input)
|
2383
2387
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
2384
2388
|
|
2385
2389
|
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimage'
|
@@ -1072,6 +1072,49 @@ module Azure::Compute::Mgmt::V2018_06_01
|
|
1072
1072
|
promise
|
1073
1073
|
end
|
1074
1074
|
|
1075
|
+
#
|
1076
|
+
# Reimages the virtual machine which has an ephemeral OS disk back to its
|
1077
|
+
# initial state.
|
1078
|
+
#
|
1079
|
+
# @param resource_group_name [String] The name of the resource group.
|
1080
|
+
# @param vm_name [String] The name of the virtual machine.
|
1081
|
+
# @param parameters [VirtualMachineReimageParameters] Parameters supplied to
|
1082
|
+
# the Reimage Virtual Machine operation.
|
1083
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1084
|
+
# will be added to the HTTP request.
|
1085
|
+
#
|
1086
|
+
def reimage(resource_group_name, vm_name, parameters:nil, custom_headers:nil)
|
1087
|
+
response = reimage_async(resource_group_name, vm_name, parameters:parameters, custom_headers:custom_headers).value!
|
1088
|
+
nil
|
1089
|
+
end
|
1090
|
+
|
1091
|
+
#
|
1092
|
+
# @param resource_group_name [String] The name of the resource group.
|
1093
|
+
# @param vm_name [String] The name of the virtual machine.
|
1094
|
+
# @param parameters [VirtualMachineReimageParameters] Parameters supplied to
|
1095
|
+
# the Reimage Virtual Machine operation.
|
1096
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1097
|
+
# will be added to the HTTP request.
|
1098
|
+
#
|
1099
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
1100
|
+
# response.
|
1101
|
+
#
|
1102
|
+
def reimage_async(resource_group_name, vm_name, parameters:nil, custom_headers:nil)
|
1103
|
+
# Send request
|
1104
|
+
promise = begin_reimage_async(resource_group_name, vm_name, parameters:parameters, custom_headers:custom_headers)
|
1105
|
+
|
1106
|
+
promise = promise.then do |response|
|
1107
|
+
# Defining deserialization method.
|
1108
|
+
deserialize_method = lambda do |parsed_response|
|
1109
|
+
end
|
1110
|
+
|
1111
|
+
# Waiting for response.
|
1112
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
1113
|
+
end
|
1114
|
+
|
1115
|
+
promise
|
1116
|
+
end
|
1117
|
+
|
1075
1118
|
#
|
1076
1119
|
# The operation to perform maintenance on a virtual machine.
|
1077
1120
|
#
|
@@ -2076,6 +2119,103 @@ module Azure::Compute::Mgmt::V2018_06_01
|
|
2076
2119
|
promise.execute
|
2077
2120
|
end
|
2078
2121
|
|
2122
|
+
#
|
2123
|
+
# Reimages the virtual machine which has an ephemeral OS disk back to its
|
2124
|
+
# initial state.
|
2125
|
+
#
|
2126
|
+
# @param resource_group_name [String] The name of the resource group.
|
2127
|
+
# @param vm_name [String] The name of the virtual machine.
|
2128
|
+
# @param parameters [VirtualMachineReimageParameters] Parameters supplied to
|
2129
|
+
# the Reimage Virtual Machine operation.
|
2130
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2131
|
+
# will be added to the HTTP request.
|
2132
|
+
#
|
2133
|
+
#
|
2134
|
+
def begin_reimage(resource_group_name, vm_name, parameters:nil, custom_headers:nil)
|
2135
|
+
response = begin_reimage_async(resource_group_name, vm_name, parameters:parameters, custom_headers:custom_headers).value!
|
2136
|
+
nil
|
2137
|
+
end
|
2138
|
+
|
2139
|
+
#
|
2140
|
+
# Reimages the virtual machine which has an ephemeral OS disk back to its
|
2141
|
+
# initial state.
|
2142
|
+
#
|
2143
|
+
# @param resource_group_name [String] The name of the resource group.
|
2144
|
+
# @param vm_name [String] The name of the virtual machine.
|
2145
|
+
# @param parameters [VirtualMachineReimageParameters] Parameters supplied to
|
2146
|
+
# the Reimage Virtual Machine operation.
|
2147
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2148
|
+
# will be added to the HTTP request.
|
2149
|
+
#
|
2150
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
2151
|
+
#
|
2152
|
+
def begin_reimage_with_http_info(resource_group_name, vm_name, parameters:nil, custom_headers:nil)
|
2153
|
+
begin_reimage_async(resource_group_name, vm_name, parameters:parameters, custom_headers:custom_headers).value!
|
2154
|
+
end
|
2155
|
+
|
2156
|
+
#
|
2157
|
+
# Reimages the virtual machine which has an ephemeral OS disk back to its
|
2158
|
+
# initial state.
|
2159
|
+
#
|
2160
|
+
# @param resource_group_name [String] The name of the resource group.
|
2161
|
+
# @param vm_name [String] The name of the virtual machine.
|
2162
|
+
# @param parameters [VirtualMachineReimageParameters] Parameters supplied to
|
2163
|
+
# the Reimage Virtual Machine operation.
|
2164
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
2165
|
+
# to the HTTP request.
|
2166
|
+
#
|
2167
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
2168
|
+
#
|
2169
|
+
def begin_reimage_async(resource_group_name, vm_name, parameters:nil, custom_headers:nil)
|
2170
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
2171
|
+
fail ArgumentError, 'vm_name is nil' if vm_name.nil?
|
2172
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
2173
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
2174
|
+
|
2175
|
+
|
2176
|
+
request_headers = {}
|
2177
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
2178
|
+
|
2179
|
+
# Set Headers
|
2180
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
2181
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
2182
|
+
|
2183
|
+
# Serialize Request
|
2184
|
+
request_mapper = Azure::Compute::Mgmt::V2018_06_01::Models::VirtualMachineReimageParameters.mapper()
|
2185
|
+
request_content = @client.serialize(request_mapper, parameters)
|
2186
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
2187
|
+
|
2188
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/reimage'
|
2189
|
+
|
2190
|
+
request_url = @base_url || @client.base_url
|
2191
|
+
|
2192
|
+
options = {
|
2193
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2194
|
+
path_params: {'resourceGroupName' => resource_group_name,'vmName' => vm_name,'subscriptionId' => @client.subscription_id},
|
2195
|
+
query_params: {'api-version' => @client.api_version},
|
2196
|
+
body: request_content,
|
2197
|
+
headers: request_headers.merge(custom_headers || {}),
|
2198
|
+
base_url: request_url
|
2199
|
+
}
|
2200
|
+
promise = @client.make_request_async(:post, path_template, options)
|
2201
|
+
|
2202
|
+
promise = promise.then do |result|
|
2203
|
+
http_response = result.response
|
2204
|
+
status_code = http_response.status
|
2205
|
+
response_content = http_response.body
|
2206
|
+
unless status_code == 200 || status_code == 202
|
2207
|
+
error_model = JSON.load(response_content)
|
2208
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
2209
|
+
end
|
2210
|
+
|
2211
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2212
|
+
|
2213
|
+
result
|
2214
|
+
end
|
2215
|
+
|
2216
|
+
promise.execute
|
2217
|
+
end
|
2218
|
+
|
2079
2219
|
#
|
2080
2220
|
# The operation to perform maintenance on a virtual machine.
|
2081
2221
|
#
|
@@ -0,0 +1,54 @@
|
|
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
|
+
require 'uri'
|
7
|
+
require 'cgi'
|
8
|
+
require 'date'
|
9
|
+
require 'json'
|
10
|
+
require 'base64'
|
11
|
+
require 'erb'
|
12
|
+
require 'securerandom'
|
13
|
+
require 'time'
|
14
|
+
require 'timeliness'
|
15
|
+
require 'faraday'
|
16
|
+
require 'faraday-cookie_jar'
|
17
|
+
require 'concurrent'
|
18
|
+
require 'ms_rest'
|
19
|
+
require '2018-09-30/generated/azure_mgmt_compute/module_definition'
|
20
|
+
require 'ms_rest_azure'
|
21
|
+
|
22
|
+
module Azure::Compute::Mgmt::V2018_09_30
|
23
|
+
autoload :Disks, '2018-09-30/generated/azure_mgmt_compute/disks.rb'
|
24
|
+
autoload :Snapshots, '2018-09-30/generated/azure_mgmt_compute/snapshots.rb'
|
25
|
+
autoload :ComputeManagementClient, '2018-09-30/generated/azure_mgmt_compute/compute_management_client.rb'
|
26
|
+
|
27
|
+
module Models
|
28
|
+
autoload :EncryptionSettingsCollection, '2018-09-30/generated/azure_mgmt_compute/models/encryption_settings_collection.rb'
|
29
|
+
autoload :Resource, '2018-09-30/generated/azure_mgmt_compute/models/resource.rb'
|
30
|
+
autoload :ImageDiskReference, '2018-09-30/generated/azure_mgmt_compute/models/image_disk_reference.rb'
|
31
|
+
autoload :DiskUpdate, '2018-09-30/generated/azure_mgmt_compute/models/disk_update.rb'
|
32
|
+
autoload :SourceVault, '2018-09-30/generated/azure_mgmt_compute/models/source_vault.rb'
|
33
|
+
autoload :DiskList, '2018-09-30/generated/azure_mgmt_compute/models/disk_list.rb'
|
34
|
+
autoload :KeyVaultAndKeyReference, '2018-09-30/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb'
|
35
|
+
autoload :SnapshotSku, '2018-09-30/generated/azure_mgmt_compute/models/snapshot_sku.rb'
|
36
|
+
autoload :DiskSku, '2018-09-30/generated/azure_mgmt_compute/models/disk_sku.rb'
|
37
|
+
autoload :GrantAccessData, '2018-09-30/generated/azure_mgmt_compute/models/grant_access_data.rb'
|
38
|
+
autoload :KeyVaultAndSecretReference, '2018-09-30/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb'
|
39
|
+
autoload :AccessUri, '2018-09-30/generated/azure_mgmt_compute/models/access_uri.rb'
|
40
|
+
autoload :CreationData, '2018-09-30/generated/azure_mgmt_compute/models/creation_data.rb'
|
41
|
+
autoload :SnapshotList, '2018-09-30/generated/azure_mgmt_compute/models/snapshot_list.rb'
|
42
|
+
autoload :EncryptionSettingsElement, '2018-09-30/generated/azure_mgmt_compute/models/encryption_settings_element.rb'
|
43
|
+
autoload :SnapshotUpdate, '2018-09-30/generated/azure_mgmt_compute/models/snapshot_update.rb'
|
44
|
+
autoload :Disk, '2018-09-30/generated/azure_mgmt_compute/models/disk.rb'
|
45
|
+
autoload :Snapshot, '2018-09-30/generated/azure_mgmt_compute/models/snapshot.rb'
|
46
|
+
autoload :DiskStorageAccountTypes, '2018-09-30/generated/azure_mgmt_compute/models/disk_storage_account_types.rb'
|
47
|
+
autoload :OperatingSystemTypes, '2018-09-30/generated/azure_mgmt_compute/models/operating_system_types.rb'
|
48
|
+
autoload :HyperVGeneration, '2018-09-30/generated/azure_mgmt_compute/models/hyper_vgeneration.rb'
|
49
|
+
autoload :DiskCreateOption, '2018-09-30/generated/azure_mgmt_compute/models/disk_create_option.rb'
|
50
|
+
autoload :DiskState, '2018-09-30/generated/azure_mgmt_compute/models/disk_state.rb'
|
51
|
+
autoload :SnapshotStorageAccountTypes, '2018-09-30/generated/azure_mgmt_compute/models/snapshot_storage_account_types.rb'
|
52
|
+
autoload :AccessLevel, '2018-09-30/generated/azure_mgmt_compute/models/access_level.rb'
|
53
|
+
end
|
54
|
+
end
|
@@ -0,0 +1,137 @@
|
|
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::V2018_09_30
|
7
|
+
#
|
8
|
+
# A service client - single point of access to the REST API.
|
9
|
+
#
|
10
|
+
class ComputeManagementClient < MsRestAzure::AzureServiceClient
|
11
|
+
include MsRestAzure
|
12
|
+
include MsRestAzure::Serialization
|
13
|
+
|
14
|
+
# @return [String] the base URI of the service.
|
15
|
+
attr_accessor :base_url
|
16
|
+
|
17
|
+
# @return Credentials needed for the client to connect to Azure.
|
18
|
+
attr_reader :credentials
|
19
|
+
|
20
|
+
# @return [String] Subscription credentials which uniquely identify
|
21
|
+
# Microsoft Azure subscription. The subscription ID forms part of the URI
|
22
|
+
# for every service call.
|
23
|
+
attr_accessor :subscription_id
|
24
|
+
|
25
|
+
# @return [String] Client Api Version.
|
26
|
+
attr_reader :api_version
|
27
|
+
|
28
|
+
# @return [String] The preferred language for the response.
|
29
|
+
attr_accessor :accept_language
|
30
|
+
|
31
|
+
# @return [Integer] The retry timeout in seconds for Long Running
|
32
|
+
# Operations. Default value is 30.
|
33
|
+
attr_accessor :long_running_operation_retry_timeout
|
34
|
+
|
35
|
+
# @return [Boolean] Whether a unique x-ms-client-request-id should be
|
36
|
+
# generated. When set to true a unique x-ms-client-request-id value is
|
37
|
+
# generated and included in each request. Default is true.
|
38
|
+
attr_accessor :generate_client_request_id
|
39
|
+
|
40
|
+
# @return [Disks] disks
|
41
|
+
attr_reader :disks
|
42
|
+
|
43
|
+
# @return [Snapshots] snapshots
|
44
|
+
attr_reader :snapshots
|
45
|
+
|
46
|
+
#
|
47
|
+
# Creates initializes a new instance of the ComputeManagementClient class.
|
48
|
+
# @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
|
49
|
+
# @param base_url [String] the base URI of the service.
|
50
|
+
# @param options [Array] filters to be applied to the HTTP requests.
|
51
|
+
#
|
52
|
+
def initialize(credentials = nil, base_url = nil, options = nil)
|
53
|
+
super(credentials, options)
|
54
|
+
@base_url = base_url || 'https://management.azure.com'
|
55
|
+
|
56
|
+
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
|
57
|
+
@credentials = credentials
|
58
|
+
|
59
|
+
@disks = Disks.new(self)
|
60
|
+
@snapshots = Snapshots.new(self)
|
61
|
+
@api_version = '2018-09-30'
|
62
|
+
@accept_language = 'en-US'
|
63
|
+
@long_running_operation_retry_timeout = 30
|
64
|
+
@generate_client_request_id = true
|
65
|
+
add_telemetry
|
66
|
+
end
|
67
|
+
|
68
|
+
#
|
69
|
+
# Makes a request and returns the body of the response.
|
70
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
71
|
+
# @param path [String] the path, relative to {base_url}.
|
72
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
73
|
+
# @return [Hash{String=>String}] containing the body of the response.
|
74
|
+
# Example:
|
75
|
+
#
|
76
|
+
# request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
|
77
|
+
# path = "/path"
|
78
|
+
# options = {
|
79
|
+
# body: request_content,
|
80
|
+
# query_params: {'api-version' => '2016-02-01'}
|
81
|
+
# }
|
82
|
+
# result = @client.make_request(:put, path, options)
|
83
|
+
#
|
84
|
+
def make_request(method, path, options = {})
|
85
|
+
result = make_request_with_http_info(method, path, options)
|
86
|
+
result.body unless result.nil?
|
87
|
+
end
|
88
|
+
|
89
|
+
#
|
90
|
+
# Makes a request and returns the operation response.
|
91
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
92
|
+
# @param path [String] the path, relative to {base_url}.
|
93
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
94
|
+
# @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
|
95
|
+
#
|
96
|
+
def make_request_with_http_info(method, path, options = {})
|
97
|
+
result = make_request_async(method, path, options).value!
|
98
|
+
result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
|
99
|
+
result
|
100
|
+
end
|
101
|
+
|
102
|
+
#
|
103
|
+
# Makes a request asynchronously.
|
104
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
105
|
+
# @param path [String] the path, relative to {base_url}.
|
106
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
107
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
108
|
+
#
|
109
|
+
def make_request_async(method, path, options = {})
|
110
|
+
fail ArgumentError, 'method is nil' if method.nil?
|
111
|
+
fail ArgumentError, 'path is nil' if path.nil?
|
112
|
+
|
113
|
+
request_url = options[:base_url] || @base_url
|
114
|
+
if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
|
115
|
+
@request_headers['Content-Type'] = options[:headers]['Content-Type']
|
116
|
+
end
|
117
|
+
|
118
|
+
request_headers = @request_headers
|
119
|
+
request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
|
120
|
+
options.merge!({headers: request_headers.merge(options[:headers] || {})})
|
121
|
+
options.merge!({credentials: @credentials}) unless @credentials.nil?
|
122
|
+
|
123
|
+
super(request_url, method, path, options)
|
124
|
+
end
|
125
|
+
|
126
|
+
|
127
|
+
private
|
128
|
+
#
|
129
|
+
# Adds telemetry information.
|
130
|
+
#
|
131
|
+
def add_telemetry
|
132
|
+
sdk_information = 'azure_mgmt_compute'
|
133
|
+
sdk_information = "#{sdk_information}/0.18.6"
|
134
|
+
add_user_agent_information(sdk_information)
|
135
|
+
end
|
136
|
+
end
|
137
|
+
end
|