azure_mgmt_compute 0.19.1 → 0.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2015-06-15/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2017-09-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2017-12-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2018-04-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2018-09-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2018-10-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2019-03-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2019-04-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2019-04-01/generated/azure_mgmt_compute/resource_skus.rb +8 -4
- data/lib/2019-07-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2019-11-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_compute.rb +311 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/availability_sets.rb +920 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/compute_management_client.rb +232 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/dedicated_host_groups.rb +852 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/dedicated_hosts.rb +806 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/galleries.rb +988 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/gallery_application_versions.rb +915 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/gallery_applications.rb +856 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/gallery_image_versions.rb +911 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/gallery_images.rb +856 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/images.rb +975 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/log_analytics.rb +341 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/additional_capabilities.rb +51 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb +93 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/aggregated_replication_state.rb +18 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/api_entity_reference.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/api_error.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/api_error_base.rb +68 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/automatic_osupgrade_policy.rb +63 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/automatic_osupgrade_properties.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/automatic_repairs_policy.rb +64 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/availability_set.rb +189 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/availability_set_list_result.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/availability_set_sku_types.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/availability_set_update.rb +142 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/billing_profile.rb +60 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb +62 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +74 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/caching_types.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/component_names.rb +15 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/compute_operation_list_result.rb +56 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/compute_operation_value.rb +108 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/data_disk.rb +201 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/data_disk_image.rb +49 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/data_disk_image_encryption.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/dedicated_host.rb +220 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/dedicated_host_allocatable_vm.rb +60 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/dedicated_host_available_capacity.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/dedicated_host_group.rb +148 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/dedicated_host_group_list_result.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/dedicated_host_group_update.rb +111 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/dedicated_host_instance_view.rb +81 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/dedicated_host_license_types.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/dedicated_host_list_result.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/dedicated_host_update.rb +172 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb +52 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/diff_disk_options.rb +15 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/diff_disk_placement.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/diff_disk_settings.rb +69 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/disallowed.rb +54 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/disk_create_option_types.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/disk_encryption_set_parameters.rb +46 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +73 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/disk_image_encryption.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/disk_instance_view.rb +87 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/encryption_images.rb +69 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery.rb +125 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_application.rb +161 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_application_list.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_application_update.rb +153 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_application_version.rb +127 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_application_version_list.rb +101 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_application_version_publishing_profile.rb +130 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_application_version_update.rb +119 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_artifact_publishing_profile_base.rb +120 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_artifact_source.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_artifact_version_source.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_data_disk_image.rb +76 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_disk_image.rb +74 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_identifier.rb +48 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image.rb +251 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_identifier.rb +68 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_list.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_update.rb +243 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_version.rb +139 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_version_list.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_version_publishing_profile.rb +93 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_version_storage_profile.rb +79 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_version_update.rb +131 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_list.rb +99 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_osdisk_image.rb +62 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_update.rb +117 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/hardware_profile.rb +104 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/host_caching.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/hyper_vgeneration.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/hyper_vgeneration_type.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/hyper_vgeneration_types.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/image.rb +139 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/image_data_disk.rb +108 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/image_disk.rb +126 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/image_list_result.rb +99 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/image_osdisk.rb +123 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/image_purchase_plan.rb +69 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/image_reference.rb +114 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/image_storage_profile.rb +86 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/image_update.rb +102 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/inner_error.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/instance_view_status.rb +93 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/instance_view_types.rb +15 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/interval_in_mins.rb +18 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/ipversion.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +59 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +59 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/linux_configuration.rb +81 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/list_usages_result.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb +102 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/log_analytics_operation_result.rb +48 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/log_analytics_output.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/maintenance_operation_result_code_types.rb +18 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb +115 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/managed_artifact.rb +46 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +70 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/network_interface_reference.rb +55 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/network_profile.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/operating_system_state_types.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/orchestration_service_names.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/orchestration_service_state.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/orchestration_service_state_action.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/orchestration_service_state_input.rb +59 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/orchestration_service_summary.rb +61 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/osdisk.rb +191 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/osdisk_image.rb +48 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/osdisk_image_encryption.rb +43 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/osprofile.rb +202 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/pass_names.rb +15 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/plan.rb +86 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/protocol_types.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/proximity_placement_group.rb +180 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/proximity_placement_group_list_result.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/proximity_placement_group_type.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/proximity_placement_group_update.rb +51 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb +71 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/recommended_machine_configuration.rb +60 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/recovery_walk_response.rb +60 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/regional_replication_status.rb +86 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/replication_state.rb +18 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/replication_status.rb +71 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/replication_status_types.rb +15 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb +97 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/resource.rb +110 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/resource_identity_type.rb +18 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/resource_range.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/rollback_status_info.rb +74 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_action_type.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb +108 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb +88 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb +88 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_code.rb +18 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb +141 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/run_command_document.rb +116 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/run_command_document_base.rb +92 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/run_command_input.rb +87 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/run_command_input_parameter.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/run_command_list_result.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb +81 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/run_command_result.rb +56 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/scale_in_policy.rb +71 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/scheduled_events_profile.rb +49 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/setting_names.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/sku.rb +73 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/ssh_configuration.rb +56 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/ssh_public_key.rb +64 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/ssh_public_key_generate_key_pair_result.rb +73 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/ssh_public_key_resource.rb +102 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/ssh_public_key_update_resource.rb +67 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/ssh_public_keys_group_list_result.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/status_level_types.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/storage_account_type.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/storage_account_types.rb +18 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/storage_profile.rb +89 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/sub_resource.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/sub_resource_read_only.rb +48 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/sub_resource_with_colocation_status.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/target_region.rb +83 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/terminate_notification_profile.rb +62 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/throttled_requests_input.rb +83 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/update_resource.rb +54 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/update_resource_definition.rb +90 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/upgrade_mode.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info.rb +73 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb +116 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb +74 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/upgrade_operation_invoker.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/upgrade_policy.rb +79 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/upgrade_state.rb +18 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/usage.rb +83 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/usage_name.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/user_artifact_manage.rb +74 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/user_artifact_source.rb +59 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/vault_certificate.rb +72 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/vault_secret_group.rb +69 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +46 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine.rb +412 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +87 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +69 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +99 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_eviction_policy_types.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +195 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +71 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +146 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +109 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +134 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +55 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb +48 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +102 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_identity_user_assigned_identities_value.rb +61 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_image.rb +142 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +87 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +217 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +99 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_priority_types.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_reimage_parameters.rb +49 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +318 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +153 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +184 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb +103 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +56 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_update.rb +185 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +105 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity_user_assigned_identities_value.rb +61 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +113 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +59 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ip_tag.rb +58 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +195 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_osupgrade_history.rb +104 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +101 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +102 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +64 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +137 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb +56 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +71 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +180 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +167 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb +120 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb +51 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_reimage_parameters.rb +65 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_scale_in_rules.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +74 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +85 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +91 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb +210 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb +190 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb +136 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb +72 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb +122 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb +92 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb +72 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb +80 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb +138 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +384 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +70 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +55 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +196 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +101 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmnetwork_profile_configuration.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +176 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprotection_policy.rb +60 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmreimage_parameters.rb +44 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_size.rb +106 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +55 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb +180 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +61 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +355 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/vmscale_set_convert_to_single_placement_group_input.rb +52 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +56 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/win_rmlistener.rb +67 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/windows_configuration.rb +114 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/module_definition.rb +9 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/operations.rb +109 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/proximity_placement_groups.rb +846 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/ssh_public_keys.rb +939 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/usage_operations.rb +241 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +360 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_extensions.rb +701 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_images.rb +600 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_run_commands.rb +322 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb +821 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +498 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vmextensions.rb +709 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +2115 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +3290 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_sizes.rb +122 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machines.rb +3078 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute.rb +286 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/availability_sets.rb +920 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/compute_management_client.rb +217 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/dedicated_host_groups.rb +861 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/dedicated_hosts.rb +806 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/images.rb +975 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/log_analytics.rb +341 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/additional_capabilities.rb +51 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb +93 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/api_entity_reference.rb +47 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/api_error.rb +100 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/api_error_base.rb +68 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/automatic_osupgrade_policy.rb +63 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/automatic_osupgrade_properties.rb +47 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/automatic_repairs_policy.rb +64 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/availability_set.rb +189 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/availability_set_list_result.rb +100 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/availability_set_sku_types.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/availability_set_update.rb +142 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/available_patch_summary.rb +143 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/billing_profile.rb +60 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb +63 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +78 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/caching_types.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/component_names.rb +15 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/compute_operation_list_result.rb +56 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/compute_operation_value.rb +108 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/data_disk.rb +201 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/data_disk_image.rb +49 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host.rb +219 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_allocatable_vm.rb +60 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_available_capacity.rb +57 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_group.rb +178 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_group_instance_view.rb +57 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_group_list_result.rb +100 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_group_update.rb +141 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_instance_view.rb +81 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_instance_view_with_name.rb +84 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_license_types.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_list_result.rb +100 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_update.rb +171 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb +52 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/diff_disk_options.rb +15 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/diff_disk_placement.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/diff_disk_settings.rb +69 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/disallowed_configuration.rb +47 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/disk_create_option_types.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/disk_encryption_set_parameters.rb +46 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +73 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/disk_instance_view.rb +87 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/execution_state.rb +21 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/hardware_profile.rb +109 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/hyper_vgeneration_type.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/hyper_vgeneration_types.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/image.rb +139 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/image_data_disk.rb +108 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/image_disk.rb +126 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/image_list_result.rb +99 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/image_osdisk.rb +123 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/image_reference.rb +114 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/image_storage_profile.rb +86 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/image_update.rb +102 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/in_guest_patch_mode.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/inner_error.rb +57 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/instance_view_status.rb +93 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/instance_view_types.rb +15 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/interval_in_mins.rb +18 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/ipversion.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +59 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +59 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/last_patch_installation_summary.rb +211 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/linux_configuration.rb +81 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/list_usages_result.rb +100 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb +124 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/log_analytics_operation_result.rb +48 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/log_analytics_output.rb +47 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/maintenance_operation_result_code_types.rb +18 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb +115 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +70 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/network_interface_reference.rb +55 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/network_profile.rb +57 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/operating_system_state_types.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/orchestration_service_names.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/orchestration_service_state.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/orchestration_service_state_action.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/orchestration_service_state_input.rb +59 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/orchestration_service_summary.rb +61 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/osdisk.rb +191 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/osdisk_image.rb +48 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/osprofile.rb +204 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/pass_names.rb +15 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/patch_assessment_state.rb +20 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/patch_operation_status.rb +18 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/patch_settings.rb +59 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/plan.rb +86 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/protocol_types.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/proximity_placement_group.rb +180 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/proximity_placement_group_list_result.rb +100 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/proximity_placement_group_type.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/proximity_placement_group_update.rb +51 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/purchase_plan.rb +71 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/reboot_status.rb +19 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/recovery_walk_response.rb +60 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb +113 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/resource.rb +110 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/resource_identity_type.rb +18 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/retrieve_boot_diagnostics_data_result.rb +59 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/rollback_status_info.rb +74 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_action_type.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb +108 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb +88 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb +88 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_code.rb +18 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb +141 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/run_command_document.rb +116 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/run_command_document_base.rb +92 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/run_command_input.rb +87 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/run_command_input_parameter.rb +57 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/run_command_list_result.rb +100 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb +81 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/run_command_result.rb +56 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/scale_in_policy.rb +71 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/scheduled_events_profile.rb +49 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/security_profile.rb +52 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/setting_names.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/sku.rb +73 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/software_update_reboot_behavior.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/ssh_configuration.rb +56 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/ssh_public_key.rb +64 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/ssh_public_key_generate_key_pair_result.rb +73 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/ssh_public_key_resource.rb +102 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/ssh_public_key_update_resource.rb +67 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/ssh_public_keys_group_list_result.rb +100 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/status_level_types.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/storage_account_types.rb +18 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/storage_profile.rb +89 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/sub_resource.rb +47 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/sub_resource_read_only.rb +48 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/sub_resource_with_colocation_status.rb +57 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/terminate_notification_profile.rb +62 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/throttled_requests_input.rb +99 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/update_resource.rb +54 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/upgrade_mode.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info.rb +73 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb +116 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb +74 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/upgrade_operation_invoker.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/upgrade_policy.rb +79 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/upgrade_state.rb +18 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/usage.rb +83 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/usage_name.rb +57 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/vault_certificate.rb +72 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/vault_secret_group.rb +69 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +46 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine.rb +455 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +87 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_assess_patches_result.rb +152 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +69 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +99 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_eviction_policy_types.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +208 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +71 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +146 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +109 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +147 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +55 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb +48 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +102 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_identity_user_assigned_identities_value.rb +61 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_image.rb +155 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +87 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +258 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +99 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_patch_status.rb +61 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_priority_types.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_reimage_parameters.rb +49 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_run_command.rb +241 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_run_command_instance_view.rb +135 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_run_command_script_source.rb +68 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_run_command_update.rb +206 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_run_commands_list_result.rb +98 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +332 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +153 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +197 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb +103 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +70 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_update.rb +198 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +105 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity_user_assigned_identities_value.rb +61 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +113 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +59 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ip_tag.rb +58 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +195 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_osupgrade_history.rb +104 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +100 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +101 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +102 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +63 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +149 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb +56 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +71 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +180 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +167 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb +120 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb +51 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_reimage_parameters.rb +65 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_scale_in_rules.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +74 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +85 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +91 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb +210 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb +190 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb +148 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb +72 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb +122 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb +92 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb +72 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb +80 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb +151 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +398 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextension.rb +190 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextension_update.rb +164 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_list_result.rb +57 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +70 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +57 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +55 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +211 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +101 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmnetwork_profile_configuration.rb +57 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +190 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprotection_policy.rb +60 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmreimage_parameters.rb +44 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_size.rb +106 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +55 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb +180 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_software_patch_properties.rb +173 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +61 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +398 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/vm_disk_types.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/vmscale_set_convert_to_single_placement_group_input.rb +52 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +56 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/win_rmlistener.rb +67 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/windows_configuration.rb +127 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/module_definition.rb +9 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/operations.rb +109 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/proximity_placement_groups.rb +846 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/ssh_public_keys.rb +939 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/usage_operations.rb +241 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +360 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_extensions.rb +701 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_images.rb +600 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_run_commands.rb +1112 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb +821 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +498 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vmextensions.rb +709 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vmrun_commands.rb +827 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +2220 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +3290 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_sizes.rb +122 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machines.rb +3302 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute.rb +80 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/compute_management_client.rb +145 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/disk_accesses.rb +1120 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/disk_encryption_sets.rb +1236 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/disks.rb +1294 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/access_level.rb +17 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/access_uri.rb +47 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/api_error.rb +100 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/api_error_base.rb +68 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/creation_data.rb +150 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk.rb +422 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_access.rb +133 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_access_list.rb +100 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_access_update.rb +54 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_create_option.rb +21 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_encryption_set.rb +160 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_encryption_set_identity_type.rb +15 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_encryption_set_list.rb +100 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_encryption_set_type.rb +16 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_encryption_set_update.rb +79 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_list.rb +99 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_sku.rb +61 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_state.rb +20 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_storage_account_types.rb +18 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_update.rb +225 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/encryption.rb +60 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/encryption_set_identity.rb +78 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/encryption_settings_collection.rb +85 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/encryption_settings_element.rb +62 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/encryption_type.rb +17 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/grant_access_data.rb +58 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/hyper_vgeneration.rb +16 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/image_disk_reference.rb +60 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/inner_error.rb +57 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb +60 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb +59 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/network_access_policy.rb +17 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/private_endpoint.rb +47 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/private_endpoint_connection.rb +110 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/private_endpoint_connection_provisioning_state.rb +18 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/private_endpoint_service_connection_status.rb +17 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/private_link_resource.rb +123 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/private_link_resource_list_result.rb +55 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/private_link_service_connection_state.rb +72 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/resource.rb +110 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/resource_uri_list.rb +100 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/share_info_element.rb +49 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/snapshot.rb +290 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/snapshot_list.rb +99 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/snapshot_sku.rb +60 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/snapshot_storage_account_types.rb +17 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/snapshot_update.rb +145 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/source_vault.rb +47 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/module_definition.rb +9 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/snapshots.rb +1294 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute.rb +106 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/compute_management_client.rb +165 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/galleries.rb +994 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/gallery_application_versions.rb +915 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/gallery_applications.rb +856 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/gallery_image_versions.rb +911 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/gallery_images.rb +856 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/gallery_sharing_profile.rb +189 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/aggregated_replication_state.rb +18 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/api_error.rb +100 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/api_error_base.rb +68 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/data_disk_image_encryption.rb +57 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/disallowed.rb +54 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/disk_image_encryption.rb +47 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/encryption_images.rb +69 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery.rb +137 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_application.rb +161 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_application_list.rb +100 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_application_update.rb +153 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_application_version.rb +127 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_application_version_list.rb +101 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_application_version_publishing_profile.rb +130 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_application_version_update.rb +119 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_artifact_publishing_profile_base.rb +120 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_artifact_source.rb +47 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_artifact_version_source.rb +60 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_data_disk_image.rb +76 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_disk_image.rb +74 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_identifier.rb +48 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_image.rb +271 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_image_feature.rb +57 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_image_identifier.rb +68 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_image_list.rb +100 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_image_update.rb +263 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_image_version.rb +139 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_image_version_list.rb +100 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_image_version_publishing_profile.rb +93 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_image_version_storage_profile.rb +79 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_image_version_update.rb +131 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_list.rb +99 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_osdisk_image.rb +62 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_sharing_permission_types.rb +16 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/gallery_update.rb +129 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/host_caching.rb +17 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/hyper_vgeneration.rb +16 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/image_purchase_plan.rb +69 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/inner_error.rb +57 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/managed_artifact.rb +46 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/operating_system_state_types.rb +16 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/osdisk_image_encryption.rb +43 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/pir_resource.rb +59 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/pir_shared_gallery_resource.rb +64 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/recommended_machine_configuration.rb +60 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/regional_replication_status.rb +86 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/replication_state.rb +18 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/replication_status.rb +71 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/replication_status_types.rb +15 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/resource.rb +110 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/resource_range.rb +57 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/select_permissions.rb +15 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/shared_gallery.rb +62 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/shared_gallery_image.rb +186 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/shared_gallery_image_list.rb +100 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/shared_gallery_image_version.rb +88 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/shared_gallery_image_version_list.rb +101 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/shared_gallery_list.rb +99 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/shared_to_values.rb +15 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/sharing_profile.rb +70 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/sharing_profile_group.rb +69 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/sharing_profile_group_types.rb +16 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/sharing_update.rb +69 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/sharing_update_operation_types.rb +17 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/storage_account_type.rb +17 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/target_region.rb +83 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/update_resource_definition.rb +90 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/user_artifact_manage.rb +74 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/models/user_artifact_source.rb +59 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/module_definition.rb +9 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/shared_galleries.rb +332 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/shared_gallery_image_versions.rb +366 -0
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/shared_gallery_images.rb +344 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute.rb +89 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/compute_management_client.rb +149 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/disk_accesses.rb +1804 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/disk_encryption_sets.rb +1236 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/disk_restore_point_operations.rb +372 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/disks.rb +1294 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/access_level.rb +17 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/access_uri.rb +47 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/api_error.rb +100 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/api_error_base.rb +68 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/creation_data.rb +150 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/disk.rb +462 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/disk_access.rb +133 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/disk_access_list.rb +100 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/disk_access_update.rb +54 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/disk_create_option.rb +21 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/disk_encryption_set.rb +160 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/disk_encryption_set_identity_type.rb +16 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/disk_encryption_set_list.rb +100 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/disk_encryption_set_type.rb +16 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/disk_encryption_set_update.rb +79 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/disk_list.rb +99 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/disk_restore_point.rb +164 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/disk_restore_point_list.rb +100 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/disk_sku.rb +61 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/disk_state.rb +20 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/disk_storage_account_types.rb +18 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/disk_update.rb +251 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/encryption.rb +60 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/encryption_set_identity.rb +81 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/encryption_settings_collection.rb +85 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/encryption_settings_element.rb +62 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/encryption_type.rb +17 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/extended_location.rb +58 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/extended_location_types.rb +15 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/grant_access_data.rb +58 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/hyper_vgeneration.rb +16 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/image_disk_reference.rb +60 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/inner_error.rb +57 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/key_for_disk_encryption_set.rb +61 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb +60 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb +59 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/network_access_policy.rb +17 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/private_endpoint.rb +47 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/private_endpoint_connection.rb +110 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/private_endpoint_connection_list_result.rb +100 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/private_endpoint_connection_provisioning_state.rb +18 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/private_endpoint_service_connection_status.rb +17 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/private_link_resource.rb +123 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/private_link_resource_list_result.rb +55 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/private_link_service_connection_state.rb +72 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/proxy_only_resource.rb +71 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/purchase_plan.rb +82 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/resource.rb +110 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/resource_uri_list.rb +100 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/share_info_element.rb +49 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/snapshot.rb +316 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/snapshot_list.rb +99 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/snapshot_sku.rb +62 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/snapshot_storage_account_types.rb +17 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/snapshot_update.rb +145 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/models/source_vault.rb +47 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/module_definition.rb +9 -0
- data/lib/2020-09-30/generated/azure_mgmt_compute/snapshots.rb +1294 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute.rb +73 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/cloud_service_role_instances.rb +1091 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/cloud_service_roles.rb +343 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/cloud_services.rb +1870 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/cloud_services_update_domain.rb +486 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/compute_management_client.rb +145 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/api_error.rb +100 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/api_error_base.rb +68 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service.rb +113 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_extension_profile.rb +55 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_extension_properties.rb +180 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_instance_view.rb +81 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_list_result.rb +98 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_network_profile.rb +68 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_os_profile.rb +56 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_properties.rb +176 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_role.rb +107 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_role_list_result.rb +98 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_role_profile.rb +56 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_role_profile_properties.rb +58 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_role_properties.rb +49 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_role_sku.rb +72 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_update.rb +55 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_upgrade_mode.rb +17 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_vault_and_secret_reference.rb +59 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_vault_certificate.rb +48 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_vault_secret_group.rb +69 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/extension.rb +58 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/inner_error.rb +57 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/instance_sku.rb +60 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/instance_view_statuses_summary.rb +56 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/instance_view_types.rb +15 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/load_balancer_configuration.rb +58 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/load_balancer_configuration_properties.rb +56 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/load_balancer_frontend_ipconfiguration.rb +59 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/load_balancer_frontend_ipconfiguration_properties.rb +72 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/resource_instance_view_status.rb +97 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/role_instance.rb +128 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/role_instance_instance_view.rb +95 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/role_instance_list_result.rb +98 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/role_instance_network_profile.rb +57 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/role_instance_properties.rb +60 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/role_instances.rb +55 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/status_code_count.rb +60 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/status_level_types.rb +17 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/sub_resource.rb +47 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/update_domain.rb +59 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/models/update_domain_list_result.rb +98 -0
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/module_definition.rb +9 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute.rb +305 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/availability_sets.rb +920 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/compute_management_client.rb +221 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/dedicated_host_groups.rb +861 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/dedicated_hosts.rb +806 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/images.rb +975 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/log_analytics.rb +341 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/additional_capabilities.rb +51 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb +93 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/api_entity_reference.rb +47 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/api_error.rb +100 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/api_error_base.rb +68 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/automatic_osupgrade_policy.rb +63 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/automatic_osupgrade_properties.rb +47 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/automatic_repairs_policy.rb +64 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/availability_set.rb +189 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/availability_set_list_result.rb +100 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/availability_set_sku_types.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/availability_set_update.rb +142 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/available_patch_summary.rb +143 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/billing_profile.rb +60 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb +63 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +78 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/caching_types.rb +17 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/component_names.rb +15 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/compute_operation_list_result.rb +56 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/compute_operation_value.rb +108 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/data_disk.rb +224 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/data_disk_image.rb +49 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host.rb +219 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_allocatable_vm.rb +60 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_available_capacity.rb +57 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_group.rb +178 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_group_instance_view.rb +57 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_group_list_result.rb +100 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_group_update.rb +141 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_instance_view.rb +81 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_instance_view_with_name.rb +84 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_license_types.rb +17 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_list_result.rb +100 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/dedicated_host_update.rb +171 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb +52 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/diff_disk_options.rb +15 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/diff_disk_placement.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/diff_disk_settings.rb +69 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/disallowed_configuration.rb +47 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/disk_create_option_types.rb +17 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/disk_detach_option_types.rb +15 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/disk_encryption_set_parameters.rb +46 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +73 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/disk_instance_view.rb +87 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/execution_state.rb +21 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/extended_location.rb +58 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/extended_location_types.rb +15 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/hardware_profile.rb +106 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/hyper_vgeneration_type.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/hyper_vgeneration_types.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/image.rb +151 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/image_data_disk.rb +108 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/image_disk.rb +126 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/image_list_result.rb +99 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/image_osdisk.rb +123 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/image_reference.rb +114 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/image_storage_profile.rb +86 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/image_update.rb +102 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/inner_error.rb +57 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/instance_view_status.rb +93 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/instance_view_types.rb +15 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/interval_in_mins.rb +18 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/ipversion.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +59 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +59 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/last_patch_installation_summary.rb +179 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/linux_configuration.rb +94 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/linux_parameters.rb +107 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/linux_patch_settings.rb +52 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/linux_vmguest_patch_mode.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/list_usages_result.rb +100 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb +124 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/log_analytics_operation_result.rb +48 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/log_analytics_output.rb +47 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/maintenance_operation_result_code_types.rb +18 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb +115 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +70 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/network_interface_reference.rb +55 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/network_profile.rb +57 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/operating_system_state_types.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/orchestration_mode.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/orchestration_service_names.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/orchestration_service_state.rb +17 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/orchestration_service_state_action.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/orchestration_service_state_input.rb +59 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/orchestration_service_summary.rb +61 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/osdisk.rb +191 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/osdisk_image.rb +48 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/osprofile.rb +204 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/pass_names.rb +15 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/patch_assessment_state.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/patch_installation_detail.rb +121 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/patch_installation_state.rb +20 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/patch_operation_status.rb +19 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/patch_settings.rb +71 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/plan.rb +86 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/protocol_types.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/proximity_placement_group.rb +180 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/proximity_placement_group_list_result.rb +100 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/proximity_placement_group_type.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/proximity_placement_group_update.rb +51 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb +71 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/recovery_walk_response.rb +60 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb +113 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/resource.rb +110 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/resource_identity_type.rb +18 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/retrieve_boot_diagnostics_data_result.rb +59 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/rollback_status_info.rb +74 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_action_type.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb +133 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb +88 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb +88 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_code.rb +18 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb +141 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/run_command_document.rb +116 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/run_command_document_base.rb +92 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/run_command_input.rb +87 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/run_command_input_parameter.rb +57 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/run_command_list_result.rb +100 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb +81 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/run_command_result.rb +56 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/scale_in_policy.rb +71 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/scheduled_events_profile.rb +49 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/security_profile.rb +81 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/security_types.rb +15 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/setting_names.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/sku.rb +73 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/ssh_configuration.rb +56 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/ssh_public_key.rb +64 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/ssh_public_key_generate_key_pair_result.rb +73 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/ssh_public_key_resource.rb +102 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/ssh_public_key_update_resource.rb +67 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/ssh_public_keys_group_list_result.rb +100 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/status_level_types.rb +17 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/storage_account_types.rb +18 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/storage_profile.rb +89 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/sub_resource.rb +47 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/sub_resource_read_only.rb +48 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/sub_resource_with_colocation_status.rb +57 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/terminate_notification_profile.rb +62 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/throttled_requests_input.rb +99 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/uefi_settings.rb +60 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/update_resource.rb +54 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/upgrade_mode.rb +17 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info.rb +73 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb +116 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb +74 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/upgrade_operation_invoker.rb +17 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/upgrade_policy.rb +79 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/upgrade_state.rb +18 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/usage.rb +83 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/usage_name.rb +57 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/vault_certificate.rb +72 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/vault_secret_group.rb +69 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +46 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine.rb +488 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +87 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_assess_patches_result.rb +152 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +69 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +99 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_eviction_policy_types.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +208 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +71 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +146 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +109 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +147 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +55 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb +48 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +102 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_identity_user_assigned_identities_value.rb +61 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_image.rb +184 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_image_feature.rb +57 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +100 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_install_patches_parameters.rb +87 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_install_patches_result.rb +204 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +258 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +99 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_patch_status.rb +83 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_priority_types.rb +17 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_reimage_parameters.rb +49 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_run_command.rb +241 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_run_command_instance_view.rb +135 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_run_command_script_source.rb +68 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_run_command_update.rb +206 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_run_commands_list_result.rb +98 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +358 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +153 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +197 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb +103 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +70 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_update.rb +198 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +105 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity_user_assigned_identities_value.rb +61 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +113 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +59 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ip_tag.rb +58 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +195 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_osupgrade_history.rb +104 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +100 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +101 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +102 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +63 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +149 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb +56 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +71 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +180 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +167 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb +120 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb +51 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_reimage_parameters.rb +65 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_scale_in_rules.rb +17 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +74 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +85 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +91 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb +210 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb +190 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb +148 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb +72 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb +122 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb +92 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb +72 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb +80 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb +151 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +398 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextension.rb +190 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextension_update.rb +164 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_list_result.rb +57 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +70 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +57 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +55 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +211 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +101 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmnetwork_profile_configuration.rb +57 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +190 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprotection_policy.rb +60 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmreimage_parameters.rb +44 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_size.rb +106 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +55 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb +180 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_software_patch_properties.rb +172 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +61 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +418 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/vm_disk_types.rb +16 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/vmguest_patch_classification_linux.rb +17 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/vmguest_patch_classification_windows.rb +22 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/vmguest_patch_reboot_behavior.rb +18 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/vmguest_patch_reboot_setting.rb +17 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/vmguest_patch_reboot_status.rb +20 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/vmscale_set_convert_to_single_placement_group_input.rb +52 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +56 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/win_rmlistener.rb +67 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/windows_configuration.rb +127 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/windows_parameters.rb +117 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/models/windows_vmguest_patch_mode.rb +17 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/module_definition.rb +9 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/operations.rb +109 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/proximity_placement_groups.rb +846 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/ssh_public_keys.rb +939 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/usage_operations.rb +241 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +360 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_extensions.rb +701 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_images.rb +600 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_images_edge_zone.rb +626 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_run_commands.rb +1112 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb +821 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +498 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vmextensions.rb +709 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vmrun_commands.rb +827 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +2230 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +3523 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machine_sizes.rb +122 -0
- data/lib/2020-12-01/generated/azure_mgmt_compute/virtual_machines.rb +3446 -0
- data/lib/azure_mgmt_compute.rb +17 -10
- data/lib/profiles/latest/modules/compute_profile_module.rb +1369 -845
- data/lib/version.rb +1 -1
- metadata +1087 -5
@@ -0,0 +1,99 @@
|
|
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::V2020_09_30
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The List Snapshots operation response.
|
10
|
+
#
|
11
|
+
class SnapshotList
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<Snapshot>] A list of snapshots.
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
# @return [String] The uri to fetch the next page of snapshots. Call
|
20
|
+
# ListNext() with this to fetch the next page of snapshots.
|
21
|
+
attr_accessor :next_link
|
22
|
+
|
23
|
+
# return [Proc] with next page method call.
|
24
|
+
attr_accessor :next_method
|
25
|
+
|
26
|
+
#
|
27
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
28
|
+
#
|
29
|
+
# @return [Array<Snapshot>] operation results.
|
30
|
+
#
|
31
|
+
def get_all_items
|
32
|
+
items = @value
|
33
|
+
page = self
|
34
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
35
|
+
page = page.get_next_page
|
36
|
+
items.concat(page.value)
|
37
|
+
end
|
38
|
+
items
|
39
|
+
end
|
40
|
+
|
41
|
+
#
|
42
|
+
# Gets the next page of results.
|
43
|
+
#
|
44
|
+
# @return [SnapshotList] with next page content.
|
45
|
+
#
|
46
|
+
def get_next_page
|
47
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
48
|
+
unless response.nil?
|
49
|
+
@next_link = response.body.next_link
|
50
|
+
@value = response.body.value
|
51
|
+
self
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
#
|
56
|
+
# Mapper for SnapshotList class as Ruby Hash.
|
57
|
+
# This will be used for serialization/deserialization.
|
58
|
+
#
|
59
|
+
def self.mapper()
|
60
|
+
{
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'SnapshotList',
|
64
|
+
type: {
|
65
|
+
name: 'Composite',
|
66
|
+
class_name: 'SnapshotList',
|
67
|
+
model_properties: {
|
68
|
+
value: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: true,
|
71
|
+
serialized_name: 'value',
|
72
|
+
type: {
|
73
|
+
name: 'Sequence',
|
74
|
+
element: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'SnapshotElementType',
|
78
|
+
type: {
|
79
|
+
name: 'Composite',
|
80
|
+
class_name: 'Snapshot'
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
},
|
85
|
+
next_link: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
serialized_name: 'nextLink',
|
89
|
+
type: {
|
90
|
+
name: 'String'
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
@@ -0,0 +1,62 @@
|
|
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::V2020_09_30
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The snapshots sku name. Can be Standard_LRS, Premium_LRS, or
|
10
|
+
# Standard_ZRS. This is an optional parameter for incremental snapshot and
|
11
|
+
# the default behavior is the SKU will be set to the same sku as the
|
12
|
+
# previous snapshot
|
13
|
+
#
|
14
|
+
class SnapshotSku
|
15
|
+
|
16
|
+
include MsRestAzure
|
17
|
+
|
18
|
+
# @return [SnapshotStorageAccountTypes] The sku name. Possible values
|
19
|
+
# include: 'Standard_LRS', 'Premium_LRS', 'Standard_ZRS'
|
20
|
+
attr_accessor :name
|
21
|
+
|
22
|
+
# @return [String] The sku tier.
|
23
|
+
attr_accessor :tier
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for SnapshotSku class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
client_side_validation: true,
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'SnapshotSku',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'SnapshotSku',
|
38
|
+
model_properties: {
|
39
|
+
name: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'name',
|
43
|
+
type: {
|
44
|
+
name: 'String'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
tier: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
read_only: true,
|
51
|
+
serialized_name: 'tier',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
@@ -0,0 +1,17 @@
|
|
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::V2020_09_30
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for SnapshotStorageAccountTypes
|
10
|
+
#
|
11
|
+
module SnapshotStorageAccountTypes
|
12
|
+
StandardLRS = "Standard_LRS"
|
13
|
+
PremiumLRS = "Premium_LRS"
|
14
|
+
StandardZRS = "Standard_ZRS"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,145 @@
|
|
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::V2020_09_30
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Snapshot update resource.
|
10
|
+
#
|
11
|
+
class SnapshotUpdate
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [OperatingSystemTypes] the Operating System type. Possible
|
16
|
+
# values include: 'Windows', 'Linux'
|
17
|
+
attr_accessor :os_type
|
18
|
+
|
19
|
+
# @return [Integer] If creationData.createOption is Empty, this field is
|
20
|
+
# mandatory and it indicates the size of the disk to create. If this
|
21
|
+
# field is present for updates or creation with other options, it
|
22
|
+
# indicates a resize. Resizes are only allowed if the disk is not
|
23
|
+
# attached to a running VM, and can only increase the disk's size.
|
24
|
+
attr_accessor :disk_size_gb
|
25
|
+
|
26
|
+
# @return [EncryptionSettingsCollection] Encryption settings collection
|
27
|
+
# used be Azure Disk Encryption, can contain multiple encryption settings
|
28
|
+
# per disk or snapshot.
|
29
|
+
attr_accessor :encryption_settings_collection
|
30
|
+
|
31
|
+
# @return [Encryption] Encryption property can be used to encrypt data at
|
32
|
+
# rest with customer managed keys or platform managed keys.
|
33
|
+
attr_accessor :encryption
|
34
|
+
|
35
|
+
# @return [NetworkAccessPolicy] Possible values include: 'AllowAll',
|
36
|
+
# 'AllowPrivate', 'DenyAll'
|
37
|
+
attr_accessor :network_access_policy
|
38
|
+
|
39
|
+
# @return [String] ARM id of the DiskAccess resource for using private
|
40
|
+
# endpoints on disks.
|
41
|
+
attr_accessor :disk_access_id
|
42
|
+
|
43
|
+
# @return [Hash{String => String}] Resource tags
|
44
|
+
attr_accessor :tags
|
45
|
+
|
46
|
+
# @return [SnapshotSku]
|
47
|
+
attr_accessor :sku
|
48
|
+
|
49
|
+
|
50
|
+
#
|
51
|
+
# Mapper for SnapshotUpdate class as Ruby Hash.
|
52
|
+
# This will be used for serialization/deserialization.
|
53
|
+
#
|
54
|
+
def self.mapper()
|
55
|
+
{
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'SnapshotUpdate',
|
59
|
+
type: {
|
60
|
+
name: 'Composite',
|
61
|
+
class_name: 'SnapshotUpdate',
|
62
|
+
model_properties: {
|
63
|
+
os_type: {
|
64
|
+
client_side_validation: true,
|
65
|
+
required: false,
|
66
|
+
serialized_name: 'properties.osType',
|
67
|
+
type: {
|
68
|
+
name: 'Enum',
|
69
|
+
module: 'OperatingSystemTypes'
|
70
|
+
}
|
71
|
+
},
|
72
|
+
disk_size_gb: {
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'properties.diskSizeGB',
|
76
|
+
type: {
|
77
|
+
name: 'Number'
|
78
|
+
}
|
79
|
+
},
|
80
|
+
encryption_settings_collection: {
|
81
|
+
client_side_validation: true,
|
82
|
+
required: false,
|
83
|
+
serialized_name: 'properties.encryptionSettingsCollection',
|
84
|
+
type: {
|
85
|
+
name: 'Composite',
|
86
|
+
class_name: 'EncryptionSettingsCollection'
|
87
|
+
}
|
88
|
+
},
|
89
|
+
encryption: {
|
90
|
+
client_side_validation: true,
|
91
|
+
required: false,
|
92
|
+
serialized_name: 'properties.encryption',
|
93
|
+
type: {
|
94
|
+
name: 'Composite',
|
95
|
+
class_name: 'Encryption'
|
96
|
+
}
|
97
|
+
},
|
98
|
+
network_access_policy: {
|
99
|
+
client_side_validation: true,
|
100
|
+
required: false,
|
101
|
+
serialized_name: 'properties.networkAccessPolicy',
|
102
|
+
type: {
|
103
|
+
name: 'String'
|
104
|
+
}
|
105
|
+
},
|
106
|
+
disk_access_id: {
|
107
|
+
client_side_validation: true,
|
108
|
+
required: false,
|
109
|
+
serialized_name: 'properties.diskAccessId',
|
110
|
+
type: {
|
111
|
+
name: 'String'
|
112
|
+
}
|
113
|
+
},
|
114
|
+
tags: {
|
115
|
+
client_side_validation: true,
|
116
|
+
required: false,
|
117
|
+
serialized_name: 'tags',
|
118
|
+
type: {
|
119
|
+
name: 'Dictionary',
|
120
|
+
value: {
|
121
|
+
client_side_validation: true,
|
122
|
+
required: false,
|
123
|
+
serialized_name: 'StringElementType',
|
124
|
+
type: {
|
125
|
+
name: 'String'
|
126
|
+
}
|
127
|
+
}
|
128
|
+
}
|
129
|
+
},
|
130
|
+
sku: {
|
131
|
+
client_side_validation: true,
|
132
|
+
required: false,
|
133
|
+
serialized_name: 'sku',
|
134
|
+
type: {
|
135
|
+
name: 'Composite',
|
136
|
+
class_name: 'SnapshotSku'
|
137
|
+
}
|
138
|
+
}
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}
|
142
|
+
end
|
143
|
+
end
|
144
|
+
end
|
145
|
+
end
|
@@ -0,0 +1,47 @@
|
|
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::V2020_09_30
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The vault id is an Azure Resource Manager Resource id in the form
|
10
|
+
# /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}
|
11
|
+
#
|
12
|
+
class SourceVault
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] Resource Id
|
17
|
+
attr_accessor :id
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for SourceVault class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
client_side_validation: true,
|
27
|
+
required: false,
|
28
|
+
serialized_name: 'SourceVault',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'SourceVault',
|
32
|
+
model_properties: {
|
33
|
+
id: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'id',
|
37
|
+
type: {
|
38
|
+
name: 'String'
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -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::V2020_09_30 end
|
@@ -0,0 +1,1294 @@
|
|
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::V2020_09_30
|
7
|
+
#
|
8
|
+
# The Disk Resource Provider Client.
|
9
|
+
#
|
10
|
+
class Snapshots
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the Snapshots 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
|
+
# Creates or updates a snapshot.
|
26
|
+
#
|
27
|
+
# @param resource_group_name [String] The name of the resource group.
|
28
|
+
# @param snapshot_name [String] The name of the snapshot that is being created.
|
29
|
+
# The name can't be changed after the snapshot is created. Supported characters
|
30
|
+
# for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
|
31
|
+
# @param snapshot [Snapshot] Snapshot object supplied in the body of the Put
|
32
|
+
# disk operation.
|
33
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
34
|
+
# will be added to the HTTP request.
|
35
|
+
#
|
36
|
+
# @return [Snapshot] operation results.
|
37
|
+
#
|
38
|
+
def create_or_update(resource_group_name, snapshot_name, snapshot, custom_headers:nil)
|
39
|
+
response = create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value!
|
40
|
+
response.body unless response.nil?
|
41
|
+
end
|
42
|
+
|
43
|
+
#
|
44
|
+
# @param resource_group_name [String] The name of the resource group.
|
45
|
+
# @param snapshot_name [String] The name of the snapshot that is being created.
|
46
|
+
# The name can't be changed after the snapshot is created. Supported characters
|
47
|
+
# for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
|
48
|
+
# @param snapshot [Snapshot] Snapshot object supplied in the body of the Put
|
49
|
+
# disk 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 [Concurrent::Promise] promise which provides async access to http
|
54
|
+
# response.
|
55
|
+
#
|
56
|
+
def create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:nil)
|
57
|
+
# Send request
|
58
|
+
promise = begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers)
|
59
|
+
|
60
|
+
promise = promise.then do |response|
|
61
|
+
# Defining deserialization method.
|
62
|
+
deserialize_method = lambda do |parsed_response|
|
63
|
+
result_mapper = Azure::Compute::Mgmt::V2020_09_30::Models::Snapshot.mapper()
|
64
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
65
|
+
end
|
66
|
+
|
67
|
+
# Waiting for response.
|
68
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
69
|
+
end
|
70
|
+
|
71
|
+
promise
|
72
|
+
end
|
73
|
+
|
74
|
+
#
|
75
|
+
# Updates (patches) a snapshot.
|
76
|
+
#
|
77
|
+
# @param resource_group_name [String] The name of the resource group.
|
78
|
+
# @param snapshot_name [String] The name of the snapshot that is being created.
|
79
|
+
# The name can't be changed after the snapshot is created. Supported characters
|
80
|
+
# for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
|
81
|
+
# @param snapshot [SnapshotUpdate] Snapshot object supplied in the body of the
|
82
|
+
# Patch snapshot operation.
|
83
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
84
|
+
# will be added to the HTTP request.
|
85
|
+
#
|
86
|
+
# @return [Snapshot] operation results.
|
87
|
+
#
|
88
|
+
def update(resource_group_name, snapshot_name, snapshot, custom_headers:nil)
|
89
|
+
response = update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value!
|
90
|
+
response.body unless response.nil?
|
91
|
+
end
|
92
|
+
|
93
|
+
#
|
94
|
+
# @param resource_group_name [String] The name of the resource group.
|
95
|
+
# @param snapshot_name [String] The name of the snapshot that is being created.
|
96
|
+
# The name can't be changed after the snapshot is created. Supported characters
|
97
|
+
# for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
|
98
|
+
# @param snapshot [SnapshotUpdate] Snapshot object supplied in the body of the
|
99
|
+
# Patch snapshot operation.
|
100
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
101
|
+
# will be added to the HTTP request.
|
102
|
+
#
|
103
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
104
|
+
# response.
|
105
|
+
#
|
106
|
+
def update_async(resource_group_name, snapshot_name, snapshot, custom_headers:nil)
|
107
|
+
# Send request
|
108
|
+
promise = begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers)
|
109
|
+
|
110
|
+
promise = promise.then do |response|
|
111
|
+
# Defining deserialization method.
|
112
|
+
deserialize_method = lambda do |parsed_response|
|
113
|
+
result_mapper = Azure::Compute::Mgmt::V2020_09_30::Models::Snapshot.mapper()
|
114
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
115
|
+
end
|
116
|
+
|
117
|
+
# Waiting for response.
|
118
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
119
|
+
end
|
120
|
+
|
121
|
+
promise
|
122
|
+
end
|
123
|
+
|
124
|
+
#
|
125
|
+
# Gets information about a snapshot.
|
126
|
+
#
|
127
|
+
# @param resource_group_name [String] The name of the resource group.
|
128
|
+
# @param snapshot_name [String] The name of the snapshot that is being created.
|
129
|
+
# The name can't be changed after the snapshot is created. Supported characters
|
130
|
+
# for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
|
131
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
132
|
+
# will be added to the HTTP request.
|
133
|
+
#
|
134
|
+
# @return [Snapshot] operation results.
|
135
|
+
#
|
136
|
+
def get(resource_group_name, snapshot_name, custom_headers:nil)
|
137
|
+
response = get_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value!
|
138
|
+
response.body unless response.nil?
|
139
|
+
end
|
140
|
+
|
141
|
+
#
|
142
|
+
# Gets information about a snapshot.
|
143
|
+
#
|
144
|
+
# @param resource_group_name [String] The name of the resource group.
|
145
|
+
# @param snapshot_name [String] The name of the snapshot that is being created.
|
146
|
+
# The name can't be changed after the snapshot is created. Supported characters
|
147
|
+
# for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
|
148
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
149
|
+
# will be added to the HTTP request.
|
150
|
+
#
|
151
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
152
|
+
#
|
153
|
+
def get_with_http_info(resource_group_name, snapshot_name, custom_headers:nil)
|
154
|
+
get_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value!
|
155
|
+
end
|
156
|
+
|
157
|
+
#
|
158
|
+
# Gets information about a snapshot.
|
159
|
+
#
|
160
|
+
# @param resource_group_name [String] The name of the resource group.
|
161
|
+
# @param snapshot_name [String] The name of the snapshot that is being created.
|
162
|
+
# The name can't be changed after the snapshot is created. Supported characters
|
163
|
+
# for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
|
164
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
165
|
+
# to the HTTP request.
|
166
|
+
#
|
167
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
168
|
+
#
|
169
|
+
def get_async(resource_group_name, snapshot_name, custom_headers:nil)
|
170
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
171
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
172
|
+
fail ArgumentError, 'snapshot_name is nil' if snapshot_name.nil?
|
173
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
174
|
+
|
175
|
+
|
176
|
+
request_headers = {}
|
177
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
178
|
+
|
179
|
+
# Set Headers
|
180
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
181
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
182
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}'
|
183
|
+
|
184
|
+
request_url = @base_url || @client.base_url
|
185
|
+
|
186
|
+
options = {
|
187
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
188
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'snapshotName' => snapshot_name},
|
189
|
+
query_params: {'api-version' => @client.api_version},
|
190
|
+
headers: request_headers.merge(custom_headers || {}),
|
191
|
+
base_url: request_url
|
192
|
+
}
|
193
|
+
promise = @client.make_request_async(:get, path_template, options)
|
194
|
+
|
195
|
+
promise = promise.then do |result|
|
196
|
+
http_response = result.response
|
197
|
+
status_code = http_response.status
|
198
|
+
response_content = http_response.body
|
199
|
+
unless status_code == 200
|
200
|
+
error_model = JSON.load(response_content)
|
201
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
202
|
+
end
|
203
|
+
|
204
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
205
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
206
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
207
|
+
# Deserialize Response
|
208
|
+
if status_code == 200
|
209
|
+
begin
|
210
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
211
|
+
result_mapper = Azure::Compute::Mgmt::V2020_09_30::Models::Snapshot.mapper()
|
212
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
213
|
+
rescue Exception => e
|
214
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
215
|
+
end
|
216
|
+
end
|
217
|
+
|
218
|
+
result
|
219
|
+
end
|
220
|
+
|
221
|
+
promise.execute
|
222
|
+
end
|
223
|
+
|
224
|
+
#
|
225
|
+
# Deletes a snapshot.
|
226
|
+
#
|
227
|
+
# @param resource_group_name [String] The name of the resource group.
|
228
|
+
# @param snapshot_name [String] The name of the snapshot that is being created.
|
229
|
+
# The name can't be changed after the snapshot is created. Supported characters
|
230
|
+
# for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
|
231
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
232
|
+
# will be added to the HTTP request.
|
233
|
+
#
|
234
|
+
def delete(resource_group_name, snapshot_name, custom_headers:nil)
|
235
|
+
response = delete_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value!
|
236
|
+
nil
|
237
|
+
end
|
238
|
+
|
239
|
+
#
|
240
|
+
# @param resource_group_name [String] The name of the resource group.
|
241
|
+
# @param snapshot_name [String] The name of the snapshot that is being created.
|
242
|
+
# The name can't be changed after the snapshot is created. Supported characters
|
243
|
+
# for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
|
244
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
245
|
+
# will be added to the HTTP request.
|
246
|
+
#
|
247
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
248
|
+
# response.
|
249
|
+
#
|
250
|
+
def delete_async(resource_group_name, snapshot_name, custom_headers:nil)
|
251
|
+
# Send request
|
252
|
+
promise = begin_delete_async(resource_group_name, snapshot_name, custom_headers:custom_headers)
|
253
|
+
|
254
|
+
promise = promise.then do |response|
|
255
|
+
# Defining deserialization method.
|
256
|
+
deserialize_method = lambda do |parsed_response|
|
257
|
+
end
|
258
|
+
|
259
|
+
# Waiting for response.
|
260
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
261
|
+
end
|
262
|
+
|
263
|
+
promise
|
264
|
+
end
|
265
|
+
|
266
|
+
#
|
267
|
+
# Lists snapshots under a resource group.
|
268
|
+
#
|
269
|
+
# @param resource_group_name [String] The name of the resource group.
|
270
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
271
|
+
# will be added to the HTTP request.
|
272
|
+
#
|
273
|
+
# @return [Array<Snapshot>] operation results.
|
274
|
+
#
|
275
|
+
def list_by_resource_group(resource_group_name, custom_headers:nil)
|
276
|
+
first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers)
|
277
|
+
first_page.get_all_items
|
278
|
+
end
|
279
|
+
|
280
|
+
#
|
281
|
+
# Lists snapshots under a resource group.
|
282
|
+
#
|
283
|
+
# @param resource_group_name [String] The name of the resource group.
|
284
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
285
|
+
# will be added to the HTTP request.
|
286
|
+
#
|
287
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
288
|
+
#
|
289
|
+
def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil)
|
290
|
+
list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value!
|
291
|
+
end
|
292
|
+
|
293
|
+
#
|
294
|
+
# Lists snapshots under a resource group.
|
295
|
+
#
|
296
|
+
# @param resource_group_name [String] The name of the resource group.
|
297
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
298
|
+
# to the HTTP request.
|
299
|
+
#
|
300
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
301
|
+
#
|
302
|
+
def list_by_resource_group_async(resource_group_name, custom_headers:nil)
|
303
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
304
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
305
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
306
|
+
|
307
|
+
|
308
|
+
request_headers = {}
|
309
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
310
|
+
|
311
|
+
# Set Headers
|
312
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
313
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
314
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots'
|
315
|
+
|
316
|
+
request_url = @base_url || @client.base_url
|
317
|
+
|
318
|
+
options = {
|
319
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
320
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name},
|
321
|
+
query_params: {'api-version' => @client.api_version},
|
322
|
+
headers: request_headers.merge(custom_headers || {}),
|
323
|
+
base_url: request_url
|
324
|
+
}
|
325
|
+
promise = @client.make_request_async(:get, path_template, options)
|
326
|
+
|
327
|
+
promise = promise.then do |result|
|
328
|
+
http_response = result.response
|
329
|
+
status_code = http_response.status
|
330
|
+
response_content = http_response.body
|
331
|
+
unless status_code == 200
|
332
|
+
error_model = JSON.load(response_content)
|
333
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
334
|
+
end
|
335
|
+
|
336
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
337
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
338
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
339
|
+
# Deserialize Response
|
340
|
+
if status_code == 200
|
341
|
+
begin
|
342
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
343
|
+
result_mapper = Azure::Compute::Mgmt::V2020_09_30::Models::SnapshotList.mapper()
|
344
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
345
|
+
rescue Exception => e
|
346
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
347
|
+
end
|
348
|
+
end
|
349
|
+
|
350
|
+
result
|
351
|
+
end
|
352
|
+
|
353
|
+
promise.execute
|
354
|
+
end
|
355
|
+
|
356
|
+
#
|
357
|
+
# Lists snapshots under a subscription.
|
358
|
+
#
|
359
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
360
|
+
# will be added to the HTTP request.
|
361
|
+
#
|
362
|
+
# @return [Array<Snapshot>] operation results.
|
363
|
+
#
|
364
|
+
def list(custom_headers:nil)
|
365
|
+
first_page = list_as_lazy(custom_headers:custom_headers)
|
366
|
+
first_page.get_all_items
|
367
|
+
end
|
368
|
+
|
369
|
+
#
|
370
|
+
# Lists snapshots under a subscription.
|
371
|
+
#
|
372
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
373
|
+
# will be added to the HTTP request.
|
374
|
+
#
|
375
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
376
|
+
#
|
377
|
+
def list_with_http_info(custom_headers:nil)
|
378
|
+
list_async(custom_headers:custom_headers).value!
|
379
|
+
end
|
380
|
+
|
381
|
+
#
|
382
|
+
# Lists snapshots under a subscription.
|
383
|
+
#
|
384
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
385
|
+
# to the HTTP request.
|
386
|
+
#
|
387
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
388
|
+
#
|
389
|
+
def list_async(custom_headers:nil)
|
390
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
391
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
392
|
+
|
393
|
+
|
394
|
+
request_headers = {}
|
395
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
396
|
+
|
397
|
+
# Set Headers
|
398
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
399
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
400
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Compute/snapshots'
|
401
|
+
|
402
|
+
request_url = @base_url || @client.base_url
|
403
|
+
|
404
|
+
options = {
|
405
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
406
|
+
path_params: {'subscriptionId' => @client.subscription_id},
|
407
|
+
query_params: {'api-version' => @client.api_version},
|
408
|
+
headers: request_headers.merge(custom_headers || {}),
|
409
|
+
base_url: request_url
|
410
|
+
}
|
411
|
+
promise = @client.make_request_async(:get, path_template, options)
|
412
|
+
|
413
|
+
promise = promise.then do |result|
|
414
|
+
http_response = result.response
|
415
|
+
status_code = http_response.status
|
416
|
+
response_content = http_response.body
|
417
|
+
unless status_code == 200
|
418
|
+
error_model = JSON.load(response_content)
|
419
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
420
|
+
end
|
421
|
+
|
422
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
423
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
424
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
425
|
+
# Deserialize Response
|
426
|
+
if status_code == 200
|
427
|
+
begin
|
428
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
429
|
+
result_mapper = Azure::Compute::Mgmt::V2020_09_30::Models::SnapshotList.mapper()
|
430
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
431
|
+
rescue Exception => e
|
432
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
433
|
+
end
|
434
|
+
end
|
435
|
+
|
436
|
+
result
|
437
|
+
end
|
438
|
+
|
439
|
+
promise.execute
|
440
|
+
end
|
441
|
+
|
442
|
+
#
|
443
|
+
# Grants access to a snapshot.
|
444
|
+
#
|
445
|
+
# @param resource_group_name [String] The name of the resource group.
|
446
|
+
# @param snapshot_name [String] The name of the snapshot that is being created.
|
447
|
+
# The name can't be changed after the snapshot is created. Supported characters
|
448
|
+
# for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
|
449
|
+
# @param grant_access_data [GrantAccessData] Access data object supplied in the
|
450
|
+
# body of the get snapshot access operation.
|
451
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
452
|
+
# will be added to the HTTP request.
|
453
|
+
#
|
454
|
+
# @return [AccessUri] operation results.
|
455
|
+
#
|
456
|
+
def grant_access(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil)
|
457
|
+
response = grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers).value!
|
458
|
+
response.body unless response.nil?
|
459
|
+
end
|
460
|
+
|
461
|
+
#
|
462
|
+
# @param resource_group_name [String] The name of the resource group.
|
463
|
+
# @param snapshot_name [String] The name of the snapshot that is being created.
|
464
|
+
# The name can't be changed after the snapshot is created. Supported characters
|
465
|
+
# for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
|
466
|
+
# @param grant_access_data [GrantAccessData] Access data object supplied in the
|
467
|
+
# body of the get snapshot access operation.
|
468
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
469
|
+
# will be added to the HTTP request.
|
470
|
+
#
|
471
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
472
|
+
# response.
|
473
|
+
#
|
474
|
+
def grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil)
|
475
|
+
# Send request
|
476
|
+
promise = begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers)
|
477
|
+
|
478
|
+
promise = promise.then do |response|
|
479
|
+
# Defining deserialization method.
|
480
|
+
deserialize_method = lambda do |parsed_response|
|
481
|
+
result_mapper = Azure::Compute::Mgmt::V2020_09_30::Models::AccessUri.mapper()
|
482
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
483
|
+
end
|
484
|
+
|
485
|
+
# Waiting for response.
|
486
|
+
@client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::LOCATION)
|
487
|
+
end
|
488
|
+
|
489
|
+
promise
|
490
|
+
end
|
491
|
+
|
492
|
+
#
|
493
|
+
# Revokes access to a snapshot.
|
494
|
+
#
|
495
|
+
# @param resource_group_name [String] The name of the resource group.
|
496
|
+
# @param snapshot_name [String] The name of the snapshot that is being created.
|
497
|
+
# The name can't be changed after the snapshot is created. Supported characters
|
498
|
+
# for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
|
499
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
500
|
+
# will be added to the HTTP request.
|
501
|
+
#
|
502
|
+
def revoke_access(resource_group_name, snapshot_name, custom_headers:nil)
|
503
|
+
response = revoke_access_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value!
|
504
|
+
nil
|
505
|
+
end
|
506
|
+
|
507
|
+
#
|
508
|
+
# @param resource_group_name [String] The name of the resource group.
|
509
|
+
# @param snapshot_name [String] The name of the snapshot that is being created.
|
510
|
+
# The name can't be changed after the snapshot is created. Supported characters
|
511
|
+
# for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
|
512
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
513
|
+
# will be added to the HTTP request.
|
514
|
+
#
|
515
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
516
|
+
# response.
|
517
|
+
#
|
518
|
+
def revoke_access_async(resource_group_name, snapshot_name, custom_headers:nil)
|
519
|
+
# Send request
|
520
|
+
promise = begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers:custom_headers)
|
521
|
+
|
522
|
+
promise = promise.then do |response|
|
523
|
+
# Defining deserialization method.
|
524
|
+
deserialize_method = lambda do |parsed_response|
|
525
|
+
end
|
526
|
+
|
527
|
+
# Waiting for response.
|
528
|
+
@client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::LOCATION)
|
529
|
+
end
|
530
|
+
|
531
|
+
promise
|
532
|
+
end
|
533
|
+
|
534
|
+
#
|
535
|
+
# Creates or updates a snapshot.
|
536
|
+
#
|
537
|
+
# @param resource_group_name [String] The name of the resource group.
|
538
|
+
# @param snapshot_name [String] The name of the snapshot that is being created.
|
539
|
+
# The name can't be changed after the snapshot is created. Supported characters
|
540
|
+
# for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
|
541
|
+
# @param snapshot [Snapshot] Snapshot object supplied in the body of the Put
|
542
|
+
# disk operation.
|
543
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
544
|
+
# will be added to the HTTP request.
|
545
|
+
#
|
546
|
+
# @return [Snapshot] operation results.
|
547
|
+
#
|
548
|
+
def begin_create_or_update(resource_group_name, snapshot_name, snapshot, custom_headers:nil)
|
549
|
+
response = begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value!
|
550
|
+
response.body unless response.nil?
|
551
|
+
end
|
552
|
+
|
553
|
+
#
|
554
|
+
# Creates or updates a snapshot.
|
555
|
+
#
|
556
|
+
# @param resource_group_name [String] The name of the resource group.
|
557
|
+
# @param snapshot_name [String] The name of the snapshot that is being created.
|
558
|
+
# The name can't be changed after the snapshot is created. Supported characters
|
559
|
+
# for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
|
560
|
+
# @param snapshot [Snapshot] Snapshot object supplied in the body of the Put
|
561
|
+
# disk operation.
|
562
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
563
|
+
# will be added to the HTTP request.
|
564
|
+
#
|
565
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
566
|
+
#
|
567
|
+
def begin_create_or_update_with_http_info(resource_group_name, snapshot_name, snapshot, custom_headers:nil)
|
568
|
+
begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value!
|
569
|
+
end
|
570
|
+
|
571
|
+
#
|
572
|
+
# Creates or updates a snapshot.
|
573
|
+
#
|
574
|
+
# @param resource_group_name [String] The name of the resource group.
|
575
|
+
# @param snapshot_name [String] The name of the snapshot that is being created.
|
576
|
+
# The name can't be changed after the snapshot is created. Supported characters
|
577
|
+
# for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
|
578
|
+
# @param snapshot [Snapshot] Snapshot object supplied in the body of the Put
|
579
|
+
# disk operation.
|
580
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
581
|
+
# to the HTTP request.
|
582
|
+
#
|
583
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
584
|
+
#
|
585
|
+
def begin_create_or_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:nil)
|
586
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
587
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
588
|
+
fail ArgumentError, 'snapshot_name is nil' if snapshot_name.nil?
|
589
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
590
|
+
fail ArgumentError, 'snapshot is nil' if snapshot.nil?
|
591
|
+
|
592
|
+
|
593
|
+
request_headers = {}
|
594
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
595
|
+
|
596
|
+
# Set Headers
|
597
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
598
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
599
|
+
|
600
|
+
# Serialize Request
|
601
|
+
request_mapper = Azure::Compute::Mgmt::V2020_09_30::Models::Snapshot.mapper()
|
602
|
+
request_content = @client.serialize(request_mapper, snapshot)
|
603
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
604
|
+
|
605
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}'
|
606
|
+
|
607
|
+
request_url = @base_url || @client.base_url
|
608
|
+
|
609
|
+
options = {
|
610
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
611
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'snapshotName' => snapshot_name},
|
612
|
+
query_params: {'api-version' => @client.api_version},
|
613
|
+
body: request_content,
|
614
|
+
headers: request_headers.merge(custom_headers || {}),
|
615
|
+
base_url: request_url
|
616
|
+
}
|
617
|
+
promise = @client.make_request_async(:put, path_template, options)
|
618
|
+
|
619
|
+
promise = promise.then do |result|
|
620
|
+
http_response = result.response
|
621
|
+
status_code = http_response.status
|
622
|
+
response_content = http_response.body
|
623
|
+
unless status_code == 200 || status_code == 202
|
624
|
+
error_model = JSON.load(response_content)
|
625
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
626
|
+
end
|
627
|
+
|
628
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
629
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
630
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
631
|
+
# Deserialize Response
|
632
|
+
if status_code == 200
|
633
|
+
begin
|
634
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
635
|
+
result_mapper = Azure::Compute::Mgmt::V2020_09_30::Models::Snapshot.mapper()
|
636
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
637
|
+
rescue Exception => e
|
638
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
639
|
+
end
|
640
|
+
end
|
641
|
+
# Deserialize Response
|
642
|
+
if status_code == 202
|
643
|
+
begin
|
644
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
645
|
+
result_mapper = Azure::Compute::Mgmt::V2020_09_30::Models::Snapshot.mapper()
|
646
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
647
|
+
rescue Exception => e
|
648
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
649
|
+
end
|
650
|
+
end
|
651
|
+
|
652
|
+
result
|
653
|
+
end
|
654
|
+
|
655
|
+
promise.execute
|
656
|
+
end
|
657
|
+
|
658
|
+
#
|
659
|
+
# Updates (patches) a snapshot.
|
660
|
+
#
|
661
|
+
# @param resource_group_name [String] The name of the resource group.
|
662
|
+
# @param snapshot_name [String] The name of the snapshot that is being created.
|
663
|
+
# The name can't be changed after the snapshot is created. Supported characters
|
664
|
+
# for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
|
665
|
+
# @param snapshot [SnapshotUpdate] Snapshot object supplied in the body of the
|
666
|
+
# Patch snapshot operation.
|
667
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
668
|
+
# will be added to the HTTP request.
|
669
|
+
#
|
670
|
+
# @return [Snapshot] operation results.
|
671
|
+
#
|
672
|
+
def begin_update(resource_group_name, snapshot_name, snapshot, custom_headers:nil)
|
673
|
+
response = begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value!
|
674
|
+
response.body unless response.nil?
|
675
|
+
end
|
676
|
+
|
677
|
+
#
|
678
|
+
# Updates (patches) a snapshot.
|
679
|
+
#
|
680
|
+
# @param resource_group_name [String] The name of the resource group.
|
681
|
+
# @param snapshot_name [String] The name of the snapshot that is being created.
|
682
|
+
# The name can't be changed after the snapshot is created. Supported characters
|
683
|
+
# for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
|
684
|
+
# @param snapshot [SnapshotUpdate] Snapshot object supplied in the body of the
|
685
|
+
# Patch snapshot operation.
|
686
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
687
|
+
# will be added to the HTTP request.
|
688
|
+
#
|
689
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
690
|
+
#
|
691
|
+
def begin_update_with_http_info(resource_group_name, snapshot_name, snapshot, custom_headers:nil)
|
692
|
+
begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:custom_headers).value!
|
693
|
+
end
|
694
|
+
|
695
|
+
#
|
696
|
+
# Updates (patches) a snapshot.
|
697
|
+
#
|
698
|
+
# @param resource_group_name [String] The name of the resource group.
|
699
|
+
# @param snapshot_name [String] The name of the snapshot that is being created.
|
700
|
+
# The name can't be changed after the snapshot is created. Supported characters
|
701
|
+
# for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
|
702
|
+
# @param snapshot [SnapshotUpdate] Snapshot object supplied in the body of the
|
703
|
+
# Patch snapshot operation.
|
704
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
705
|
+
# to the HTTP request.
|
706
|
+
#
|
707
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
708
|
+
#
|
709
|
+
def begin_update_async(resource_group_name, snapshot_name, snapshot, custom_headers:nil)
|
710
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
711
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
712
|
+
fail ArgumentError, 'snapshot_name is nil' if snapshot_name.nil?
|
713
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
714
|
+
fail ArgumentError, 'snapshot is nil' if snapshot.nil?
|
715
|
+
|
716
|
+
|
717
|
+
request_headers = {}
|
718
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
719
|
+
|
720
|
+
# Set Headers
|
721
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
722
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
723
|
+
|
724
|
+
# Serialize Request
|
725
|
+
request_mapper = Azure::Compute::Mgmt::V2020_09_30::Models::SnapshotUpdate.mapper()
|
726
|
+
request_content = @client.serialize(request_mapper, snapshot)
|
727
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
728
|
+
|
729
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}'
|
730
|
+
|
731
|
+
request_url = @base_url || @client.base_url
|
732
|
+
|
733
|
+
options = {
|
734
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
735
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'snapshotName' => snapshot_name},
|
736
|
+
query_params: {'api-version' => @client.api_version},
|
737
|
+
body: request_content,
|
738
|
+
headers: request_headers.merge(custom_headers || {}),
|
739
|
+
base_url: request_url
|
740
|
+
}
|
741
|
+
promise = @client.make_request_async(:patch, path_template, options)
|
742
|
+
|
743
|
+
promise = promise.then do |result|
|
744
|
+
http_response = result.response
|
745
|
+
status_code = http_response.status
|
746
|
+
response_content = http_response.body
|
747
|
+
unless status_code == 200 || status_code == 202
|
748
|
+
error_model = JSON.load(response_content)
|
749
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
750
|
+
end
|
751
|
+
|
752
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
753
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
754
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
755
|
+
# Deserialize Response
|
756
|
+
if status_code == 200
|
757
|
+
begin
|
758
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
759
|
+
result_mapper = Azure::Compute::Mgmt::V2020_09_30::Models::Snapshot.mapper()
|
760
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
761
|
+
rescue Exception => e
|
762
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
763
|
+
end
|
764
|
+
end
|
765
|
+
# Deserialize Response
|
766
|
+
if status_code == 202
|
767
|
+
begin
|
768
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
769
|
+
result_mapper = Azure::Compute::Mgmt::V2020_09_30::Models::Snapshot.mapper()
|
770
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
771
|
+
rescue Exception => e
|
772
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
773
|
+
end
|
774
|
+
end
|
775
|
+
|
776
|
+
result
|
777
|
+
end
|
778
|
+
|
779
|
+
promise.execute
|
780
|
+
end
|
781
|
+
|
782
|
+
#
|
783
|
+
# Deletes a snapshot.
|
784
|
+
#
|
785
|
+
# @param resource_group_name [String] The name of the resource group.
|
786
|
+
# @param snapshot_name [String] The name of the snapshot that is being created.
|
787
|
+
# The name can't be changed after the snapshot is created. Supported characters
|
788
|
+
# for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
|
789
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
790
|
+
# will be added to the HTTP request.
|
791
|
+
#
|
792
|
+
#
|
793
|
+
def begin_delete(resource_group_name, snapshot_name, custom_headers:nil)
|
794
|
+
response = begin_delete_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value!
|
795
|
+
nil
|
796
|
+
end
|
797
|
+
|
798
|
+
#
|
799
|
+
# Deletes a snapshot.
|
800
|
+
#
|
801
|
+
# @param resource_group_name [String] The name of the resource group.
|
802
|
+
# @param snapshot_name [String] The name of the snapshot that is being created.
|
803
|
+
# The name can't be changed after the snapshot is created. Supported characters
|
804
|
+
# for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
|
805
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
806
|
+
# will be added to the HTTP request.
|
807
|
+
#
|
808
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
809
|
+
#
|
810
|
+
def begin_delete_with_http_info(resource_group_name, snapshot_name, custom_headers:nil)
|
811
|
+
begin_delete_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value!
|
812
|
+
end
|
813
|
+
|
814
|
+
#
|
815
|
+
# Deletes a snapshot.
|
816
|
+
#
|
817
|
+
# @param resource_group_name [String] The name of the resource group.
|
818
|
+
# @param snapshot_name [String] The name of the snapshot that is being created.
|
819
|
+
# The name can't be changed after the snapshot is created. Supported characters
|
820
|
+
# for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
|
821
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
822
|
+
# to the HTTP request.
|
823
|
+
#
|
824
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
825
|
+
#
|
826
|
+
def begin_delete_async(resource_group_name, snapshot_name, custom_headers:nil)
|
827
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
828
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
829
|
+
fail ArgumentError, 'snapshot_name is nil' if snapshot_name.nil?
|
830
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
831
|
+
|
832
|
+
|
833
|
+
request_headers = {}
|
834
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
835
|
+
|
836
|
+
# Set Headers
|
837
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
838
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
839
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}'
|
840
|
+
|
841
|
+
request_url = @base_url || @client.base_url
|
842
|
+
|
843
|
+
options = {
|
844
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
845
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'snapshotName' => snapshot_name},
|
846
|
+
query_params: {'api-version' => @client.api_version},
|
847
|
+
headers: request_headers.merge(custom_headers || {}),
|
848
|
+
base_url: request_url
|
849
|
+
}
|
850
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
851
|
+
|
852
|
+
promise = promise.then do |result|
|
853
|
+
http_response = result.response
|
854
|
+
status_code = http_response.status
|
855
|
+
response_content = http_response.body
|
856
|
+
unless status_code == 200 || status_code == 202 || status_code == 204
|
857
|
+
error_model = JSON.load(response_content)
|
858
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
859
|
+
end
|
860
|
+
|
861
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
862
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
863
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
864
|
+
|
865
|
+
result
|
866
|
+
end
|
867
|
+
|
868
|
+
promise.execute
|
869
|
+
end
|
870
|
+
|
871
|
+
#
|
872
|
+
# Grants access to a snapshot.
|
873
|
+
#
|
874
|
+
# @param resource_group_name [String] The name of the resource group.
|
875
|
+
# @param snapshot_name [String] The name of the snapshot that is being created.
|
876
|
+
# The name can't be changed after the snapshot is created. Supported characters
|
877
|
+
# for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
|
878
|
+
# @param grant_access_data [GrantAccessData] Access data object supplied in the
|
879
|
+
# body of the get snapshot access operation.
|
880
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
881
|
+
# will be added to the HTTP request.
|
882
|
+
#
|
883
|
+
# @return [AccessUri] operation results.
|
884
|
+
#
|
885
|
+
def begin_grant_access(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil)
|
886
|
+
response = begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers).value!
|
887
|
+
response.body unless response.nil?
|
888
|
+
end
|
889
|
+
|
890
|
+
#
|
891
|
+
# Grants access to a snapshot.
|
892
|
+
#
|
893
|
+
# @param resource_group_name [String] The name of the resource group.
|
894
|
+
# @param snapshot_name [String] The name of the snapshot that is being created.
|
895
|
+
# The name can't be changed after the snapshot is created. Supported characters
|
896
|
+
# for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
|
897
|
+
# @param grant_access_data [GrantAccessData] Access data object supplied in the
|
898
|
+
# body of the get snapshot access operation.
|
899
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
900
|
+
# will be added to the HTTP request.
|
901
|
+
#
|
902
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
903
|
+
#
|
904
|
+
def begin_grant_access_with_http_info(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil)
|
905
|
+
begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers).value!
|
906
|
+
end
|
907
|
+
|
908
|
+
#
|
909
|
+
# Grants access to a snapshot.
|
910
|
+
#
|
911
|
+
# @param resource_group_name [String] The name of the resource group.
|
912
|
+
# @param snapshot_name [String] The name of the snapshot that is being created.
|
913
|
+
# The name can't be changed after the snapshot is created. Supported characters
|
914
|
+
# for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
|
915
|
+
# @param grant_access_data [GrantAccessData] Access data object supplied in the
|
916
|
+
# body of the get snapshot access operation.
|
917
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
918
|
+
# to the HTTP request.
|
919
|
+
#
|
920
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
921
|
+
#
|
922
|
+
def begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil)
|
923
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
924
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
925
|
+
fail ArgumentError, 'snapshot_name is nil' if snapshot_name.nil?
|
926
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
927
|
+
fail ArgumentError, 'grant_access_data is nil' if grant_access_data.nil?
|
928
|
+
|
929
|
+
|
930
|
+
request_headers = {}
|
931
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
932
|
+
|
933
|
+
# Set Headers
|
934
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
935
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
936
|
+
|
937
|
+
# Serialize Request
|
938
|
+
request_mapper = Azure::Compute::Mgmt::V2020_09_30::Models::GrantAccessData.mapper()
|
939
|
+
request_content = @client.serialize(request_mapper, grant_access_data)
|
940
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
941
|
+
|
942
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/beginGetAccess'
|
943
|
+
|
944
|
+
request_url = @base_url || @client.base_url
|
945
|
+
|
946
|
+
options = {
|
947
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
948
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'snapshotName' => snapshot_name},
|
949
|
+
query_params: {'api-version' => @client.api_version},
|
950
|
+
body: request_content,
|
951
|
+
headers: request_headers.merge(custom_headers || {}),
|
952
|
+
base_url: request_url
|
953
|
+
}
|
954
|
+
promise = @client.make_request_async(:post, path_template, options)
|
955
|
+
|
956
|
+
promise = promise.then do |result|
|
957
|
+
http_response = result.response
|
958
|
+
status_code = http_response.status
|
959
|
+
response_content = http_response.body
|
960
|
+
unless status_code == 200 || status_code == 202
|
961
|
+
error_model = JSON.load(response_content)
|
962
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
963
|
+
end
|
964
|
+
|
965
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
966
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
967
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
968
|
+
# Deserialize Response
|
969
|
+
if status_code == 200
|
970
|
+
begin
|
971
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
972
|
+
result_mapper = Azure::Compute::Mgmt::V2020_09_30::Models::AccessUri.mapper()
|
973
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
974
|
+
rescue Exception => e
|
975
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
976
|
+
end
|
977
|
+
end
|
978
|
+
|
979
|
+
result
|
980
|
+
end
|
981
|
+
|
982
|
+
promise.execute
|
983
|
+
end
|
984
|
+
|
985
|
+
#
|
986
|
+
# Revokes access to a snapshot.
|
987
|
+
#
|
988
|
+
# @param resource_group_name [String] The name of the resource group.
|
989
|
+
# @param snapshot_name [String] The name of the snapshot that is being created.
|
990
|
+
# The name can't be changed after the snapshot is created. Supported characters
|
991
|
+
# for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
|
992
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
993
|
+
# will be added to the HTTP request.
|
994
|
+
#
|
995
|
+
#
|
996
|
+
def begin_revoke_access(resource_group_name, snapshot_name, custom_headers:nil)
|
997
|
+
response = begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value!
|
998
|
+
nil
|
999
|
+
end
|
1000
|
+
|
1001
|
+
#
|
1002
|
+
# Revokes access to a snapshot.
|
1003
|
+
#
|
1004
|
+
# @param resource_group_name [String] The name of the resource group.
|
1005
|
+
# @param snapshot_name [String] The name of the snapshot that is being created.
|
1006
|
+
# The name can't be changed after the snapshot is created. Supported characters
|
1007
|
+
# for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
|
1008
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1009
|
+
# will be added to the HTTP request.
|
1010
|
+
#
|
1011
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1012
|
+
#
|
1013
|
+
def begin_revoke_access_with_http_info(resource_group_name, snapshot_name, custom_headers:nil)
|
1014
|
+
begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers:custom_headers).value!
|
1015
|
+
end
|
1016
|
+
|
1017
|
+
#
|
1018
|
+
# Revokes access to a snapshot.
|
1019
|
+
#
|
1020
|
+
# @param resource_group_name [String] The name of the resource group.
|
1021
|
+
# @param snapshot_name [String] The name of the snapshot that is being created.
|
1022
|
+
# The name can't be changed after the snapshot is created. Supported characters
|
1023
|
+
# for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
|
1024
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1025
|
+
# to the HTTP request.
|
1026
|
+
#
|
1027
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1028
|
+
#
|
1029
|
+
def begin_revoke_access_async(resource_group_name, snapshot_name, custom_headers:nil)
|
1030
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1031
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1032
|
+
fail ArgumentError, 'snapshot_name is nil' if snapshot_name.nil?
|
1033
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1034
|
+
|
1035
|
+
|
1036
|
+
request_headers = {}
|
1037
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1038
|
+
|
1039
|
+
# Set Headers
|
1040
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1041
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1042
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/endGetAccess'
|
1043
|
+
|
1044
|
+
request_url = @base_url || @client.base_url
|
1045
|
+
|
1046
|
+
options = {
|
1047
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1048
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'snapshotName' => snapshot_name},
|
1049
|
+
query_params: {'api-version' => @client.api_version},
|
1050
|
+
headers: request_headers.merge(custom_headers || {}),
|
1051
|
+
base_url: request_url
|
1052
|
+
}
|
1053
|
+
promise = @client.make_request_async(:post, path_template, options)
|
1054
|
+
|
1055
|
+
promise = promise.then do |result|
|
1056
|
+
http_response = result.response
|
1057
|
+
status_code = http_response.status
|
1058
|
+
response_content = http_response.body
|
1059
|
+
unless status_code == 200 || status_code == 202
|
1060
|
+
error_model = JSON.load(response_content)
|
1061
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1062
|
+
end
|
1063
|
+
|
1064
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1065
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1066
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1067
|
+
|
1068
|
+
result
|
1069
|
+
end
|
1070
|
+
|
1071
|
+
promise.execute
|
1072
|
+
end
|
1073
|
+
|
1074
|
+
#
|
1075
|
+
# Lists snapshots under a resource group.
|
1076
|
+
#
|
1077
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
1078
|
+
# to List operation.
|
1079
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1080
|
+
# will be added to the HTTP request.
|
1081
|
+
#
|
1082
|
+
# @return [SnapshotList] operation results.
|
1083
|
+
#
|
1084
|
+
def list_by_resource_group_next(next_page_link, custom_headers:nil)
|
1085
|
+
response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
|
1086
|
+
response.body unless response.nil?
|
1087
|
+
end
|
1088
|
+
|
1089
|
+
#
|
1090
|
+
# Lists snapshots under a resource group.
|
1091
|
+
#
|
1092
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
1093
|
+
# to List operation.
|
1094
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1095
|
+
# will be added to the HTTP request.
|
1096
|
+
#
|
1097
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1098
|
+
#
|
1099
|
+
def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil)
|
1100
|
+
list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
|
1101
|
+
end
|
1102
|
+
|
1103
|
+
#
|
1104
|
+
# Lists snapshots under a resource group.
|
1105
|
+
#
|
1106
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
1107
|
+
# to List operation.
|
1108
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1109
|
+
# to the HTTP request.
|
1110
|
+
#
|
1111
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1112
|
+
#
|
1113
|
+
def list_by_resource_group_next_async(next_page_link, custom_headers:nil)
|
1114
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
1115
|
+
|
1116
|
+
|
1117
|
+
request_headers = {}
|
1118
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1119
|
+
|
1120
|
+
# Set Headers
|
1121
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1122
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1123
|
+
path_template = '{nextLink}'
|
1124
|
+
|
1125
|
+
request_url = @base_url || @client.base_url
|
1126
|
+
|
1127
|
+
options = {
|
1128
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1129
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
1130
|
+
headers: request_headers.merge(custom_headers || {}),
|
1131
|
+
base_url: request_url
|
1132
|
+
}
|
1133
|
+
promise = @client.make_request_async(:get, path_template, options)
|
1134
|
+
|
1135
|
+
promise = promise.then do |result|
|
1136
|
+
http_response = result.response
|
1137
|
+
status_code = http_response.status
|
1138
|
+
response_content = http_response.body
|
1139
|
+
unless status_code == 200
|
1140
|
+
error_model = JSON.load(response_content)
|
1141
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1142
|
+
end
|
1143
|
+
|
1144
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1145
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1146
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1147
|
+
# Deserialize Response
|
1148
|
+
if status_code == 200
|
1149
|
+
begin
|
1150
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1151
|
+
result_mapper = Azure::Compute::Mgmt::V2020_09_30::Models::SnapshotList.mapper()
|
1152
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1153
|
+
rescue Exception => e
|
1154
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1155
|
+
end
|
1156
|
+
end
|
1157
|
+
|
1158
|
+
result
|
1159
|
+
end
|
1160
|
+
|
1161
|
+
promise.execute
|
1162
|
+
end
|
1163
|
+
|
1164
|
+
#
|
1165
|
+
# Lists snapshots under a subscription.
|
1166
|
+
#
|
1167
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
1168
|
+
# to List operation.
|
1169
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1170
|
+
# will be added to the HTTP request.
|
1171
|
+
#
|
1172
|
+
# @return [SnapshotList] operation results.
|
1173
|
+
#
|
1174
|
+
def list_next(next_page_link, custom_headers:nil)
|
1175
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
1176
|
+
response.body unless response.nil?
|
1177
|
+
end
|
1178
|
+
|
1179
|
+
#
|
1180
|
+
# Lists snapshots under a subscription.
|
1181
|
+
#
|
1182
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
1183
|
+
# to List operation.
|
1184
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1185
|
+
# will be added to the HTTP request.
|
1186
|
+
#
|
1187
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1188
|
+
#
|
1189
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
1190
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
1191
|
+
end
|
1192
|
+
|
1193
|
+
#
|
1194
|
+
# Lists snapshots under a subscription.
|
1195
|
+
#
|
1196
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
1197
|
+
# to List operation.
|
1198
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1199
|
+
# to the HTTP request.
|
1200
|
+
#
|
1201
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1202
|
+
#
|
1203
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
1204
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
1205
|
+
|
1206
|
+
|
1207
|
+
request_headers = {}
|
1208
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1209
|
+
|
1210
|
+
# Set Headers
|
1211
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1212
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1213
|
+
path_template = '{nextLink}'
|
1214
|
+
|
1215
|
+
request_url = @base_url || @client.base_url
|
1216
|
+
|
1217
|
+
options = {
|
1218
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1219
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
1220
|
+
headers: request_headers.merge(custom_headers || {}),
|
1221
|
+
base_url: request_url
|
1222
|
+
}
|
1223
|
+
promise = @client.make_request_async(:get, path_template, options)
|
1224
|
+
|
1225
|
+
promise = promise.then do |result|
|
1226
|
+
http_response = result.response
|
1227
|
+
status_code = http_response.status
|
1228
|
+
response_content = http_response.body
|
1229
|
+
unless status_code == 200
|
1230
|
+
error_model = JSON.load(response_content)
|
1231
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1232
|
+
end
|
1233
|
+
|
1234
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1235
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1236
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1237
|
+
# Deserialize Response
|
1238
|
+
if status_code == 200
|
1239
|
+
begin
|
1240
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1241
|
+
result_mapper = Azure::Compute::Mgmt::V2020_09_30::Models::SnapshotList.mapper()
|
1242
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1243
|
+
rescue Exception => e
|
1244
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1245
|
+
end
|
1246
|
+
end
|
1247
|
+
|
1248
|
+
result
|
1249
|
+
end
|
1250
|
+
|
1251
|
+
promise.execute
|
1252
|
+
end
|
1253
|
+
|
1254
|
+
#
|
1255
|
+
# Lists snapshots under a resource group.
|
1256
|
+
#
|
1257
|
+
# @param resource_group_name [String] The name of the resource group.
|
1258
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1259
|
+
# will be added to the HTTP request.
|
1260
|
+
#
|
1261
|
+
# @return [SnapshotList] which provide lazy access to pages of the response.
|
1262
|
+
#
|
1263
|
+
def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil)
|
1264
|
+
response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value!
|
1265
|
+
unless response.nil?
|
1266
|
+
page = response.body
|
1267
|
+
page.next_method = Proc.new do |next_page_link|
|
1268
|
+
list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers)
|
1269
|
+
end
|
1270
|
+
page
|
1271
|
+
end
|
1272
|
+
end
|
1273
|
+
|
1274
|
+
#
|
1275
|
+
# Lists snapshots under a subscription.
|
1276
|
+
#
|
1277
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1278
|
+
# will be added to the HTTP request.
|
1279
|
+
#
|
1280
|
+
# @return [SnapshotList] which provide lazy access to pages of the response.
|
1281
|
+
#
|
1282
|
+
def list_as_lazy(custom_headers:nil)
|
1283
|
+
response = list_async(custom_headers:custom_headers).value!
|
1284
|
+
unless response.nil?
|
1285
|
+
page = response.body
|
1286
|
+
page.next_method = Proc.new do |next_page_link|
|
1287
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
1288
|
+
end
|
1289
|
+
page
|
1290
|
+
end
|
1291
|
+
end
|
1292
|
+
|
1293
|
+
end
|
1294
|
+
end
|