azure_mgmt_compute 0.19.3 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2015-06-15/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2017-09-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2017-12-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2018-04-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2018-09-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2018-10-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2019-03-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2019-04-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2019-04-01/generated/azure_mgmt_compute/resource_skus.rb +8 -4
- data/lib/2019-07-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2019-11-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_compute/availability_sets.rb +4 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/gallery_artifact_version_source.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine.rb +2 -2
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_ipconfiguration.rb +2 -2
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +2 -2
- data/lib/2019-12-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +2 -2
- data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb +28 -8
- data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +8 -6
- 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 -13
- data/lib/profiles/latest/modules/compute_profile_module.rb +961 -805
- data/lib/version.rb +1 -1
- metadata +311 -3
@@ -0,0 +1,108 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Compute::Mgmt::V2020_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Describes a data disk.
|
10
|
+
#
|
11
|
+
class ImageDataDisk < ImageDisk
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Integer] Specifies the logical unit number of the data disk.
|
16
|
+
# This value is used to identify data disks within the VM and therefore
|
17
|
+
# must be unique for each data disk attached to a VM.
|
18
|
+
attr_accessor :lun
|
19
|
+
|
20
|
+
|
21
|
+
#
|
22
|
+
# Mapper for ImageDataDisk class as Ruby Hash.
|
23
|
+
# This will be used for serialization/deserialization.
|
24
|
+
#
|
25
|
+
def self.mapper()
|
26
|
+
{
|
27
|
+
client_side_validation: true,
|
28
|
+
required: false,
|
29
|
+
serialized_name: 'ImageDataDisk',
|
30
|
+
type: {
|
31
|
+
name: 'Composite',
|
32
|
+
class_name: 'ImageDataDisk',
|
33
|
+
model_properties: {
|
34
|
+
snapshot: {
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'snapshot',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'SubResource'
|
41
|
+
}
|
42
|
+
},
|
43
|
+
managed_disk: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'managedDisk',
|
47
|
+
type: {
|
48
|
+
name: 'Composite',
|
49
|
+
class_name: 'SubResource'
|
50
|
+
}
|
51
|
+
},
|
52
|
+
blob_uri: {
|
53
|
+
client_side_validation: true,
|
54
|
+
required: false,
|
55
|
+
serialized_name: 'blobUri',
|
56
|
+
type: {
|
57
|
+
name: 'String'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
caching: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'caching',
|
64
|
+
type: {
|
65
|
+
name: 'Enum',
|
66
|
+
module: 'CachingTypes'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
disk_size_gb: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: false,
|
72
|
+
serialized_name: 'diskSizeGB',
|
73
|
+
type: {
|
74
|
+
name: 'Number'
|
75
|
+
}
|
76
|
+
},
|
77
|
+
storage_account_type: {
|
78
|
+
client_side_validation: true,
|
79
|
+
required: false,
|
80
|
+
serialized_name: 'storageAccountType',
|
81
|
+
type: {
|
82
|
+
name: 'String'
|
83
|
+
}
|
84
|
+
},
|
85
|
+
disk_encryption_set: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
serialized_name: 'diskEncryptionSet',
|
89
|
+
type: {
|
90
|
+
name: 'Composite',
|
91
|
+
class_name: 'DiskEncryptionSetParameters'
|
92
|
+
}
|
93
|
+
},
|
94
|
+
lun: {
|
95
|
+
client_side_validation: true,
|
96
|
+
required: true,
|
97
|
+
serialized_name: 'lun',
|
98
|
+
type: {
|
99
|
+
name: 'Number'
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
end
|
106
|
+
end
|
107
|
+
end
|
108
|
+
end
|
@@ -0,0 +1,126 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Compute::Mgmt::V2020_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Describes a image disk.
|
10
|
+
#
|
11
|
+
class ImageDisk
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [SubResource] The snapshot.
|
16
|
+
attr_accessor :snapshot
|
17
|
+
|
18
|
+
# @return [SubResource] The managedDisk.
|
19
|
+
attr_accessor :managed_disk
|
20
|
+
|
21
|
+
# @return [String] The Virtual Hard Disk.
|
22
|
+
attr_accessor :blob_uri
|
23
|
+
|
24
|
+
# @return [CachingTypes] Specifies the caching requirements. <br><br>
|
25
|
+
# Possible values are: <br><br> **None** <br><br> **ReadOnly** <br><br>
|
26
|
+
# **ReadWrite** <br><br> Default: **None for Standard storage. ReadOnly
|
27
|
+
# for Premium storage**. Possible values include: 'None', 'ReadOnly',
|
28
|
+
# 'ReadWrite'
|
29
|
+
attr_accessor :caching
|
30
|
+
|
31
|
+
# @return [Integer] Specifies the size of empty data disks in gigabytes.
|
32
|
+
# This element can be used to overwrite the name of the disk in a virtual
|
33
|
+
# machine image. <br><br> This value cannot be larger than 1023 GB
|
34
|
+
attr_accessor :disk_size_gb
|
35
|
+
|
36
|
+
# @return [StorageAccountTypes] Specifies the storage account type for
|
37
|
+
# the managed disk. NOTE: UltraSSD_LRS can only be used with data disks,
|
38
|
+
# it cannot be used with OS Disk. Possible values include:
|
39
|
+
# 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
|
40
|
+
attr_accessor :storage_account_type
|
41
|
+
|
42
|
+
# @return [DiskEncryptionSetParameters] Specifies the customer managed
|
43
|
+
# disk encryption set resource id for the managed image disk.
|
44
|
+
attr_accessor :disk_encryption_set
|
45
|
+
|
46
|
+
|
47
|
+
#
|
48
|
+
# Mapper for ImageDisk class as Ruby Hash.
|
49
|
+
# This will be used for serialization/deserialization.
|
50
|
+
#
|
51
|
+
def self.mapper()
|
52
|
+
{
|
53
|
+
client_side_validation: true,
|
54
|
+
required: false,
|
55
|
+
serialized_name: 'ImageDisk',
|
56
|
+
type: {
|
57
|
+
name: 'Composite',
|
58
|
+
class_name: 'ImageDisk',
|
59
|
+
model_properties: {
|
60
|
+
snapshot: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'snapshot',
|
64
|
+
type: {
|
65
|
+
name: 'Composite',
|
66
|
+
class_name: 'SubResource'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
managed_disk: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: false,
|
72
|
+
serialized_name: 'managedDisk',
|
73
|
+
type: {
|
74
|
+
name: 'Composite',
|
75
|
+
class_name: 'SubResource'
|
76
|
+
}
|
77
|
+
},
|
78
|
+
blob_uri: {
|
79
|
+
client_side_validation: true,
|
80
|
+
required: false,
|
81
|
+
serialized_name: 'blobUri',
|
82
|
+
type: {
|
83
|
+
name: 'String'
|
84
|
+
}
|
85
|
+
},
|
86
|
+
caching: {
|
87
|
+
client_side_validation: true,
|
88
|
+
required: false,
|
89
|
+
serialized_name: 'caching',
|
90
|
+
type: {
|
91
|
+
name: 'Enum',
|
92
|
+
module: 'CachingTypes'
|
93
|
+
}
|
94
|
+
},
|
95
|
+
disk_size_gb: {
|
96
|
+
client_side_validation: true,
|
97
|
+
required: false,
|
98
|
+
serialized_name: 'diskSizeGB',
|
99
|
+
type: {
|
100
|
+
name: 'Number'
|
101
|
+
}
|
102
|
+
},
|
103
|
+
storage_account_type: {
|
104
|
+
client_side_validation: true,
|
105
|
+
required: false,
|
106
|
+
serialized_name: 'storageAccountType',
|
107
|
+
type: {
|
108
|
+
name: 'String'
|
109
|
+
}
|
110
|
+
},
|
111
|
+
disk_encryption_set: {
|
112
|
+
client_side_validation: true,
|
113
|
+
required: false,
|
114
|
+
serialized_name: 'diskEncryptionSet',
|
115
|
+
type: {
|
116
|
+
name: 'Composite',
|
117
|
+
class_name: 'DiskEncryptionSetParameters'
|
118
|
+
}
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
}
|
123
|
+
end
|
124
|
+
end
|
125
|
+
end
|
126
|
+
end
|
@@ -0,0 +1,99 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Compute::Mgmt::V2020_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The List Image operation response.
|
10
|
+
#
|
11
|
+
class ImageListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<Image>] The list of Images.
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
# @return [String] The uri to fetch the next page of Images. Call
|
20
|
+
# ListNext() with this to fetch the next page of Images.
|
21
|
+
attr_accessor :next_link
|
22
|
+
|
23
|
+
# return [Proc] with next page method call.
|
24
|
+
attr_accessor :next_method
|
25
|
+
|
26
|
+
#
|
27
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
28
|
+
#
|
29
|
+
# @return [Array<Image>] operation results.
|
30
|
+
#
|
31
|
+
def get_all_items
|
32
|
+
items = @value
|
33
|
+
page = self
|
34
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
35
|
+
page = page.get_next_page
|
36
|
+
items.concat(page.value)
|
37
|
+
end
|
38
|
+
items
|
39
|
+
end
|
40
|
+
|
41
|
+
#
|
42
|
+
# Gets the next page of results.
|
43
|
+
#
|
44
|
+
# @return [ImageListResult] with next page content.
|
45
|
+
#
|
46
|
+
def get_next_page
|
47
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
48
|
+
unless response.nil?
|
49
|
+
@next_link = response.body.next_link
|
50
|
+
@value = response.body.value
|
51
|
+
self
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
#
|
56
|
+
# Mapper for ImageListResult class as Ruby Hash.
|
57
|
+
# This will be used for serialization/deserialization.
|
58
|
+
#
|
59
|
+
def self.mapper()
|
60
|
+
{
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'ImageListResult',
|
64
|
+
type: {
|
65
|
+
name: 'Composite',
|
66
|
+
class_name: 'ImageListResult',
|
67
|
+
model_properties: {
|
68
|
+
value: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: true,
|
71
|
+
serialized_name: 'value',
|
72
|
+
type: {
|
73
|
+
name: 'Sequence',
|
74
|
+
element: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'ImageElementType',
|
78
|
+
type: {
|
79
|
+
name: 'Composite',
|
80
|
+
class_name: 'Image'
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
},
|
85
|
+
next_link: {
|
86
|
+
client_side_validation: true,
|
87
|
+
required: false,
|
88
|
+
serialized_name: 'nextLink',
|
89
|
+
type: {
|
90
|
+
name: 'String'
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
@@ -0,0 +1,123 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Compute::Mgmt::V2020_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Describes an Operating System disk.
|
10
|
+
#
|
11
|
+
class ImageOSDisk < ImageDisk
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [OperatingSystemTypes] This property allows you to specify the
|
16
|
+
# type of the OS that is included in the disk if creating a VM from a
|
17
|
+
# custom image. <br><br> Possible values are: <br><br> **Windows**
|
18
|
+
# <br><br> **Linux**. Possible values include: 'Windows', 'Linux'
|
19
|
+
attr_accessor :os_type
|
20
|
+
|
21
|
+
# @return [OperatingSystemStateTypes] The OS State. Possible values
|
22
|
+
# include: 'Generalized', 'Specialized'
|
23
|
+
attr_accessor :os_state
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for ImageOSDisk class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
client_side_validation: true,
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'ImageOSDisk',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'ImageOSDisk',
|
38
|
+
model_properties: {
|
39
|
+
snapshot: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'snapshot',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'SubResource'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
managed_disk: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
serialized_name: 'managedDisk',
|
52
|
+
type: {
|
53
|
+
name: 'Composite',
|
54
|
+
class_name: 'SubResource'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
blob_uri: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'blobUri',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
caching: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'caching',
|
69
|
+
type: {
|
70
|
+
name: 'Enum',
|
71
|
+
module: 'CachingTypes'
|
72
|
+
}
|
73
|
+
},
|
74
|
+
disk_size_gb: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'diskSizeGB',
|
78
|
+
type: {
|
79
|
+
name: 'Number'
|
80
|
+
}
|
81
|
+
},
|
82
|
+
storage_account_type: {
|
83
|
+
client_side_validation: true,
|
84
|
+
required: false,
|
85
|
+
serialized_name: 'storageAccountType',
|
86
|
+
type: {
|
87
|
+
name: 'String'
|
88
|
+
}
|
89
|
+
},
|
90
|
+
disk_encryption_set: {
|
91
|
+
client_side_validation: true,
|
92
|
+
required: false,
|
93
|
+
serialized_name: 'diskEncryptionSet',
|
94
|
+
type: {
|
95
|
+
name: 'Composite',
|
96
|
+
class_name: 'DiskEncryptionSetParameters'
|
97
|
+
}
|
98
|
+
},
|
99
|
+
os_type: {
|
100
|
+
client_side_validation: true,
|
101
|
+
required: true,
|
102
|
+
serialized_name: 'osType',
|
103
|
+
type: {
|
104
|
+
name: 'Enum',
|
105
|
+
module: 'OperatingSystemTypes'
|
106
|
+
}
|
107
|
+
},
|
108
|
+
os_state: {
|
109
|
+
client_side_validation: true,
|
110
|
+
required: true,
|
111
|
+
serialized_name: 'osState',
|
112
|
+
type: {
|
113
|
+
name: 'Enum',
|
114
|
+
module: 'OperatingSystemStateTypes'
|
115
|
+
}
|
116
|
+
}
|
117
|
+
}
|
118
|
+
}
|
119
|
+
}
|
120
|
+
end
|
121
|
+
end
|
122
|
+
end
|
123
|
+
end
|