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,590 @@
|
|
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::V2019_03_01
|
7
|
+
#
|
8
|
+
# Compute Client
|
9
|
+
#
|
10
|
+
class VirtualMachineImages
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the VirtualMachineImages 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 virtual machine image.
|
26
|
+
#
|
27
|
+
# @param location [String] The name of a supported Azure region.
|
28
|
+
# @param publisher_name [String] A valid image publisher.
|
29
|
+
# @param offer [String] A valid image publisher offer.
|
30
|
+
# @param skus [String] A valid image SKU.
|
31
|
+
# @param version [String] A valid image SKU version.
|
32
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
33
|
+
# will be added to the HTTP request.
|
34
|
+
#
|
35
|
+
# @return [VirtualMachineImage] operation results.
|
36
|
+
#
|
37
|
+
def get(location, publisher_name, offer, skus, version, custom_headers:nil)
|
38
|
+
response = get_async(location, publisher_name, offer, skus, version, custom_headers:custom_headers).value!
|
39
|
+
response.body unless response.nil?
|
40
|
+
end
|
41
|
+
|
42
|
+
#
|
43
|
+
# Gets a virtual machine image.
|
44
|
+
#
|
45
|
+
# @param location [String] The name of a supported Azure region.
|
46
|
+
# @param publisher_name [String] A valid image publisher.
|
47
|
+
# @param offer [String] A valid image publisher offer.
|
48
|
+
# @param skus [String] A valid image SKU.
|
49
|
+
# @param version [String] A valid image SKU version.
|
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 get_with_http_info(location, publisher_name, offer, skus, version, custom_headers:nil)
|
56
|
+
get_async(location, publisher_name, offer, skus, version, custom_headers:custom_headers).value!
|
57
|
+
end
|
58
|
+
|
59
|
+
#
|
60
|
+
# Gets a virtual machine image.
|
61
|
+
#
|
62
|
+
# @param location [String] The name of a supported Azure region.
|
63
|
+
# @param publisher_name [String] A valid image publisher.
|
64
|
+
# @param offer [String] A valid image publisher offer.
|
65
|
+
# @param skus [String] A valid image SKU.
|
66
|
+
# @param version [String] A valid image SKU version.
|
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 get_async(location, publisher_name, offer, skus, version, custom_headers:nil)
|
73
|
+
fail ArgumentError, 'location is nil' if location.nil?
|
74
|
+
fail ArgumentError, 'publisher_name is nil' if publisher_name.nil?
|
75
|
+
fail ArgumentError, 'offer is nil' if offer.nil?
|
76
|
+
fail ArgumentError, 'skus is nil' if skus.nil?
|
77
|
+
fail ArgumentError, 'version is nil' if version.nil?
|
78
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
79
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
80
|
+
|
81
|
+
|
82
|
+
request_headers = {}
|
83
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
84
|
+
|
85
|
+
# Set Headers
|
86
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
87
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
88
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version}'
|
89
|
+
|
90
|
+
request_url = @base_url || @client.base_url
|
91
|
+
|
92
|
+
options = {
|
93
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
94
|
+
path_params: {'location' => location,'publisherName' => publisher_name,'offer' => offer,'skus' => skus,'version' => version,'subscriptionId' => @client.subscription_id},
|
95
|
+
query_params: {'api-version' => @client.api_version},
|
96
|
+
headers: request_headers.merge(custom_headers || {}),
|
97
|
+
base_url: request_url
|
98
|
+
}
|
99
|
+
promise = @client.make_request_async(:get, path_template, options)
|
100
|
+
|
101
|
+
promise = promise.then do |result|
|
102
|
+
http_response = result.response
|
103
|
+
status_code = http_response.status
|
104
|
+
response_content = http_response.body
|
105
|
+
unless status_code == 200
|
106
|
+
error_model = JSON.load(response_content)
|
107
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
108
|
+
end
|
109
|
+
|
110
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
111
|
+
# Deserialize Response
|
112
|
+
if status_code == 200
|
113
|
+
begin
|
114
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
115
|
+
result_mapper = Azure::Compute::Mgmt::V2019_03_01::Models::VirtualMachineImage.mapper()
|
116
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
117
|
+
rescue Exception => e
|
118
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
119
|
+
end
|
120
|
+
end
|
121
|
+
|
122
|
+
result
|
123
|
+
end
|
124
|
+
|
125
|
+
promise.execute
|
126
|
+
end
|
127
|
+
|
128
|
+
#
|
129
|
+
# Gets a list of all virtual machine image versions for the specified location,
|
130
|
+
# publisher, offer, and SKU.
|
131
|
+
#
|
132
|
+
# @param location [String] The name of a supported Azure region.
|
133
|
+
# @param publisher_name [String] A valid image publisher.
|
134
|
+
# @param offer [String] A valid image publisher offer.
|
135
|
+
# @param skus [String] A valid image SKU.
|
136
|
+
# @param filter [String] The filter to apply on the operation.
|
137
|
+
# @param top [Integer]
|
138
|
+
# @param orderby [String]
|
139
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
140
|
+
# will be added to the HTTP request.
|
141
|
+
#
|
142
|
+
# @return [Array] operation results.
|
143
|
+
#
|
144
|
+
def list(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil)
|
145
|
+
response = list_async(location, publisher_name, offer, skus, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value!
|
146
|
+
response.body unless response.nil?
|
147
|
+
end
|
148
|
+
|
149
|
+
#
|
150
|
+
# Gets a list of all virtual machine image versions for the specified location,
|
151
|
+
# publisher, offer, and SKU.
|
152
|
+
#
|
153
|
+
# @param location [String] The name of a supported Azure region.
|
154
|
+
# @param publisher_name [String] A valid image publisher.
|
155
|
+
# @param offer [String] A valid image publisher offer.
|
156
|
+
# @param skus [String] A valid image SKU.
|
157
|
+
# @param filter [String] The filter to apply on the operation.
|
158
|
+
# @param top [Integer]
|
159
|
+
# @param orderby [String]
|
160
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
161
|
+
# will be added to the HTTP request.
|
162
|
+
#
|
163
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
164
|
+
#
|
165
|
+
def list_with_http_info(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil)
|
166
|
+
list_async(location, publisher_name, offer, skus, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value!
|
167
|
+
end
|
168
|
+
|
169
|
+
#
|
170
|
+
# Gets a list of all virtual machine image versions for the specified location,
|
171
|
+
# publisher, offer, and SKU.
|
172
|
+
#
|
173
|
+
# @param location [String] The name of a supported Azure region.
|
174
|
+
# @param publisher_name [String] A valid image publisher.
|
175
|
+
# @param offer [String] A valid image publisher offer.
|
176
|
+
# @param skus [String] A valid image SKU.
|
177
|
+
# @param filter [String] The filter to apply on the operation.
|
178
|
+
# @param top [Integer]
|
179
|
+
# @param orderby [String]
|
180
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
181
|
+
# to the HTTP request.
|
182
|
+
#
|
183
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
184
|
+
#
|
185
|
+
def list_async(location, publisher_name, offer, skus, filter:nil, top:nil, orderby:nil, custom_headers:nil)
|
186
|
+
fail ArgumentError, 'location is nil' if location.nil?
|
187
|
+
fail ArgumentError, 'publisher_name is nil' if publisher_name.nil?
|
188
|
+
fail ArgumentError, 'offer is nil' if offer.nil?
|
189
|
+
fail ArgumentError, 'skus is nil' if skus.nil?
|
190
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
191
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
192
|
+
|
193
|
+
|
194
|
+
request_headers = {}
|
195
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
196
|
+
|
197
|
+
# Set Headers
|
198
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
199
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
200
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions'
|
201
|
+
|
202
|
+
request_url = @base_url || @client.base_url
|
203
|
+
|
204
|
+
options = {
|
205
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
206
|
+
path_params: {'location' => location,'publisherName' => publisher_name,'offer' => offer,'skus' => skus,'subscriptionId' => @client.subscription_id},
|
207
|
+
query_params: {'$filter' => filter,'$top' => top,'$orderby' => orderby,'api-version' => @client.api_version},
|
208
|
+
headers: request_headers.merge(custom_headers || {}),
|
209
|
+
base_url: request_url
|
210
|
+
}
|
211
|
+
promise = @client.make_request_async(:get, path_template, options)
|
212
|
+
|
213
|
+
promise = promise.then do |result|
|
214
|
+
http_response = result.response
|
215
|
+
status_code = http_response.status
|
216
|
+
response_content = http_response.body
|
217
|
+
unless status_code == 200
|
218
|
+
error_model = JSON.load(response_content)
|
219
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
220
|
+
end
|
221
|
+
|
222
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
223
|
+
# Deserialize Response
|
224
|
+
if status_code == 200
|
225
|
+
begin
|
226
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
227
|
+
result_mapper = {
|
228
|
+
client_side_validation: true,
|
229
|
+
required: false,
|
230
|
+
serialized_name: 'parsed_response',
|
231
|
+
type: {
|
232
|
+
name: 'Sequence',
|
233
|
+
element: {
|
234
|
+
client_side_validation: true,
|
235
|
+
required: false,
|
236
|
+
serialized_name: 'VirtualMachineImageResourceElementType',
|
237
|
+
type: {
|
238
|
+
name: 'Composite',
|
239
|
+
class_name: 'VirtualMachineImageResource'
|
240
|
+
}
|
241
|
+
}
|
242
|
+
}
|
243
|
+
}
|
244
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
245
|
+
rescue Exception => e
|
246
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
247
|
+
end
|
248
|
+
end
|
249
|
+
|
250
|
+
result
|
251
|
+
end
|
252
|
+
|
253
|
+
promise.execute
|
254
|
+
end
|
255
|
+
|
256
|
+
#
|
257
|
+
# Gets a list of virtual machine image offers for the specified location and
|
258
|
+
# publisher.
|
259
|
+
#
|
260
|
+
# @param location [String] The name of a supported Azure region.
|
261
|
+
# @param publisher_name [String] A valid image publisher.
|
262
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
263
|
+
# will be added to the HTTP request.
|
264
|
+
#
|
265
|
+
# @return [Array] operation results.
|
266
|
+
#
|
267
|
+
def list_offers(location, publisher_name, custom_headers:nil)
|
268
|
+
response = list_offers_async(location, publisher_name, custom_headers:custom_headers).value!
|
269
|
+
response.body unless response.nil?
|
270
|
+
end
|
271
|
+
|
272
|
+
#
|
273
|
+
# Gets a list of virtual machine image offers for the specified location and
|
274
|
+
# publisher.
|
275
|
+
#
|
276
|
+
# @param location [String] The name of a supported Azure region.
|
277
|
+
# @param publisher_name [String] A valid image publisher.
|
278
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
279
|
+
# will be added to the HTTP request.
|
280
|
+
#
|
281
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
282
|
+
#
|
283
|
+
def list_offers_with_http_info(location, publisher_name, custom_headers:nil)
|
284
|
+
list_offers_async(location, publisher_name, custom_headers:custom_headers).value!
|
285
|
+
end
|
286
|
+
|
287
|
+
#
|
288
|
+
# Gets a list of virtual machine image offers for the specified location and
|
289
|
+
# publisher.
|
290
|
+
#
|
291
|
+
# @param location [String] The name of a supported Azure region.
|
292
|
+
# @param publisher_name [String] A valid image publisher.
|
293
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
294
|
+
# to the HTTP request.
|
295
|
+
#
|
296
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
297
|
+
#
|
298
|
+
def list_offers_async(location, publisher_name, custom_headers:nil)
|
299
|
+
fail ArgumentError, 'location is nil' if location.nil?
|
300
|
+
fail ArgumentError, 'publisher_name is nil' if publisher_name.nil?
|
301
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
302
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
303
|
+
|
304
|
+
|
305
|
+
request_headers = {}
|
306
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
307
|
+
|
308
|
+
# Set Headers
|
309
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
310
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
311
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers'
|
312
|
+
|
313
|
+
request_url = @base_url || @client.base_url
|
314
|
+
|
315
|
+
options = {
|
316
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
317
|
+
path_params: {'location' => location,'publisherName' => publisher_name,'subscriptionId' => @client.subscription_id},
|
318
|
+
query_params: {'api-version' => @client.api_version},
|
319
|
+
headers: request_headers.merge(custom_headers || {}),
|
320
|
+
base_url: request_url
|
321
|
+
}
|
322
|
+
promise = @client.make_request_async(:get, path_template, options)
|
323
|
+
|
324
|
+
promise = promise.then do |result|
|
325
|
+
http_response = result.response
|
326
|
+
status_code = http_response.status
|
327
|
+
response_content = http_response.body
|
328
|
+
unless status_code == 200
|
329
|
+
error_model = JSON.load(response_content)
|
330
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
331
|
+
end
|
332
|
+
|
333
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
334
|
+
# Deserialize Response
|
335
|
+
if status_code == 200
|
336
|
+
begin
|
337
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
338
|
+
result_mapper = {
|
339
|
+
client_side_validation: true,
|
340
|
+
required: false,
|
341
|
+
serialized_name: 'parsed_response',
|
342
|
+
type: {
|
343
|
+
name: 'Sequence',
|
344
|
+
element: {
|
345
|
+
client_side_validation: true,
|
346
|
+
required: false,
|
347
|
+
serialized_name: 'VirtualMachineImageResourceElementType',
|
348
|
+
type: {
|
349
|
+
name: 'Composite',
|
350
|
+
class_name: 'VirtualMachineImageResource'
|
351
|
+
}
|
352
|
+
}
|
353
|
+
}
|
354
|
+
}
|
355
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
356
|
+
rescue Exception => e
|
357
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
358
|
+
end
|
359
|
+
end
|
360
|
+
|
361
|
+
result
|
362
|
+
end
|
363
|
+
|
364
|
+
promise.execute
|
365
|
+
end
|
366
|
+
|
367
|
+
#
|
368
|
+
# Gets a list of virtual machine image publishers for the specified Azure
|
369
|
+
# location.
|
370
|
+
#
|
371
|
+
# @param location [String] The name of a supported Azure region.
|
372
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
373
|
+
# will be added to the HTTP request.
|
374
|
+
#
|
375
|
+
# @return [Array] operation results.
|
376
|
+
#
|
377
|
+
def list_publishers(location, custom_headers:nil)
|
378
|
+
response = list_publishers_async(location, custom_headers:custom_headers).value!
|
379
|
+
response.body unless response.nil?
|
380
|
+
end
|
381
|
+
|
382
|
+
#
|
383
|
+
# Gets a list of virtual machine image publishers for the specified Azure
|
384
|
+
# location.
|
385
|
+
#
|
386
|
+
# @param location [String] The name of a supported Azure region.
|
387
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
388
|
+
# will be added to the HTTP request.
|
389
|
+
#
|
390
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
391
|
+
#
|
392
|
+
def list_publishers_with_http_info(location, custom_headers:nil)
|
393
|
+
list_publishers_async(location, custom_headers:custom_headers).value!
|
394
|
+
end
|
395
|
+
|
396
|
+
#
|
397
|
+
# Gets a list of virtual machine image publishers for the specified Azure
|
398
|
+
# location.
|
399
|
+
#
|
400
|
+
# @param location [String] The name of a supported Azure region.
|
401
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
402
|
+
# to the HTTP request.
|
403
|
+
#
|
404
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
405
|
+
#
|
406
|
+
def list_publishers_async(location, custom_headers:nil)
|
407
|
+
fail ArgumentError, 'location is nil' if location.nil?
|
408
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
409
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
410
|
+
|
411
|
+
|
412
|
+
request_headers = {}
|
413
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
414
|
+
|
415
|
+
# Set Headers
|
416
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
417
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
418
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers'
|
419
|
+
|
420
|
+
request_url = @base_url || @client.base_url
|
421
|
+
|
422
|
+
options = {
|
423
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
424
|
+
path_params: {'location' => location,'subscriptionId' => @client.subscription_id},
|
425
|
+
query_params: {'api-version' => @client.api_version},
|
426
|
+
headers: request_headers.merge(custom_headers || {}),
|
427
|
+
base_url: request_url
|
428
|
+
}
|
429
|
+
promise = @client.make_request_async(:get, path_template, options)
|
430
|
+
|
431
|
+
promise = promise.then do |result|
|
432
|
+
http_response = result.response
|
433
|
+
status_code = http_response.status
|
434
|
+
response_content = http_response.body
|
435
|
+
unless status_code == 200
|
436
|
+
error_model = JSON.load(response_content)
|
437
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
438
|
+
end
|
439
|
+
|
440
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
441
|
+
# Deserialize Response
|
442
|
+
if status_code == 200
|
443
|
+
begin
|
444
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
445
|
+
result_mapper = {
|
446
|
+
client_side_validation: true,
|
447
|
+
required: false,
|
448
|
+
serialized_name: 'parsed_response',
|
449
|
+
type: {
|
450
|
+
name: 'Sequence',
|
451
|
+
element: {
|
452
|
+
client_side_validation: true,
|
453
|
+
required: false,
|
454
|
+
serialized_name: 'VirtualMachineImageResourceElementType',
|
455
|
+
type: {
|
456
|
+
name: 'Composite',
|
457
|
+
class_name: 'VirtualMachineImageResource'
|
458
|
+
}
|
459
|
+
}
|
460
|
+
}
|
461
|
+
}
|
462
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
463
|
+
rescue Exception => e
|
464
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
465
|
+
end
|
466
|
+
end
|
467
|
+
|
468
|
+
result
|
469
|
+
end
|
470
|
+
|
471
|
+
promise.execute
|
472
|
+
end
|
473
|
+
|
474
|
+
#
|
475
|
+
# Gets a list of virtual machine image SKUs for the specified location,
|
476
|
+
# publisher, and offer.
|
477
|
+
#
|
478
|
+
# @param location [String] The name of a supported Azure region.
|
479
|
+
# @param publisher_name [String] A valid image publisher.
|
480
|
+
# @param offer [String] A valid image publisher offer.
|
481
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
482
|
+
# will be added to the HTTP request.
|
483
|
+
#
|
484
|
+
# @return [Array] operation results.
|
485
|
+
#
|
486
|
+
def list_skus(location, publisher_name, offer, custom_headers:nil)
|
487
|
+
response = list_skus_async(location, publisher_name, offer, custom_headers:custom_headers).value!
|
488
|
+
response.body unless response.nil?
|
489
|
+
end
|
490
|
+
|
491
|
+
#
|
492
|
+
# Gets a list of virtual machine image SKUs for the specified location,
|
493
|
+
# publisher, and offer.
|
494
|
+
#
|
495
|
+
# @param location [String] The name of a supported Azure region.
|
496
|
+
# @param publisher_name [String] A valid image publisher.
|
497
|
+
# @param offer [String] A valid image publisher offer.
|
498
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
499
|
+
# will be added to the HTTP request.
|
500
|
+
#
|
501
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
502
|
+
#
|
503
|
+
def list_skus_with_http_info(location, publisher_name, offer, custom_headers:nil)
|
504
|
+
list_skus_async(location, publisher_name, offer, custom_headers:custom_headers).value!
|
505
|
+
end
|
506
|
+
|
507
|
+
#
|
508
|
+
# Gets a list of virtual machine image SKUs for the specified location,
|
509
|
+
# publisher, and offer.
|
510
|
+
#
|
511
|
+
# @param location [String] The name of a supported Azure region.
|
512
|
+
# @param publisher_name [String] A valid image publisher.
|
513
|
+
# @param offer [String] A valid image publisher offer.
|
514
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
515
|
+
# to the HTTP request.
|
516
|
+
#
|
517
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
518
|
+
#
|
519
|
+
def list_skus_async(location, publisher_name, offer, custom_headers:nil)
|
520
|
+
fail ArgumentError, 'location is nil' if location.nil?
|
521
|
+
fail ArgumentError, 'publisher_name is nil' if publisher_name.nil?
|
522
|
+
fail ArgumentError, 'offer is nil' if offer.nil?
|
523
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
524
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
525
|
+
|
526
|
+
|
527
|
+
request_headers = {}
|
528
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
529
|
+
|
530
|
+
# Set Headers
|
531
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
532
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
533
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus'
|
534
|
+
|
535
|
+
request_url = @base_url || @client.base_url
|
536
|
+
|
537
|
+
options = {
|
538
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
539
|
+
path_params: {'location' => location,'publisherName' => publisher_name,'offer' => offer,'subscriptionId' => @client.subscription_id},
|
540
|
+
query_params: {'api-version' => @client.api_version},
|
541
|
+
headers: request_headers.merge(custom_headers || {}),
|
542
|
+
base_url: request_url
|
543
|
+
}
|
544
|
+
promise = @client.make_request_async(:get, path_template, options)
|
545
|
+
|
546
|
+
promise = promise.then do |result|
|
547
|
+
http_response = result.response
|
548
|
+
status_code = http_response.status
|
549
|
+
response_content = http_response.body
|
550
|
+
unless status_code == 200
|
551
|
+
error_model = JSON.load(response_content)
|
552
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
553
|
+
end
|
554
|
+
|
555
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
556
|
+
# Deserialize Response
|
557
|
+
if status_code == 200
|
558
|
+
begin
|
559
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
560
|
+
result_mapper = {
|
561
|
+
client_side_validation: true,
|
562
|
+
required: false,
|
563
|
+
serialized_name: 'parsed_response',
|
564
|
+
type: {
|
565
|
+
name: 'Sequence',
|
566
|
+
element: {
|
567
|
+
client_side_validation: true,
|
568
|
+
required: false,
|
569
|
+
serialized_name: 'VirtualMachineImageResourceElementType',
|
570
|
+
type: {
|
571
|
+
name: 'Composite',
|
572
|
+
class_name: 'VirtualMachineImageResource'
|
573
|
+
}
|
574
|
+
}
|
575
|
+
}
|
576
|
+
}
|
577
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
578
|
+
rescue Exception => e
|
579
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
580
|
+
end
|
581
|
+
end
|
582
|
+
|
583
|
+
result
|
584
|
+
end
|
585
|
+
|
586
|
+
promise.execute
|
587
|
+
end
|
588
|
+
|
589
|
+
end
|
590
|
+
end
|