azure_mgmt_compute 0.21.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-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/compute_management_client.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +3 -2
- data/lib/2020-06-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2020-06-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2020-09-30-preview/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2020-09-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2020-10-01-preview/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- 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 +1 -0
- data/lib/profiles/latest/modules/compute_profile_module.rb +1010 -944
- data/lib/version.rb +1 -1
- metadata +283 -2
@@ -0,0 +1,63 @@
|
|
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_12_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Boot Diagnostics is a debugging feature which allows you to view Console
|
10
|
+
# Output and Screenshot to diagnose VM status. <br><br> You can easily view
|
11
|
+
# the output of your console log. <br><br> Azure also enables you to see a
|
12
|
+
# screenshot of the VM from the hypervisor.
|
13
|
+
#
|
14
|
+
class BootDiagnostics
|
15
|
+
|
16
|
+
include MsRestAzure
|
17
|
+
|
18
|
+
# @return [Boolean] Whether boot diagnostics should be enabled on the
|
19
|
+
# Virtual Machine.
|
20
|
+
attr_accessor :enabled
|
21
|
+
|
22
|
+
# @return [String] Uri of the storage account to use for placing the
|
23
|
+
# console output and screenshot. <br><br>If storageUri is not specified
|
24
|
+
# while enabling boot diagnostics, managed storage will be used.
|
25
|
+
attr_accessor :storage_uri
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for BootDiagnostics class as Ruby Hash.
|
30
|
+
# This will be used for serialization/deserialization.
|
31
|
+
#
|
32
|
+
def self.mapper()
|
33
|
+
{
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'BootDiagnostics',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'BootDiagnostics',
|
40
|
+
model_properties: {
|
41
|
+
enabled: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'enabled',
|
45
|
+
type: {
|
46
|
+
name: 'Boolean'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
storage_uri: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'storageUri',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
@@ -0,0 +1,78 @@
|
|
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_12_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The instance view of a virtual machine boot diagnostics.
|
10
|
+
#
|
11
|
+
class BootDiagnosticsInstanceView
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The console screenshot blob URI. <br><br>NOTE: This
|
16
|
+
# will **not** be set if boot diagnostics is currently enabled with
|
17
|
+
# managed storage.
|
18
|
+
attr_accessor :console_screenshot_blob_uri
|
19
|
+
|
20
|
+
# @return [String] The serial console log blob Uri. <br><br>NOTE: This
|
21
|
+
# will **not** be set if boot diagnostics is currently enabled with
|
22
|
+
# managed storage.
|
23
|
+
attr_accessor :serial_console_log_blob_uri
|
24
|
+
|
25
|
+
# @return [InstanceViewStatus] The boot diagnostics status information
|
26
|
+
# for the VM. <br><br> NOTE: It will be set only if there are errors
|
27
|
+
# encountered in enabling boot diagnostics.
|
28
|
+
attr_accessor :status
|
29
|
+
|
30
|
+
|
31
|
+
#
|
32
|
+
# Mapper for BootDiagnosticsInstanceView class as Ruby Hash.
|
33
|
+
# This will be used for serialization/deserialization.
|
34
|
+
#
|
35
|
+
def self.mapper()
|
36
|
+
{
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'BootDiagnosticsInstanceView',
|
40
|
+
type: {
|
41
|
+
name: 'Composite',
|
42
|
+
class_name: 'BootDiagnosticsInstanceView',
|
43
|
+
model_properties: {
|
44
|
+
console_screenshot_blob_uri: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
read_only: true,
|
48
|
+
serialized_name: 'consoleScreenshotBlobUri',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
},
|
53
|
+
serial_console_log_blob_uri: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: false,
|
56
|
+
read_only: true,
|
57
|
+
serialized_name: 'serialConsoleLogBlobUri',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
status: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
read_only: true,
|
66
|
+
serialized_name: 'status',
|
67
|
+
type: {
|
68
|
+
name: 'Composite',
|
69
|
+
class_name: 'InstanceViewStatus'
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
78
|
+
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_12_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for CachingTypes
|
10
|
+
#
|
11
|
+
module CachingTypes
|
12
|
+
None = "None"
|
13
|
+
ReadOnly = "ReadOnly"
|
14
|
+
ReadWrite = "ReadWrite"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,15 @@
|
|
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_12_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ComponentNames
|
10
|
+
#
|
11
|
+
module ComponentNames
|
12
|
+
MicrosoftWindowsShellSetup = "Microsoft-Windows-Shell-Setup"
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,56 @@
|
|
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_12_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The List Compute Operation operation response.
|
10
|
+
#
|
11
|
+
class ComputeOperationListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<ComputeOperationValue>] The list of compute operations
|
16
|
+
attr_accessor :value
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for ComputeOperationListResult class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
client_side_validation: true,
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'ComputeOperationListResult',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'ComputeOperationListResult',
|
31
|
+
model_properties: {
|
32
|
+
value: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
read_only: true,
|
36
|
+
serialized_name: 'value',
|
37
|
+
type: {
|
38
|
+
name: 'Sequence',
|
39
|
+
element: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'ComputeOperationValueElementType',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'ComputeOperationValue'
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,108 @@
|
|
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_12_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Describes the properties of a Compute Operation value.
|
10
|
+
#
|
11
|
+
class ComputeOperationValue
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The origin of the compute operation.
|
16
|
+
attr_accessor :origin
|
17
|
+
|
18
|
+
# @return [String] The name of the compute operation.
|
19
|
+
attr_accessor :name
|
20
|
+
|
21
|
+
# @return [String] The display name of the compute operation.
|
22
|
+
attr_accessor :operation
|
23
|
+
|
24
|
+
# @return [String] The display name of the resource the operation applies
|
25
|
+
# to.
|
26
|
+
attr_accessor :resource
|
27
|
+
|
28
|
+
# @return [String] The description of the operation.
|
29
|
+
attr_accessor :description
|
30
|
+
|
31
|
+
# @return [String] The resource provider for the operation.
|
32
|
+
attr_accessor :provider
|
33
|
+
|
34
|
+
|
35
|
+
#
|
36
|
+
# Mapper for ComputeOperationValue class as Ruby Hash.
|
37
|
+
# This will be used for serialization/deserialization.
|
38
|
+
#
|
39
|
+
def self.mapper()
|
40
|
+
{
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'ComputeOperationValue',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
class_name: 'ComputeOperationValue',
|
47
|
+
model_properties: {
|
48
|
+
origin: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
read_only: true,
|
52
|
+
serialized_name: 'origin',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
name: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
read_only: true,
|
61
|
+
serialized_name: 'name',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
operation: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
read_only: true,
|
70
|
+
serialized_name: 'display.operation',
|
71
|
+
type: {
|
72
|
+
name: 'String'
|
73
|
+
}
|
74
|
+
},
|
75
|
+
resource: {
|
76
|
+
client_side_validation: true,
|
77
|
+
required: false,
|
78
|
+
read_only: true,
|
79
|
+
serialized_name: 'display.resource',
|
80
|
+
type: {
|
81
|
+
name: 'String'
|
82
|
+
}
|
83
|
+
},
|
84
|
+
description: {
|
85
|
+
client_side_validation: true,
|
86
|
+
required: false,
|
87
|
+
read_only: true,
|
88
|
+
serialized_name: 'display.description',
|
89
|
+
type: {
|
90
|
+
name: 'String'
|
91
|
+
}
|
92
|
+
},
|
93
|
+
provider: {
|
94
|
+
client_side_validation: true,
|
95
|
+
required: false,
|
96
|
+
read_only: true,
|
97
|
+
serialized_name: 'display.provider',
|
98
|
+
type: {
|
99
|
+
name: 'String'
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
end
|
106
|
+
end
|
107
|
+
end
|
108
|
+
end
|
@@ -0,0 +1,224 @@
|
|
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_12_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Describes a data disk.
|
10
|
+
#
|
11
|
+
class DataDisk
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Integer] Specifies the logical unit number of the data disk.
|
16
|
+
# This value is used to identify data disks within the VM and therefore
|
17
|
+
# must be unique for each data disk attached to a VM.
|
18
|
+
attr_accessor :lun
|
19
|
+
|
20
|
+
# @return [String] The disk name.
|
21
|
+
attr_accessor :name
|
22
|
+
|
23
|
+
# @return [VirtualHardDisk] The virtual hard disk.
|
24
|
+
attr_accessor :vhd
|
25
|
+
|
26
|
+
# @return [VirtualHardDisk] The source user image virtual hard disk. The
|
27
|
+
# virtual hard disk will be copied before being attached to the virtual
|
28
|
+
# machine. If SourceImage is provided, the destination virtual hard drive
|
29
|
+
# must not exist.
|
30
|
+
attr_accessor :image
|
31
|
+
|
32
|
+
# @return [CachingTypes] Specifies the caching requirements. <br><br>
|
33
|
+
# Possible values are: <br><br> **None** <br><br> **ReadOnly** <br><br>
|
34
|
+
# **ReadWrite** <br><br> Default: **None for Standard storage. ReadOnly
|
35
|
+
# for Premium storage**. Possible values include: 'None', 'ReadOnly',
|
36
|
+
# 'ReadWrite'
|
37
|
+
attr_accessor :caching
|
38
|
+
|
39
|
+
# @return [Boolean] Specifies whether writeAccelerator should be enabled
|
40
|
+
# or disabled on the disk.
|
41
|
+
attr_accessor :write_accelerator_enabled
|
42
|
+
|
43
|
+
# @return [DiskCreateOptionTypes] Specifies how the virtual machine
|
44
|
+
# should be created.<br><br> Possible values are:<br><br> **Attach**
|
45
|
+
# \u2013 This value is used when you are using a specialized disk to
|
46
|
+
# create the virtual machine.<br><br> **FromImage** \u2013 This value is
|
47
|
+
# used when you are using an image to create the virtual machine. If you
|
48
|
+
# are using a platform image, you also use the imageReference element
|
49
|
+
# described above. If you are using a marketplace image, you also use
|
50
|
+
# the plan element previously described. Possible values include:
|
51
|
+
# 'FromImage', 'Empty', 'Attach'
|
52
|
+
attr_accessor :create_option
|
53
|
+
|
54
|
+
# @return [Integer] Specifies the size of an empty data disk in
|
55
|
+
# gigabytes. This element can be used to overwrite the size of the disk
|
56
|
+
# in a virtual machine image. <br><br> This value cannot be larger than
|
57
|
+
# 1023 GB
|
58
|
+
attr_accessor :disk_size_gb
|
59
|
+
|
60
|
+
# @return [ManagedDiskParameters] The managed disk parameters.
|
61
|
+
attr_accessor :managed_disk
|
62
|
+
|
63
|
+
# @return [Boolean] Specifies whether the data disk is in process of
|
64
|
+
# detachment from the VirtualMachine/VirtualMachineScaleset
|
65
|
+
attr_accessor :to_be_detached
|
66
|
+
|
67
|
+
# @return [Integer] Specifies the Read-Write IOPS for the managed disk
|
68
|
+
# when StorageAccountType is UltraSSD_LRS. Returned only for
|
69
|
+
# VirtualMachine ScaleSet VM disks. Can be updated only via updates to
|
70
|
+
# the VirtualMachine Scale Set.
|
71
|
+
attr_accessor :disk_iopsread_write
|
72
|
+
|
73
|
+
# @return [Integer] Specifies the bandwidth in MB per second for the
|
74
|
+
# managed disk when StorageAccountType is UltraSSD_LRS. Returned only for
|
75
|
+
# VirtualMachine ScaleSet VM disks. Can be updated only via updates to
|
76
|
+
# the VirtualMachine Scale Set.
|
77
|
+
attr_accessor :disk_mbps_read_write
|
78
|
+
|
79
|
+
# @return [DiskDetachOptionTypes] Specifies the detach behavior to be
|
80
|
+
# used while detaching a disk or which is already in the process of
|
81
|
+
# detachment from the virtual machine. Supported values: **ForceDetach**.
|
82
|
+
# <br><br> detachOption: **ForceDetach** is applicable only for managed
|
83
|
+
# data disks. If a previous detachment attempt of the data disk did not
|
84
|
+
# complete due to an unexpected failure from the virtual machine and the
|
85
|
+
# disk is still not released then use force-detach as a last resort
|
86
|
+
# option to detach the disk forcibly from the VM. All writes might not
|
87
|
+
# have been flushed when using this detach behavior. <br><br> This
|
88
|
+
# feature is still in preview mode and is not supported for
|
89
|
+
# VirtualMachineScaleSet. To force-detach a data disk update toBeDetached
|
90
|
+
# to 'true' along with setting detachOption: 'ForceDetach'. Possible
|
91
|
+
# values include: 'ForceDetach'
|
92
|
+
attr_accessor :detach_option
|
93
|
+
|
94
|
+
|
95
|
+
#
|
96
|
+
# Mapper for DataDisk class as Ruby Hash.
|
97
|
+
# This will be used for serialization/deserialization.
|
98
|
+
#
|
99
|
+
def self.mapper()
|
100
|
+
{
|
101
|
+
client_side_validation: true,
|
102
|
+
required: false,
|
103
|
+
serialized_name: 'DataDisk',
|
104
|
+
type: {
|
105
|
+
name: 'Composite',
|
106
|
+
class_name: 'DataDisk',
|
107
|
+
model_properties: {
|
108
|
+
lun: {
|
109
|
+
client_side_validation: true,
|
110
|
+
required: true,
|
111
|
+
serialized_name: 'lun',
|
112
|
+
type: {
|
113
|
+
name: 'Number'
|
114
|
+
}
|
115
|
+
},
|
116
|
+
name: {
|
117
|
+
client_side_validation: true,
|
118
|
+
required: false,
|
119
|
+
serialized_name: 'name',
|
120
|
+
type: {
|
121
|
+
name: 'String'
|
122
|
+
}
|
123
|
+
},
|
124
|
+
vhd: {
|
125
|
+
client_side_validation: true,
|
126
|
+
required: false,
|
127
|
+
serialized_name: 'vhd',
|
128
|
+
type: {
|
129
|
+
name: 'Composite',
|
130
|
+
class_name: 'VirtualHardDisk'
|
131
|
+
}
|
132
|
+
},
|
133
|
+
image: {
|
134
|
+
client_side_validation: true,
|
135
|
+
required: false,
|
136
|
+
serialized_name: 'image',
|
137
|
+
type: {
|
138
|
+
name: 'Composite',
|
139
|
+
class_name: 'VirtualHardDisk'
|
140
|
+
}
|
141
|
+
},
|
142
|
+
caching: {
|
143
|
+
client_side_validation: true,
|
144
|
+
required: false,
|
145
|
+
serialized_name: 'caching',
|
146
|
+
type: {
|
147
|
+
name: 'Enum',
|
148
|
+
module: 'CachingTypes'
|
149
|
+
}
|
150
|
+
},
|
151
|
+
write_accelerator_enabled: {
|
152
|
+
client_side_validation: true,
|
153
|
+
required: false,
|
154
|
+
serialized_name: 'writeAcceleratorEnabled',
|
155
|
+
type: {
|
156
|
+
name: 'Boolean'
|
157
|
+
}
|
158
|
+
},
|
159
|
+
create_option: {
|
160
|
+
client_side_validation: true,
|
161
|
+
required: true,
|
162
|
+
serialized_name: 'createOption',
|
163
|
+
type: {
|
164
|
+
name: 'String'
|
165
|
+
}
|
166
|
+
},
|
167
|
+
disk_size_gb: {
|
168
|
+
client_side_validation: true,
|
169
|
+
required: false,
|
170
|
+
serialized_name: 'diskSizeGB',
|
171
|
+
type: {
|
172
|
+
name: 'Number'
|
173
|
+
}
|
174
|
+
},
|
175
|
+
managed_disk: {
|
176
|
+
client_side_validation: true,
|
177
|
+
required: false,
|
178
|
+
serialized_name: 'managedDisk',
|
179
|
+
type: {
|
180
|
+
name: 'Composite',
|
181
|
+
class_name: 'ManagedDiskParameters'
|
182
|
+
}
|
183
|
+
},
|
184
|
+
to_be_detached: {
|
185
|
+
client_side_validation: true,
|
186
|
+
required: false,
|
187
|
+
serialized_name: 'toBeDetached',
|
188
|
+
type: {
|
189
|
+
name: 'Boolean'
|
190
|
+
}
|
191
|
+
},
|
192
|
+
disk_iopsread_write: {
|
193
|
+
client_side_validation: true,
|
194
|
+
required: false,
|
195
|
+
read_only: true,
|
196
|
+
serialized_name: 'diskIOPSReadWrite',
|
197
|
+
type: {
|
198
|
+
name: 'Number'
|
199
|
+
}
|
200
|
+
},
|
201
|
+
disk_mbps_read_write: {
|
202
|
+
client_side_validation: true,
|
203
|
+
required: false,
|
204
|
+
read_only: true,
|
205
|
+
serialized_name: 'diskMBpsReadWrite',
|
206
|
+
type: {
|
207
|
+
name: 'Number'
|
208
|
+
}
|
209
|
+
},
|
210
|
+
detach_option: {
|
211
|
+
client_side_validation: true,
|
212
|
+
required: false,
|
213
|
+
serialized_name: 'detachOption',
|
214
|
+
type: {
|
215
|
+
name: 'String'
|
216
|
+
}
|
217
|
+
}
|
218
|
+
}
|
219
|
+
}
|
220
|
+
}
|
221
|
+
end
|
222
|
+
end
|
223
|
+
end
|
224
|
+
end
|