azure_mgmt_compute 0.18.7 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/2015-06-15/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/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.rb +144 -92
- data/lib/2019-03-01/generated/azure_mgmt_compute/availability_sets.rb +12 -8
- data/lib/2019-03-01/generated/azure_mgmt_compute/compute_management_client.rb +25 -1
- data/lib/2019-03-01/generated/azure_mgmt_compute/dedicated_host_groups.rb +852 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/dedicated_hosts.rb +806 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/disks.rb +1294 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/gallery_application_versions.rb +724 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/gallery_applications.rb +676 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/access_level.rb +17 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/access_uri.rb +47 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/automatic_osupgrade_policy.rb +3 -4
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/automatic_repairs_policy.rb +76 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/billing_profile.rb +60 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/creation_data.rb +124 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/data_disk.rb +1 -1
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/dedicated_host.rb +220 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/dedicated_host_allocatable_vm.rb +60 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/dedicated_host_available_capacity.rb +57 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/dedicated_host_group.rb +148 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/dedicated_host_group_list_result.rb +100 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/dedicated_host_group_update.rb +111 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/dedicated_host_instance_view.rb +81 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/dedicated_host_license_types.rb +17 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/dedicated_host_list_result.rb +100 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/dedicated_host_update.rb +172 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/disk.rb +287 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/disk_create_option.rb +21 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/disk_list.rb +99 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/disk_sku.rb +61 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/disk_state.rb +20 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/disk_storage_account_types.rb +18 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/disk_update.rb +134 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/encryption_settings_collection.rb +85 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/encryption_settings_element.rb +62 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_application.rb +161 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_application_list.rb +100 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_application_version.rb +127 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_application_version_list.rb +101 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_application_version_publishing_profile.rb +130 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_artifact_publishing_profile_base.rb +59 -7
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_image.rb +4 -2
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_image_version_publishing_profile.rb +11 -31
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/gallery_image_version_storage_profile.rb +1 -1
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/grant_access_data.rb +58 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/hyper_vgeneration.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/hyper_vgeneration_type.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/image_disk_reference.rb +60 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb +60 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb +59 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/osprofile.rb +12 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/proximity_placement_group.rb +3 -2
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/scale_in_policy.rb +71 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/scheduled_events_profile.rb +49 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/snapshot.rb +240 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/snapshot_list.rb +99 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/snapshot_sku.rb +60 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/snapshot_storage_account_types.rb +17 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/snapshot_update.rb +108 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/source_vault.rb +47 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/terminate_notification_profile.rb +62 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/user_artifact_source.rb +58 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine.rb +75 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_image.rb +11 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +12 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_priority_types.rb +1 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_reimage_parameters.rb +2 -1
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +26 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_scale_in_rules.rb +17 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb +40 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb +15 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb +26 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +30 -4
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +75 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/models/windows_configuration.rb +4 -4
- data/lib/2019-03-01/generated/azure_mgmt_compute/snapshots.rb +1294 -0
- data/lib/2019-03-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +20 -10
- data/lib/2019-03-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +8 -4
- data/lib/2019-03-01/generated/azure_mgmt_compute/virtual_machines.rb +8 -4
- data/lib/2019-04-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2019-04-01/generated/azure_mgmt_compute/models/resource_skus_result.rb +3 -3
- data/lib/2019-04-01/generated/azure_mgmt_compute/resource_skus.rb +16 -8
- data/lib/2019-07-01/generated/azure_mgmt_compute.rb +319 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/availability_sets.rb +916 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/compute_management_client.rb +240 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/dedicated_host_groups.rb +852 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/dedicated_hosts.rb +806 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/disk_encryption_sets.rb +1019 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/disks.rb +1294 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/galleries.rb +824 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/gallery_application_versions.rb +724 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/gallery_applications.rb +676 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/gallery_image_versions.rb +720 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/gallery_images.rb +676 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/images.rb +975 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/log_analytics.rb +341 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/access_level.rb +17 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/access_uri.rb +47 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/additional_capabilities.rb +51 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb +93 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/aggregated_replication_state.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/api_entity_reference.rb +47 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/api_error.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/api_error_base.rb +68 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/automatic_osupgrade_policy.rb +63 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/automatic_osupgrade_properties.rb +47 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/automatic_repairs_policy.rb +76 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/availability_set.rb +189 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/availability_set_list_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/availability_set_sku_types.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/availability_set_update.rb +142 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/billing_profile.rb +60 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb +62 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +74 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/caching_types.rb +17 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/component_names.rb +15 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/compute_operation_list_result.rb +56 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/compute_operation_value.rb +108 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/creation_data.rb +124 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/data_disk.rb +201 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/data_disk_image.rb +49 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host.rb +220 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_allocatable_vm.rb +60 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_available_capacity.rb +57 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_group.rb +148 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_group_list_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_group_update.rb +111 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_instance_view.rb +81 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_license_types.rb +17 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_list_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/dedicated_host_update.rb +172 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb +52 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/diff_disk_options.rb +15 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/diff_disk_settings.rb +49 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/disallowed.rb +54 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/disk.rb +300 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/disk_create_option.rb +21 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/disk_create_option_types.rb +17 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/disk_encryption_set.rb +147 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/disk_encryption_set_identity_type.rb +15 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/disk_encryption_set_list.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/disk_encryption_set_parameters.rb +46 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/disk_encryption_set_update.rb +66 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +73 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/disk_instance_view.rb +87 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/disk_list.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/disk_sku.rb +61 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/disk_state.rb +20 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/disk_storage_account_types.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/disk_update.rb +134 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/encryption.rb +60 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/encryption_set_identity.rb +78 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/encryption_settings_collection.rb +85 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/encryption_settings_element.rb +62 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/encryption_type.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery.rb +125 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_application.rb +161 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_application_list.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_application_version.rb +127 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_application_version_list.rb +101 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_application_version_publishing_profile.rb +130 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_artifact_publishing_profile_base.rb +120 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_artifact_source.rb +47 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_artifact_version_source.rb +47 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_data_disk_image.rb +76 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_disk_image.rb +74 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_identifier.rb +48 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_image.rb +251 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_image_identifier.rb +68 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_image_list.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_image_version.rb +139 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_image_version_list.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_image_version_publishing_profile.rb +93 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_image_version_storage_profile.rb +79 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_list.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/gallery_osdisk_image.rb +62 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/grant_access_data.rb +58 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/hardware_profile.rb +104 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/host_caching.rb +17 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/hyper_vgeneration.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/hyper_vgeneration_type.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/hyper_vgeneration_types.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/image.rb +139 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/image_data_disk.rb +108 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/image_disk.rb +126 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/image_disk_reference.rb +60 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/image_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/image_osdisk.rb +123 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/image_purchase_plan.rb +69 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/image_reference.rb +98 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/image_storage_profile.rb +86 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/image_update.rb +102 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/inner_error.rb +57 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/instance_view_status.rb +93 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/instance_view_types.rb +15 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/interval_in_mins.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/ipversion.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb +60 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb +59 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +59 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +59 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/linux_configuration.rb +81 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/list_usages_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb +102 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/log_analytics_operation_result.rb +48 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/log_analytics_output.rb +47 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/maintenance_operation_result_code_types.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb +115 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/managed_artifact.rb +46 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +70 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/network_interface_reference.rb +55 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/network_profile.rb +57 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/operating_system_state_types.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/osdisk.rb +191 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/osdisk_image.rb +48 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/osprofile.rb +195 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/pass_names.rb +15 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/plan.rb +86 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/protocol_types.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/proximity_placement_group.rb +167 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/proximity_placement_group_list_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/proximity_placement_group_type.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/proximity_placement_group_update.rb +51 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/purchase_plan.rb +71 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/recommended_machine_configuration.rb +60 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/recovery_walk_response.rb +60 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/regional_replication_status.rb +86 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/replication_state.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/replication_status.rb +71 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/replication_status_types.rb +15 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb +97 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/resource.rb +110 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/resource_identity_type.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/resource_range.rb +57 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/rollback_status_info.rb +74 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/rolling_upgrade_action_type.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb +108 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb +88 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb +88 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_code.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb +141 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/run_command_document.rb +116 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/run_command_document_base.rb +92 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/run_command_input.rb +87 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/run_command_input_parameter.rb +57 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/run_command_list_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb +81 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/run_command_result.rb +56 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/scale_in_policy.rb +71 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/scheduled_events_profile.rb +49 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/setting_names.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/sku.rb +71 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/snapshot.rb +253 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/snapshot_list.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/snapshot_sku.rb +60 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/snapshot_storage_account_types.rb +17 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/snapshot_update.rb +108 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/source_vault.rb +47 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/ssh_configuration.rb +56 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/ssh_public_key.rb +64 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/status_level_types.rb +17 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/storage_account_type.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/storage_account_types.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/storage_profile.rb +89 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/sub_resource.rb +47 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/sub_resource_read_only.rb +48 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/target_region.rb +71 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/terminate_notification_profile.rb +62 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/throttled_requests_input.rb +83 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/update_resource.rb +54 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/upgrade_mode.rb +17 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info.rb +73 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb +116 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb +74 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/upgrade_operation_invoker.rb +17 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/upgrade_policy.rb +79 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/upgrade_state.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/usage.rb +83 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/usage_name.rb +57 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/user_artifact_source.rb +58 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/vault_certificate.rb +72 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/vault_secret_group.rb +69 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +46 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine.rb +406 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +87 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +69 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_eviction_policy_types.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +195 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +71 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +146 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +109 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +134 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +55 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb +48 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +102 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_identity_user_assigned_identities_value.rb +61 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_image.rb +142 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +87 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +217 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_priority_types.rb +17 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_reimage_parameters.rb +49 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +315 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +153 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +172 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb +103 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +56 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +105 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity_user_assigned_identities_value.rb +61 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +91 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +59 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ip_tag.rb +58 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +195 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_osupgrade_history.rb +104 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +101 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +102 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +63 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +137 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb +56 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +71 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +180 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +167 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb +120 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb +51 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_reimage_parameters.rb +65 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_scale_in_rules.rb +17 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +74 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +85 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +91 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb +194 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb +188 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb +136 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb +72 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb +122 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb +92 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb +72 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb +80 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb +138 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +384 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +70 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +57 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +55 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +196 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +101 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmnetwork_profile_configuration.rb +57 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +173 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprotection_policy.rb +60 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmreimage_parameters.rb +44 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_size.rb +106 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +55 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb +180 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +61 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +349 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/vmscale_set_convert_to_single_placement_group_input.rb +52 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +56 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/win_rmlistener.rb +67 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/models/windows_configuration.rb +111 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/module_definition.rb +9 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/operations.rb +109 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/proximity_placement_groups.rb +837 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/snapshots.rb +1294 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/usage_operations.rb +241 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +360 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/virtual_machine_extensions.rb +701 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/virtual_machine_images.rb +600 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/virtual_machine_run_commands.rb +322 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb +646 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +498 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vmextensions.rb +709 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +1997 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +3144 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/virtual_machine_sizes.rb +122 -0
- data/lib/2019-07-01/generated/azure_mgmt_compute/virtual_machines.rb +2945 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute.rb +66 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/compute_management_client.rb +141 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/disk_encryption_sets.rb +1019 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/disks.rb +1294 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/access_level.rb +17 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/access_uri.rb +47 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/api_error.rb +100 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/api_error_base.rb +68 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/creation_data.rb +138 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/disk.rb +385 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/disk_create_option.rb +21 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/disk_encryption_set.rb +147 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/disk_encryption_set_identity_type.rb +15 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/disk_encryption_set_list.rb +100 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/disk_encryption_set_update.rb +66 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/disk_list.rb +99 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/disk_sku.rb +61 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/disk_state.rb +20 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/disk_storage_account_types.rb +18 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/disk_update.rb +187 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/encryption.rb +60 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/encryption_set_identity.rb +78 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/encryption_settings_collection.rb +85 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/encryption_settings_element.rb +62 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/encryption_type.rb +16 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/grant_access_data.rb +58 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/hyper_vgeneration.rb +16 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/image_disk_reference.rb +60 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/inner_error.rb +57 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb +60 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb +59 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/resource.rb +110 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/share_info_element.rb +49 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/snapshot.rb +253 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/snapshot_list.rb +99 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/snapshot_sku.rb +60 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/snapshot_storage_account_types.rb +17 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/snapshot_update.rb +121 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/models/source_vault.rb +47 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/module_definition.rb +9 -0
- data/lib/2019-11-01/generated/azure_mgmt_compute/snapshots.rb +1294 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute.rb +310 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/availability_sets.rb +920 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/compute_management_client.rb +232 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/dedicated_host_groups.rb +852 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/dedicated_hosts.rb +806 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/galleries.rb +988 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/gallery_application_versions.rb +915 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/gallery_applications.rb +856 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/gallery_image_versions.rb +911 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/gallery_images.rb +856 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/images.rb +975 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/log_analytics.rb +341 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/additional_capabilities.rb +51 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb +93 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/aggregated_replication_state.rb +18 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/api_entity_reference.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/api_error.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/api_error_base.rb +68 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/automatic_osupgrade_policy.rb +63 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/automatic_osupgrade_properties.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/automatic_repairs_policy.rb +64 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/availability_set.rb +189 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/availability_set_list_result.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/availability_set_sku_types.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/availability_set_update.rb +142 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/billing_profile.rb +60 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb +62 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +74 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/caching_types.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/component_names.rb +15 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/compute_operation_list_result.rb +56 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/compute_operation_value.rb +108 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/data_disk.rb +201 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/data_disk_image.rb +49 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/data_disk_image_encryption.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/dedicated_host.rb +220 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/dedicated_host_allocatable_vm.rb +60 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/dedicated_host_available_capacity.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/dedicated_host_group.rb +148 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/dedicated_host_group_list_result.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/dedicated_host_group_update.rb +111 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/dedicated_host_instance_view.rb +81 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/dedicated_host_license_types.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/dedicated_host_list_result.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/dedicated_host_update.rb +172 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb +52 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/diff_disk_options.rb +15 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/diff_disk_placement.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/diff_disk_settings.rb +69 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/disallowed.rb +54 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/disk_create_option_types.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/disk_encryption_set_parameters.rb +46 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +73 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/disk_image_encryption.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/disk_instance_view.rb +87 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/encryption_images.rb +69 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery.rb +125 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_application.rb +161 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_application_list.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_application_update.rb +153 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_application_version.rb +127 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_application_version_list.rb +101 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_application_version_publishing_profile.rb +130 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_application_version_update.rb +119 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_artifact_publishing_profile_base.rb +120 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_artifact_source.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_artifact_version_source.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_data_disk_image.rb +76 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_disk_image.rb +74 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_identifier.rb +48 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image.rb +251 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_identifier.rb +68 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_list.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_update.rb +243 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_version.rb +139 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_version_list.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_version_publishing_profile.rb +93 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_version_storage_profile.rb +79 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_image_version_update.rb +131 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_list.rb +99 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_osdisk_image.rb +62 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_update.rb +117 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/hardware_profile.rb +104 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/host_caching.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/hyper_vgeneration.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/hyper_vgeneration_type.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/hyper_vgeneration_types.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/image.rb +139 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/image_data_disk.rb +108 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/image_disk.rb +126 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/image_list_result.rb +99 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/image_osdisk.rb +123 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/image_purchase_plan.rb +69 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/image_reference.rb +114 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/image_storage_profile.rb +86 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/image_update.rb +102 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/inner_error.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/instance_view_status.rb +93 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/instance_view_types.rb +15 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/interval_in_mins.rb +18 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/ipversion.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +59 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +59 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/linux_configuration.rb +81 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/list_usages_result.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb +102 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/log_analytics_operation_result.rb +48 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/log_analytics_output.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/maintenance_operation_result_code_types.rb +18 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb +115 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/managed_artifact.rb +46 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +70 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/network_interface_reference.rb +55 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/network_profile.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/operating_system_state_types.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/orchestration_service_names.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/orchestration_service_state.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/orchestration_service_state_action.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/orchestration_service_state_input.rb +59 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/orchestration_service_summary.rb +61 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/osdisk.rb +191 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/osdisk_image.rb +48 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/osdisk_image_encryption.rb +43 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/osprofile.rb +202 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/pass_names.rb +15 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/plan.rb +86 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/protocol_types.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/proximity_placement_group.rb +180 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/proximity_placement_group_list_result.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/proximity_placement_group_type.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/proximity_placement_group_update.rb +51 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/purchase_plan.rb +71 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/recommended_machine_configuration.rb +60 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/recovery_walk_response.rb +60 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/regional_replication_status.rb +86 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/replication_state.rb +18 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/replication_status.rb +71 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/replication_status_types.rb +15 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb +97 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/resource.rb +110 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/resource_identity_type.rb +18 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/resource_range.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/rollback_status_info.rb +74 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_action_type.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb +108 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb +88 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb +88 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_code.rb +18 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb +141 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/run_command_document.rb +116 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/run_command_document_base.rb +92 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/run_command_input.rb +87 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/run_command_input_parameter.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/run_command_list_result.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb +81 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/run_command_result.rb +56 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/scale_in_policy.rb +71 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/scheduled_events_profile.rb +49 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/setting_names.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/sku.rb +73 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/ssh_configuration.rb +56 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/ssh_public_key.rb +64 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/ssh_public_key_generate_key_pair_result.rb +73 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/ssh_public_key_resource.rb +102 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/ssh_public_key_update_resource.rb +67 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/ssh_public_keys_group_list_result.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/status_level_types.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/storage_account_type.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/storage_account_types.rb +18 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/storage_profile.rb +89 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/sub_resource.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/sub_resource_read_only.rb +48 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/sub_resource_with_colocation_status.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/target_region.rb +83 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/terminate_notification_profile.rb +62 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/throttled_requests_input.rb +83 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/update_resource.rb +54 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/update_resource_definition.rb +90 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/upgrade_mode.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info.rb +73 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb +116 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb +74 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/upgrade_operation_invoker.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/upgrade_policy.rb +79 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/upgrade_state.rb +18 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/usage.rb +83 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/usage_name.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/user_artifact_source.rb +58 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/vault_certificate.rb +72 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/vault_secret_group.rb +69 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +46 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine.rb +412 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +87 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +69 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +99 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_eviction_policy_types.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +195 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +71 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +146 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +109 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +134 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +55 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb +48 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +102 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_identity_user_assigned_identities_value.rb +61 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_image.rb +142 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +87 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +217 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +99 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_priority_types.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_reimage_parameters.rb +49 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +318 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +153 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +184 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb +103 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +56 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_update.rb +185 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +105 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity_user_assigned_identities_value.rb +61 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +113 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +59 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ip_tag.rb +58 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +195 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_osupgrade_history.rb +104 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +101 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +102 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +63 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +137 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb +56 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +71 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +180 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +167 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb +120 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb +51 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_reimage_parameters.rb +65 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_scale_in_rules.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +74 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +85 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +91 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb +210 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb +190 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb +136 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb +72 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb +122 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb +92 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb +72 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb +80 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb +138 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +384 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +70 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +55 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +196 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +101 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmnetwork_profile_configuration.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +176 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprotection_policy.rb +60 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmreimage_parameters.rb +44 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_size.rb +106 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +55 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb +180 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +61 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +355 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/vmscale_set_convert_to_single_placement_group_input.rb +52 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +56 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/win_rmlistener.rb +67 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/windows_configuration.rb +114 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/module_definition.rb +9 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/operations.rb +109 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/proximity_placement_groups.rb +846 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/ssh_public_keys.rb +939 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/usage_operations.rb +241 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +360 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_extensions.rb +701 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_images.rb +600 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_run_commands.rb +322 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb +821 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +498 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vmextensions.rb +709 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +2107 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +3290 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_sizes.rb +122 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machines.rb +3050 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute.rb +276 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/availability_sets.rb +920 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/compute_management_client.rb +212 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/dedicated_host_groups.rb +861 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/dedicated_hosts.rb +806 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/images.rb +975 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/log_analytics.rb +341 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/additional_capabilities.rb +51 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/additional_unattend_content.rb +93 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/api_entity_reference.rb +47 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/api_error.rb +100 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/api_error_base.rb +68 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/automatic_osupgrade_policy.rb +63 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/automatic_osupgrade_properties.rb +47 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/automatic_repairs_policy.rb +64 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/availability_set.rb +189 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/availability_set_list_result.rb +100 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/availability_set_sku_types.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/availability_set_update.rb +142 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/available_patch_summary.rb +143 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/billing_profile.rb +60 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/boot_diagnostics.rb +63 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/boot_diagnostics_instance_view.rb +78 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/caching_types.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/component_names.rb +15 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/compute_operation_list_result.rb +56 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/compute_operation_value.rb +108 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/data_disk.rb +201 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/data_disk_image.rb +49 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host.rb +219 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_allocatable_vm.rb +60 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_available_capacity.rb +57 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_group.rb +178 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_group_instance_view.rb +57 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_group_list_result.rb +100 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_group_update.rb +141 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_instance_view.rb +81 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_instance_view_with_name.rb +84 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_license_types.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_list_result.rb +100 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/dedicated_host_update.rb +171 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/diagnostics_profile.rb +52 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/diff_disk_options.rb +15 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/diff_disk_placement.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/diff_disk_settings.rb +69 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/disallowed_configuration.rb +47 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/disk_create_option_types.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/disk_encryption_set_parameters.rb +46 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/disk_encryption_settings.rb +73 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/disk_instance_view.rb +87 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/hardware_profile.rb +104 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/hyper_vgeneration_type.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/hyper_vgeneration_types.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/image.rb +139 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/image_data_disk.rb +108 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/image_disk.rb +126 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/image_list_result.rb +99 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/image_osdisk.rb +123 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/image_reference.rb +114 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/image_storage_profile.rb +86 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/image_update.rb +102 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/in_guest_patch_mode.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/inner_error.rb +57 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/instance_view_status.rb +93 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/instance_view_types.rb +15 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/interval_in_mins.rb +18 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/ipversion.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/key_vault_key_reference.rb +59 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/key_vault_secret_reference.rb +59 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/last_patch_installation_summary.rb +211 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/linux_configuration.rb +81 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/list_usages_result.rb +100 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/log_analytics_input_base.rb +102 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/log_analytics_operation_result.rb +48 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/log_analytics_output.rb +47 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/maintenance_operation_result_code_types.rb +18 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/maintenance_redeploy_status.rb +115 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +70 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/network_interface_reference.rb +55 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/network_profile.rb +57 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/operating_system_state_types.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/orchestration_service_names.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/orchestration_service_state.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/orchestration_service_state_action.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/orchestration_service_state_input.rb +59 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/orchestration_service_summary.rb +61 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/osdisk.rb +191 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/osdisk_image.rb +48 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/osprofile.rb +204 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/pass_names.rb +15 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/patch_assessment_state.rb +20 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/patch_operation_status.rb +18 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/patch_settings.rb +59 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/plan.rb +86 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/protocol_types.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/proximity_placement_group.rb +180 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/proximity_placement_group_list_result.rb +100 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/proximity_placement_group_type.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/proximity_placement_group_update.rb +51 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/purchase_plan.rb +71 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/reboot_status.rb +19 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/recovery_walk_response.rb +60 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/request_rate_by_interval_input.rb +97 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/resource.rb +110 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/resource_identity_type.rb +18 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/retrieve_boot_diagnostics_data_result.rb +59 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/rollback_status_info.rb +74 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_action_type.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_policy.rb +108 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_progress_info.rb +88 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_running_status.rb +88 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_code.rb +18 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/rolling_upgrade_status_info.rb +141 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/run_command_document.rb +116 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/run_command_document_base.rb +92 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/run_command_input.rb +87 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/run_command_input_parameter.rb +57 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/run_command_list_result.rb +100 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/run_command_parameter_definition.rb +81 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/run_command_result.rb +56 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/scale_in_policy.rb +71 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/scheduled_events_profile.rb +49 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/security_profile.rb +52 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/setting_names.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/sku.rb +73 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/software_update_reboot_behavior.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/ssh_configuration.rb +56 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/ssh_public_key.rb +64 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/ssh_public_key_generate_key_pair_result.rb +73 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/ssh_public_key_resource.rb +102 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/ssh_public_key_update_resource.rb +67 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/ssh_public_keys_group_list_result.rb +100 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/status_level_types.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/storage_account_types.rb +18 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/storage_profile.rb +89 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/sub_resource.rb +47 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/sub_resource_read_only.rb +48 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/sub_resource_with_colocation_status.rb +57 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/terminate_notification_profile.rb +62 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/throttled_requests_input.rb +83 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/update_resource.rb +54 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/upgrade_mode.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info.rb +73 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/upgrade_operation_historical_status_info_properties.rb +116 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/upgrade_operation_history_status.rb +74 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/upgrade_operation_invoker.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/upgrade_policy.rb +79 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/upgrade_state.rb +18 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/usage.rb +83 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/usage_name.rb +57 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/vault_certificate.rb +72 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/vault_secret_group.rb +69 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_hard_disk.rb +46 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine.rb +454 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_agent_instance_view.rb +87 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_assess_patches_result.rb +152 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb +69 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_capture_result.rb +99 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_eviction_policy_types.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_extension.rb +208 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_extension_handler_instance_view.rb +71 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_extension_image.rb +146 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_extension_instance_view.rb +109 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_extension_update.rb +147 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_extensions_list_result.rb +55 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_health_status.rb +48 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_identity.rb +102 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_identity_user_assigned_identities_value.rb +61 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_image.rb +155 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_image_resource.rb +87 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_instance_view.rb +258 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_list_result.rb +99 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_patch_status.rb +61 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_priority_types.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_reimage_parameters.rb +49 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set.rb +332 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +153 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension.rb +197 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_list_result.rb +103 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_profile.rb +70 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_extension_update.rb +198 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity.rb +105 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_identity_user_assigned_identities_value.rb +61 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view.rb +113 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_instance_view_statuses_summary.rb +59 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ip_tag.rb +58 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +195 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_osupgrade_history.rb +104 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_result.rb +100 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_skus_result.rb +101 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_list_with_link_result.rb +102 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +63 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration.rb +137 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_configuration_dns_settings.rb +56 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_network_profile.rb +71 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +180 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osprofile.rb +167 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb +120 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration_dns_settings.rb +51 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_reimage_parameters.rb +65 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_scale_in_rules.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku.rb +74 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_capacity.rb +85 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_sku_scale_type.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_storage_profile.rb +91 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update.rb +210 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_ipconfiguration.rb +190 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_configuration.rb +136 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_network_profile.rb +72 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb +122 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osprofile.rb +92 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_public_ipaddress_configuration.rb +72 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_storage_profile.rb +80 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_vmprofile.rb +151 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +397 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextensions_summary.rb +70 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_ids.rb +57 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_required_ids.rb +55 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vminstance_view.rb +211 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmlist_result.rb +101 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmnetwork_profile_configuration.rb +57 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +189 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprotection_policy.rb +60 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmreimage_parameters.rb +44 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_size.rb +106 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_size_list_result.rb +55 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_size_types.rb +180 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_software_patch_properties.rb +173 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_status_code_count.rb +61 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +397 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/vm_disk_types.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/vmscale_set_convert_to_single_placement_group_input.rb +52 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/win_rmconfiguration.rb +56 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/win_rmlistener.rb +67 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/models/windows_configuration.rb +127 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/module_definition.rb +9 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/operations.rb +109 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/proximity_placement_groups.rb +846 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/ssh_public_keys.rb +939 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/usage_operations.rb +241 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_extension_images.rb +360 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_extensions.rb +701 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_images.rb +600 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_run_commands.rb +322 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_scale_set_extensions.rb +821 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +498 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vmextensions.rb +709 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +2220 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +3290 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machine_sizes.rb +122 -0
- data/lib/2020-06-01/generated/azure_mgmt_compute/virtual_machines.rb +3302 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute.rb +80 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/compute_management_client.rb +145 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/disk_accesses.rb +1120 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/disk_encryption_sets.rb +1236 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/disks.rb +1294 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/access_level.rb +17 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/access_uri.rb +47 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/api_error.rb +100 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/api_error_base.rb +68 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/creation_data.rb +150 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk.rb +422 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_access.rb +133 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_access_list.rb +100 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_access_update.rb +54 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_create_option.rb +21 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_encryption_set.rb +160 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_encryption_set_identity_type.rb +15 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_encryption_set_list.rb +100 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_encryption_set_type.rb +16 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_encryption_set_update.rb +79 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_list.rb +99 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_sku.rb +61 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_state.rb +20 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_storage_account_types.rb +18 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/disk_update.rb +225 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/encryption.rb +60 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/encryption_set_identity.rb +78 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/encryption_settings_collection.rb +85 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/encryption_settings_element.rb +62 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/encryption_type.rb +17 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/grant_access_data.rb +58 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/hyper_vgeneration.rb +16 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/image_disk_reference.rb +60 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/inner_error.rb +57 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb +60 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb +59 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/network_access_policy.rb +17 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/operating_system_types.rb +16 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/private_endpoint.rb +47 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/private_endpoint_connection.rb +110 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/private_endpoint_connection_provisioning_state.rb +18 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/private_endpoint_service_connection_status.rb +17 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/private_link_resource.rb +123 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/private_link_resource_list_result.rb +55 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/private_link_service_connection_state.rb +72 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/resource.rb +110 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/resource_uri_list.rb +100 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/share_info_element.rb +49 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/snapshot.rb +290 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/snapshot_list.rb +99 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/snapshot_sku.rb +60 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/snapshot_storage_account_types.rb +17 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/snapshot_update.rb +145 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/models/source_vault.rb +47 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/module_definition.rb +9 -0
- data/lib/2020-06-30/generated/azure_mgmt_compute/snapshots.rb +1294 -0
- data/lib/azure_mgmt_compute.rb +15 -10
- data/lib/profiles/latest/modules/compute_profile_module.rb +1072 -704
- data/lib/version.rb +1 -1
- metadata +988 -5
@@ -0,0 +1,1019 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Compute::Mgmt::V2019_07_01
|
7
|
+
#
|
8
|
+
# Compute Client
|
9
|
+
#
|
10
|
+
class DiskEncryptionSets
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the DiskEncryptionSets class.
|
15
|
+
# @param client service class for accessing basic functionality.
|
16
|
+
#
|
17
|
+
def initialize(client)
|
18
|
+
@client = client
|
19
|
+
end
|
20
|
+
|
21
|
+
# @return [ComputeManagementClient] reference to the ComputeManagementClient
|
22
|
+
attr_reader :client
|
23
|
+
|
24
|
+
#
|
25
|
+
# Creates or updates a disk encryption set
|
26
|
+
#
|
27
|
+
# @param resource_group_name [String] The name of the resource group.
|
28
|
+
# @param disk_encryption_set_name [String] The name of the disk encryption set
|
29
|
+
# that is being created. The name can't be changed after the disk encryption
|
30
|
+
# set is created. Supported characters for the name are a-z, A-Z, 0-9 and _.
|
31
|
+
# The maximum name length is 80 characters.
|
32
|
+
# @param disk_encryption_set [DiskEncryptionSet] disk encryption set object
|
33
|
+
# supplied in the body of the Put disk encryption set operation.
|
34
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
35
|
+
# will be added to the HTTP request.
|
36
|
+
#
|
37
|
+
# @return [DiskEncryptionSet] operation results.
|
38
|
+
#
|
39
|
+
def create_or_update(resource_group_name, disk_encryption_set_name, disk_encryption_set, custom_headers:nil)
|
40
|
+
response = create_or_update_async(resource_group_name, disk_encryption_set_name, disk_encryption_set, custom_headers:custom_headers).value!
|
41
|
+
response.body unless response.nil?
|
42
|
+
end
|
43
|
+
|
44
|
+
#
|
45
|
+
# @param resource_group_name [String] The name of the resource group.
|
46
|
+
# @param disk_encryption_set_name [String] The name of the disk encryption set
|
47
|
+
# that is being created. The name can't be changed after the disk encryption
|
48
|
+
# set is created. Supported characters for the name are a-z, A-Z, 0-9 and _.
|
49
|
+
# The maximum name length is 80 characters.
|
50
|
+
# @param disk_encryption_set [DiskEncryptionSet] disk encryption set object
|
51
|
+
# supplied in the body of the Put disk encryption set operation.
|
52
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
53
|
+
# will be added to the HTTP request.
|
54
|
+
#
|
55
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
56
|
+
# response.
|
57
|
+
#
|
58
|
+
def create_or_update_async(resource_group_name, disk_encryption_set_name, disk_encryption_set, custom_headers:nil)
|
59
|
+
# Send request
|
60
|
+
promise = begin_create_or_update_async(resource_group_name, disk_encryption_set_name, disk_encryption_set, custom_headers:custom_headers)
|
61
|
+
|
62
|
+
promise = promise.then do |response|
|
63
|
+
# Defining deserialization method.
|
64
|
+
deserialize_method = lambda do |parsed_response|
|
65
|
+
result_mapper = Azure::Compute::Mgmt::V2019_07_01::Models::DiskEncryptionSet.mapper()
|
66
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
67
|
+
end
|
68
|
+
|
69
|
+
# Waiting for response.
|
70
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
71
|
+
end
|
72
|
+
|
73
|
+
promise
|
74
|
+
end
|
75
|
+
|
76
|
+
#
|
77
|
+
# Updates (patches) a disk encryption set.
|
78
|
+
#
|
79
|
+
# @param resource_group_name [String] The name of the resource group.
|
80
|
+
# @param disk_encryption_set_name [String] The name of the disk encryption set
|
81
|
+
# that is being created. The name can't be changed after the disk encryption
|
82
|
+
# set is created. Supported characters for the name are a-z, A-Z, 0-9 and _.
|
83
|
+
# The maximum name length is 80 characters.
|
84
|
+
# @param disk_encryption_set [DiskEncryptionSetUpdate] disk encryption set
|
85
|
+
# object supplied in the body of the Patch disk encryption set operation.
|
86
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
87
|
+
# will be added to the HTTP request.
|
88
|
+
#
|
89
|
+
# @return [DiskEncryptionSet] operation results.
|
90
|
+
#
|
91
|
+
def update(resource_group_name, disk_encryption_set_name, disk_encryption_set, custom_headers:nil)
|
92
|
+
response = update_async(resource_group_name, disk_encryption_set_name, disk_encryption_set, custom_headers:custom_headers).value!
|
93
|
+
response.body unless response.nil?
|
94
|
+
end
|
95
|
+
|
96
|
+
#
|
97
|
+
# @param resource_group_name [String] The name of the resource group.
|
98
|
+
# @param disk_encryption_set_name [String] The name of the disk encryption set
|
99
|
+
# that is being created. The name can't be changed after the disk encryption
|
100
|
+
# set is created. Supported characters for the name are a-z, A-Z, 0-9 and _.
|
101
|
+
# The maximum name length is 80 characters.
|
102
|
+
# @param disk_encryption_set [DiskEncryptionSetUpdate] disk encryption set
|
103
|
+
# object supplied in the body of the Patch disk encryption set operation.
|
104
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
105
|
+
# will be added to the HTTP request.
|
106
|
+
#
|
107
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
108
|
+
# response.
|
109
|
+
#
|
110
|
+
def update_async(resource_group_name, disk_encryption_set_name, disk_encryption_set, custom_headers:nil)
|
111
|
+
# Send request
|
112
|
+
promise = begin_update_async(resource_group_name, disk_encryption_set_name, disk_encryption_set, custom_headers:custom_headers)
|
113
|
+
|
114
|
+
promise = promise.then do |response|
|
115
|
+
# Defining deserialization method.
|
116
|
+
deserialize_method = lambda do |parsed_response|
|
117
|
+
result_mapper = Azure::Compute::Mgmt::V2019_07_01::Models::DiskEncryptionSet.mapper()
|
118
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
119
|
+
end
|
120
|
+
|
121
|
+
# Waiting for response.
|
122
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
123
|
+
end
|
124
|
+
|
125
|
+
promise
|
126
|
+
end
|
127
|
+
|
128
|
+
#
|
129
|
+
# Gets information about a disk encryption set.
|
130
|
+
#
|
131
|
+
# @param resource_group_name [String] The name of the resource group.
|
132
|
+
# @param disk_encryption_set_name [String] The name of the disk encryption set
|
133
|
+
# that is being created. The name can't be changed after the disk encryption
|
134
|
+
# set is created. Supported characters for the name are a-z, A-Z, 0-9 and _.
|
135
|
+
# The maximum name length is 80 characters.
|
136
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
137
|
+
# will be added to the HTTP request.
|
138
|
+
#
|
139
|
+
# @return [DiskEncryptionSet] operation results.
|
140
|
+
#
|
141
|
+
def get(resource_group_name, disk_encryption_set_name, custom_headers:nil)
|
142
|
+
response = get_async(resource_group_name, disk_encryption_set_name, custom_headers:custom_headers).value!
|
143
|
+
response.body unless response.nil?
|
144
|
+
end
|
145
|
+
|
146
|
+
#
|
147
|
+
# Gets information about a disk encryption set.
|
148
|
+
#
|
149
|
+
# @param resource_group_name [String] The name of the resource group.
|
150
|
+
# @param disk_encryption_set_name [String] The name of the disk encryption set
|
151
|
+
# that is being created. The name can't be changed after the disk encryption
|
152
|
+
# set is created. Supported characters for the name are a-z, A-Z, 0-9 and _.
|
153
|
+
# The maximum name length is 80 characters.
|
154
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
155
|
+
# will be added to the HTTP request.
|
156
|
+
#
|
157
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
158
|
+
#
|
159
|
+
def get_with_http_info(resource_group_name, disk_encryption_set_name, custom_headers:nil)
|
160
|
+
get_async(resource_group_name, disk_encryption_set_name, custom_headers:custom_headers).value!
|
161
|
+
end
|
162
|
+
|
163
|
+
#
|
164
|
+
# Gets information about a disk encryption set.
|
165
|
+
#
|
166
|
+
# @param resource_group_name [String] The name of the resource group.
|
167
|
+
# @param disk_encryption_set_name [String] The name of the disk encryption set
|
168
|
+
# that is being created. The name can't be changed after the disk encryption
|
169
|
+
# set is created. Supported characters for the name are a-z, A-Z, 0-9 and _.
|
170
|
+
# The maximum name length is 80 characters.
|
171
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
172
|
+
# to the HTTP request.
|
173
|
+
#
|
174
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
175
|
+
#
|
176
|
+
def get_async(resource_group_name, disk_encryption_set_name, custom_headers:nil)
|
177
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
178
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
179
|
+
fail ArgumentError, 'disk_encryption_set_name is nil' if disk_encryption_set_name.nil?
|
180
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
181
|
+
|
182
|
+
|
183
|
+
request_headers = {}
|
184
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
185
|
+
|
186
|
+
# Set Headers
|
187
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
188
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
189
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}'
|
190
|
+
|
191
|
+
request_url = @base_url || @client.base_url
|
192
|
+
|
193
|
+
options = {
|
194
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
195
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'diskEncryptionSetName' => disk_encryption_set_name},
|
196
|
+
query_params: {'api-version' => @client.api_version},
|
197
|
+
headers: request_headers.merge(custom_headers || {}),
|
198
|
+
base_url: request_url
|
199
|
+
}
|
200
|
+
promise = @client.make_request_async(:get, path_template, options)
|
201
|
+
|
202
|
+
promise = promise.then do |result|
|
203
|
+
http_response = result.response
|
204
|
+
status_code = http_response.status
|
205
|
+
response_content = http_response.body
|
206
|
+
unless status_code == 200
|
207
|
+
error_model = JSON.load(response_content)
|
208
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
209
|
+
end
|
210
|
+
|
211
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
212
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
213
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
214
|
+
# Deserialize Response
|
215
|
+
if status_code == 200
|
216
|
+
begin
|
217
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
218
|
+
result_mapper = Azure::Compute::Mgmt::V2019_07_01::Models::DiskEncryptionSet.mapper()
|
219
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
220
|
+
rescue Exception => e
|
221
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
222
|
+
end
|
223
|
+
end
|
224
|
+
|
225
|
+
result
|
226
|
+
end
|
227
|
+
|
228
|
+
promise.execute
|
229
|
+
end
|
230
|
+
|
231
|
+
#
|
232
|
+
# Deletes a disk encryption set.
|
233
|
+
#
|
234
|
+
# @param resource_group_name [String] The name of the resource group.
|
235
|
+
# @param disk_encryption_set_name [String] The name of the disk encryption set
|
236
|
+
# that is being created. The name can't be changed after the disk encryption
|
237
|
+
# set is created. Supported characters for the name are a-z, A-Z, 0-9 and _.
|
238
|
+
# The maximum name length is 80 characters.
|
239
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
240
|
+
# will be added to the HTTP request.
|
241
|
+
#
|
242
|
+
def delete(resource_group_name, disk_encryption_set_name, custom_headers:nil)
|
243
|
+
response = delete_async(resource_group_name, disk_encryption_set_name, custom_headers:custom_headers).value!
|
244
|
+
nil
|
245
|
+
end
|
246
|
+
|
247
|
+
#
|
248
|
+
# @param resource_group_name [String] The name of the resource group.
|
249
|
+
# @param disk_encryption_set_name [String] The name of the disk encryption set
|
250
|
+
# that is being created. The name can't be changed after the disk encryption
|
251
|
+
# set is created. Supported characters for the name are a-z, A-Z, 0-9 and _.
|
252
|
+
# The maximum name length is 80 characters.
|
253
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
254
|
+
# will be added to the HTTP request.
|
255
|
+
#
|
256
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
257
|
+
# response.
|
258
|
+
#
|
259
|
+
def delete_async(resource_group_name, disk_encryption_set_name, custom_headers:nil)
|
260
|
+
# Send request
|
261
|
+
promise = begin_delete_async(resource_group_name, disk_encryption_set_name, custom_headers:custom_headers)
|
262
|
+
|
263
|
+
promise = promise.then do |response|
|
264
|
+
# Defining deserialization method.
|
265
|
+
deserialize_method = lambda do |parsed_response|
|
266
|
+
end
|
267
|
+
|
268
|
+
# Waiting for response.
|
269
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
270
|
+
end
|
271
|
+
|
272
|
+
promise
|
273
|
+
end
|
274
|
+
|
275
|
+
#
|
276
|
+
# Lists all the disk encryption sets under a resource group.
|
277
|
+
#
|
278
|
+
# @param resource_group_name [String] The name of the resource group.
|
279
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
280
|
+
# will be added to the HTTP request.
|
281
|
+
#
|
282
|
+
# @return [Array<DiskEncryptionSet>] operation results.
|
283
|
+
#
|
284
|
+
def list_by_resource_group(resource_group_name, custom_headers:nil)
|
285
|
+
first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers)
|
286
|
+
first_page.get_all_items
|
287
|
+
end
|
288
|
+
|
289
|
+
#
|
290
|
+
# Lists all the disk encryption sets under a resource group.
|
291
|
+
#
|
292
|
+
# @param resource_group_name [String] The name of the resource group.
|
293
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
294
|
+
# will be added to the HTTP request.
|
295
|
+
#
|
296
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
297
|
+
#
|
298
|
+
def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil)
|
299
|
+
list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value!
|
300
|
+
end
|
301
|
+
|
302
|
+
#
|
303
|
+
# Lists all the disk encryption sets under a resource group.
|
304
|
+
#
|
305
|
+
# @param resource_group_name [String] The name of the resource group.
|
306
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
307
|
+
# to the HTTP request.
|
308
|
+
#
|
309
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
310
|
+
#
|
311
|
+
def list_by_resource_group_async(resource_group_name, custom_headers:nil)
|
312
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
313
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
314
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
315
|
+
|
316
|
+
|
317
|
+
request_headers = {}
|
318
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
319
|
+
|
320
|
+
# Set Headers
|
321
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
322
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
323
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets'
|
324
|
+
|
325
|
+
request_url = @base_url || @client.base_url
|
326
|
+
|
327
|
+
options = {
|
328
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
329
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name},
|
330
|
+
query_params: {'api-version' => @client.api_version},
|
331
|
+
headers: request_headers.merge(custom_headers || {}),
|
332
|
+
base_url: request_url
|
333
|
+
}
|
334
|
+
promise = @client.make_request_async(:get, path_template, options)
|
335
|
+
|
336
|
+
promise = promise.then do |result|
|
337
|
+
http_response = result.response
|
338
|
+
status_code = http_response.status
|
339
|
+
response_content = http_response.body
|
340
|
+
unless status_code == 200
|
341
|
+
error_model = JSON.load(response_content)
|
342
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
343
|
+
end
|
344
|
+
|
345
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
346
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
347
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
348
|
+
# Deserialize Response
|
349
|
+
if status_code == 200
|
350
|
+
begin
|
351
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
352
|
+
result_mapper = Azure::Compute::Mgmt::V2019_07_01::Models::DiskEncryptionSetList.mapper()
|
353
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
354
|
+
rescue Exception => e
|
355
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
356
|
+
end
|
357
|
+
end
|
358
|
+
|
359
|
+
result
|
360
|
+
end
|
361
|
+
|
362
|
+
promise.execute
|
363
|
+
end
|
364
|
+
|
365
|
+
#
|
366
|
+
# Lists all the disk encryption sets under a subscription.
|
367
|
+
#
|
368
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
369
|
+
# will be added to the HTTP request.
|
370
|
+
#
|
371
|
+
# @return [Array<DiskEncryptionSet>] operation results.
|
372
|
+
#
|
373
|
+
def list(custom_headers:nil)
|
374
|
+
first_page = list_as_lazy(custom_headers:custom_headers)
|
375
|
+
first_page.get_all_items
|
376
|
+
end
|
377
|
+
|
378
|
+
#
|
379
|
+
# Lists all the disk encryption sets under a subscription.
|
380
|
+
#
|
381
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
382
|
+
# will be added to the HTTP request.
|
383
|
+
#
|
384
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
385
|
+
#
|
386
|
+
def list_with_http_info(custom_headers:nil)
|
387
|
+
list_async(custom_headers:custom_headers).value!
|
388
|
+
end
|
389
|
+
|
390
|
+
#
|
391
|
+
# Lists all the disk encryption sets under a subscription.
|
392
|
+
#
|
393
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
394
|
+
# to the HTTP request.
|
395
|
+
#
|
396
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
397
|
+
#
|
398
|
+
def list_async(custom_headers:nil)
|
399
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
400
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
401
|
+
|
402
|
+
|
403
|
+
request_headers = {}
|
404
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
405
|
+
|
406
|
+
# Set Headers
|
407
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
408
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
409
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskEncryptionSets'
|
410
|
+
|
411
|
+
request_url = @base_url || @client.base_url
|
412
|
+
|
413
|
+
options = {
|
414
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
415
|
+
path_params: {'subscriptionId' => @client.subscription_id},
|
416
|
+
query_params: {'api-version' => @client.api_version},
|
417
|
+
headers: request_headers.merge(custom_headers || {}),
|
418
|
+
base_url: request_url
|
419
|
+
}
|
420
|
+
promise = @client.make_request_async(:get, path_template, options)
|
421
|
+
|
422
|
+
promise = promise.then do |result|
|
423
|
+
http_response = result.response
|
424
|
+
status_code = http_response.status
|
425
|
+
response_content = http_response.body
|
426
|
+
unless status_code == 200
|
427
|
+
error_model = JSON.load(response_content)
|
428
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
429
|
+
end
|
430
|
+
|
431
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
432
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
433
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
434
|
+
# Deserialize Response
|
435
|
+
if status_code == 200
|
436
|
+
begin
|
437
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
438
|
+
result_mapper = Azure::Compute::Mgmt::V2019_07_01::Models::DiskEncryptionSetList.mapper()
|
439
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
440
|
+
rescue Exception => e
|
441
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
442
|
+
end
|
443
|
+
end
|
444
|
+
|
445
|
+
result
|
446
|
+
end
|
447
|
+
|
448
|
+
promise.execute
|
449
|
+
end
|
450
|
+
|
451
|
+
#
|
452
|
+
# Creates or updates a disk encryption set
|
453
|
+
#
|
454
|
+
# @param resource_group_name [String] The name of the resource group.
|
455
|
+
# @param disk_encryption_set_name [String] The name of the disk encryption set
|
456
|
+
# that is being created. The name can't be changed after the disk encryption
|
457
|
+
# set is created. Supported characters for the name are a-z, A-Z, 0-9 and _.
|
458
|
+
# The maximum name length is 80 characters.
|
459
|
+
# @param disk_encryption_set [DiskEncryptionSet] disk encryption set object
|
460
|
+
# supplied in the body of the Put disk encryption set operation.
|
461
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
462
|
+
# will be added to the HTTP request.
|
463
|
+
#
|
464
|
+
# @return [DiskEncryptionSet] operation results.
|
465
|
+
#
|
466
|
+
def begin_create_or_update(resource_group_name, disk_encryption_set_name, disk_encryption_set, custom_headers:nil)
|
467
|
+
response = begin_create_or_update_async(resource_group_name, disk_encryption_set_name, disk_encryption_set, custom_headers:custom_headers).value!
|
468
|
+
response.body unless response.nil?
|
469
|
+
end
|
470
|
+
|
471
|
+
#
|
472
|
+
# Creates or updates a disk encryption set
|
473
|
+
#
|
474
|
+
# @param resource_group_name [String] The name of the resource group.
|
475
|
+
# @param disk_encryption_set_name [String] The name of the disk encryption set
|
476
|
+
# that is being created. The name can't be changed after the disk encryption
|
477
|
+
# set is created. Supported characters for the name are a-z, A-Z, 0-9 and _.
|
478
|
+
# The maximum name length is 80 characters.
|
479
|
+
# @param disk_encryption_set [DiskEncryptionSet] disk encryption set object
|
480
|
+
# supplied in the body of the Put disk encryption set operation.
|
481
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
482
|
+
# will be added to the HTTP request.
|
483
|
+
#
|
484
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
485
|
+
#
|
486
|
+
def begin_create_or_update_with_http_info(resource_group_name, disk_encryption_set_name, disk_encryption_set, custom_headers:nil)
|
487
|
+
begin_create_or_update_async(resource_group_name, disk_encryption_set_name, disk_encryption_set, custom_headers:custom_headers).value!
|
488
|
+
end
|
489
|
+
|
490
|
+
#
|
491
|
+
# Creates or updates a disk encryption set
|
492
|
+
#
|
493
|
+
# @param resource_group_name [String] The name of the resource group.
|
494
|
+
# @param disk_encryption_set_name [String] The name of the disk encryption set
|
495
|
+
# that is being created. The name can't be changed after the disk encryption
|
496
|
+
# set is created. Supported characters for the name are a-z, A-Z, 0-9 and _.
|
497
|
+
# The maximum name length is 80 characters.
|
498
|
+
# @param disk_encryption_set [DiskEncryptionSet] disk encryption set object
|
499
|
+
# supplied in the body of the Put disk encryption set operation.
|
500
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
501
|
+
# to the HTTP request.
|
502
|
+
#
|
503
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
504
|
+
#
|
505
|
+
def begin_create_or_update_async(resource_group_name, disk_encryption_set_name, disk_encryption_set, custom_headers:nil)
|
506
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
507
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
508
|
+
fail ArgumentError, 'disk_encryption_set_name is nil' if disk_encryption_set_name.nil?
|
509
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
510
|
+
fail ArgumentError, 'disk_encryption_set is nil' if disk_encryption_set.nil?
|
511
|
+
|
512
|
+
|
513
|
+
request_headers = {}
|
514
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
515
|
+
|
516
|
+
# Set Headers
|
517
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
518
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
519
|
+
|
520
|
+
# Serialize Request
|
521
|
+
request_mapper = Azure::Compute::Mgmt::V2019_07_01::Models::DiskEncryptionSet.mapper()
|
522
|
+
request_content = @client.serialize(request_mapper, disk_encryption_set)
|
523
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
524
|
+
|
525
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}'
|
526
|
+
|
527
|
+
request_url = @base_url || @client.base_url
|
528
|
+
|
529
|
+
options = {
|
530
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
531
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'diskEncryptionSetName' => disk_encryption_set_name},
|
532
|
+
query_params: {'api-version' => @client.api_version},
|
533
|
+
body: request_content,
|
534
|
+
headers: request_headers.merge(custom_headers || {}),
|
535
|
+
base_url: request_url
|
536
|
+
}
|
537
|
+
promise = @client.make_request_async(:put, path_template, options)
|
538
|
+
|
539
|
+
promise = promise.then do |result|
|
540
|
+
http_response = result.response
|
541
|
+
status_code = http_response.status
|
542
|
+
response_content = http_response.body
|
543
|
+
unless status_code == 200 || status_code == 201
|
544
|
+
error_model = JSON.load(response_content)
|
545
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
546
|
+
end
|
547
|
+
|
548
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
549
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
550
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
551
|
+
# Deserialize Response
|
552
|
+
if status_code == 200
|
553
|
+
begin
|
554
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
555
|
+
result_mapper = Azure::Compute::Mgmt::V2019_07_01::Models::DiskEncryptionSet.mapper()
|
556
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
557
|
+
rescue Exception => e
|
558
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
559
|
+
end
|
560
|
+
end
|
561
|
+
# Deserialize Response
|
562
|
+
if status_code == 201
|
563
|
+
begin
|
564
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
565
|
+
result_mapper = Azure::Compute::Mgmt::V2019_07_01::Models::DiskEncryptionSet.mapper()
|
566
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
567
|
+
rescue Exception => e
|
568
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
569
|
+
end
|
570
|
+
end
|
571
|
+
|
572
|
+
result
|
573
|
+
end
|
574
|
+
|
575
|
+
promise.execute
|
576
|
+
end
|
577
|
+
|
578
|
+
#
|
579
|
+
# Updates (patches) a disk encryption set.
|
580
|
+
#
|
581
|
+
# @param resource_group_name [String] The name of the resource group.
|
582
|
+
# @param disk_encryption_set_name [String] The name of the disk encryption set
|
583
|
+
# that is being created. The name can't be changed after the disk encryption
|
584
|
+
# set is created. Supported characters for the name are a-z, A-Z, 0-9 and _.
|
585
|
+
# The maximum name length is 80 characters.
|
586
|
+
# @param disk_encryption_set [DiskEncryptionSetUpdate] disk encryption set
|
587
|
+
# object supplied in the body of the Patch disk encryption set operation.
|
588
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
589
|
+
# will be added to the HTTP request.
|
590
|
+
#
|
591
|
+
# @return [DiskEncryptionSet] operation results.
|
592
|
+
#
|
593
|
+
def begin_update(resource_group_name, disk_encryption_set_name, disk_encryption_set, custom_headers:nil)
|
594
|
+
response = begin_update_async(resource_group_name, disk_encryption_set_name, disk_encryption_set, custom_headers:custom_headers).value!
|
595
|
+
response.body unless response.nil?
|
596
|
+
end
|
597
|
+
|
598
|
+
#
|
599
|
+
# Updates (patches) a disk encryption set.
|
600
|
+
#
|
601
|
+
# @param resource_group_name [String] The name of the resource group.
|
602
|
+
# @param disk_encryption_set_name [String] The name of the disk encryption set
|
603
|
+
# that is being created. The name can't be changed after the disk encryption
|
604
|
+
# set is created. Supported characters for the name are a-z, A-Z, 0-9 and _.
|
605
|
+
# The maximum name length is 80 characters.
|
606
|
+
# @param disk_encryption_set [DiskEncryptionSetUpdate] disk encryption set
|
607
|
+
# object supplied in the body of the Patch disk encryption set operation.
|
608
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
609
|
+
# will be added to the HTTP request.
|
610
|
+
#
|
611
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
612
|
+
#
|
613
|
+
def begin_update_with_http_info(resource_group_name, disk_encryption_set_name, disk_encryption_set, custom_headers:nil)
|
614
|
+
begin_update_async(resource_group_name, disk_encryption_set_name, disk_encryption_set, custom_headers:custom_headers).value!
|
615
|
+
end
|
616
|
+
|
617
|
+
#
|
618
|
+
# Updates (patches) a disk encryption set.
|
619
|
+
#
|
620
|
+
# @param resource_group_name [String] The name of the resource group.
|
621
|
+
# @param disk_encryption_set_name [String] The name of the disk encryption set
|
622
|
+
# that is being created. The name can't be changed after the disk encryption
|
623
|
+
# set is created. Supported characters for the name are a-z, A-Z, 0-9 and _.
|
624
|
+
# The maximum name length is 80 characters.
|
625
|
+
# @param disk_encryption_set [DiskEncryptionSetUpdate] disk encryption set
|
626
|
+
# object supplied in the body of the Patch disk encryption set operation.
|
627
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
628
|
+
# to the HTTP request.
|
629
|
+
#
|
630
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
631
|
+
#
|
632
|
+
def begin_update_async(resource_group_name, disk_encryption_set_name, disk_encryption_set, custom_headers:nil)
|
633
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
634
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
635
|
+
fail ArgumentError, 'disk_encryption_set_name is nil' if disk_encryption_set_name.nil?
|
636
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
637
|
+
fail ArgumentError, 'disk_encryption_set is nil' if disk_encryption_set.nil?
|
638
|
+
|
639
|
+
|
640
|
+
request_headers = {}
|
641
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
642
|
+
|
643
|
+
# Set Headers
|
644
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
645
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
646
|
+
|
647
|
+
# Serialize Request
|
648
|
+
request_mapper = Azure::Compute::Mgmt::V2019_07_01::Models::DiskEncryptionSetUpdate.mapper()
|
649
|
+
request_content = @client.serialize(request_mapper, disk_encryption_set)
|
650
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
651
|
+
|
652
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}'
|
653
|
+
|
654
|
+
request_url = @base_url || @client.base_url
|
655
|
+
|
656
|
+
options = {
|
657
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
658
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'diskEncryptionSetName' => disk_encryption_set_name},
|
659
|
+
query_params: {'api-version' => @client.api_version},
|
660
|
+
body: request_content,
|
661
|
+
headers: request_headers.merge(custom_headers || {}),
|
662
|
+
base_url: request_url
|
663
|
+
}
|
664
|
+
promise = @client.make_request_async(:patch, path_template, options)
|
665
|
+
|
666
|
+
promise = promise.then do |result|
|
667
|
+
http_response = result.response
|
668
|
+
status_code = http_response.status
|
669
|
+
response_content = http_response.body
|
670
|
+
unless status_code == 200 || status_code == 202
|
671
|
+
error_model = JSON.load(response_content)
|
672
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
673
|
+
end
|
674
|
+
|
675
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
676
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
677
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
678
|
+
# Deserialize Response
|
679
|
+
if status_code == 200
|
680
|
+
begin
|
681
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
682
|
+
result_mapper = Azure::Compute::Mgmt::V2019_07_01::Models::DiskEncryptionSet.mapper()
|
683
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
684
|
+
rescue Exception => e
|
685
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
686
|
+
end
|
687
|
+
end
|
688
|
+
# Deserialize Response
|
689
|
+
if status_code == 202
|
690
|
+
begin
|
691
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
692
|
+
result_mapper = Azure::Compute::Mgmt::V2019_07_01::Models::DiskEncryptionSet.mapper()
|
693
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
694
|
+
rescue Exception => e
|
695
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
696
|
+
end
|
697
|
+
end
|
698
|
+
|
699
|
+
result
|
700
|
+
end
|
701
|
+
|
702
|
+
promise.execute
|
703
|
+
end
|
704
|
+
|
705
|
+
#
|
706
|
+
# Deletes a disk encryption set.
|
707
|
+
#
|
708
|
+
# @param resource_group_name [String] The name of the resource group.
|
709
|
+
# @param disk_encryption_set_name [String] The name of the disk encryption set
|
710
|
+
# that is being created. The name can't be changed after the disk encryption
|
711
|
+
# set is created. Supported characters for the name are a-z, A-Z, 0-9 and _.
|
712
|
+
# The maximum name length is 80 characters.
|
713
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
714
|
+
# will be added to the HTTP request.
|
715
|
+
#
|
716
|
+
#
|
717
|
+
def begin_delete(resource_group_name, disk_encryption_set_name, custom_headers:nil)
|
718
|
+
response = begin_delete_async(resource_group_name, disk_encryption_set_name, custom_headers:custom_headers).value!
|
719
|
+
nil
|
720
|
+
end
|
721
|
+
|
722
|
+
#
|
723
|
+
# Deletes a disk encryption set.
|
724
|
+
#
|
725
|
+
# @param resource_group_name [String] The name of the resource group.
|
726
|
+
# @param disk_encryption_set_name [String] The name of the disk encryption set
|
727
|
+
# that is being created. The name can't be changed after the disk encryption
|
728
|
+
# set is created. Supported characters for the name are a-z, A-Z, 0-9 and _.
|
729
|
+
# The maximum name length is 80 characters.
|
730
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
731
|
+
# will be added to the HTTP request.
|
732
|
+
#
|
733
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
734
|
+
#
|
735
|
+
def begin_delete_with_http_info(resource_group_name, disk_encryption_set_name, custom_headers:nil)
|
736
|
+
begin_delete_async(resource_group_name, disk_encryption_set_name, custom_headers:custom_headers).value!
|
737
|
+
end
|
738
|
+
|
739
|
+
#
|
740
|
+
# Deletes a disk encryption set.
|
741
|
+
#
|
742
|
+
# @param resource_group_name [String] The name of the resource group.
|
743
|
+
# @param disk_encryption_set_name [String] The name of the disk encryption set
|
744
|
+
# that is being created. The name can't be changed after the disk encryption
|
745
|
+
# set is created. Supported characters for the name are a-z, A-Z, 0-9 and _.
|
746
|
+
# The maximum name length is 80 characters.
|
747
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
748
|
+
# to the HTTP request.
|
749
|
+
#
|
750
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
751
|
+
#
|
752
|
+
def begin_delete_async(resource_group_name, disk_encryption_set_name, custom_headers:nil)
|
753
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
754
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
755
|
+
fail ArgumentError, 'disk_encryption_set_name is nil' if disk_encryption_set_name.nil?
|
756
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
757
|
+
|
758
|
+
|
759
|
+
request_headers = {}
|
760
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
761
|
+
|
762
|
+
# Set Headers
|
763
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
764
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
765
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}'
|
766
|
+
|
767
|
+
request_url = @base_url || @client.base_url
|
768
|
+
|
769
|
+
options = {
|
770
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
771
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'diskEncryptionSetName' => disk_encryption_set_name},
|
772
|
+
query_params: {'api-version' => @client.api_version},
|
773
|
+
headers: request_headers.merge(custom_headers || {}),
|
774
|
+
base_url: request_url
|
775
|
+
}
|
776
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
777
|
+
|
778
|
+
promise = promise.then do |result|
|
779
|
+
http_response = result.response
|
780
|
+
status_code = http_response.status
|
781
|
+
response_content = http_response.body
|
782
|
+
unless status_code == 200 || status_code == 202 || status_code == 204
|
783
|
+
error_model = JSON.load(response_content)
|
784
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
785
|
+
end
|
786
|
+
|
787
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
788
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
789
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
790
|
+
|
791
|
+
result
|
792
|
+
end
|
793
|
+
|
794
|
+
promise.execute
|
795
|
+
end
|
796
|
+
|
797
|
+
#
|
798
|
+
# Lists all the disk encryption sets under a resource group.
|
799
|
+
#
|
800
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
801
|
+
# to List operation.
|
802
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
803
|
+
# will be added to the HTTP request.
|
804
|
+
#
|
805
|
+
# @return [DiskEncryptionSetList] operation results.
|
806
|
+
#
|
807
|
+
def list_by_resource_group_next(next_page_link, custom_headers:nil)
|
808
|
+
response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
|
809
|
+
response.body unless response.nil?
|
810
|
+
end
|
811
|
+
|
812
|
+
#
|
813
|
+
# Lists all the disk encryption sets under a resource group.
|
814
|
+
#
|
815
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
816
|
+
# to List operation.
|
817
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
818
|
+
# will be added to the HTTP request.
|
819
|
+
#
|
820
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
821
|
+
#
|
822
|
+
def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil)
|
823
|
+
list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
|
824
|
+
end
|
825
|
+
|
826
|
+
#
|
827
|
+
# Lists all the disk encryption sets under a resource group.
|
828
|
+
#
|
829
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
830
|
+
# to List operation.
|
831
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
832
|
+
# to the HTTP request.
|
833
|
+
#
|
834
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
835
|
+
#
|
836
|
+
def list_by_resource_group_next_async(next_page_link, custom_headers:nil)
|
837
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
838
|
+
|
839
|
+
|
840
|
+
request_headers = {}
|
841
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
842
|
+
|
843
|
+
# Set Headers
|
844
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
845
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
846
|
+
path_template = '{nextLink}'
|
847
|
+
|
848
|
+
request_url = @base_url || @client.base_url
|
849
|
+
|
850
|
+
options = {
|
851
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
852
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
853
|
+
headers: request_headers.merge(custom_headers || {}),
|
854
|
+
base_url: request_url
|
855
|
+
}
|
856
|
+
promise = @client.make_request_async(:get, path_template, options)
|
857
|
+
|
858
|
+
promise = promise.then do |result|
|
859
|
+
http_response = result.response
|
860
|
+
status_code = http_response.status
|
861
|
+
response_content = http_response.body
|
862
|
+
unless status_code == 200
|
863
|
+
error_model = JSON.load(response_content)
|
864
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
865
|
+
end
|
866
|
+
|
867
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
868
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
869
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
870
|
+
# Deserialize Response
|
871
|
+
if status_code == 200
|
872
|
+
begin
|
873
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
874
|
+
result_mapper = Azure::Compute::Mgmt::V2019_07_01::Models::DiskEncryptionSetList.mapper()
|
875
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
876
|
+
rescue Exception => e
|
877
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
878
|
+
end
|
879
|
+
end
|
880
|
+
|
881
|
+
result
|
882
|
+
end
|
883
|
+
|
884
|
+
promise.execute
|
885
|
+
end
|
886
|
+
|
887
|
+
#
|
888
|
+
# Lists all the disk encryption sets under a subscription.
|
889
|
+
#
|
890
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
891
|
+
# to List operation.
|
892
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
893
|
+
# will be added to the HTTP request.
|
894
|
+
#
|
895
|
+
# @return [DiskEncryptionSetList] operation results.
|
896
|
+
#
|
897
|
+
def list_next(next_page_link, custom_headers:nil)
|
898
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
899
|
+
response.body unless response.nil?
|
900
|
+
end
|
901
|
+
|
902
|
+
#
|
903
|
+
# Lists all the disk encryption sets under a subscription.
|
904
|
+
#
|
905
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
906
|
+
# to List operation.
|
907
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
908
|
+
# will be added to the HTTP request.
|
909
|
+
#
|
910
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
911
|
+
#
|
912
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
913
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
914
|
+
end
|
915
|
+
|
916
|
+
#
|
917
|
+
# Lists all the disk encryption sets under a subscription.
|
918
|
+
#
|
919
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
920
|
+
# to List operation.
|
921
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
922
|
+
# to the HTTP request.
|
923
|
+
#
|
924
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
925
|
+
#
|
926
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
927
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
928
|
+
|
929
|
+
|
930
|
+
request_headers = {}
|
931
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
932
|
+
|
933
|
+
# Set Headers
|
934
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
935
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
936
|
+
path_template = '{nextLink}'
|
937
|
+
|
938
|
+
request_url = @base_url || @client.base_url
|
939
|
+
|
940
|
+
options = {
|
941
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
942
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
943
|
+
headers: request_headers.merge(custom_headers || {}),
|
944
|
+
base_url: request_url
|
945
|
+
}
|
946
|
+
promise = @client.make_request_async(:get, path_template, options)
|
947
|
+
|
948
|
+
promise = promise.then do |result|
|
949
|
+
http_response = result.response
|
950
|
+
status_code = http_response.status
|
951
|
+
response_content = http_response.body
|
952
|
+
unless status_code == 200
|
953
|
+
error_model = JSON.load(response_content)
|
954
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
955
|
+
end
|
956
|
+
|
957
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
958
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
959
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
960
|
+
# Deserialize Response
|
961
|
+
if status_code == 200
|
962
|
+
begin
|
963
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
964
|
+
result_mapper = Azure::Compute::Mgmt::V2019_07_01::Models::DiskEncryptionSetList.mapper()
|
965
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
966
|
+
rescue Exception => e
|
967
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
968
|
+
end
|
969
|
+
end
|
970
|
+
|
971
|
+
result
|
972
|
+
end
|
973
|
+
|
974
|
+
promise.execute
|
975
|
+
end
|
976
|
+
|
977
|
+
#
|
978
|
+
# Lists all the disk encryption sets under a resource group.
|
979
|
+
#
|
980
|
+
# @param resource_group_name [String] The name of the resource group.
|
981
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
982
|
+
# will be added to the HTTP request.
|
983
|
+
#
|
984
|
+
# @return [DiskEncryptionSetList] which provide lazy access to pages of the
|
985
|
+
# response.
|
986
|
+
#
|
987
|
+
def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil)
|
988
|
+
response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value!
|
989
|
+
unless response.nil?
|
990
|
+
page = response.body
|
991
|
+
page.next_method = Proc.new do |next_page_link|
|
992
|
+
list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers)
|
993
|
+
end
|
994
|
+
page
|
995
|
+
end
|
996
|
+
end
|
997
|
+
|
998
|
+
#
|
999
|
+
# Lists all the disk encryption sets under a subscription.
|
1000
|
+
#
|
1001
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1002
|
+
# will be added to the HTTP request.
|
1003
|
+
#
|
1004
|
+
# @return [DiskEncryptionSetList] which provide lazy access to pages of the
|
1005
|
+
# response.
|
1006
|
+
#
|
1007
|
+
def list_as_lazy(custom_headers:nil)
|
1008
|
+
response = list_async(custom_headers:custom_headers).value!
|
1009
|
+
unless response.nil?
|
1010
|
+
page = response.body
|
1011
|
+
page.next_method = Proc.new do |next_page_link|
|
1012
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
1013
|
+
end
|
1014
|
+
page
|
1015
|
+
end
|
1016
|
+
end
|
1017
|
+
|
1018
|
+
end
|
1019
|
+
end
|