azure_mgmt_compute 0.20.0 → 0.21.1
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.rb +94 -93
- 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/gallery_application_version_publishing_profile.rb +7 -7
- 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 +10 -9
- data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +12 -4
- data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machines.rb +36 -8
- data/lib/2020-06-01/generated/azure_mgmt_compute.rb +102 -92
- data/lib/2020-06-01/generated/azure_mgmt_compute/compute_management_client.rb +6 -1
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_group.rb +1 -1
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_group_update.rb +1 -1
- 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 +20 -15
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb +22 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/ssh_public_key.rb +1 -1
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/throttled_requests_input.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine.rb +8 -7
- 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_network_configuration.rb +12 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb +12 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +8 -7
- 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_vmprofile.rb +8 -7
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +8 -7
- data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_run_commands.rb +790 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vmextensions.rb +35 -35
- 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_machines.rb +5 -5
- 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.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/azure_mgmt_compute.rb +3 -0
- data/lib/profiles/latest/modules/compute_profile_module.rb +700 -468
- data/lib/version.rb +1 -1
- metadata +209 -2
@@ -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 AccessLevel
|
10
|
+
#
|
11
|
+
module AccessLevel
|
12
|
+
None = "None"
|
13
|
+
Read = "Read"
|
14
|
+
Write = "Write"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
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
|
+
# A disk access SAS uri.
|
10
|
+
#
|
11
|
+
class AccessUri
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] A SAS uri for accessing a disk.
|
16
|
+
attr_accessor :access_sas
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for AccessUri 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: 'AccessUri',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'AccessUri',
|
31
|
+
model_properties: {
|
32
|
+
access_sas: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
read_only: true,
|
36
|
+
serialized_name: 'accessSAS',
|
37
|
+
type: {
|
38
|
+
name: 'String'
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,100 @@
|
|
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
|
+
# Api error.
|
10
|
+
#
|
11
|
+
class ApiError
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<ApiErrorBase>] The Api error details
|
16
|
+
attr_accessor :details
|
17
|
+
|
18
|
+
# @return [InnerError] The Api inner error
|
19
|
+
attr_accessor :innererror
|
20
|
+
|
21
|
+
# @return [String] The error code.
|
22
|
+
attr_accessor :code
|
23
|
+
|
24
|
+
# @return [String] The target of the particular error.
|
25
|
+
attr_accessor :target
|
26
|
+
|
27
|
+
# @return [String] The error message.
|
28
|
+
attr_accessor :message
|
29
|
+
|
30
|
+
|
31
|
+
#
|
32
|
+
# Mapper for ApiError 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: 'ApiError',
|
40
|
+
type: {
|
41
|
+
name: 'Composite',
|
42
|
+
class_name: 'ApiError',
|
43
|
+
model_properties: {
|
44
|
+
details: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
serialized_name: 'details',
|
48
|
+
type: {
|
49
|
+
name: 'Sequence',
|
50
|
+
element: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'ApiErrorBaseElementType',
|
54
|
+
type: {
|
55
|
+
name: 'Composite',
|
56
|
+
class_name: 'ApiErrorBase'
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
},
|
61
|
+
innererror: {
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'innererror',
|
65
|
+
type: {
|
66
|
+
name: 'Composite',
|
67
|
+
class_name: 'InnerError'
|
68
|
+
}
|
69
|
+
},
|
70
|
+
code: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'code',
|
74
|
+
type: {
|
75
|
+
name: 'String'
|
76
|
+
}
|
77
|
+
},
|
78
|
+
target: {
|
79
|
+
client_side_validation: true,
|
80
|
+
required: false,
|
81
|
+
serialized_name: 'target',
|
82
|
+
type: {
|
83
|
+
name: 'String'
|
84
|
+
}
|
85
|
+
},
|
86
|
+
message: {
|
87
|
+
client_side_validation: true,
|
88
|
+
required: false,
|
89
|
+
serialized_name: 'message',
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
@@ -0,0 +1,68 @@
|
|
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
|
+
# Api error base.
|
10
|
+
#
|
11
|
+
class ApiErrorBase
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The error code.
|
16
|
+
attr_accessor :code
|
17
|
+
|
18
|
+
# @return [String] The target of the particular error.
|
19
|
+
attr_accessor :target
|
20
|
+
|
21
|
+
# @return [String] The error message.
|
22
|
+
attr_accessor :message
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for ApiErrorBase class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'ApiErrorBase',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'ApiErrorBase',
|
37
|
+
model_properties: {
|
38
|
+
code: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'code',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
target: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'target',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
message: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'message',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
@@ -0,0 +1,150 @@
|
|
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
|
+
# Data used when creating a disk.
|
10
|
+
#
|
11
|
+
class CreationData
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [DiskCreateOption] This enumerates the possible sources of a
|
16
|
+
# disk's creation. Possible values include: 'Empty', 'Attach',
|
17
|
+
# 'FromImage', 'Import', 'Copy', 'Restore', 'Upload'
|
18
|
+
attr_accessor :create_option
|
19
|
+
|
20
|
+
# @return [String] Required if createOption is Import. The Azure Resource
|
21
|
+
# Manager identifier of the storage account containing the blob to import
|
22
|
+
# as a disk.
|
23
|
+
attr_accessor :storage_account_id
|
24
|
+
|
25
|
+
# @return [ImageDiskReference] Disk source information.
|
26
|
+
attr_accessor :image_reference
|
27
|
+
|
28
|
+
# @return [ImageDiskReference] Required if creating from a Gallery Image.
|
29
|
+
# The id of the ImageDiskReference will be the ARM id of the shared
|
30
|
+
# galley image version from which to create a disk.
|
31
|
+
attr_accessor :gallery_image_reference
|
32
|
+
|
33
|
+
# @return [String] If createOption is Import, this is the URI of a blob
|
34
|
+
# to be imported into a managed disk.
|
35
|
+
attr_accessor :source_uri
|
36
|
+
|
37
|
+
# @return [String] If createOption is Copy, this is the ARM id of the
|
38
|
+
# source snapshot or disk.
|
39
|
+
attr_accessor :source_resource_id
|
40
|
+
|
41
|
+
# @return [String] If this field is set, this is the unique id
|
42
|
+
# identifying the source of this resource.
|
43
|
+
attr_accessor :source_unique_id
|
44
|
+
|
45
|
+
# @return [Integer] If createOption is Upload, this is the size of the
|
46
|
+
# contents of the upload including the VHD footer. This value should be
|
47
|
+
# between 20972032 (20 MiB + 512 bytes for the VHD footer) and
|
48
|
+
# 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).
|
49
|
+
attr_accessor :upload_size_bytes
|
50
|
+
|
51
|
+
# @return [Integer] Logical sector size in bytes for Ultra disks.
|
52
|
+
# Supported values are 512 ad 4096. 4096 is the default.
|
53
|
+
attr_accessor :logical_sector_size
|
54
|
+
|
55
|
+
|
56
|
+
#
|
57
|
+
# Mapper for CreationData class as Ruby Hash.
|
58
|
+
# This will be used for serialization/deserialization.
|
59
|
+
#
|
60
|
+
def self.mapper()
|
61
|
+
{
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'CreationData',
|
65
|
+
type: {
|
66
|
+
name: 'Composite',
|
67
|
+
class_name: 'CreationData',
|
68
|
+
model_properties: {
|
69
|
+
create_option: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: true,
|
72
|
+
serialized_name: 'createOption',
|
73
|
+
type: {
|
74
|
+
name: 'String'
|
75
|
+
}
|
76
|
+
},
|
77
|
+
storage_account_id: {
|
78
|
+
client_side_validation: true,
|
79
|
+
required: false,
|
80
|
+
serialized_name: 'storageAccountId',
|
81
|
+
type: {
|
82
|
+
name: 'String'
|
83
|
+
}
|
84
|
+
},
|
85
|
+
image_reference: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
serialized_name: 'imageReference',
|
89
|
+
type: {
|
90
|
+
name: 'Composite',
|
91
|
+
class_name: 'ImageDiskReference'
|
92
|
+
}
|
93
|
+
},
|
94
|
+
gallery_image_reference: {
|
95
|
+
client_side_validation: true,
|
96
|
+
required: false,
|
97
|
+
serialized_name: 'galleryImageReference',
|
98
|
+
type: {
|
99
|
+
name: 'Composite',
|
100
|
+
class_name: 'ImageDiskReference'
|
101
|
+
}
|
102
|
+
},
|
103
|
+
source_uri: {
|
104
|
+
client_side_validation: true,
|
105
|
+
required: false,
|
106
|
+
serialized_name: 'sourceUri',
|
107
|
+
type: {
|
108
|
+
name: 'String'
|
109
|
+
}
|
110
|
+
},
|
111
|
+
source_resource_id: {
|
112
|
+
client_side_validation: true,
|
113
|
+
required: false,
|
114
|
+
serialized_name: 'sourceResourceId',
|
115
|
+
type: {
|
116
|
+
name: 'String'
|
117
|
+
}
|
118
|
+
},
|
119
|
+
source_unique_id: {
|
120
|
+
client_side_validation: true,
|
121
|
+
required: false,
|
122
|
+
read_only: true,
|
123
|
+
serialized_name: 'sourceUniqueId',
|
124
|
+
type: {
|
125
|
+
name: 'String'
|
126
|
+
}
|
127
|
+
},
|
128
|
+
upload_size_bytes: {
|
129
|
+
client_side_validation: true,
|
130
|
+
required: false,
|
131
|
+
serialized_name: 'uploadSizeBytes',
|
132
|
+
type: {
|
133
|
+
name: 'Number'
|
134
|
+
}
|
135
|
+
},
|
136
|
+
logical_sector_size: {
|
137
|
+
client_side_validation: true,
|
138
|
+
required: false,
|
139
|
+
serialized_name: 'logicalSectorSize',
|
140
|
+
type: {
|
141
|
+
name: 'Number'
|
142
|
+
}
|
143
|
+
}
|
144
|
+
}
|
145
|
+
}
|
146
|
+
}
|
147
|
+
end
|
148
|
+
end
|
149
|
+
end
|
150
|
+
end
|
@@ -0,0 +1,462 @@
|
|
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
|
+
# Disk resource.
|
10
|
+
#
|
11
|
+
class Disk < Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] A relative URI containing the ID of the VM that has
|
16
|
+
# the disk attached.
|
17
|
+
attr_accessor :managed_by
|
18
|
+
|
19
|
+
# @return [Array<String>] List of relative URIs containing the IDs of the
|
20
|
+
# VMs that have the disk attached. maxShares should be set to a value
|
21
|
+
# greater than one for disks to allow attaching them to multiple VMs.
|
22
|
+
attr_accessor :managed_by_extended
|
23
|
+
|
24
|
+
# @return [DiskSku]
|
25
|
+
attr_accessor :sku
|
26
|
+
|
27
|
+
# @return [Array<String>] The Logical zone list for Disk.
|
28
|
+
attr_accessor :zones
|
29
|
+
|
30
|
+
# @return [ExtendedLocation] The extended location where the disk will be
|
31
|
+
# created. Extended location cannot be changed.
|
32
|
+
attr_accessor :extended_location
|
33
|
+
|
34
|
+
# @return [DateTime] The time when the disk was created.
|
35
|
+
attr_accessor :time_created
|
36
|
+
|
37
|
+
# @return [OperatingSystemTypes] The Operating System type. Possible
|
38
|
+
# values include: 'Windows', 'Linux'
|
39
|
+
attr_accessor :os_type
|
40
|
+
|
41
|
+
# @return [HyperVGeneration] The hypervisor generation of the Virtual
|
42
|
+
# Machine. Applicable to OS disks only. Possible values include: 'V1',
|
43
|
+
# 'V2'
|
44
|
+
attr_accessor :hyper_vgeneration
|
45
|
+
|
46
|
+
# @return [PurchasePlan] Purchase plan information for the the image from
|
47
|
+
# which the OS disk was created. E.g. - {name: 2019-Datacenter,
|
48
|
+
# publisher: MicrosoftWindowsServer, product: WindowsServer}
|
49
|
+
attr_accessor :purchase_plan
|
50
|
+
|
51
|
+
# @return [CreationData] Disk source information. CreationData
|
52
|
+
# information cannot be changed after the disk has been created.
|
53
|
+
attr_accessor :creation_data
|
54
|
+
|
55
|
+
# @return [Integer] If creationData.createOption is Empty, this field is
|
56
|
+
# mandatory and it indicates the size of the disk to create. If this
|
57
|
+
# field is present for updates or creation with other options, it
|
58
|
+
# indicates a resize. Resizes are only allowed if the disk is not
|
59
|
+
# attached to a running VM, and can only increase the disk's size.
|
60
|
+
attr_accessor :disk_size_gb
|
61
|
+
|
62
|
+
# @return [Integer] The size of the disk in bytes. This field is read
|
63
|
+
# only.
|
64
|
+
attr_accessor :disk_size_bytes
|
65
|
+
|
66
|
+
# @return [String] Unique Guid identifying the resource.
|
67
|
+
attr_accessor :unique_id
|
68
|
+
|
69
|
+
# @return [EncryptionSettingsCollection] Encryption settings collection
|
70
|
+
# used for Azure Disk Encryption, can contain multiple encryption
|
71
|
+
# settings per disk or snapshot.
|
72
|
+
attr_accessor :encryption_settings_collection
|
73
|
+
|
74
|
+
# @return [String] The disk provisioning state.
|
75
|
+
attr_accessor :provisioning_state
|
76
|
+
|
77
|
+
# @return [Integer] The number of IOPS allowed for this disk; only
|
78
|
+
# settable for UltraSSD disks. One operation can transfer between 4k and
|
79
|
+
# 256k bytes.
|
80
|
+
attr_accessor :disk_iopsread_write
|
81
|
+
|
82
|
+
# @return [Integer] The bandwidth allowed for this disk; only settable
|
83
|
+
# for UltraSSD disks. MBps means millions of bytes per second - MB here
|
84
|
+
# uses the ISO notation, of powers of 10.
|
85
|
+
attr_accessor :disk_mbps_read_write
|
86
|
+
|
87
|
+
# @return [Integer] The total number of IOPS that will be allowed across
|
88
|
+
# all VMs mounting the shared disk as ReadOnly. One operation can
|
89
|
+
# transfer between 4k and 256k bytes.
|
90
|
+
attr_accessor :disk_iopsread_only
|
91
|
+
|
92
|
+
# @return [Integer] The total throughput (MBps) that will be allowed
|
93
|
+
# across all VMs mounting the shared disk as ReadOnly. MBps means
|
94
|
+
# millions of bytes per second - MB here uses the ISO notation, of powers
|
95
|
+
# of 10.
|
96
|
+
attr_accessor :disk_mbps_read_only
|
97
|
+
|
98
|
+
# @return [DiskState] The state of the disk. Possible values include:
|
99
|
+
# 'Unattached', 'Attached', 'Reserved', 'ActiveSAS', 'ReadyToUpload',
|
100
|
+
# 'ActiveUpload'
|
101
|
+
attr_accessor :disk_state
|
102
|
+
|
103
|
+
# @return [Encryption] Encryption property can be used to encrypt data at
|
104
|
+
# rest with customer managed keys or platform managed keys.
|
105
|
+
attr_accessor :encryption
|
106
|
+
|
107
|
+
# @return [Integer] The maximum number of VMs that can attach to the disk
|
108
|
+
# at the same time. Value greater than one indicates a disk that can be
|
109
|
+
# mounted on multiple VMs at the same time.
|
110
|
+
attr_accessor :max_shares
|
111
|
+
|
112
|
+
# @return [Array<ShareInfoElement>] Details of the list of all VMs that
|
113
|
+
# have the disk attached. maxShares should be set to a value greater than
|
114
|
+
# one for disks to allow attaching them to multiple VMs.
|
115
|
+
attr_accessor :share_info
|
116
|
+
|
117
|
+
# @return [NetworkAccessPolicy] Possible values include: 'AllowAll',
|
118
|
+
# 'AllowPrivate', 'DenyAll'
|
119
|
+
attr_accessor :network_access_policy
|
120
|
+
|
121
|
+
# @return [String] ARM id of the DiskAccess resource for using private
|
122
|
+
# endpoints on disks.
|
123
|
+
attr_accessor :disk_access_id
|
124
|
+
|
125
|
+
# @return [String] Performance tier of the disk (e.g, P4, S10) as
|
126
|
+
# described here:
|
127
|
+
# https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does
|
128
|
+
# not apply to Ultra disks.
|
129
|
+
attr_accessor :tier
|
130
|
+
|
131
|
+
# @return [Boolean] Set to true to enable bursting beyond the provisioned
|
132
|
+
# performance target of the disk. Bursting is disabled by default. Does
|
133
|
+
# not apply to Ultra disks.
|
134
|
+
attr_accessor :bursting_enabled
|
135
|
+
|
136
|
+
|
137
|
+
#
|
138
|
+
# Mapper for Disk class as Ruby Hash.
|
139
|
+
# This will be used for serialization/deserialization.
|
140
|
+
#
|
141
|
+
def self.mapper()
|
142
|
+
{
|
143
|
+
client_side_validation: true,
|
144
|
+
required: false,
|
145
|
+
serialized_name: 'Disk',
|
146
|
+
type: {
|
147
|
+
name: 'Composite',
|
148
|
+
class_name: 'Disk',
|
149
|
+
model_properties: {
|
150
|
+
id: {
|
151
|
+
client_side_validation: true,
|
152
|
+
required: false,
|
153
|
+
read_only: true,
|
154
|
+
serialized_name: 'id',
|
155
|
+
type: {
|
156
|
+
name: 'String'
|
157
|
+
}
|
158
|
+
},
|
159
|
+
name: {
|
160
|
+
client_side_validation: true,
|
161
|
+
required: false,
|
162
|
+
read_only: true,
|
163
|
+
serialized_name: 'name',
|
164
|
+
type: {
|
165
|
+
name: 'String'
|
166
|
+
}
|
167
|
+
},
|
168
|
+
type: {
|
169
|
+
client_side_validation: true,
|
170
|
+
required: false,
|
171
|
+
read_only: true,
|
172
|
+
serialized_name: 'type',
|
173
|
+
type: {
|
174
|
+
name: 'String'
|
175
|
+
}
|
176
|
+
},
|
177
|
+
location: {
|
178
|
+
client_side_validation: true,
|
179
|
+
required: true,
|
180
|
+
serialized_name: 'location',
|
181
|
+
type: {
|
182
|
+
name: 'String'
|
183
|
+
}
|
184
|
+
},
|
185
|
+
tags: {
|
186
|
+
client_side_validation: true,
|
187
|
+
required: false,
|
188
|
+
serialized_name: 'tags',
|
189
|
+
type: {
|
190
|
+
name: 'Dictionary',
|
191
|
+
value: {
|
192
|
+
client_side_validation: true,
|
193
|
+
required: false,
|
194
|
+
serialized_name: 'StringElementType',
|
195
|
+
type: {
|
196
|
+
name: 'String'
|
197
|
+
}
|
198
|
+
}
|
199
|
+
}
|
200
|
+
},
|
201
|
+
managed_by: {
|
202
|
+
client_side_validation: true,
|
203
|
+
required: false,
|
204
|
+
read_only: true,
|
205
|
+
serialized_name: 'managedBy',
|
206
|
+
type: {
|
207
|
+
name: 'String'
|
208
|
+
}
|
209
|
+
},
|
210
|
+
managed_by_extended: {
|
211
|
+
client_side_validation: true,
|
212
|
+
required: false,
|
213
|
+
read_only: true,
|
214
|
+
serialized_name: 'managedByExtended',
|
215
|
+
type: {
|
216
|
+
name: 'Sequence',
|
217
|
+
element: {
|
218
|
+
client_side_validation: true,
|
219
|
+
required: false,
|
220
|
+
serialized_name: 'StringElementType',
|
221
|
+
type: {
|
222
|
+
name: 'String'
|
223
|
+
}
|
224
|
+
}
|
225
|
+
}
|
226
|
+
},
|
227
|
+
sku: {
|
228
|
+
client_side_validation: true,
|
229
|
+
required: false,
|
230
|
+
serialized_name: 'sku',
|
231
|
+
type: {
|
232
|
+
name: 'Composite',
|
233
|
+
class_name: 'DiskSku'
|
234
|
+
}
|
235
|
+
},
|
236
|
+
zones: {
|
237
|
+
client_side_validation: true,
|
238
|
+
required: false,
|
239
|
+
serialized_name: 'zones',
|
240
|
+
type: {
|
241
|
+
name: 'Sequence',
|
242
|
+
element: {
|
243
|
+
client_side_validation: true,
|
244
|
+
required: false,
|
245
|
+
serialized_name: 'StringElementType',
|
246
|
+
type: {
|
247
|
+
name: 'String'
|
248
|
+
}
|
249
|
+
}
|
250
|
+
}
|
251
|
+
},
|
252
|
+
extended_location: {
|
253
|
+
client_side_validation: true,
|
254
|
+
required: false,
|
255
|
+
serialized_name: 'extendedLocation',
|
256
|
+
type: {
|
257
|
+
name: 'Composite',
|
258
|
+
class_name: 'ExtendedLocation'
|
259
|
+
}
|
260
|
+
},
|
261
|
+
time_created: {
|
262
|
+
client_side_validation: true,
|
263
|
+
required: false,
|
264
|
+
read_only: true,
|
265
|
+
serialized_name: 'properties.timeCreated',
|
266
|
+
type: {
|
267
|
+
name: 'DateTime'
|
268
|
+
}
|
269
|
+
},
|
270
|
+
os_type: {
|
271
|
+
client_side_validation: true,
|
272
|
+
required: false,
|
273
|
+
serialized_name: 'properties.osType',
|
274
|
+
type: {
|
275
|
+
name: 'Enum',
|
276
|
+
module: 'OperatingSystemTypes'
|
277
|
+
}
|
278
|
+
},
|
279
|
+
hyper_vgeneration: {
|
280
|
+
client_side_validation: true,
|
281
|
+
required: false,
|
282
|
+
serialized_name: 'properties.hyperVGeneration',
|
283
|
+
type: {
|
284
|
+
name: 'String'
|
285
|
+
}
|
286
|
+
},
|
287
|
+
purchase_plan: {
|
288
|
+
client_side_validation: true,
|
289
|
+
required: false,
|
290
|
+
serialized_name: 'properties.purchasePlan',
|
291
|
+
type: {
|
292
|
+
name: 'Composite',
|
293
|
+
class_name: 'PurchasePlan'
|
294
|
+
}
|
295
|
+
},
|
296
|
+
creation_data: {
|
297
|
+
client_side_validation: true,
|
298
|
+
required: true,
|
299
|
+
serialized_name: 'properties.creationData',
|
300
|
+
type: {
|
301
|
+
name: 'Composite',
|
302
|
+
class_name: 'CreationData'
|
303
|
+
}
|
304
|
+
},
|
305
|
+
disk_size_gb: {
|
306
|
+
client_side_validation: true,
|
307
|
+
required: false,
|
308
|
+
serialized_name: 'properties.diskSizeGB',
|
309
|
+
type: {
|
310
|
+
name: 'Number'
|
311
|
+
}
|
312
|
+
},
|
313
|
+
disk_size_bytes: {
|
314
|
+
client_side_validation: true,
|
315
|
+
required: false,
|
316
|
+
read_only: true,
|
317
|
+
serialized_name: 'properties.diskSizeBytes',
|
318
|
+
type: {
|
319
|
+
name: 'Number'
|
320
|
+
}
|
321
|
+
},
|
322
|
+
unique_id: {
|
323
|
+
client_side_validation: true,
|
324
|
+
required: false,
|
325
|
+
read_only: true,
|
326
|
+
serialized_name: 'properties.uniqueId',
|
327
|
+
type: {
|
328
|
+
name: 'String'
|
329
|
+
}
|
330
|
+
},
|
331
|
+
encryption_settings_collection: {
|
332
|
+
client_side_validation: true,
|
333
|
+
required: false,
|
334
|
+
serialized_name: 'properties.encryptionSettingsCollection',
|
335
|
+
type: {
|
336
|
+
name: 'Composite',
|
337
|
+
class_name: 'EncryptionSettingsCollection'
|
338
|
+
}
|
339
|
+
},
|
340
|
+
provisioning_state: {
|
341
|
+
client_side_validation: true,
|
342
|
+
required: false,
|
343
|
+
read_only: true,
|
344
|
+
serialized_name: 'properties.provisioningState',
|
345
|
+
type: {
|
346
|
+
name: 'String'
|
347
|
+
}
|
348
|
+
},
|
349
|
+
disk_iopsread_write: {
|
350
|
+
client_side_validation: true,
|
351
|
+
required: false,
|
352
|
+
serialized_name: 'properties.diskIOPSReadWrite',
|
353
|
+
type: {
|
354
|
+
name: 'Number'
|
355
|
+
}
|
356
|
+
},
|
357
|
+
disk_mbps_read_write: {
|
358
|
+
client_side_validation: true,
|
359
|
+
required: false,
|
360
|
+
serialized_name: 'properties.diskMBpsReadWrite',
|
361
|
+
type: {
|
362
|
+
name: 'Number'
|
363
|
+
}
|
364
|
+
},
|
365
|
+
disk_iopsread_only: {
|
366
|
+
client_side_validation: true,
|
367
|
+
required: false,
|
368
|
+
serialized_name: 'properties.diskIOPSReadOnly',
|
369
|
+
type: {
|
370
|
+
name: 'Number'
|
371
|
+
}
|
372
|
+
},
|
373
|
+
disk_mbps_read_only: {
|
374
|
+
client_side_validation: true,
|
375
|
+
required: false,
|
376
|
+
serialized_name: 'properties.diskMBpsReadOnly',
|
377
|
+
type: {
|
378
|
+
name: 'Number'
|
379
|
+
}
|
380
|
+
},
|
381
|
+
disk_state: {
|
382
|
+
client_side_validation: true,
|
383
|
+
required: false,
|
384
|
+
serialized_name: 'properties.diskState',
|
385
|
+
type: {
|
386
|
+
name: 'String'
|
387
|
+
}
|
388
|
+
},
|
389
|
+
encryption: {
|
390
|
+
client_side_validation: true,
|
391
|
+
required: false,
|
392
|
+
serialized_name: 'properties.encryption',
|
393
|
+
type: {
|
394
|
+
name: 'Composite',
|
395
|
+
class_name: 'Encryption'
|
396
|
+
}
|
397
|
+
},
|
398
|
+
max_shares: {
|
399
|
+
client_side_validation: true,
|
400
|
+
required: false,
|
401
|
+
serialized_name: 'properties.maxShares',
|
402
|
+
type: {
|
403
|
+
name: 'Number'
|
404
|
+
}
|
405
|
+
},
|
406
|
+
share_info: {
|
407
|
+
client_side_validation: true,
|
408
|
+
required: false,
|
409
|
+
read_only: true,
|
410
|
+
serialized_name: 'properties.shareInfo',
|
411
|
+
type: {
|
412
|
+
name: 'Sequence',
|
413
|
+
element: {
|
414
|
+
client_side_validation: true,
|
415
|
+
required: false,
|
416
|
+
serialized_name: 'ShareInfoElementElementType',
|
417
|
+
type: {
|
418
|
+
name: 'Composite',
|
419
|
+
class_name: 'ShareInfoElement'
|
420
|
+
}
|
421
|
+
}
|
422
|
+
}
|
423
|
+
},
|
424
|
+
network_access_policy: {
|
425
|
+
client_side_validation: true,
|
426
|
+
required: false,
|
427
|
+
serialized_name: 'properties.networkAccessPolicy',
|
428
|
+
type: {
|
429
|
+
name: 'String'
|
430
|
+
}
|
431
|
+
},
|
432
|
+
disk_access_id: {
|
433
|
+
client_side_validation: true,
|
434
|
+
required: false,
|
435
|
+
serialized_name: 'properties.diskAccessId',
|
436
|
+
type: {
|
437
|
+
name: 'String'
|
438
|
+
}
|
439
|
+
},
|
440
|
+
tier: {
|
441
|
+
client_side_validation: true,
|
442
|
+
required: false,
|
443
|
+
serialized_name: 'properties.tier',
|
444
|
+
type: {
|
445
|
+
name: 'String'
|
446
|
+
}
|
447
|
+
},
|
448
|
+
bursting_enabled: {
|
449
|
+
client_side_validation: true,
|
450
|
+
required: false,
|
451
|
+
serialized_name: 'properties.burstingEnabled',
|
452
|
+
type: {
|
453
|
+
name: 'Boolean'
|
454
|
+
}
|
455
|
+
}
|
456
|
+
}
|
457
|
+
}
|
458
|
+
}
|
459
|
+
end
|
460
|
+
end
|
461
|
+
end
|
462
|
+
end
|