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,69 @@
|
|
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
|
+
# Optional. Allows users to provide customer managed keys for encrypting
|
10
|
+
# the OS and data disks in the gallery artifact.
|
11
|
+
#
|
12
|
+
class EncryptionImages
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [OSDiskImageEncryption]
|
17
|
+
attr_accessor :os_disk_image
|
18
|
+
|
19
|
+
# @return [Array<DataDiskImageEncryption>] A list of encryption
|
20
|
+
# specifications for data disk images.
|
21
|
+
attr_accessor :data_disk_images
|
22
|
+
|
23
|
+
|
24
|
+
#
|
25
|
+
# Mapper for EncryptionImages class as Ruby Hash.
|
26
|
+
# This will be used for serialization/deserialization.
|
27
|
+
#
|
28
|
+
def self.mapper()
|
29
|
+
{
|
30
|
+
client_side_validation: true,
|
31
|
+
required: false,
|
32
|
+
serialized_name: 'EncryptionImages',
|
33
|
+
type: {
|
34
|
+
name: 'Composite',
|
35
|
+
class_name: 'EncryptionImages',
|
36
|
+
model_properties: {
|
37
|
+
os_disk_image: {
|
38
|
+
client_side_validation: true,
|
39
|
+
required: false,
|
40
|
+
serialized_name: 'osDiskImage',
|
41
|
+
type: {
|
42
|
+
name: 'Composite',
|
43
|
+
class_name: 'OSDiskImageEncryption'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
data_disk_images: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'dataDiskImages',
|
50
|
+
type: {
|
51
|
+
name: 'Sequence',
|
52
|
+
element: {
|
53
|
+
client_side_validation: true,
|
54
|
+
required: false,
|
55
|
+
serialized_name: 'DataDiskImageEncryptionElementType',
|
56
|
+
type: {
|
57
|
+
name: 'Composite',
|
58
|
+
class_name: 'DataDiskImageEncryption'
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
@@ -0,0 +1,125 @@
|
|
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 Shared Image Gallery that you want to
|
10
|
+
# create or update.
|
11
|
+
#
|
12
|
+
class Gallery < Resource
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] The description of this Shared Image Gallery resource.
|
17
|
+
# This property is updatable.
|
18
|
+
attr_accessor :description
|
19
|
+
|
20
|
+
# @return [GalleryIdentifier]
|
21
|
+
attr_accessor :identifier
|
22
|
+
|
23
|
+
# @return [Enum] The current state of the gallery. The provisioning
|
24
|
+
# state, which only appears in the response. Possible values include:
|
25
|
+
# 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating'
|
26
|
+
attr_accessor :provisioning_state
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for Gallery class as Ruby Hash.
|
31
|
+
# This will be used for serialization/deserialization.
|
32
|
+
#
|
33
|
+
def self.mapper()
|
34
|
+
{
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'Gallery',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'Gallery',
|
41
|
+
model_properties: {
|
42
|
+
id: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
read_only: true,
|
46
|
+
serialized_name: 'id',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
name: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
read_only: true,
|
55
|
+
serialized_name: 'name',
|
56
|
+
type: {
|
57
|
+
name: 'String'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
type: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
read_only: true,
|
64
|
+
serialized_name: 'type',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
location: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: true,
|
72
|
+
serialized_name: 'location',
|
73
|
+
type: {
|
74
|
+
name: 'String'
|
75
|
+
}
|
76
|
+
},
|
77
|
+
tags: {
|
78
|
+
client_side_validation: true,
|
79
|
+
required: false,
|
80
|
+
serialized_name: 'tags',
|
81
|
+
type: {
|
82
|
+
name: 'Dictionary',
|
83
|
+
value: {
|
84
|
+
client_side_validation: true,
|
85
|
+
required: false,
|
86
|
+
serialized_name: 'StringElementType',
|
87
|
+
type: {
|
88
|
+
name: 'String'
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
},
|
93
|
+
description: {
|
94
|
+
client_side_validation: true,
|
95
|
+
required: false,
|
96
|
+
serialized_name: 'properties.description',
|
97
|
+
type: {
|
98
|
+
name: 'String'
|
99
|
+
}
|
100
|
+
},
|
101
|
+
identifier: {
|
102
|
+
client_side_validation: true,
|
103
|
+
required: false,
|
104
|
+
serialized_name: 'properties.identifier',
|
105
|
+
type: {
|
106
|
+
name: 'Composite',
|
107
|
+
class_name: 'GalleryIdentifier'
|
108
|
+
}
|
109
|
+
},
|
110
|
+
provisioning_state: {
|
111
|
+
client_side_validation: true,
|
112
|
+
required: false,
|
113
|
+
read_only: true,
|
114
|
+
serialized_name: 'properties.provisioningState',
|
115
|
+
type: {
|
116
|
+
name: 'String'
|
117
|
+
}
|
118
|
+
}
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
end
|
123
|
+
end
|
124
|
+
end
|
125
|
+
end
|
@@ -0,0 +1,161 @@
|
|
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 Application Definition that you
|
10
|
+
# want to create or update.
|
11
|
+
#
|
12
|
+
class GalleryApplication < Resource
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] The description of this gallery Application Definition
|
17
|
+
# resource. This property is updatable.
|
18
|
+
attr_accessor :description
|
19
|
+
|
20
|
+
# @return [String] The Eula agreement for the gallery Application
|
21
|
+
# Definition.
|
22
|
+
attr_accessor :eula
|
23
|
+
|
24
|
+
# @return [String] The privacy statement uri.
|
25
|
+
attr_accessor :privacy_statement_uri
|
26
|
+
|
27
|
+
# @return [String] The release note uri.
|
28
|
+
attr_accessor :release_note_uri
|
29
|
+
|
30
|
+
# @return [DateTime] The end of life date of the gallery Application
|
31
|
+
# Definition. This property can be used for decommissioning purposes.
|
32
|
+
# This property is updatable.
|
33
|
+
attr_accessor :end_of_life_date
|
34
|
+
|
35
|
+
# @return [OperatingSystemTypes] This property allows you to specify the
|
36
|
+
# supported type of the OS that application is built for. <br><br>
|
37
|
+
# Possible values are: <br><br> **Windows** <br><br> **Linux**. Possible
|
38
|
+
# values include: 'Windows', 'Linux'
|
39
|
+
attr_accessor :supported_ostype
|
40
|
+
|
41
|
+
|
42
|
+
#
|
43
|
+
# Mapper for GalleryApplication class as Ruby Hash.
|
44
|
+
# This will be used for serialization/deserialization.
|
45
|
+
#
|
46
|
+
def self.mapper()
|
47
|
+
{
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
serialized_name: 'GalleryApplication',
|
51
|
+
type: {
|
52
|
+
name: 'Composite',
|
53
|
+
class_name: 'GalleryApplication',
|
54
|
+
model_properties: {
|
55
|
+
id: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
read_only: true,
|
59
|
+
serialized_name: 'id',
|
60
|
+
type: {
|
61
|
+
name: 'String'
|
62
|
+
}
|
63
|
+
},
|
64
|
+
name: {
|
65
|
+
client_side_validation: true,
|
66
|
+
required: false,
|
67
|
+
read_only: true,
|
68
|
+
serialized_name: 'name',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
},
|
73
|
+
type: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
read_only: true,
|
77
|
+
serialized_name: 'type',
|
78
|
+
type: {
|
79
|
+
name: 'String'
|
80
|
+
}
|
81
|
+
},
|
82
|
+
location: {
|
83
|
+
client_side_validation: true,
|
84
|
+
required: true,
|
85
|
+
serialized_name: 'location',
|
86
|
+
type: {
|
87
|
+
name: 'String'
|
88
|
+
}
|
89
|
+
},
|
90
|
+
tags: {
|
91
|
+
client_side_validation: true,
|
92
|
+
required: false,
|
93
|
+
serialized_name: 'tags',
|
94
|
+
type: {
|
95
|
+
name: 'Dictionary',
|
96
|
+
value: {
|
97
|
+
client_side_validation: true,
|
98
|
+
required: false,
|
99
|
+
serialized_name: 'StringElementType',
|
100
|
+
type: {
|
101
|
+
name: 'String'
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
105
|
+
},
|
106
|
+
description: {
|
107
|
+
client_side_validation: true,
|
108
|
+
required: false,
|
109
|
+
serialized_name: 'properties.description',
|
110
|
+
type: {
|
111
|
+
name: 'String'
|
112
|
+
}
|
113
|
+
},
|
114
|
+
eula: {
|
115
|
+
client_side_validation: true,
|
116
|
+
required: false,
|
117
|
+
serialized_name: 'properties.eula',
|
118
|
+
type: {
|
119
|
+
name: 'String'
|
120
|
+
}
|
121
|
+
},
|
122
|
+
privacy_statement_uri: {
|
123
|
+
client_side_validation: true,
|
124
|
+
required: false,
|
125
|
+
serialized_name: 'properties.privacyStatementUri',
|
126
|
+
type: {
|
127
|
+
name: 'String'
|
128
|
+
}
|
129
|
+
},
|
130
|
+
release_note_uri: {
|
131
|
+
client_side_validation: true,
|
132
|
+
required: false,
|
133
|
+
serialized_name: 'properties.releaseNoteUri',
|
134
|
+
type: {
|
135
|
+
name: 'String'
|
136
|
+
}
|
137
|
+
},
|
138
|
+
end_of_life_date: {
|
139
|
+
client_side_validation: true,
|
140
|
+
required: false,
|
141
|
+
serialized_name: 'properties.endOfLifeDate',
|
142
|
+
type: {
|
143
|
+
name: 'DateTime'
|
144
|
+
}
|
145
|
+
},
|
146
|
+
supported_ostype: {
|
147
|
+
client_side_validation: true,
|
148
|
+
required: true,
|
149
|
+
serialized_name: 'properties.supportedOSType',
|
150
|
+
type: {
|
151
|
+
name: 'Enum',
|
152
|
+
module: 'OperatingSystemTypes'
|
153
|
+
}
|
154
|
+
}
|
155
|
+
}
|
156
|
+
}
|
157
|
+
}
|
158
|
+
end
|
159
|
+
end
|
160
|
+
end
|
161
|
+
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 Applications operation response.
|
10
|
+
#
|
11
|
+
class GalleryApplicationList
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<GalleryApplication>] A list of Gallery Applications.
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
# @return [String] The uri to fetch the next page of Application
|
20
|
+
# Definitions in the Application Gallery. Call ListNext() with this to
|
21
|
+
# fetch the next page of gallery Application 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<GalleryApplication>] 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 [GalleryApplicationList] 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 GalleryApplicationList 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: 'GalleryApplicationList',
|
65
|
+
type: {
|
66
|
+
name: 'Composite',
|
67
|
+
class_name: 'GalleryApplicationList',
|
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: 'GalleryApplicationElementType',
|
79
|
+
type: {
|
80
|
+
name: 'Composite',
|
81
|
+
class_name: 'GalleryApplication'
|
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
|