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,212 @@
|
|
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
|
+
#
|
8
|
+
# A service client - single point of access to the REST API.
|
9
|
+
#
|
10
|
+
class ComputeManagementClient < MsRestAzure::AzureServiceClient
|
11
|
+
include MsRestAzure
|
12
|
+
include MsRestAzure::Serialization
|
13
|
+
|
14
|
+
# @return [String] the base URI of the service.
|
15
|
+
attr_accessor :base_url
|
16
|
+
|
17
|
+
# @return Credentials needed for the client to connect to Azure.
|
18
|
+
attr_reader :credentials
|
19
|
+
|
20
|
+
# @return [String] Subscription credentials which uniquely identify
|
21
|
+
# Microsoft Azure subscription. The subscription ID forms part of the URI
|
22
|
+
# for every service call.
|
23
|
+
attr_accessor :subscription_id
|
24
|
+
|
25
|
+
# @return [String] Client Api Version.
|
26
|
+
attr_reader :api_version
|
27
|
+
|
28
|
+
# @return [String] The preferred language for the response.
|
29
|
+
attr_accessor :accept_language
|
30
|
+
|
31
|
+
# @return [Integer] The retry timeout in seconds for Long Running
|
32
|
+
# Operations. Default value is 30.
|
33
|
+
attr_accessor :long_running_operation_retry_timeout
|
34
|
+
|
35
|
+
# @return [Boolean] Whether a unique x-ms-client-request-id should be
|
36
|
+
# generated. When set to true a unique x-ms-client-request-id value is
|
37
|
+
# generated and included in each request. Default is true.
|
38
|
+
attr_accessor :generate_client_request_id
|
39
|
+
|
40
|
+
# @return [Operations] operations
|
41
|
+
attr_reader :operations
|
42
|
+
|
43
|
+
# @return [AvailabilitySets] availability_sets
|
44
|
+
attr_reader :availability_sets
|
45
|
+
|
46
|
+
# @return [ProximityPlacementGroups] proximity_placement_groups
|
47
|
+
attr_reader :proximity_placement_groups
|
48
|
+
|
49
|
+
# @return [DedicatedHostGroups] dedicated_host_groups
|
50
|
+
attr_reader :dedicated_host_groups
|
51
|
+
|
52
|
+
# @return [DedicatedHosts] dedicated_hosts
|
53
|
+
attr_reader :dedicated_hosts
|
54
|
+
|
55
|
+
# @return [SshPublicKeys] ssh_public_keys
|
56
|
+
attr_reader :ssh_public_keys
|
57
|
+
|
58
|
+
# @return [VirtualMachineExtensionImages] virtual_machine_extension_images
|
59
|
+
attr_reader :virtual_machine_extension_images
|
60
|
+
|
61
|
+
# @return [VirtualMachineExtensions] virtual_machine_extensions
|
62
|
+
attr_reader :virtual_machine_extensions
|
63
|
+
|
64
|
+
# @return [VirtualMachineImages] virtual_machine_images
|
65
|
+
attr_reader :virtual_machine_images
|
66
|
+
|
67
|
+
# @return [UsageOperations] usage_operations
|
68
|
+
attr_reader :usage_operations
|
69
|
+
|
70
|
+
# @return [VirtualMachines] virtual_machines
|
71
|
+
attr_reader :virtual_machines
|
72
|
+
|
73
|
+
# @return [VirtualMachineSizes] virtual_machine_sizes
|
74
|
+
attr_reader :virtual_machine_sizes
|
75
|
+
|
76
|
+
# @return [Images] images
|
77
|
+
attr_reader :images
|
78
|
+
|
79
|
+
# @return [VirtualMachineScaleSets] virtual_machine_scale_sets
|
80
|
+
attr_reader :virtual_machine_scale_sets
|
81
|
+
|
82
|
+
# @return [VirtualMachineScaleSetExtensions]
|
83
|
+
# virtual_machine_scale_set_extensions
|
84
|
+
attr_reader :virtual_machine_scale_set_extensions
|
85
|
+
|
86
|
+
# @return [VirtualMachineScaleSetRollingUpgrades]
|
87
|
+
# virtual_machine_scale_set_rolling_upgrades
|
88
|
+
attr_reader :virtual_machine_scale_set_rolling_upgrades
|
89
|
+
|
90
|
+
# @return [VirtualMachineScaleSetVMExtensions]
|
91
|
+
# virtual_machine_scale_set_vmextensions
|
92
|
+
attr_reader :virtual_machine_scale_set_vmextensions
|
93
|
+
|
94
|
+
# @return [VirtualMachineScaleSetVMs] virtual_machine_scale_set_vms
|
95
|
+
attr_reader :virtual_machine_scale_set_vms
|
96
|
+
|
97
|
+
# @return [LogAnalytics] log_analytics
|
98
|
+
attr_reader :log_analytics
|
99
|
+
|
100
|
+
# @return [VirtualMachineRunCommands] virtual_machine_run_commands
|
101
|
+
attr_reader :virtual_machine_run_commands
|
102
|
+
|
103
|
+
#
|
104
|
+
# Creates initializes a new instance of the ComputeManagementClient class.
|
105
|
+
# @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
|
106
|
+
# @param base_url [String] the base URI of the service.
|
107
|
+
# @param options [Array] filters to be applied to the HTTP requests.
|
108
|
+
#
|
109
|
+
def initialize(credentials = nil, base_url = nil, options = nil)
|
110
|
+
super(credentials, options)
|
111
|
+
@base_url = base_url || 'https://management.azure.com'
|
112
|
+
|
113
|
+
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
|
114
|
+
@credentials = credentials
|
115
|
+
|
116
|
+
@operations = Operations.new(self)
|
117
|
+
@availability_sets = AvailabilitySets.new(self)
|
118
|
+
@proximity_placement_groups = ProximityPlacementGroups.new(self)
|
119
|
+
@dedicated_host_groups = DedicatedHostGroups.new(self)
|
120
|
+
@dedicated_hosts = DedicatedHosts.new(self)
|
121
|
+
@ssh_public_keys = SshPublicKeys.new(self)
|
122
|
+
@virtual_machine_extension_images = VirtualMachineExtensionImages.new(self)
|
123
|
+
@virtual_machine_extensions = VirtualMachineExtensions.new(self)
|
124
|
+
@virtual_machine_images = VirtualMachineImages.new(self)
|
125
|
+
@usage_operations = UsageOperations.new(self)
|
126
|
+
@virtual_machines = VirtualMachines.new(self)
|
127
|
+
@virtual_machine_sizes = VirtualMachineSizes.new(self)
|
128
|
+
@images = Images.new(self)
|
129
|
+
@virtual_machine_scale_sets = VirtualMachineScaleSets.new(self)
|
130
|
+
@virtual_machine_scale_set_extensions = VirtualMachineScaleSetExtensions.new(self)
|
131
|
+
@virtual_machine_scale_set_rolling_upgrades = VirtualMachineScaleSetRollingUpgrades.new(self)
|
132
|
+
@virtual_machine_scale_set_vmextensions = VirtualMachineScaleSetVMExtensions.new(self)
|
133
|
+
@virtual_machine_scale_set_vms = VirtualMachineScaleSetVMs.new(self)
|
134
|
+
@log_analytics = LogAnalytics.new(self)
|
135
|
+
@virtual_machine_run_commands = VirtualMachineRunCommands.new(self)
|
136
|
+
@api_version = '2020-06-01'
|
137
|
+
@accept_language = 'en-US'
|
138
|
+
@long_running_operation_retry_timeout = 30
|
139
|
+
@generate_client_request_id = true
|
140
|
+
add_telemetry
|
141
|
+
end
|
142
|
+
|
143
|
+
#
|
144
|
+
# Makes a request and returns the body of the response.
|
145
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
146
|
+
# @param path [String] the path, relative to {base_url}.
|
147
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
148
|
+
# @return [Hash{String=>String}] containing the body of the response.
|
149
|
+
# Example:
|
150
|
+
#
|
151
|
+
# request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
|
152
|
+
# path = "/path"
|
153
|
+
# options = {
|
154
|
+
# body: request_content,
|
155
|
+
# query_params: {'api-version' => '2016-02-01'}
|
156
|
+
# }
|
157
|
+
# result = @client.make_request(:put, path, options)
|
158
|
+
#
|
159
|
+
def make_request(method, path, options = {})
|
160
|
+
result = make_request_with_http_info(method, path, options)
|
161
|
+
result.body unless result.nil?
|
162
|
+
end
|
163
|
+
|
164
|
+
#
|
165
|
+
# Makes a request and returns the operation response.
|
166
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
167
|
+
# @param path [String] the path, relative to {base_url}.
|
168
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
169
|
+
# @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
|
170
|
+
#
|
171
|
+
def make_request_with_http_info(method, path, options = {})
|
172
|
+
result = make_request_async(method, path, options).value!
|
173
|
+
result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
|
174
|
+
result
|
175
|
+
end
|
176
|
+
|
177
|
+
#
|
178
|
+
# Makes a request asynchronously.
|
179
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
180
|
+
# @param path [String] the path, relative to {base_url}.
|
181
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
182
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
183
|
+
#
|
184
|
+
def make_request_async(method, path, options = {})
|
185
|
+
fail ArgumentError, 'method is nil' if method.nil?
|
186
|
+
fail ArgumentError, 'path is nil' if path.nil?
|
187
|
+
|
188
|
+
request_url = options[:base_url] || @base_url
|
189
|
+
if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
|
190
|
+
@request_headers['Content-Type'] = options[:headers]['Content-Type']
|
191
|
+
end
|
192
|
+
|
193
|
+
request_headers = @request_headers
|
194
|
+
request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
|
195
|
+
options.merge!({headers: request_headers.merge(options[:headers] || {})})
|
196
|
+
options.merge!({credentials: @credentials}) unless @credentials.nil?
|
197
|
+
|
198
|
+
super(request_url, method, path, options)
|
199
|
+
end
|
200
|
+
|
201
|
+
|
202
|
+
private
|
203
|
+
#
|
204
|
+
# Adds telemetry information.
|
205
|
+
#
|
206
|
+
def add_telemetry
|
207
|
+
sdk_information = 'azure_mgmt_compute'
|
208
|
+
sdk_information = "#{sdk_information}/0.20.0"
|
209
|
+
add_user_agent_information(sdk_information)
|
210
|
+
end
|
211
|
+
end
|
212
|
+
end
|
@@ -0,0 +1,861 @@
|
|
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
|
+
#
|
8
|
+
# Compute Client
|
9
|
+
#
|
10
|
+
class DedicatedHostGroups
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the DedicatedHostGroups class.
|
15
|
+
# @param client service class for accessing basic functionality.
|
16
|
+
#
|
17
|
+
def initialize(client)
|
18
|
+
@client = client
|
19
|
+
end
|
20
|
+
|
21
|
+
# @return [ComputeManagementClient] reference to the ComputeManagementClient
|
22
|
+
attr_reader :client
|
23
|
+
|
24
|
+
#
|
25
|
+
# Create or update a dedicated host group. For details of Dedicated Host and
|
26
|
+
# Dedicated Host Groups please see [Dedicated Host Documentation]
|
27
|
+
# (https://go.microsoft.com/fwlink/?linkid=2082596)
|
28
|
+
#
|
29
|
+
# @param resource_group_name [String] The name of the resource group.
|
30
|
+
# @param host_group_name [String] The name of the dedicated host group.
|
31
|
+
# @param parameters [DedicatedHostGroup] Parameters supplied to the Create
|
32
|
+
# Dedicated Host Group.
|
33
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
34
|
+
# will be added to the HTTP request.
|
35
|
+
#
|
36
|
+
# @return [DedicatedHostGroup] operation results.
|
37
|
+
#
|
38
|
+
def create_or_update(resource_group_name, host_group_name, parameters, custom_headers:nil)
|
39
|
+
response = create_or_update_async(resource_group_name, host_group_name, parameters, custom_headers:custom_headers).value!
|
40
|
+
response.body unless response.nil?
|
41
|
+
end
|
42
|
+
|
43
|
+
#
|
44
|
+
# Create or update a dedicated host group. For details of Dedicated Host and
|
45
|
+
# Dedicated Host Groups please see [Dedicated Host Documentation]
|
46
|
+
# (https://go.microsoft.com/fwlink/?linkid=2082596)
|
47
|
+
#
|
48
|
+
# @param resource_group_name [String] The name of the resource group.
|
49
|
+
# @param host_group_name [String] The name of the dedicated host group.
|
50
|
+
# @param parameters [DedicatedHostGroup] Parameters supplied to the Create
|
51
|
+
# Dedicated Host Group.
|
52
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
53
|
+
# will be added to the HTTP request.
|
54
|
+
#
|
55
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
56
|
+
#
|
57
|
+
def create_or_update_with_http_info(resource_group_name, host_group_name, parameters, custom_headers:nil)
|
58
|
+
create_or_update_async(resource_group_name, host_group_name, parameters, custom_headers:custom_headers).value!
|
59
|
+
end
|
60
|
+
|
61
|
+
#
|
62
|
+
# Create or update a dedicated host group. For details of Dedicated Host and
|
63
|
+
# Dedicated Host Groups please see [Dedicated Host Documentation]
|
64
|
+
# (https://go.microsoft.com/fwlink/?linkid=2082596)
|
65
|
+
#
|
66
|
+
# @param resource_group_name [String] The name of the resource group.
|
67
|
+
# @param host_group_name [String] The name of the dedicated host group.
|
68
|
+
# @param parameters [DedicatedHostGroup] Parameters supplied to the Create
|
69
|
+
# Dedicated Host Group.
|
70
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
71
|
+
# to the HTTP request.
|
72
|
+
#
|
73
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
74
|
+
#
|
75
|
+
def create_or_update_async(resource_group_name, host_group_name, parameters, custom_headers:nil)
|
76
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
77
|
+
fail ArgumentError, 'host_group_name is nil' if host_group_name.nil?
|
78
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
79
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
80
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
81
|
+
|
82
|
+
|
83
|
+
request_headers = {}
|
84
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
85
|
+
|
86
|
+
# Set Headers
|
87
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
88
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
89
|
+
|
90
|
+
# Serialize Request
|
91
|
+
request_mapper = Azure::Compute::Mgmt::V2020_06_01::Models::DedicatedHostGroup.mapper()
|
92
|
+
request_content = @client.serialize(request_mapper, parameters)
|
93
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
94
|
+
|
95
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}'
|
96
|
+
|
97
|
+
request_url = @base_url || @client.base_url
|
98
|
+
|
99
|
+
options = {
|
100
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
101
|
+
path_params: {'resourceGroupName' => resource_group_name,'hostGroupName' => host_group_name,'subscriptionId' => @client.subscription_id},
|
102
|
+
query_params: {'api-version' => @client.api_version},
|
103
|
+
body: request_content,
|
104
|
+
headers: request_headers.merge(custom_headers || {}),
|
105
|
+
base_url: request_url
|
106
|
+
}
|
107
|
+
promise = @client.make_request_async(:put, path_template, options)
|
108
|
+
|
109
|
+
promise = promise.then do |result|
|
110
|
+
http_response = result.response
|
111
|
+
status_code = http_response.status
|
112
|
+
response_content = http_response.body
|
113
|
+
unless status_code == 200 || status_code == 201
|
114
|
+
error_model = JSON.load(response_content)
|
115
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
116
|
+
end
|
117
|
+
|
118
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
119
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
120
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
121
|
+
# Deserialize Response
|
122
|
+
if status_code == 200
|
123
|
+
begin
|
124
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
125
|
+
result_mapper = Azure::Compute::Mgmt::V2020_06_01::Models::DedicatedHostGroup.mapper()
|
126
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
127
|
+
rescue Exception => e
|
128
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
129
|
+
end
|
130
|
+
end
|
131
|
+
# Deserialize Response
|
132
|
+
if status_code == 201
|
133
|
+
begin
|
134
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
135
|
+
result_mapper = Azure::Compute::Mgmt::V2020_06_01::Models::DedicatedHostGroup.mapper()
|
136
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
137
|
+
rescue Exception => e
|
138
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
142
|
+
result
|
143
|
+
end
|
144
|
+
|
145
|
+
promise.execute
|
146
|
+
end
|
147
|
+
|
148
|
+
#
|
149
|
+
# Update an dedicated host group.
|
150
|
+
#
|
151
|
+
# @param resource_group_name [String] The name of the resource group.
|
152
|
+
# @param host_group_name [String] The name of the dedicated host group.
|
153
|
+
# @param parameters [DedicatedHostGroupUpdate] Parameters supplied to the
|
154
|
+
# Update Dedicated Host Group operation.
|
155
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
156
|
+
# will be added to the HTTP request.
|
157
|
+
#
|
158
|
+
# @return [DedicatedHostGroup] operation results.
|
159
|
+
#
|
160
|
+
def update(resource_group_name, host_group_name, parameters, custom_headers:nil)
|
161
|
+
response = update_async(resource_group_name, host_group_name, parameters, custom_headers:custom_headers).value!
|
162
|
+
response.body unless response.nil?
|
163
|
+
end
|
164
|
+
|
165
|
+
#
|
166
|
+
# Update an dedicated host group.
|
167
|
+
#
|
168
|
+
# @param resource_group_name [String] The name of the resource group.
|
169
|
+
# @param host_group_name [String] The name of the dedicated host group.
|
170
|
+
# @param parameters [DedicatedHostGroupUpdate] Parameters supplied to the
|
171
|
+
# Update Dedicated Host Group operation.
|
172
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
173
|
+
# will be added to the HTTP request.
|
174
|
+
#
|
175
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
176
|
+
#
|
177
|
+
def update_with_http_info(resource_group_name, host_group_name, parameters, custom_headers:nil)
|
178
|
+
update_async(resource_group_name, host_group_name, parameters, custom_headers:custom_headers).value!
|
179
|
+
end
|
180
|
+
|
181
|
+
#
|
182
|
+
# Update an dedicated host group.
|
183
|
+
#
|
184
|
+
# @param resource_group_name [String] The name of the resource group.
|
185
|
+
# @param host_group_name [String] The name of the dedicated host group.
|
186
|
+
# @param parameters [DedicatedHostGroupUpdate] Parameters supplied to the
|
187
|
+
# Update Dedicated Host Group operation.
|
188
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
189
|
+
# to the HTTP request.
|
190
|
+
#
|
191
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
192
|
+
#
|
193
|
+
def update_async(resource_group_name, host_group_name, parameters, custom_headers:nil)
|
194
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
195
|
+
fail ArgumentError, 'host_group_name is nil' if host_group_name.nil?
|
196
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
197
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
198
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
199
|
+
|
200
|
+
|
201
|
+
request_headers = {}
|
202
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
203
|
+
|
204
|
+
# Set Headers
|
205
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
206
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
207
|
+
|
208
|
+
# Serialize Request
|
209
|
+
request_mapper = Azure::Compute::Mgmt::V2020_06_01::Models::DedicatedHostGroupUpdate.mapper()
|
210
|
+
request_content = @client.serialize(request_mapper, parameters)
|
211
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
212
|
+
|
213
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}'
|
214
|
+
|
215
|
+
request_url = @base_url || @client.base_url
|
216
|
+
|
217
|
+
options = {
|
218
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
219
|
+
path_params: {'resourceGroupName' => resource_group_name,'hostGroupName' => host_group_name,'subscriptionId' => @client.subscription_id},
|
220
|
+
query_params: {'api-version' => @client.api_version},
|
221
|
+
body: request_content,
|
222
|
+
headers: request_headers.merge(custom_headers || {}),
|
223
|
+
base_url: request_url
|
224
|
+
}
|
225
|
+
promise = @client.make_request_async(:patch, path_template, options)
|
226
|
+
|
227
|
+
promise = promise.then do |result|
|
228
|
+
http_response = result.response
|
229
|
+
status_code = http_response.status
|
230
|
+
response_content = http_response.body
|
231
|
+
unless status_code == 200
|
232
|
+
error_model = JSON.load(response_content)
|
233
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
234
|
+
end
|
235
|
+
|
236
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
237
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
238
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
239
|
+
# Deserialize Response
|
240
|
+
if status_code == 200
|
241
|
+
begin
|
242
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
243
|
+
result_mapper = Azure::Compute::Mgmt::V2020_06_01::Models::DedicatedHostGroup.mapper()
|
244
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
245
|
+
rescue Exception => e
|
246
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
247
|
+
end
|
248
|
+
end
|
249
|
+
|
250
|
+
result
|
251
|
+
end
|
252
|
+
|
253
|
+
promise.execute
|
254
|
+
end
|
255
|
+
|
256
|
+
#
|
257
|
+
# Delete a dedicated host group.
|
258
|
+
#
|
259
|
+
# @param resource_group_name [String] The name of the resource group.
|
260
|
+
# @param host_group_name [String] The name of the dedicated host group.
|
261
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
262
|
+
# will be added to the HTTP request.
|
263
|
+
#
|
264
|
+
#
|
265
|
+
def delete(resource_group_name, host_group_name, custom_headers:nil)
|
266
|
+
response = delete_async(resource_group_name, host_group_name, custom_headers:custom_headers).value!
|
267
|
+
nil
|
268
|
+
end
|
269
|
+
|
270
|
+
#
|
271
|
+
# Delete a dedicated host group.
|
272
|
+
#
|
273
|
+
# @param resource_group_name [String] The name of the resource group.
|
274
|
+
# @param host_group_name [String] The name of the dedicated host group.
|
275
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
276
|
+
# will be added to the HTTP request.
|
277
|
+
#
|
278
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
279
|
+
#
|
280
|
+
def delete_with_http_info(resource_group_name, host_group_name, custom_headers:nil)
|
281
|
+
delete_async(resource_group_name, host_group_name, custom_headers:custom_headers).value!
|
282
|
+
end
|
283
|
+
|
284
|
+
#
|
285
|
+
# Delete a dedicated host group.
|
286
|
+
#
|
287
|
+
# @param resource_group_name [String] The name of the resource group.
|
288
|
+
# @param host_group_name [String] The name of the dedicated host group.
|
289
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
290
|
+
# to the HTTP request.
|
291
|
+
#
|
292
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
293
|
+
#
|
294
|
+
def delete_async(resource_group_name, host_group_name, custom_headers:nil)
|
295
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
296
|
+
fail ArgumentError, 'host_group_name is nil' if host_group_name.nil?
|
297
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
298
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
299
|
+
|
300
|
+
|
301
|
+
request_headers = {}
|
302
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
303
|
+
|
304
|
+
# Set Headers
|
305
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
306
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
307
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}'
|
308
|
+
|
309
|
+
request_url = @base_url || @client.base_url
|
310
|
+
|
311
|
+
options = {
|
312
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
313
|
+
path_params: {'resourceGroupName' => resource_group_name,'hostGroupName' => host_group_name,'subscriptionId' => @client.subscription_id},
|
314
|
+
query_params: {'api-version' => @client.api_version},
|
315
|
+
headers: request_headers.merge(custom_headers || {}),
|
316
|
+
base_url: request_url
|
317
|
+
}
|
318
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
319
|
+
|
320
|
+
promise = promise.then do |result|
|
321
|
+
http_response = result.response
|
322
|
+
status_code = http_response.status
|
323
|
+
response_content = http_response.body
|
324
|
+
unless status_code == 200 || status_code == 204
|
325
|
+
error_model = JSON.load(response_content)
|
326
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
327
|
+
end
|
328
|
+
|
329
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
330
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
331
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
332
|
+
|
333
|
+
result
|
334
|
+
end
|
335
|
+
|
336
|
+
promise.execute
|
337
|
+
end
|
338
|
+
|
339
|
+
#
|
340
|
+
# Retrieves information about a dedicated host group.
|
341
|
+
#
|
342
|
+
# @param resource_group_name [String] The name of the resource group.
|
343
|
+
# @param host_group_name [String] The name of the dedicated host group.
|
344
|
+
# @param expand [InstanceViewTypes] The expand expression to apply on the
|
345
|
+
# operation. The response shows the list of instance view of the dedicated
|
346
|
+
# hosts under the dedicated host group. Possible values include: 'instanceView'
|
347
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
348
|
+
# will be added to the HTTP request.
|
349
|
+
#
|
350
|
+
# @return [DedicatedHostGroup] operation results.
|
351
|
+
#
|
352
|
+
def get(resource_group_name, host_group_name, expand:nil, custom_headers:nil)
|
353
|
+
response = get_async(resource_group_name, host_group_name, expand:expand, custom_headers:custom_headers).value!
|
354
|
+
response.body unless response.nil?
|
355
|
+
end
|
356
|
+
|
357
|
+
#
|
358
|
+
# Retrieves information about a dedicated host group.
|
359
|
+
#
|
360
|
+
# @param resource_group_name [String] The name of the resource group.
|
361
|
+
# @param host_group_name [String] The name of the dedicated host group.
|
362
|
+
# @param expand [InstanceViewTypes] The expand expression to apply on the
|
363
|
+
# operation. The response shows the list of instance view of the dedicated
|
364
|
+
# hosts under the dedicated host group. Possible values include: 'instanceView'
|
365
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
366
|
+
# will be added to the HTTP request.
|
367
|
+
#
|
368
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
369
|
+
#
|
370
|
+
def get_with_http_info(resource_group_name, host_group_name, expand:nil, custom_headers:nil)
|
371
|
+
get_async(resource_group_name, host_group_name, expand:expand, custom_headers:custom_headers).value!
|
372
|
+
end
|
373
|
+
|
374
|
+
#
|
375
|
+
# Retrieves information about a dedicated host group.
|
376
|
+
#
|
377
|
+
# @param resource_group_name [String] The name of the resource group.
|
378
|
+
# @param host_group_name [String] The name of the dedicated host group.
|
379
|
+
# @param expand [InstanceViewTypes] The expand expression to apply on the
|
380
|
+
# operation. The response shows the list of instance view of the dedicated
|
381
|
+
# hosts under the dedicated host group. Possible values include: 'instanceView'
|
382
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
383
|
+
# to the HTTP request.
|
384
|
+
#
|
385
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
386
|
+
#
|
387
|
+
def get_async(resource_group_name, host_group_name, expand:nil, custom_headers:nil)
|
388
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
389
|
+
fail ArgumentError, 'host_group_name is nil' if host_group_name.nil?
|
390
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
391
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
392
|
+
|
393
|
+
|
394
|
+
request_headers = {}
|
395
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
396
|
+
|
397
|
+
# Set Headers
|
398
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
399
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
400
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}'
|
401
|
+
|
402
|
+
request_url = @base_url || @client.base_url
|
403
|
+
|
404
|
+
options = {
|
405
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
406
|
+
path_params: {'resourceGroupName' => resource_group_name,'hostGroupName' => host_group_name,'subscriptionId' => @client.subscription_id},
|
407
|
+
query_params: {'$expand' => expand,'api-version' => @client.api_version},
|
408
|
+
headers: request_headers.merge(custom_headers || {}),
|
409
|
+
base_url: request_url
|
410
|
+
}
|
411
|
+
promise = @client.make_request_async(:get, path_template, options)
|
412
|
+
|
413
|
+
promise = promise.then do |result|
|
414
|
+
http_response = result.response
|
415
|
+
status_code = http_response.status
|
416
|
+
response_content = http_response.body
|
417
|
+
unless status_code == 200
|
418
|
+
error_model = JSON.load(response_content)
|
419
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
420
|
+
end
|
421
|
+
|
422
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
423
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
424
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
425
|
+
# Deserialize Response
|
426
|
+
if status_code == 200
|
427
|
+
begin
|
428
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
429
|
+
result_mapper = Azure::Compute::Mgmt::V2020_06_01::Models::DedicatedHostGroup.mapper()
|
430
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
431
|
+
rescue Exception => e
|
432
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
433
|
+
end
|
434
|
+
end
|
435
|
+
|
436
|
+
result
|
437
|
+
end
|
438
|
+
|
439
|
+
promise.execute
|
440
|
+
end
|
441
|
+
|
442
|
+
#
|
443
|
+
# Lists all of the dedicated host groups in the specified resource group. Use
|
444
|
+
# the nextLink property in the response to get the next page of dedicated host
|
445
|
+
# groups.
|
446
|
+
#
|
447
|
+
# @param resource_group_name [String] The name of the resource group.
|
448
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
449
|
+
# will be added to the HTTP request.
|
450
|
+
#
|
451
|
+
# @return [Array<DedicatedHostGroup>] operation results.
|
452
|
+
#
|
453
|
+
def list_by_resource_group(resource_group_name, custom_headers:nil)
|
454
|
+
first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers)
|
455
|
+
first_page.get_all_items
|
456
|
+
end
|
457
|
+
|
458
|
+
#
|
459
|
+
# Lists all of the dedicated host groups in the specified resource group. Use
|
460
|
+
# the nextLink property in the response to get the next page of dedicated host
|
461
|
+
# groups.
|
462
|
+
#
|
463
|
+
# @param resource_group_name [String] The name of the resource group.
|
464
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
465
|
+
# will be added to the HTTP request.
|
466
|
+
#
|
467
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
468
|
+
#
|
469
|
+
def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil)
|
470
|
+
list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value!
|
471
|
+
end
|
472
|
+
|
473
|
+
#
|
474
|
+
# Lists all of the dedicated host groups in the specified resource group. Use
|
475
|
+
# the nextLink property in the response to get the next page of dedicated host
|
476
|
+
# groups.
|
477
|
+
#
|
478
|
+
# @param resource_group_name [String] The name of the resource group.
|
479
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
480
|
+
# to the HTTP request.
|
481
|
+
#
|
482
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
483
|
+
#
|
484
|
+
def list_by_resource_group_async(resource_group_name, custom_headers:nil)
|
485
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
486
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
487
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
488
|
+
|
489
|
+
|
490
|
+
request_headers = {}
|
491
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
492
|
+
|
493
|
+
# Set Headers
|
494
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
495
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
496
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups'
|
497
|
+
|
498
|
+
request_url = @base_url || @client.base_url
|
499
|
+
|
500
|
+
options = {
|
501
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
502
|
+
path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
|
503
|
+
query_params: {'api-version' => @client.api_version},
|
504
|
+
headers: request_headers.merge(custom_headers || {}),
|
505
|
+
base_url: request_url
|
506
|
+
}
|
507
|
+
promise = @client.make_request_async(:get, path_template, options)
|
508
|
+
|
509
|
+
promise = promise.then do |result|
|
510
|
+
http_response = result.response
|
511
|
+
status_code = http_response.status
|
512
|
+
response_content = http_response.body
|
513
|
+
unless status_code == 200
|
514
|
+
error_model = JSON.load(response_content)
|
515
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
516
|
+
end
|
517
|
+
|
518
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
519
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
520
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
521
|
+
# Deserialize Response
|
522
|
+
if status_code == 200
|
523
|
+
begin
|
524
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
525
|
+
result_mapper = Azure::Compute::Mgmt::V2020_06_01::Models::DedicatedHostGroupListResult.mapper()
|
526
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
527
|
+
rescue Exception => e
|
528
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
529
|
+
end
|
530
|
+
end
|
531
|
+
|
532
|
+
result
|
533
|
+
end
|
534
|
+
|
535
|
+
promise.execute
|
536
|
+
end
|
537
|
+
|
538
|
+
#
|
539
|
+
# Lists all of the dedicated host groups in the subscription. Use the nextLink
|
540
|
+
# property in the response to get the next page of dedicated host groups.
|
541
|
+
#
|
542
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
543
|
+
# will be added to the HTTP request.
|
544
|
+
#
|
545
|
+
# @return [Array<DedicatedHostGroup>] operation results.
|
546
|
+
#
|
547
|
+
def list_by_subscription(custom_headers:nil)
|
548
|
+
first_page = list_by_subscription_as_lazy(custom_headers:custom_headers)
|
549
|
+
first_page.get_all_items
|
550
|
+
end
|
551
|
+
|
552
|
+
#
|
553
|
+
# Lists all of the dedicated host groups in the subscription. Use the nextLink
|
554
|
+
# property in the response to get the next page of dedicated host groups.
|
555
|
+
#
|
556
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
557
|
+
# will be added to the HTTP request.
|
558
|
+
#
|
559
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
560
|
+
#
|
561
|
+
def list_by_subscription_with_http_info(custom_headers:nil)
|
562
|
+
list_by_subscription_async(custom_headers:custom_headers).value!
|
563
|
+
end
|
564
|
+
|
565
|
+
#
|
566
|
+
# Lists all of the dedicated host groups in the subscription. Use the nextLink
|
567
|
+
# property in the response to get the next page of dedicated host groups.
|
568
|
+
#
|
569
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
570
|
+
# to the HTTP request.
|
571
|
+
#
|
572
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
573
|
+
#
|
574
|
+
def list_by_subscription_async(custom_headers:nil)
|
575
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
576
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
577
|
+
|
578
|
+
|
579
|
+
request_headers = {}
|
580
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
581
|
+
|
582
|
+
# Set Headers
|
583
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
584
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
585
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Compute/hostGroups'
|
586
|
+
|
587
|
+
request_url = @base_url || @client.base_url
|
588
|
+
|
589
|
+
options = {
|
590
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
591
|
+
path_params: {'subscriptionId' => @client.subscription_id},
|
592
|
+
query_params: {'api-version' => @client.api_version},
|
593
|
+
headers: request_headers.merge(custom_headers || {}),
|
594
|
+
base_url: request_url
|
595
|
+
}
|
596
|
+
promise = @client.make_request_async(:get, path_template, options)
|
597
|
+
|
598
|
+
promise = promise.then do |result|
|
599
|
+
http_response = result.response
|
600
|
+
status_code = http_response.status
|
601
|
+
response_content = http_response.body
|
602
|
+
unless status_code == 200
|
603
|
+
error_model = JSON.load(response_content)
|
604
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
605
|
+
end
|
606
|
+
|
607
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
608
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
609
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
610
|
+
# Deserialize Response
|
611
|
+
if status_code == 200
|
612
|
+
begin
|
613
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
614
|
+
result_mapper = Azure::Compute::Mgmt::V2020_06_01::Models::DedicatedHostGroupListResult.mapper()
|
615
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
616
|
+
rescue Exception => e
|
617
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
618
|
+
end
|
619
|
+
end
|
620
|
+
|
621
|
+
result
|
622
|
+
end
|
623
|
+
|
624
|
+
promise.execute
|
625
|
+
end
|
626
|
+
|
627
|
+
#
|
628
|
+
# Lists all of the dedicated host groups in the specified resource group. Use
|
629
|
+
# the nextLink property in the response to get the next page of dedicated host
|
630
|
+
# groups.
|
631
|
+
#
|
632
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
633
|
+
# to List operation.
|
634
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
635
|
+
# will be added to the HTTP request.
|
636
|
+
#
|
637
|
+
# @return [DedicatedHostGroupListResult] operation results.
|
638
|
+
#
|
639
|
+
def list_by_resource_group_next(next_page_link, custom_headers:nil)
|
640
|
+
response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
|
641
|
+
response.body unless response.nil?
|
642
|
+
end
|
643
|
+
|
644
|
+
#
|
645
|
+
# Lists all of the dedicated host groups in the specified resource group. Use
|
646
|
+
# the nextLink property in the response to get the next page of dedicated host
|
647
|
+
# groups.
|
648
|
+
#
|
649
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
650
|
+
# to List operation.
|
651
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
652
|
+
# will be added to the HTTP request.
|
653
|
+
#
|
654
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
655
|
+
#
|
656
|
+
def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil)
|
657
|
+
list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
|
658
|
+
end
|
659
|
+
|
660
|
+
#
|
661
|
+
# Lists all of the dedicated host groups in the specified resource group. Use
|
662
|
+
# the nextLink property in the response to get the next page of dedicated host
|
663
|
+
# groups.
|
664
|
+
#
|
665
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
666
|
+
# to List operation.
|
667
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
668
|
+
# to the HTTP request.
|
669
|
+
#
|
670
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
671
|
+
#
|
672
|
+
def list_by_resource_group_next_async(next_page_link, custom_headers:nil)
|
673
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
674
|
+
|
675
|
+
|
676
|
+
request_headers = {}
|
677
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
678
|
+
|
679
|
+
# Set Headers
|
680
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
681
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
682
|
+
path_template = '{nextLink}'
|
683
|
+
|
684
|
+
request_url = @base_url || @client.base_url
|
685
|
+
|
686
|
+
options = {
|
687
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
688
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
689
|
+
headers: request_headers.merge(custom_headers || {}),
|
690
|
+
base_url: request_url
|
691
|
+
}
|
692
|
+
promise = @client.make_request_async(:get, path_template, options)
|
693
|
+
|
694
|
+
promise = promise.then do |result|
|
695
|
+
http_response = result.response
|
696
|
+
status_code = http_response.status
|
697
|
+
response_content = http_response.body
|
698
|
+
unless status_code == 200
|
699
|
+
error_model = JSON.load(response_content)
|
700
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
701
|
+
end
|
702
|
+
|
703
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
704
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
705
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
706
|
+
# Deserialize Response
|
707
|
+
if status_code == 200
|
708
|
+
begin
|
709
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
710
|
+
result_mapper = Azure::Compute::Mgmt::V2020_06_01::Models::DedicatedHostGroupListResult.mapper()
|
711
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
712
|
+
rescue Exception => e
|
713
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
714
|
+
end
|
715
|
+
end
|
716
|
+
|
717
|
+
result
|
718
|
+
end
|
719
|
+
|
720
|
+
promise.execute
|
721
|
+
end
|
722
|
+
|
723
|
+
#
|
724
|
+
# Lists all of the dedicated host groups in the subscription. Use the nextLink
|
725
|
+
# property in the response to get the next page of dedicated host groups.
|
726
|
+
#
|
727
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
728
|
+
# to List operation.
|
729
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
730
|
+
# will be added to the HTTP request.
|
731
|
+
#
|
732
|
+
# @return [DedicatedHostGroupListResult] operation results.
|
733
|
+
#
|
734
|
+
def list_by_subscription_next(next_page_link, custom_headers:nil)
|
735
|
+
response = list_by_subscription_next_async(next_page_link, custom_headers:custom_headers).value!
|
736
|
+
response.body unless response.nil?
|
737
|
+
end
|
738
|
+
|
739
|
+
#
|
740
|
+
# Lists all of the dedicated host groups in the subscription. Use the nextLink
|
741
|
+
# property in the response to get the next page of dedicated host groups.
|
742
|
+
#
|
743
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
744
|
+
# to List operation.
|
745
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
746
|
+
# will be added to the HTTP request.
|
747
|
+
#
|
748
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
749
|
+
#
|
750
|
+
def list_by_subscription_next_with_http_info(next_page_link, custom_headers:nil)
|
751
|
+
list_by_subscription_next_async(next_page_link, custom_headers:custom_headers).value!
|
752
|
+
end
|
753
|
+
|
754
|
+
#
|
755
|
+
# Lists all of the dedicated host groups in the subscription. Use the nextLink
|
756
|
+
# property in the response to get the next page of dedicated host groups.
|
757
|
+
#
|
758
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
759
|
+
# to List operation.
|
760
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
761
|
+
# to the HTTP request.
|
762
|
+
#
|
763
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
764
|
+
#
|
765
|
+
def list_by_subscription_next_async(next_page_link, custom_headers:nil)
|
766
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
767
|
+
|
768
|
+
|
769
|
+
request_headers = {}
|
770
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
771
|
+
|
772
|
+
# Set Headers
|
773
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
774
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
775
|
+
path_template = '{nextLink}'
|
776
|
+
|
777
|
+
request_url = @base_url || @client.base_url
|
778
|
+
|
779
|
+
options = {
|
780
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
781
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
782
|
+
headers: request_headers.merge(custom_headers || {}),
|
783
|
+
base_url: request_url
|
784
|
+
}
|
785
|
+
promise = @client.make_request_async(:get, path_template, options)
|
786
|
+
|
787
|
+
promise = promise.then do |result|
|
788
|
+
http_response = result.response
|
789
|
+
status_code = http_response.status
|
790
|
+
response_content = http_response.body
|
791
|
+
unless status_code == 200
|
792
|
+
error_model = JSON.load(response_content)
|
793
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
794
|
+
end
|
795
|
+
|
796
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
797
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
798
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
799
|
+
# Deserialize Response
|
800
|
+
if status_code == 200
|
801
|
+
begin
|
802
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
803
|
+
result_mapper = Azure::Compute::Mgmt::V2020_06_01::Models::DedicatedHostGroupListResult.mapper()
|
804
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
805
|
+
rescue Exception => e
|
806
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
807
|
+
end
|
808
|
+
end
|
809
|
+
|
810
|
+
result
|
811
|
+
end
|
812
|
+
|
813
|
+
promise.execute
|
814
|
+
end
|
815
|
+
|
816
|
+
#
|
817
|
+
# Lists all of the dedicated host groups in the specified resource group. Use
|
818
|
+
# the nextLink property in the response to get the next page of dedicated host
|
819
|
+
# groups.
|
820
|
+
#
|
821
|
+
# @param resource_group_name [String] The name of the resource group.
|
822
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
823
|
+
# will be added to the HTTP request.
|
824
|
+
#
|
825
|
+
# @return [DedicatedHostGroupListResult] which provide lazy access to pages of
|
826
|
+
# the response.
|
827
|
+
#
|
828
|
+
def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil)
|
829
|
+
response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value!
|
830
|
+
unless response.nil?
|
831
|
+
page = response.body
|
832
|
+
page.next_method = Proc.new do |next_page_link|
|
833
|
+
list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers)
|
834
|
+
end
|
835
|
+
page
|
836
|
+
end
|
837
|
+
end
|
838
|
+
|
839
|
+
#
|
840
|
+
# Lists all of the dedicated host groups in the subscription. Use the nextLink
|
841
|
+
# property in the response to get the next page of dedicated host groups.
|
842
|
+
#
|
843
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
844
|
+
# will be added to the HTTP request.
|
845
|
+
#
|
846
|
+
# @return [DedicatedHostGroupListResult] which provide lazy access to pages of
|
847
|
+
# the response.
|
848
|
+
#
|
849
|
+
def list_by_subscription_as_lazy(custom_headers:nil)
|
850
|
+
response = list_by_subscription_async(custom_headers:custom_headers).value!
|
851
|
+
unless response.nil?
|
852
|
+
page = response.body
|
853
|
+
page.next_method = Proc.new do |next_page_link|
|
854
|
+
list_by_subscription_next_async(next_page_link, custom_headers:custom_headers)
|
855
|
+
end
|
856
|
+
page
|
857
|
+
end
|
858
|
+
end
|
859
|
+
|
860
|
+
end
|
861
|
+
end
|