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
@@ -0,0 +1,9 @@
|
|
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 end
|
7
|
+
module Azure::Compute end
|
8
|
+
module Azure::Compute::Mgmt end
|
9
|
+
module Azure::Compute::Mgmt::V2018_10_01 end
|
@@ -0,0 +1,107 @@
|
|
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_10_01
|
7
|
+
#
|
8
|
+
# Compute Client
|
9
|
+
#
|
10
|
+
class Operations
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the Operations 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
|
+
# Gets a list of compute operations.
|
26
|
+
#
|
27
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
28
|
+
# will be added to the HTTP request.
|
29
|
+
#
|
30
|
+
# @return [ComputeOperationListResult] operation results.
|
31
|
+
#
|
32
|
+
def list(custom_headers:nil)
|
33
|
+
response = list_async(custom_headers:custom_headers).value!
|
34
|
+
response.body unless response.nil?
|
35
|
+
end
|
36
|
+
|
37
|
+
#
|
38
|
+
# Gets a list of compute operations.
|
39
|
+
#
|
40
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
41
|
+
# will be added to the HTTP request.
|
42
|
+
#
|
43
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
44
|
+
#
|
45
|
+
def list_with_http_info(custom_headers:nil)
|
46
|
+
list_async(custom_headers:custom_headers).value!
|
47
|
+
end
|
48
|
+
|
49
|
+
#
|
50
|
+
# Gets a list of compute operations.
|
51
|
+
#
|
52
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
53
|
+
# to the HTTP request.
|
54
|
+
#
|
55
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
56
|
+
#
|
57
|
+
def list_async(custom_headers:nil)
|
58
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
59
|
+
|
60
|
+
|
61
|
+
request_headers = {}
|
62
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
63
|
+
|
64
|
+
# Set Headers
|
65
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
66
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
67
|
+
path_template = 'providers/Microsoft.Compute/operations'
|
68
|
+
|
69
|
+
request_url = @base_url || @client.base_url
|
70
|
+
|
71
|
+
options = {
|
72
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
73
|
+
query_params: {'api-version' => @client.api_version},
|
74
|
+
headers: request_headers.merge(custom_headers || {}),
|
75
|
+
base_url: request_url
|
76
|
+
}
|
77
|
+
promise = @client.make_request_async(:get, path_template, options)
|
78
|
+
|
79
|
+
promise = promise.then do |result|
|
80
|
+
http_response = result.response
|
81
|
+
status_code = http_response.status
|
82
|
+
response_content = http_response.body
|
83
|
+
unless status_code == 200
|
84
|
+
error_model = JSON.load(response_content)
|
85
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
86
|
+
end
|
87
|
+
|
88
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
89
|
+
# Deserialize Response
|
90
|
+
if status_code == 200
|
91
|
+
begin
|
92
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
93
|
+
result_mapper = Azure::Compute::Mgmt::V2018_10_01::Models::ComputeOperationListResult.mapper()
|
94
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
95
|
+
rescue Exception => e
|
96
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
result
|
101
|
+
end
|
102
|
+
|
103
|
+
promise.execute
|
104
|
+
end
|
105
|
+
|
106
|
+
end
|
107
|
+
end
|
@@ -0,0 +1,821 @@
|
|
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_10_01
|
7
|
+
#
|
8
|
+
# Compute Client
|
9
|
+
#
|
10
|
+
class ProximityPlacementGroups
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the ProximityPlacementGroups 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
|
+
# Create or update a proximity placement group.
|
26
|
+
#
|
27
|
+
# @param resource_group_name [String] The name of the resource group.
|
28
|
+
# @param proximity_placement_group_name [String] The name of the proximity
|
29
|
+
# placement group.
|
30
|
+
# @param parameters [ProximityPlacementGroup] Parameters supplied to the Create
|
31
|
+
# Proximity Placement Group operation.
|
32
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
33
|
+
# will be added to the HTTP request.
|
34
|
+
#
|
35
|
+
# @return [ProximityPlacementGroup] operation results.
|
36
|
+
#
|
37
|
+
def create_or_update(resource_group_name, proximity_placement_group_name, parameters, custom_headers:nil)
|
38
|
+
response = create_or_update_async(resource_group_name, proximity_placement_group_name, parameters, custom_headers:custom_headers).value!
|
39
|
+
response.body unless response.nil?
|
40
|
+
end
|
41
|
+
|
42
|
+
#
|
43
|
+
# Create or update a proximity placement group.
|
44
|
+
#
|
45
|
+
# @param resource_group_name [String] The name of the resource group.
|
46
|
+
# @param proximity_placement_group_name [String] The name of the proximity
|
47
|
+
# placement group.
|
48
|
+
# @param parameters [ProximityPlacementGroup] Parameters supplied to the Create
|
49
|
+
# Proximity Placement Group operation.
|
50
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
51
|
+
# will be added to the HTTP request.
|
52
|
+
#
|
53
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
54
|
+
#
|
55
|
+
def create_or_update_with_http_info(resource_group_name, proximity_placement_group_name, parameters, custom_headers:nil)
|
56
|
+
create_or_update_async(resource_group_name, proximity_placement_group_name, parameters, custom_headers:custom_headers).value!
|
57
|
+
end
|
58
|
+
|
59
|
+
#
|
60
|
+
# Create or update a proximity placement group.
|
61
|
+
#
|
62
|
+
# @param resource_group_name [String] The name of the resource group.
|
63
|
+
# @param proximity_placement_group_name [String] The name of the proximity
|
64
|
+
# placement group.
|
65
|
+
# @param parameters [ProximityPlacementGroup] Parameters supplied to the Create
|
66
|
+
# Proximity Placement Group operation.
|
67
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
68
|
+
# to the HTTP request.
|
69
|
+
#
|
70
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
71
|
+
#
|
72
|
+
def create_or_update_async(resource_group_name, proximity_placement_group_name, parameters, custom_headers:nil)
|
73
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
74
|
+
fail ArgumentError, 'proximity_placement_group_name is nil' if proximity_placement_group_name.nil?
|
75
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
76
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
77
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
78
|
+
|
79
|
+
|
80
|
+
request_headers = {}
|
81
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
82
|
+
|
83
|
+
# Set Headers
|
84
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
85
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
86
|
+
|
87
|
+
# Serialize Request
|
88
|
+
request_mapper = Azure::Compute::Mgmt::V2018_10_01::Models::ProximityPlacementGroup.mapper()
|
89
|
+
request_content = @client.serialize(request_mapper, parameters)
|
90
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
91
|
+
|
92
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}'
|
93
|
+
|
94
|
+
request_url = @base_url || @client.base_url
|
95
|
+
|
96
|
+
options = {
|
97
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
98
|
+
path_params: {'resourceGroupName' => resource_group_name,'proximityPlacementGroupName' => proximity_placement_group_name,'subscriptionId' => @client.subscription_id},
|
99
|
+
query_params: {'api-version' => @client.api_version},
|
100
|
+
body: request_content,
|
101
|
+
headers: request_headers.merge(custom_headers || {}),
|
102
|
+
base_url: request_url
|
103
|
+
}
|
104
|
+
promise = @client.make_request_async(:put, path_template, options)
|
105
|
+
|
106
|
+
promise = promise.then do |result|
|
107
|
+
http_response = result.response
|
108
|
+
status_code = http_response.status
|
109
|
+
response_content = http_response.body
|
110
|
+
unless status_code == 200 || status_code == 201
|
111
|
+
error_model = JSON.load(response_content)
|
112
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
113
|
+
end
|
114
|
+
|
115
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
116
|
+
# Deserialize Response
|
117
|
+
if status_code == 200
|
118
|
+
begin
|
119
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
120
|
+
result_mapper = Azure::Compute::Mgmt::V2018_10_01::Models::ProximityPlacementGroup.mapper()
|
121
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
122
|
+
rescue Exception => e
|
123
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
124
|
+
end
|
125
|
+
end
|
126
|
+
# Deserialize Response
|
127
|
+
if status_code == 201
|
128
|
+
begin
|
129
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
130
|
+
result_mapper = Azure::Compute::Mgmt::V2018_10_01::Models::ProximityPlacementGroup.mapper()
|
131
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
132
|
+
rescue Exception => e
|
133
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
134
|
+
end
|
135
|
+
end
|
136
|
+
|
137
|
+
result
|
138
|
+
end
|
139
|
+
|
140
|
+
promise.execute
|
141
|
+
end
|
142
|
+
|
143
|
+
#
|
144
|
+
# Update a proximity placement group.
|
145
|
+
#
|
146
|
+
# @param resource_group_name [String] The name of the resource group.
|
147
|
+
# @param proximity_placement_group_name [String] The name of the proximity
|
148
|
+
# placement group.
|
149
|
+
# @param parameters [ProximityPlacementGroupUpdate] Parameters supplied to the
|
150
|
+
# Update Proximity Placement Group operation.
|
151
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
152
|
+
# will be added to the HTTP request.
|
153
|
+
#
|
154
|
+
# @return [ProximityPlacementGroup] operation results.
|
155
|
+
#
|
156
|
+
def update(resource_group_name, proximity_placement_group_name, parameters, custom_headers:nil)
|
157
|
+
response = update_async(resource_group_name, proximity_placement_group_name, parameters, custom_headers:custom_headers).value!
|
158
|
+
response.body unless response.nil?
|
159
|
+
end
|
160
|
+
|
161
|
+
#
|
162
|
+
# Update a proximity placement group.
|
163
|
+
#
|
164
|
+
# @param resource_group_name [String] The name of the resource group.
|
165
|
+
# @param proximity_placement_group_name [String] The name of the proximity
|
166
|
+
# placement group.
|
167
|
+
# @param parameters [ProximityPlacementGroupUpdate] Parameters supplied to the
|
168
|
+
# Update Proximity Placement Group operation.
|
169
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
170
|
+
# will be added to the HTTP request.
|
171
|
+
#
|
172
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
173
|
+
#
|
174
|
+
def update_with_http_info(resource_group_name, proximity_placement_group_name, parameters, custom_headers:nil)
|
175
|
+
update_async(resource_group_name, proximity_placement_group_name, parameters, custom_headers:custom_headers).value!
|
176
|
+
end
|
177
|
+
|
178
|
+
#
|
179
|
+
# Update a proximity placement group.
|
180
|
+
#
|
181
|
+
# @param resource_group_name [String] The name of the resource group.
|
182
|
+
# @param proximity_placement_group_name [String] The name of the proximity
|
183
|
+
# placement group.
|
184
|
+
# @param parameters [ProximityPlacementGroupUpdate] Parameters supplied to the
|
185
|
+
# Update Proximity Placement Group operation.
|
186
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
187
|
+
# to the HTTP request.
|
188
|
+
#
|
189
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
190
|
+
#
|
191
|
+
def update_async(resource_group_name, proximity_placement_group_name, parameters, custom_headers:nil)
|
192
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
193
|
+
fail ArgumentError, 'proximity_placement_group_name is nil' if proximity_placement_group_name.nil?
|
194
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
195
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
196
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
197
|
+
|
198
|
+
|
199
|
+
request_headers = {}
|
200
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
201
|
+
|
202
|
+
# Set Headers
|
203
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
204
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
205
|
+
|
206
|
+
# Serialize Request
|
207
|
+
request_mapper = Azure::Compute::Mgmt::V2018_10_01::Models::ProximityPlacementGroupUpdate.mapper()
|
208
|
+
request_content = @client.serialize(request_mapper, parameters)
|
209
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
210
|
+
|
211
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}'
|
212
|
+
|
213
|
+
request_url = @base_url || @client.base_url
|
214
|
+
|
215
|
+
options = {
|
216
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
217
|
+
path_params: {'resourceGroupName' => resource_group_name,'proximityPlacementGroupName' => proximity_placement_group_name,'subscriptionId' => @client.subscription_id},
|
218
|
+
query_params: {'api-version' => @client.api_version},
|
219
|
+
body: request_content,
|
220
|
+
headers: request_headers.merge(custom_headers || {}),
|
221
|
+
base_url: request_url
|
222
|
+
}
|
223
|
+
promise = @client.make_request_async(:patch, path_template, options)
|
224
|
+
|
225
|
+
promise = promise.then do |result|
|
226
|
+
http_response = result.response
|
227
|
+
status_code = http_response.status
|
228
|
+
response_content = http_response.body
|
229
|
+
unless status_code == 200
|
230
|
+
error_model = JSON.load(response_content)
|
231
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
232
|
+
end
|
233
|
+
|
234
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
235
|
+
# Deserialize Response
|
236
|
+
if status_code == 200
|
237
|
+
begin
|
238
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
239
|
+
result_mapper = Azure::Compute::Mgmt::V2018_10_01::Models::ProximityPlacementGroup.mapper()
|
240
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
241
|
+
rescue Exception => e
|
242
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
243
|
+
end
|
244
|
+
end
|
245
|
+
|
246
|
+
result
|
247
|
+
end
|
248
|
+
|
249
|
+
promise.execute
|
250
|
+
end
|
251
|
+
|
252
|
+
#
|
253
|
+
# Delete a proximity placement group.
|
254
|
+
#
|
255
|
+
# @param resource_group_name [String] The name of the resource group.
|
256
|
+
# @param proximity_placement_group_name [String] The name of the proximity
|
257
|
+
# placement group.
|
258
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
259
|
+
# will be added to the HTTP request.
|
260
|
+
#
|
261
|
+
#
|
262
|
+
def delete(resource_group_name, proximity_placement_group_name, custom_headers:nil)
|
263
|
+
response = delete_async(resource_group_name, proximity_placement_group_name, custom_headers:custom_headers).value!
|
264
|
+
nil
|
265
|
+
end
|
266
|
+
|
267
|
+
#
|
268
|
+
# Delete a proximity placement group.
|
269
|
+
#
|
270
|
+
# @param resource_group_name [String] The name of the resource group.
|
271
|
+
# @param proximity_placement_group_name [String] The name of the proximity
|
272
|
+
# placement group.
|
273
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
274
|
+
# will be added to the HTTP request.
|
275
|
+
#
|
276
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
277
|
+
#
|
278
|
+
def delete_with_http_info(resource_group_name, proximity_placement_group_name, custom_headers:nil)
|
279
|
+
delete_async(resource_group_name, proximity_placement_group_name, custom_headers:custom_headers).value!
|
280
|
+
end
|
281
|
+
|
282
|
+
#
|
283
|
+
# Delete a proximity placement group.
|
284
|
+
#
|
285
|
+
# @param resource_group_name [String] The name of the resource group.
|
286
|
+
# @param proximity_placement_group_name [String] The name of the proximity
|
287
|
+
# placement group.
|
288
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
289
|
+
# to the HTTP request.
|
290
|
+
#
|
291
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
292
|
+
#
|
293
|
+
def delete_async(resource_group_name, proximity_placement_group_name, custom_headers:nil)
|
294
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
295
|
+
fail ArgumentError, 'proximity_placement_group_name is nil' if proximity_placement_group_name.nil?
|
296
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
297
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
298
|
+
|
299
|
+
|
300
|
+
request_headers = {}
|
301
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
302
|
+
|
303
|
+
# Set Headers
|
304
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
305
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
306
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}'
|
307
|
+
|
308
|
+
request_url = @base_url || @client.base_url
|
309
|
+
|
310
|
+
options = {
|
311
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
312
|
+
path_params: {'resourceGroupName' => resource_group_name,'proximityPlacementGroupName' => proximity_placement_group_name,'subscriptionId' => @client.subscription_id},
|
313
|
+
query_params: {'api-version' => @client.api_version},
|
314
|
+
headers: request_headers.merge(custom_headers || {}),
|
315
|
+
base_url: request_url
|
316
|
+
}
|
317
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
318
|
+
|
319
|
+
promise = promise.then do |result|
|
320
|
+
http_response = result.response
|
321
|
+
status_code = http_response.status
|
322
|
+
response_content = http_response.body
|
323
|
+
unless status_code == 200
|
324
|
+
error_model = JSON.load(response_content)
|
325
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
326
|
+
end
|
327
|
+
|
328
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
329
|
+
|
330
|
+
result
|
331
|
+
end
|
332
|
+
|
333
|
+
promise.execute
|
334
|
+
end
|
335
|
+
|
336
|
+
#
|
337
|
+
# Retrieves information about a proximity placement group .
|
338
|
+
#
|
339
|
+
# @param resource_group_name [String] The name of the resource group.
|
340
|
+
# @param proximity_placement_group_name [String] The name of the proximity
|
341
|
+
# placement group.
|
342
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
343
|
+
# will be added to the HTTP request.
|
344
|
+
#
|
345
|
+
# @return [ProximityPlacementGroup] operation results.
|
346
|
+
#
|
347
|
+
def get(resource_group_name, proximity_placement_group_name, custom_headers:nil)
|
348
|
+
response = get_async(resource_group_name, proximity_placement_group_name, custom_headers:custom_headers).value!
|
349
|
+
response.body unless response.nil?
|
350
|
+
end
|
351
|
+
|
352
|
+
#
|
353
|
+
# Retrieves information about a proximity placement group .
|
354
|
+
#
|
355
|
+
# @param resource_group_name [String] The name of the resource group.
|
356
|
+
# @param proximity_placement_group_name [String] The name of the proximity
|
357
|
+
# placement group.
|
358
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
359
|
+
# will be added to the HTTP request.
|
360
|
+
#
|
361
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
362
|
+
#
|
363
|
+
def get_with_http_info(resource_group_name, proximity_placement_group_name, custom_headers:nil)
|
364
|
+
get_async(resource_group_name, proximity_placement_group_name, custom_headers:custom_headers).value!
|
365
|
+
end
|
366
|
+
|
367
|
+
#
|
368
|
+
# Retrieves information about a proximity placement group .
|
369
|
+
#
|
370
|
+
# @param resource_group_name [String] The name of the resource group.
|
371
|
+
# @param proximity_placement_group_name [String] The name of the proximity
|
372
|
+
# placement group.
|
373
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
374
|
+
# to the HTTP request.
|
375
|
+
#
|
376
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
377
|
+
#
|
378
|
+
def get_async(resource_group_name, proximity_placement_group_name, custom_headers:nil)
|
379
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
380
|
+
fail ArgumentError, 'proximity_placement_group_name is nil' if proximity_placement_group_name.nil?
|
381
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
382
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
383
|
+
|
384
|
+
|
385
|
+
request_headers = {}
|
386
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
387
|
+
|
388
|
+
# Set Headers
|
389
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
390
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
391
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}'
|
392
|
+
|
393
|
+
request_url = @base_url || @client.base_url
|
394
|
+
|
395
|
+
options = {
|
396
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
397
|
+
path_params: {'resourceGroupName' => resource_group_name,'proximityPlacementGroupName' => proximity_placement_group_name,'subscriptionId' => @client.subscription_id},
|
398
|
+
query_params: {'api-version' => @client.api_version},
|
399
|
+
headers: request_headers.merge(custom_headers || {}),
|
400
|
+
base_url: request_url
|
401
|
+
}
|
402
|
+
promise = @client.make_request_async(:get, path_template, options)
|
403
|
+
|
404
|
+
promise = promise.then do |result|
|
405
|
+
http_response = result.response
|
406
|
+
status_code = http_response.status
|
407
|
+
response_content = http_response.body
|
408
|
+
unless status_code == 200
|
409
|
+
error_model = JSON.load(response_content)
|
410
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
411
|
+
end
|
412
|
+
|
413
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
414
|
+
# Deserialize Response
|
415
|
+
if status_code == 200
|
416
|
+
begin
|
417
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
418
|
+
result_mapper = Azure::Compute::Mgmt::V2018_10_01::Models::ProximityPlacementGroup.mapper()
|
419
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
420
|
+
rescue Exception => e
|
421
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
422
|
+
end
|
423
|
+
end
|
424
|
+
|
425
|
+
result
|
426
|
+
end
|
427
|
+
|
428
|
+
promise.execute
|
429
|
+
end
|
430
|
+
|
431
|
+
#
|
432
|
+
# Lists all proximity placement groups in a subscription.
|
433
|
+
#
|
434
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
435
|
+
# will be added to the HTTP request.
|
436
|
+
#
|
437
|
+
# @return [Array<ProximityPlacementGroup>] operation results.
|
438
|
+
#
|
439
|
+
def list_by_subscription(custom_headers:nil)
|
440
|
+
first_page = list_by_subscription_as_lazy(custom_headers:custom_headers)
|
441
|
+
first_page.get_all_items
|
442
|
+
end
|
443
|
+
|
444
|
+
#
|
445
|
+
# Lists all proximity placement groups in a subscription.
|
446
|
+
#
|
447
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
448
|
+
# will be added to the HTTP request.
|
449
|
+
#
|
450
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
451
|
+
#
|
452
|
+
def list_by_subscription_with_http_info(custom_headers:nil)
|
453
|
+
list_by_subscription_async(custom_headers:custom_headers).value!
|
454
|
+
end
|
455
|
+
|
456
|
+
#
|
457
|
+
# Lists all proximity placement groups in a subscription.
|
458
|
+
#
|
459
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
460
|
+
# to the HTTP request.
|
461
|
+
#
|
462
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
463
|
+
#
|
464
|
+
def list_by_subscription_async(custom_headers:nil)
|
465
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
466
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
467
|
+
|
468
|
+
|
469
|
+
request_headers = {}
|
470
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
471
|
+
|
472
|
+
# Set Headers
|
473
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
474
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
475
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Compute/proximityPlacementGroups'
|
476
|
+
|
477
|
+
request_url = @base_url || @client.base_url
|
478
|
+
|
479
|
+
options = {
|
480
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
481
|
+
path_params: {'subscriptionId' => @client.subscription_id},
|
482
|
+
query_params: {'api-version' => @client.api_version},
|
483
|
+
headers: request_headers.merge(custom_headers || {}),
|
484
|
+
base_url: request_url
|
485
|
+
}
|
486
|
+
promise = @client.make_request_async(:get, path_template, options)
|
487
|
+
|
488
|
+
promise = promise.then do |result|
|
489
|
+
http_response = result.response
|
490
|
+
status_code = http_response.status
|
491
|
+
response_content = http_response.body
|
492
|
+
unless status_code == 200
|
493
|
+
error_model = JSON.load(response_content)
|
494
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
495
|
+
end
|
496
|
+
|
497
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
498
|
+
# Deserialize Response
|
499
|
+
if status_code == 200
|
500
|
+
begin
|
501
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
502
|
+
result_mapper = Azure::Compute::Mgmt::V2018_10_01::Models::ProximityPlacementGroupListResult.mapper()
|
503
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
504
|
+
rescue Exception => e
|
505
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
506
|
+
end
|
507
|
+
end
|
508
|
+
|
509
|
+
result
|
510
|
+
end
|
511
|
+
|
512
|
+
promise.execute
|
513
|
+
end
|
514
|
+
|
515
|
+
#
|
516
|
+
# Lists all proximity placement groups in a resource group.
|
517
|
+
#
|
518
|
+
# @param resource_group_name [String] The name of the resource group.
|
519
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
520
|
+
# will be added to the HTTP request.
|
521
|
+
#
|
522
|
+
# @return [Array<ProximityPlacementGroup>] operation results.
|
523
|
+
#
|
524
|
+
def list_by_resource_group(resource_group_name, custom_headers:nil)
|
525
|
+
first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers)
|
526
|
+
first_page.get_all_items
|
527
|
+
end
|
528
|
+
|
529
|
+
#
|
530
|
+
# Lists all proximity placement groups in a resource group.
|
531
|
+
#
|
532
|
+
# @param resource_group_name [String] The name of the resource group.
|
533
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
534
|
+
# will be added to the HTTP request.
|
535
|
+
#
|
536
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
537
|
+
#
|
538
|
+
def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil)
|
539
|
+
list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value!
|
540
|
+
end
|
541
|
+
|
542
|
+
#
|
543
|
+
# Lists all proximity placement groups in a resource group.
|
544
|
+
#
|
545
|
+
# @param resource_group_name [String] The name of the resource group.
|
546
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
547
|
+
# to the HTTP request.
|
548
|
+
#
|
549
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
550
|
+
#
|
551
|
+
def list_by_resource_group_async(resource_group_name, custom_headers:nil)
|
552
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
553
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
554
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
555
|
+
|
556
|
+
|
557
|
+
request_headers = {}
|
558
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
559
|
+
|
560
|
+
# Set Headers
|
561
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
562
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
563
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups'
|
564
|
+
|
565
|
+
request_url = @base_url || @client.base_url
|
566
|
+
|
567
|
+
options = {
|
568
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
569
|
+
path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
|
570
|
+
query_params: {'api-version' => @client.api_version},
|
571
|
+
headers: request_headers.merge(custom_headers || {}),
|
572
|
+
base_url: request_url
|
573
|
+
}
|
574
|
+
promise = @client.make_request_async(:get, path_template, options)
|
575
|
+
|
576
|
+
promise = promise.then do |result|
|
577
|
+
http_response = result.response
|
578
|
+
status_code = http_response.status
|
579
|
+
response_content = http_response.body
|
580
|
+
unless status_code == 200
|
581
|
+
error_model = JSON.load(response_content)
|
582
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
583
|
+
end
|
584
|
+
|
585
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
586
|
+
# Deserialize Response
|
587
|
+
if status_code == 200
|
588
|
+
begin
|
589
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
590
|
+
result_mapper = Azure::Compute::Mgmt::V2018_10_01::Models::ProximityPlacementGroupListResult.mapper()
|
591
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
592
|
+
rescue Exception => e
|
593
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
594
|
+
end
|
595
|
+
end
|
596
|
+
|
597
|
+
result
|
598
|
+
end
|
599
|
+
|
600
|
+
promise.execute
|
601
|
+
end
|
602
|
+
|
603
|
+
#
|
604
|
+
# Lists all proximity placement groups in a subscription.
|
605
|
+
#
|
606
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
607
|
+
# to List operation.
|
608
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
609
|
+
# will be added to the HTTP request.
|
610
|
+
#
|
611
|
+
# @return [ProximityPlacementGroupListResult] operation results.
|
612
|
+
#
|
613
|
+
def list_by_subscription_next(next_page_link, custom_headers:nil)
|
614
|
+
response = list_by_subscription_next_async(next_page_link, custom_headers:custom_headers).value!
|
615
|
+
response.body unless response.nil?
|
616
|
+
end
|
617
|
+
|
618
|
+
#
|
619
|
+
# Lists all proximity placement groups in a subscription.
|
620
|
+
#
|
621
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
622
|
+
# to List operation.
|
623
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
624
|
+
# will be added to the HTTP request.
|
625
|
+
#
|
626
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
627
|
+
#
|
628
|
+
def list_by_subscription_next_with_http_info(next_page_link, custom_headers:nil)
|
629
|
+
list_by_subscription_next_async(next_page_link, custom_headers:custom_headers).value!
|
630
|
+
end
|
631
|
+
|
632
|
+
#
|
633
|
+
# Lists all proximity placement groups in a subscription.
|
634
|
+
#
|
635
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
636
|
+
# to List operation.
|
637
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
638
|
+
# to the HTTP request.
|
639
|
+
#
|
640
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
641
|
+
#
|
642
|
+
def list_by_subscription_next_async(next_page_link, custom_headers:nil)
|
643
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
644
|
+
|
645
|
+
|
646
|
+
request_headers = {}
|
647
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
648
|
+
|
649
|
+
# Set Headers
|
650
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
651
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
652
|
+
path_template = '{nextLink}'
|
653
|
+
|
654
|
+
request_url = @base_url || @client.base_url
|
655
|
+
|
656
|
+
options = {
|
657
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
658
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
659
|
+
headers: request_headers.merge(custom_headers || {}),
|
660
|
+
base_url: request_url
|
661
|
+
}
|
662
|
+
promise = @client.make_request_async(:get, path_template, options)
|
663
|
+
|
664
|
+
promise = promise.then do |result|
|
665
|
+
http_response = result.response
|
666
|
+
status_code = http_response.status
|
667
|
+
response_content = http_response.body
|
668
|
+
unless status_code == 200
|
669
|
+
error_model = JSON.load(response_content)
|
670
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
671
|
+
end
|
672
|
+
|
673
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
674
|
+
# Deserialize Response
|
675
|
+
if status_code == 200
|
676
|
+
begin
|
677
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
678
|
+
result_mapper = Azure::Compute::Mgmt::V2018_10_01::Models::ProximityPlacementGroupListResult.mapper()
|
679
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
680
|
+
rescue Exception => e
|
681
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
682
|
+
end
|
683
|
+
end
|
684
|
+
|
685
|
+
result
|
686
|
+
end
|
687
|
+
|
688
|
+
promise.execute
|
689
|
+
end
|
690
|
+
|
691
|
+
#
|
692
|
+
# Lists all proximity placement groups in a resource group.
|
693
|
+
#
|
694
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
695
|
+
# to List operation.
|
696
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
697
|
+
# will be added to the HTTP request.
|
698
|
+
#
|
699
|
+
# @return [ProximityPlacementGroupListResult] operation results.
|
700
|
+
#
|
701
|
+
def list_by_resource_group_next(next_page_link, custom_headers:nil)
|
702
|
+
response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
|
703
|
+
response.body unless response.nil?
|
704
|
+
end
|
705
|
+
|
706
|
+
#
|
707
|
+
# Lists all proximity placement groups in a resource group.
|
708
|
+
#
|
709
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
710
|
+
# to List operation.
|
711
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
712
|
+
# will be added to the HTTP request.
|
713
|
+
#
|
714
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
715
|
+
#
|
716
|
+
def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil)
|
717
|
+
list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
|
718
|
+
end
|
719
|
+
|
720
|
+
#
|
721
|
+
# Lists all proximity placement groups in a resource group.
|
722
|
+
#
|
723
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
724
|
+
# to List operation.
|
725
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
726
|
+
# to the HTTP request.
|
727
|
+
#
|
728
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
729
|
+
#
|
730
|
+
def list_by_resource_group_next_async(next_page_link, custom_headers:nil)
|
731
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
732
|
+
|
733
|
+
|
734
|
+
request_headers = {}
|
735
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
736
|
+
|
737
|
+
# Set Headers
|
738
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
739
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
740
|
+
path_template = '{nextLink}'
|
741
|
+
|
742
|
+
request_url = @base_url || @client.base_url
|
743
|
+
|
744
|
+
options = {
|
745
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
746
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
747
|
+
headers: request_headers.merge(custom_headers || {}),
|
748
|
+
base_url: request_url
|
749
|
+
}
|
750
|
+
promise = @client.make_request_async(:get, path_template, options)
|
751
|
+
|
752
|
+
promise = promise.then do |result|
|
753
|
+
http_response = result.response
|
754
|
+
status_code = http_response.status
|
755
|
+
response_content = http_response.body
|
756
|
+
unless status_code == 200
|
757
|
+
error_model = JSON.load(response_content)
|
758
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
759
|
+
end
|
760
|
+
|
761
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
762
|
+
# Deserialize Response
|
763
|
+
if status_code == 200
|
764
|
+
begin
|
765
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
766
|
+
result_mapper = Azure::Compute::Mgmt::V2018_10_01::Models::ProximityPlacementGroupListResult.mapper()
|
767
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
768
|
+
rescue Exception => e
|
769
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
770
|
+
end
|
771
|
+
end
|
772
|
+
|
773
|
+
result
|
774
|
+
end
|
775
|
+
|
776
|
+
promise.execute
|
777
|
+
end
|
778
|
+
|
779
|
+
#
|
780
|
+
# Lists all proximity placement groups in a subscription.
|
781
|
+
#
|
782
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
783
|
+
# will be added to the HTTP request.
|
784
|
+
#
|
785
|
+
# @return [ProximityPlacementGroupListResult] which provide lazy access to
|
786
|
+
# pages of the response.
|
787
|
+
#
|
788
|
+
def list_by_subscription_as_lazy(custom_headers:nil)
|
789
|
+
response = list_by_subscription_async(custom_headers:custom_headers).value!
|
790
|
+
unless response.nil?
|
791
|
+
page = response.body
|
792
|
+
page.next_method = Proc.new do |next_page_link|
|
793
|
+
list_by_subscription_next_async(next_page_link, custom_headers:custom_headers)
|
794
|
+
end
|
795
|
+
page
|
796
|
+
end
|
797
|
+
end
|
798
|
+
|
799
|
+
#
|
800
|
+
# Lists all proximity placement groups in a resource group.
|
801
|
+
#
|
802
|
+
# @param resource_group_name [String] The name of the resource group.
|
803
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
804
|
+
# will be added to the HTTP request.
|
805
|
+
#
|
806
|
+
# @return [ProximityPlacementGroupListResult] which provide lazy access to
|
807
|
+
# pages of the response.
|
808
|
+
#
|
809
|
+
def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil)
|
810
|
+
response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value!
|
811
|
+
unless response.nil?
|
812
|
+
page = response.body
|
813
|
+
page.next_method = Proc.new do |next_page_link|
|
814
|
+
list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers)
|
815
|
+
end
|
816
|
+
page
|
817
|
+
end
|
818
|
+
end
|
819
|
+
|
820
|
+
end
|
821
|
+
end
|