azure_mgmt_compute 0.19.1 → 0.19.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2015-06-15/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2017-09-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2017-12-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2018-04-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2018-09-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2018-10-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2019-03-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2019-04-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2019-07-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2019-11-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_compute.rb +310 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/availability_sets.rb +916 -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 +2087 -0
- data/lib/2019-12-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +3288 -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/azure_mgmt_compute.rb +12 -11
- data/lib/profiles/latest/modules/compute_profile_module.rb +891 -821
- data/lib/version.rb +1 -1
- metadata +288 -2
@@ -0,0 +1,48 @@
|
|
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_12_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Describes the gallery unique name.
|
10
|
+
#
|
11
|
+
class GalleryIdentifier
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The unique name of the Shared Image Gallery. This name
|
16
|
+
# is generated automatically by Azure.
|
17
|
+
attr_accessor :unique_name
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for GalleryIdentifier class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
client_side_validation: true,
|
27
|
+
required: false,
|
28
|
+
serialized_name: 'GalleryIdentifier',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'GalleryIdentifier',
|
32
|
+
model_properties: {
|
33
|
+
unique_name: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
read_only: true,
|
37
|
+
serialized_name: 'uniqueName',
|
38
|
+
type: {
|
39
|
+
name: 'String'
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,251 @@
|
|
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_12_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Specifies information about the gallery Image Definition that you want to
|
10
|
+
# create or update.
|
11
|
+
#
|
12
|
+
class GalleryImage < Resource
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] The description of this gallery Image Definition
|
17
|
+
# resource. This property is updatable.
|
18
|
+
attr_accessor :description
|
19
|
+
|
20
|
+
# @return [String] The Eula agreement for the gallery Image Definition.
|
21
|
+
attr_accessor :eula
|
22
|
+
|
23
|
+
# @return [String] The privacy statement uri.
|
24
|
+
attr_accessor :privacy_statement_uri
|
25
|
+
|
26
|
+
# @return [String] The release note uri.
|
27
|
+
attr_accessor :release_note_uri
|
28
|
+
|
29
|
+
# @return [OperatingSystemTypes] This property allows you to specify the
|
30
|
+
# type of the OS that is included in the disk when creating a VM from a
|
31
|
+
# managed image. <br><br> Possible values are: <br><br> **Windows**
|
32
|
+
# <br><br> **Linux**. Possible values include: 'Windows', 'Linux'
|
33
|
+
attr_accessor :os_type
|
34
|
+
|
35
|
+
# @return [OperatingSystemStateTypes] This property allows the user to
|
36
|
+
# specify whether the virtual machines created under this image are
|
37
|
+
# 'Generalized' or 'Specialized'. Possible values include: 'Generalized',
|
38
|
+
# 'Specialized'
|
39
|
+
attr_accessor :os_state
|
40
|
+
|
41
|
+
# @return [HyperVGeneration] The hypervisor generation of the Virtual
|
42
|
+
# Machine. Applicable to OS disks only. Possible values include: 'V1',
|
43
|
+
# 'V2'
|
44
|
+
attr_accessor :hyper_vgeneration
|
45
|
+
|
46
|
+
# @return [DateTime] The end of life date of the gallery Image
|
47
|
+
# Definition. This property can be used for decommissioning purposes.
|
48
|
+
# This property is updatable.
|
49
|
+
attr_accessor :end_of_life_date
|
50
|
+
|
51
|
+
# @return [GalleryImageIdentifier]
|
52
|
+
attr_accessor :identifier
|
53
|
+
|
54
|
+
# @return [RecommendedMachineConfiguration]
|
55
|
+
attr_accessor :recommended
|
56
|
+
|
57
|
+
# @return [Disallowed]
|
58
|
+
attr_accessor :disallowed
|
59
|
+
|
60
|
+
# @return [ImagePurchasePlan]
|
61
|
+
attr_accessor :purchase_plan
|
62
|
+
|
63
|
+
# @return [Enum] The current state of the gallery Image Definition. The
|
64
|
+
# provisioning state, which only appears in the response. Possible values
|
65
|
+
# include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting',
|
66
|
+
# 'Migrating'
|
67
|
+
attr_accessor :provisioning_state
|
68
|
+
|
69
|
+
|
70
|
+
#
|
71
|
+
# Mapper for GalleryImage class as Ruby Hash.
|
72
|
+
# This will be used for serialization/deserialization.
|
73
|
+
#
|
74
|
+
def self.mapper()
|
75
|
+
{
|
76
|
+
client_side_validation: true,
|
77
|
+
required: false,
|
78
|
+
serialized_name: 'GalleryImage',
|
79
|
+
type: {
|
80
|
+
name: 'Composite',
|
81
|
+
class_name: 'GalleryImage',
|
82
|
+
model_properties: {
|
83
|
+
id: {
|
84
|
+
client_side_validation: true,
|
85
|
+
required: false,
|
86
|
+
read_only: true,
|
87
|
+
serialized_name: 'id',
|
88
|
+
type: {
|
89
|
+
name: 'String'
|
90
|
+
}
|
91
|
+
},
|
92
|
+
name: {
|
93
|
+
client_side_validation: true,
|
94
|
+
required: false,
|
95
|
+
read_only: true,
|
96
|
+
serialized_name: 'name',
|
97
|
+
type: {
|
98
|
+
name: 'String'
|
99
|
+
}
|
100
|
+
},
|
101
|
+
type: {
|
102
|
+
client_side_validation: true,
|
103
|
+
required: false,
|
104
|
+
read_only: true,
|
105
|
+
serialized_name: 'type',
|
106
|
+
type: {
|
107
|
+
name: 'String'
|
108
|
+
}
|
109
|
+
},
|
110
|
+
location: {
|
111
|
+
client_side_validation: true,
|
112
|
+
required: true,
|
113
|
+
serialized_name: 'location',
|
114
|
+
type: {
|
115
|
+
name: 'String'
|
116
|
+
}
|
117
|
+
},
|
118
|
+
tags: {
|
119
|
+
client_side_validation: true,
|
120
|
+
required: false,
|
121
|
+
serialized_name: 'tags',
|
122
|
+
type: {
|
123
|
+
name: 'Dictionary',
|
124
|
+
value: {
|
125
|
+
client_side_validation: true,
|
126
|
+
required: false,
|
127
|
+
serialized_name: 'StringElementType',
|
128
|
+
type: {
|
129
|
+
name: 'String'
|
130
|
+
}
|
131
|
+
}
|
132
|
+
}
|
133
|
+
},
|
134
|
+
description: {
|
135
|
+
client_side_validation: true,
|
136
|
+
required: false,
|
137
|
+
serialized_name: 'properties.description',
|
138
|
+
type: {
|
139
|
+
name: 'String'
|
140
|
+
}
|
141
|
+
},
|
142
|
+
eula: {
|
143
|
+
client_side_validation: true,
|
144
|
+
required: false,
|
145
|
+
serialized_name: 'properties.eula',
|
146
|
+
type: {
|
147
|
+
name: 'String'
|
148
|
+
}
|
149
|
+
},
|
150
|
+
privacy_statement_uri: {
|
151
|
+
client_side_validation: true,
|
152
|
+
required: false,
|
153
|
+
serialized_name: 'properties.privacyStatementUri',
|
154
|
+
type: {
|
155
|
+
name: 'String'
|
156
|
+
}
|
157
|
+
},
|
158
|
+
release_note_uri: {
|
159
|
+
client_side_validation: true,
|
160
|
+
required: false,
|
161
|
+
serialized_name: 'properties.releaseNoteUri',
|
162
|
+
type: {
|
163
|
+
name: 'String'
|
164
|
+
}
|
165
|
+
},
|
166
|
+
os_type: {
|
167
|
+
client_side_validation: true,
|
168
|
+
required: true,
|
169
|
+
serialized_name: 'properties.osType',
|
170
|
+
type: {
|
171
|
+
name: 'Enum',
|
172
|
+
module: 'OperatingSystemTypes'
|
173
|
+
}
|
174
|
+
},
|
175
|
+
os_state: {
|
176
|
+
client_side_validation: true,
|
177
|
+
required: true,
|
178
|
+
serialized_name: 'properties.osState',
|
179
|
+
type: {
|
180
|
+
name: 'Enum',
|
181
|
+
module: 'OperatingSystemStateTypes'
|
182
|
+
}
|
183
|
+
},
|
184
|
+
hyper_vgeneration: {
|
185
|
+
client_side_validation: true,
|
186
|
+
required: false,
|
187
|
+
serialized_name: 'properties.hyperVGeneration',
|
188
|
+
type: {
|
189
|
+
name: 'String'
|
190
|
+
}
|
191
|
+
},
|
192
|
+
end_of_life_date: {
|
193
|
+
client_side_validation: true,
|
194
|
+
required: false,
|
195
|
+
serialized_name: 'properties.endOfLifeDate',
|
196
|
+
type: {
|
197
|
+
name: 'DateTime'
|
198
|
+
}
|
199
|
+
},
|
200
|
+
identifier: {
|
201
|
+
client_side_validation: true,
|
202
|
+
required: true,
|
203
|
+
serialized_name: 'properties.identifier',
|
204
|
+
type: {
|
205
|
+
name: 'Composite',
|
206
|
+
class_name: 'GalleryImageIdentifier'
|
207
|
+
}
|
208
|
+
},
|
209
|
+
recommended: {
|
210
|
+
client_side_validation: true,
|
211
|
+
required: false,
|
212
|
+
serialized_name: 'properties.recommended',
|
213
|
+
type: {
|
214
|
+
name: 'Composite',
|
215
|
+
class_name: 'RecommendedMachineConfiguration'
|
216
|
+
}
|
217
|
+
},
|
218
|
+
disallowed: {
|
219
|
+
client_side_validation: true,
|
220
|
+
required: false,
|
221
|
+
serialized_name: 'properties.disallowed',
|
222
|
+
type: {
|
223
|
+
name: 'Composite',
|
224
|
+
class_name: 'Disallowed'
|
225
|
+
}
|
226
|
+
},
|
227
|
+
purchase_plan: {
|
228
|
+
client_side_validation: true,
|
229
|
+
required: false,
|
230
|
+
serialized_name: 'properties.purchasePlan',
|
231
|
+
type: {
|
232
|
+
name: 'Composite',
|
233
|
+
class_name: 'ImagePurchasePlan'
|
234
|
+
}
|
235
|
+
},
|
236
|
+
provisioning_state: {
|
237
|
+
client_side_validation: true,
|
238
|
+
required: false,
|
239
|
+
read_only: true,
|
240
|
+
serialized_name: 'properties.provisioningState',
|
241
|
+
type: {
|
242
|
+
name: 'String'
|
243
|
+
}
|
244
|
+
}
|
245
|
+
}
|
246
|
+
}
|
247
|
+
}
|
248
|
+
end
|
249
|
+
end
|
250
|
+
end
|
251
|
+
end
|
@@ -0,0 +1,68 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Compute::Mgmt::V2019_12_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# This is the gallery Image Definition identifier.
|
10
|
+
#
|
11
|
+
class GalleryImageIdentifier
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The name of the gallery Image Definition publisher.
|
16
|
+
attr_accessor :publisher
|
17
|
+
|
18
|
+
# @return [String] The name of the gallery Image Definition offer.
|
19
|
+
attr_accessor :offer
|
20
|
+
|
21
|
+
# @return [String] The name of the gallery Image Definition SKU.
|
22
|
+
attr_accessor :sku
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for GalleryImageIdentifier class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'GalleryImageIdentifier',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'GalleryImageIdentifier',
|
37
|
+
model_properties: {
|
38
|
+
publisher: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: true,
|
41
|
+
serialized_name: 'publisher',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
offer: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: true,
|
49
|
+
serialized_name: 'offer',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
sku: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: true,
|
57
|
+
serialized_name: 'sku',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
@@ -0,0 +1,100 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Compute::Mgmt::V2019_12_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The List Gallery Images operation response.
|
10
|
+
#
|
11
|
+
class GalleryImageList
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<GalleryImage>] A list of Shared Image Gallery images.
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
# @return [String] The uri to fetch the next page of Image Definitions in
|
20
|
+
# the Shared Image Gallery. Call ListNext() with this to fetch the next
|
21
|
+
# page of gallery Image Definitions.
|
22
|
+
attr_accessor :next_link
|
23
|
+
|
24
|
+
# return [Proc] with next page method call.
|
25
|
+
attr_accessor :next_method
|
26
|
+
|
27
|
+
#
|
28
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
29
|
+
#
|
30
|
+
# @return [Array<GalleryImage>] operation results.
|
31
|
+
#
|
32
|
+
def get_all_items
|
33
|
+
items = @value
|
34
|
+
page = self
|
35
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
36
|
+
page = page.get_next_page
|
37
|
+
items.concat(page.value)
|
38
|
+
end
|
39
|
+
items
|
40
|
+
end
|
41
|
+
|
42
|
+
#
|
43
|
+
# Gets the next page of results.
|
44
|
+
#
|
45
|
+
# @return [GalleryImageList] with next page content.
|
46
|
+
#
|
47
|
+
def get_next_page
|
48
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
49
|
+
unless response.nil?
|
50
|
+
@next_link = response.body.next_link
|
51
|
+
@value = response.body.value
|
52
|
+
self
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
#
|
57
|
+
# Mapper for GalleryImageList class as Ruby Hash.
|
58
|
+
# This will be used for serialization/deserialization.
|
59
|
+
#
|
60
|
+
def self.mapper()
|
61
|
+
{
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'GalleryImageList',
|
65
|
+
type: {
|
66
|
+
name: 'Composite',
|
67
|
+
class_name: 'GalleryImageList',
|
68
|
+
model_properties: {
|
69
|
+
value: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: true,
|
72
|
+
serialized_name: 'value',
|
73
|
+
type: {
|
74
|
+
name: 'Sequence',
|
75
|
+
element: {
|
76
|
+
client_side_validation: true,
|
77
|
+
required: false,
|
78
|
+
serialized_name: 'GalleryImageElementType',
|
79
|
+
type: {
|
80
|
+
name: 'Composite',
|
81
|
+
class_name: 'GalleryImage'
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
},
|
86
|
+
next_link: {
|
87
|
+
client_side_validation: true,
|
88
|
+
required: false,
|
89
|
+
serialized_name: 'nextLink',
|
90
|
+
type: {
|
91
|
+
name: 'String'
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|