azure_mgmt_web 0.17.3 → 0.18.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2015-04-01/generated/azure_mgmt_web/domain_registration_provider.rb +4 -0
- data/lib/2015-04-01/generated/azure_mgmt_web/domains.rb +38 -0
- data/lib/2015-04-01/generated/azure_mgmt_web/top_level_domains.rb +10 -0
- data/lib/2015-04-01/generated/azure_mgmt_web/web_site_management_client.rb +1 -1
- data/lib/2015-08-01/generated/azure_mgmt_web/app_service_certificate_orders.rb +46 -0
- data/lib/2015-08-01/generated/azure_mgmt_web/certificate_registration_provider.rb +4 -0
- data/lib/2015-08-01/generated/azure_mgmt_web/web_site_management_client.rb +1 -1
- data/lib/2016-03-01/generated/azure_mgmt_web/billing_meters.rb +4 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/certificates.rb +16 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/deleted_web_apps.rb +4 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/diagnostics.rb +66 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/provider.rb +12 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/recommendations.rb +24 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/resource_health_metadata_operations.rb +20 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb +51 -5
- data/lib/2016-06-01/generated/azure_mgmt_web.rb +76 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/connection_gateway_installations.rb +240 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/connection_gateways.rb +682 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/connections.rb +815 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/custom_apis.rb +997 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/logic_apps_management_client.rb +140 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/managed_apis.rb +233 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/api_connection_definition.rb +106 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/api_connection_definition_collection.rb +55 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/api_connection_definition_properties.rb +179 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/api_connection_test_link.rb +57 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/api_oauth_settings.rb +130 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/api_oauth_settings_parameter.rb +68 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/api_reference.rb +118 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/api_resource_backend_service.rb +46 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/api_resource_definitions.rb +57 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/api_resource_general_information.rb +90 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/api_resource_metadata.rb +135 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/api_resource_policies.rb +58 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/api_resource_properties.rb +186 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/api_type.rb +17 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/confirm_consent_code_definition.rb +68 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/connection_error.rb +116 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/connection_gateway_definition.rb +106 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/connection_gateway_definition_collection.rb +56 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/connection_gateway_definition_properties.rb +122 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/connection_gateway_installation_definition.rb +106 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/connection_gateway_installation_definition_collection.rb +57 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/connection_gateway_installation_definition_properties.rb +123 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/connection_gateway_reference.rb +73 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/connection_parameter.rb +61 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/connection_parameter_type.rb +23 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/connection_status_definition.rb +69 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/consent_link_collection.rb +55 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/consent_link_definition.rb +81 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/consent_link_parameter_definition.rb +82 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/custom_api_definition.rb +106 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/custom_api_definition_collection.rb +55 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/custom_api_properties_definition.rb +196 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/custom_api_reference.rb +99 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/link_state.rb +17 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/list_connection_keys_definition.rb +105 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/list_consent_links_definition.rb +55 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/managed_api_definition.rb +106 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/managed_api_definition_collection.rb +55 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/resource_definition.rb +112 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/resource_reference.rb +58 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/wsdl_definition.rb +81 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/wsdl_import_method.rb +17 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/wsdl_service.rb +65 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/models/wsdl_service_collection.rb +55 -0
- data/lib/2016-06-01/generated/azure_mgmt_web/module_definition.rb +9 -0
- data/lib/2016-08-01/generated/azure_mgmt_web/web_apps.rb +732 -0
- data/lib/2016-08-01/generated/azure_mgmt_web/web_site_management_client.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_web/app_service_environments.rb +124 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/app_service_plans.rb +74 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/web_site_management_client.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/app_service_certificate_orders.rb +46 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/app_service_environments.rb +128 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/app_service_plans.rb +74 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/certificate_registration_provider.rb +4 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/certificates.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/deleted_web_apps.rb +4 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/diagnostics.rb +66 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/domain_registration_provider.rb +4 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/domains.rb +38 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/provider.rb +12 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/recommendations.rb +24 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/resource_health_metadata_operations.rb +20 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/top_level_domains.rb +10 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/web_apps.rb +788 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/web_site_management_client.rb +58 -6
- data/lib/2020-09-01/generated/azure_mgmt_web.rb +461 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/app_service_certificate_orders.rb +2704 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/app_service_environments.rb +7327 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/app_service_plans.rb +3918 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/certificate_registration_provider.rb +247 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/certificates.rb +898 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/deleted_web_apps.rb +550 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/diagnostics.rb +3664 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/domain_registration_provider.rb +247 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/domains.rb +2186 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/abnormal_time_period.rb +98 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/access_control_entry_action.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/address.rb +101 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/address_response.rb +141 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/allowed_audiences_validation.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/analysis_data.rb +118 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/analysis_definition.rb +91 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/api_definition_info.rb +46 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/api_management_config.rb +46 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/app_registration.rb +102 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/app_service_certificate.rb +76 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/app_service_certificate_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/app_service_certificate_order.rb +368 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/app_service_certificate_order_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/app_service_certificate_order_patch_resource.rb +344 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/app_service_certificate_patch_resource.rb +121 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/app_service_certificate_resource.rb +145 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/app_service_environment.rb +569 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/app_service_environment_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/app_service_environment_patch_resource.rb +613 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/app_service_environment_resource.rb +637 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/app_service_plan.rb +352 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/app_service_plan_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/app_service_plan_patch_resource.rb +318 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/app_service_plan_restrictions.rb +20 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/application_logs_config.rb +74 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/application_stack.rb +109 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/application_stack_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/application_stack_resource.rb +153 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/appservice_github_token.rb +91 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/appservice_github_token_request.rb +57 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/arm_id_wrapper.rb +47 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/auth_platform.rb +113 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/auto_heal_action_type.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/auto_heal_actions.rb +72 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/auto_heal_custom_action.rb +58 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/auto_heal_rules.rb +61 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/auto_heal_triggers.rb +91 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/azure_active_directory.rb +138 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/azure_active_directory_login.rb +110 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/azure_active_directory_registration.rb +124 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/azure_active_directory_validation.rb +111 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb +73 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/azure_blob_storage_http_logs_config.rb +72 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/azure_resource_type.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/azure_storage_info_value.rb +109 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/azure_storage_property_dictionary_resource.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/azure_storage_state.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/azure_storage_type.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/azure_table_storage_application_logs_config.rb +60 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/backup_item.rb +266 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/backup_item_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/backup_item_status.rb +24 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/backup_request.rb +148 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/backup_restore_operation_type.rb +19 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/backup_schedule.rb +116 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/billing_meter.rb +146 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/billing_meter_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/blob_storage_token_store.rb +91 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/build_status.rb +21 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/built_in_authentication_provider.rb +20 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/capability.rb +68 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/certificate.rb +356 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/certificate_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/certificate_details.rb +143 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/certificate_email.rb +101 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/certificate_order_action.rb +110 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/certificate_order_action_type.rb +28 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/certificate_order_status.rb +24 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb +332 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/certificate_product_type.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/channels.rb +19 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/check_name_resource_types.rb +22 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/client_cert_mode.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/client_credential_method.rb +15 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/client_registration.rb +102 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/clone_ability_result.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/cloning_info.rb +181 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/compute_mode_options.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/conn_string_info.rb +71 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/conn_string_value_type_pair.rb +60 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/connection_string_dictionary.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/connection_string_type.rb +25 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/contact.rb +138 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/container_cpu_statistics.rb +82 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/container_cpu_usage.rb +88 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/container_info.rb +128 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/container_memory_statistics.rb +69 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/container_network_interface_statistics.rb +124 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/container_throttling_data.rb +69 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/continuous_web_job.rb +201 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/continuous_web_job_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/continuous_web_job_status.rb +19 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/cookie_expiration.rb +104 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/cookie_expiration_convention.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/cors_settings.rb +70 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/created_by_type.rb +18 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/csm_copy_slot_entity.rb +63 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/csm_move_resource_envelope.rb +71 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/csm_operation_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/csm_operation_description.rb +82 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/csm_operation_description_properties.rb +47 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/csm_operation_display.rb +79 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/csm_publishing_credentials_policies_collection.rb +106 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/csm_publishing_credentials_policies_entity.rb +91 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/csm_publishing_profile_options.rb +60 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/csm_slot_entity.rb +58 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/csm_usage_quota.rb +91 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/csm_usage_quota_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/custom_host_name_dns_record_type.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/custom_hostname_analysis_result.rb +258 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/custom_open_id_connect_provider.rb +115 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/data_source.rb +74 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/data_table_response_column.rb +68 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/data_table_response_object.rb +94 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/database_backup_setting.rb +84 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/database_type.rb +18 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/default_error_response.rb +48 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/default_error_response_error.rb +104 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/default_error_response_error_details_item.rb +72 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/deleted_app_restore_request.rb +128 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/deleted_site.rb +175 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/deleted_web_app_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/deployment.rb +179 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/deployment_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/deployment_locations.rb +98 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/detector_abnormal_time_period.rb +153 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/detector_definition.rb +127 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/detector_info.rb +83 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/detector_response.rb +111 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/detector_response_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/diagnostic_analysis.rb +162 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/diagnostic_analysis_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/diagnostic_category.rb +91 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/diagnostic_category_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/diagnostic_data.rb +60 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/diagnostic_detector_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/diagnostic_detector_response.rb +206 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/diagnostic_metric_sample.rb +109 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/diagnostic_metric_set.rb +113 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/dimension.rb +81 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/dns_type.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/dns_verification_test_result.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/domain.rb +381 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/domain_availability_check_result.rb +73 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/domain_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/domain_control_center_sso_request.rb +72 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/domain_ownership_identifier.rb +90 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/domain_ownership_identifier_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/domain_patch_resource.rb +357 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/domain_purchase_consent.rb +79 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/domain_recommendation_search_parameters.rb +58 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/domain_status.rb +35 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/domain_type.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/enabled_config.rb +47 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/endpoint_dependency.rb +68 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/endpoint_detail.rb +83 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/error_entity.rb +118 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/experiments.rb +55 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/facebook.rb +126 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/file_system_application_logs_config.rb +49 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/file_system_http_logs_config.rb +78 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/file_system_token_store.rb +91 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/forward_proxy.rb +115 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/forward_proxy_convention.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/frequency_unit.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/ftps_state.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/function_envelope.rb +231 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/function_envelope_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/function_secrets.rb +57 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/geo_region.rb +115 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/geo_region_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/git_hub.rb +115 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/global_csm_sku_description.rb +131 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/global_validation.rb +134 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/google.rb +127 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/handler_mapping.rb +73 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/host_keys.rb +84 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/host_name.rb +119 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/host_name_binding.rb +188 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/host_name_binding_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/host_name_ssl_state.rb +106 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/host_name_type.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/host_type.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/hosting_environment_deployment_info.rb +57 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/hosting_environment_diagnostics.rb +57 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/hosting_environment_profile.rb +70 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/hosting_environment_status.rb +18 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/http_logs_config.rb +61 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/http_settings.rb +115 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/http_settings_routes.rb +91 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/hybrid_connection.rb +172 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/hybrid_connection_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/hybrid_connection_key.rb +104 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/hybrid_connection_limits.rb +104 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/identifier.rb +90 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/identifier_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/identity_providers.rb +160 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/in_availability_reason_type.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/inbound_environment_endpoint.rb +88 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/inbound_environment_endpoint_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/ip_filter_tag.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/ip_security_restriction.rb +202 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/issue_type.rb +22 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/jwt_claim_checks.rb +118 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/key_info.rb +57 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/key_vault_secret_status.rb +25 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/load_balancing_mode.rb +18 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/localizable_string.rb +57 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/log_level.rb +19 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/log_specification.rb +79 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/login.rb +158 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/login_routes.rb +91 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/login_scopes.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/managed_pipeline_mode.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/managed_service_identity.rb +97 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/managed_service_identity_type.rb +18 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/managed_service_identity_user_assigned_identities_value.rb +61 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/metric_availability.rb +57 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/metric_specification.rb +256 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/migrate_my_sql_request.rb +103 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/migrate_my_sql_status.rb +117 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/msdeploy.rb +174 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/msdeploy_log.rb +100 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/msdeploy_log_entry.rb +73 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/msdeploy_log_entry_type.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/msdeploy_provisioning_state.rb +19 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/msdeploy_status.rb +141 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/my_sql_migration_type.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/name_identifier.rb +46 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/name_identifier_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/name_value_pair.rb +57 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/network_access_control_entry.rb +81 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/network_features.rb +149 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/network_trace.rb +70 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/nonce.rb +102 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/notification_level.rb +18 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/open_id_connect_client_credential.rb +104 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/open_id_connect_config.rb +135 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/open_id_connect_login.rb +110 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/open_id_connect_registration.rb +115 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/operation.rb +135 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/operation_status.rb +19 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/outbound_environment_endpoint.rb +70 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/outbound_environment_endpoint_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/perf_mon_counter_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/perf_mon_response.rb +69 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/perf_mon_sample.rb +68 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/perf_mon_set.rb +100 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/premier_add_on.rb +158 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/premier_add_on_offer.rb +193 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/premier_add_on_offer_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/premier_add_on_patch_resource.rb +134 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/private_access.rb +111 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/private_access_subnet.rb +58 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/private_access_virtual_network.rb +91 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/private_endpoint_connection_resource.rb +116 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/private_link_connection_approval_request_resource.rb +92 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/private_link_connection_state.rb +68 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/private_link_resource.rb +81 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/private_link_resource_properties.rb +87 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/private_link_resources_wrapper.rb +55 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/process_info.rb +518 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/process_info_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/process_module_info.rb +201 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/process_module_info_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/process_thread_info.rb +212 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/process_thread_info_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/provisioning_state.rb +19 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/proxy_only_resource.rb +95 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/public_certificate.rb +115 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/public_certificate_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/public_certificate_location.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/publishing_profile_format.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/push_settings.rb +132 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/ramp_up_rule.rb +142 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/recommendation.rb +369 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/recommendation_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/recommendation_rule.rb +246 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/redundancy_mode.rb +19 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/reissue_certificate_order_request.rb +125 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/relay_service_connection_entity.rb +156 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/rendering.rb +71 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/rendering_type.rb +18 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/renew_certificate_order_request.rb +113 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/requests_based_trigger.rb +57 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/resource.rb +133 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/resource_collection.rb +98 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/resource_health_metadata.rb +102 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/resource_health_metadata_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/resource_metric_availability.rb +59 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/resource_metric_definition.rb +157 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/resource_metric_definition_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/resource_name_availability.rb +78 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/resource_name_availability_request.rb +71 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/resource_scope_type.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/response_meta_data.rb +48 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/restore_request.rb +226 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/route_type.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/scm_type.rb +28 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/service_specification.rb +76 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/site.rb +643 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/site_auth_settings.rb +659 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/site_auth_settings_v2.rb +140 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/site_availability_state.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/site_cloneability.rb +113 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/site_cloneability_criterion.rb +57 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/site_config.rb +782 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/site_config_resource.rb +826 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/site_config_resource_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/site_configuration_snapshot_info.rb +103 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/site_configuration_snapshot_info_collection.rb +101 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/site_extension_info.rb +310 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/site_extension_info_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/site_extension_type.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/site_limits.rb +68 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/site_load_balancing.rb +19 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/site_logs_config.rb +127 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/site_machine_key.rb +79 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/site_patch_resource.rb +619 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/site_php_error_log_flag.rb +123 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/site_runtime_state.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/site_seal.rb +46 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/site_seal_request.rb +58 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/site_source_control.rb +150 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/sku_capacity.rb +83 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/sku_description.rb +142 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/sku_info.rb +70 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/sku_info_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/sku_infos.rb +67 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/sku_name.rb +24 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/slot_config_names_resource.rb +137 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/slot_difference.rb +166 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/slot_difference_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/slot_swap_status.rb +71 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb +68 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/snapshot.rb +91 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/snapshot_collection.rb +100 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/snapshot_recovery_source.rb +62 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/snapshot_restore_request.rb +154 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/solution.rb +148 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/solution_type.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/source_control.rb +123 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/source_control_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/ssl_state.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/stack_major_version.rb +138 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/stack_minor_version.rb +81 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/stamp_capacity.rb +168 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/stamp_capacity_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/static_site_armresource.rb +196 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/static_site_build_armresource.rb +166 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/static_site_build_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/static_site_build_properties.rb +68 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/static_site_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/static_site_custom_domain_overview_armresource.rb +105 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/static_site_custom_domain_overview_collection.rb +102 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/static_site_function_overview_armresource.rb +104 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/static_site_function_overview_collection.rb +101 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/static_site_patch_resource.rb +160 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/static_site_reset_properties_armresource.rb +103 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/static_site_user_armresource.rb +127 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/static_site_user_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/static_site_user_invitation_request_resource.rb +135 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/static_site_user_invitation_response_resource.rb +103 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/static_sites_workflow_preview.rb +103 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/static_sites_workflow_preview_request.rb +114 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/status_codes_based_trigger.rb +90 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/status_options.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/storage_migration_options.rb +128 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/storage_migration_response.rb +92 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/string_dictionary.rb +98 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/supported_tls_versions.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/swift_virtual_network.rb +105 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/system_data.rb +105 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/tld_legal_agreement.rb +79 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/tld_legal_agreement_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/token_store.rb +126 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/top_level_domain.rb +91 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/top_level_domain_agreement_option.rb +61 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/top_level_domain_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/trigger_types.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/triggered_job_history.rb +100 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/triggered_job_history_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/triggered_job_run.rb +202 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/triggered_web_job.rb +200 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/triggered_web_job_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/triggered_web_job_status.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/twitter.rb +103 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/twitter_registration.rb +102 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/unauthenticated_client_action.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/unauthenticated_client_action_v2.rb +18 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/usage.rb +177 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/usage_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/usage_state.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/user.rb +134 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/validate_request.rb +221 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/validate_resource_types.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/validate_response.rb +59 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/validate_response_error.rb +57 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/virtual_application.rb +90 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/virtual_directory.rb +57 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/virtual_ipmapping.rb +90 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/virtual_network_profile.rb +81 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/vnet_gateway.rb +102 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/vnet_info.rb +173 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/vnet_parameters.rb +112 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/vnet_route.rb +124 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/vnet_validation_failure_details.rb +111 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/vnet_validation_test_failure.rb +102 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/web_app_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/web_app_instance_status_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/web_job.rb +166 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/web_job_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/web_job_type.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/web_site_instance_status.rb +157 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/worker_pool.rb +102 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/worker_pool_collection.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/worker_pool_resource.rb +158 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/models/worker_size_options.rb +22 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/module_definition.rb +9 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/provider.rb +681 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/recommendations.rb +2306 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/resource_health_metadata_operations.rb +1194 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/static_sites.rb +3889 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/top_level_domains.rb +576 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/web_apps.rb +52832 -0
- data/lib/2020-09-01/generated/azure_mgmt_web/web_site_management_client.rb +2884 -0
- data/lib/azure_mgmt_web.rb +7 -4
- data/lib/profiles/latest/modules/web_profile_module.rb +1200 -866
- data/lib/profiles/v2019_03_01_hybrid/modules/web_profile_module.rb +1469 -0
- data/lib/profiles/v2019_03_01_hybrid/web_module_definition.rb +8 -0
- data/lib/profiles/v2019_03_01_hybrid/web_v2019_03_01_hybrid_profile_client.rb +40 -0
- data/lib/version.rb +1 -1
- metadata +497 -5
@@ -0,0 +1,240 @@
|
|
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::Web::Mgmt::V2016_06_01
|
7
|
+
#
|
8
|
+
# ConnectionGatewayInstallations
|
9
|
+
#
|
10
|
+
class ConnectionGatewayInstallations
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the ConnectionGatewayInstallations class.
|
15
|
+
# @param client service class for accessing basic functionality.
|
16
|
+
#
|
17
|
+
def initialize(client)
|
18
|
+
@client = client
|
19
|
+
end
|
20
|
+
|
21
|
+
# @return [LogicAppsManagementClient] reference to the LogicAppsManagementClient
|
22
|
+
attr_reader :client
|
23
|
+
|
24
|
+
#
|
25
|
+
# Gets a list of installed gateways that the user is an admin of
|
26
|
+
#
|
27
|
+
# Gets a list of installed gateways that the user is an admin of, in a specific
|
28
|
+
# subscription and at a certain location
|
29
|
+
#
|
30
|
+
# @param subscription_id [String] Subscription Id
|
31
|
+
# @param location [String] The location
|
32
|
+
# @param api_version [String] API Version
|
33
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
34
|
+
# will be added to the HTTP request.
|
35
|
+
#
|
36
|
+
# @return [ConnectionGatewayInstallationDefinitionCollection] operation
|
37
|
+
# results.
|
38
|
+
#
|
39
|
+
def list(subscription_id, location, api_version, custom_headers:nil)
|
40
|
+
response = list_async(subscription_id, location, api_version, custom_headers:custom_headers).value!
|
41
|
+
response.body unless response.nil?
|
42
|
+
end
|
43
|
+
|
44
|
+
#
|
45
|
+
# Gets a list of installed gateways that the user is an admin of
|
46
|
+
#
|
47
|
+
# Gets a list of installed gateways that the user is an admin of, in a specific
|
48
|
+
# subscription and at a certain location
|
49
|
+
#
|
50
|
+
# @param subscription_id [String] Subscription Id
|
51
|
+
# @param location [String] The location
|
52
|
+
# @param api_version [String] API Version
|
53
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
54
|
+
# will be added to the HTTP request.
|
55
|
+
#
|
56
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
57
|
+
#
|
58
|
+
def list_with_http_info(subscription_id, location, api_version, custom_headers:nil)
|
59
|
+
list_async(subscription_id, location, api_version, custom_headers:custom_headers).value!
|
60
|
+
end
|
61
|
+
|
62
|
+
#
|
63
|
+
# Gets a list of installed gateways that the user is an admin of
|
64
|
+
#
|
65
|
+
# Gets a list of installed gateways that the user is an admin of, in a specific
|
66
|
+
# subscription and at a certain location
|
67
|
+
#
|
68
|
+
# @param subscription_id [String] Subscription Id
|
69
|
+
# @param location [String] The location
|
70
|
+
# @param api_version [String] API Version
|
71
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
72
|
+
# to the HTTP request.
|
73
|
+
#
|
74
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
75
|
+
#
|
76
|
+
def list_async(subscription_id, location, api_version, custom_headers:nil)
|
77
|
+
fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
|
78
|
+
fail ArgumentError, 'location is nil' if location.nil?
|
79
|
+
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
80
|
+
|
81
|
+
|
82
|
+
request_headers = {}
|
83
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
84
|
+
|
85
|
+
# Set Headers
|
86
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
87
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
88
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/connectionGatewayInstallations'
|
89
|
+
|
90
|
+
request_url = @base_url || @client.base_url
|
91
|
+
|
92
|
+
options = {
|
93
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
94
|
+
path_params: {'subscriptionId' => subscription_id,'location' => location},
|
95
|
+
query_params: {'api-version' => api_version},
|
96
|
+
headers: request_headers.merge(custom_headers || {}),
|
97
|
+
base_url: request_url
|
98
|
+
}
|
99
|
+
promise = @client.make_request_async(:get, path_template, options)
|
100
|
+
|
101
|
+
promise = promise.then do |result|
|
102
|
+
http_response = result.response
|
103
|
+
status_code = http_response.status
|
104
|
+
response_content = http_response.body
|
105
|
+
unless status_code == 200
|
106
|
+
error_model = JSON.load(response_content)
|
107
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
108
|
+
end
|
109
|
+
|
110
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
111
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
112
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
113
|
+
# Deserialize Response
|
114
|
+
if status_code == 200
|
115
|
+
begin
|
116
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
117
|
+
result_mapper = Azure::Web::Mgmt::V2016_06_01::Models::ConnectionGatewayInstallationDefinitionCollection.mapper()
|
118
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
119
|
+
rescue Exception => e
|
120
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
124
|
+
result
|
125
|
+
end
|
126
|
+
|
127
|
+
promise.execute
|
128
|
+
end
|
129
|
+
|
130
|
+
#
|
131
|
+
# Gets an installed gateway that the user is an admin of
|
132
|
+
#
|
133
|
+
# Get a specific installed gateway that the user is an admin of, in a specific
|
134
|
+
# subscription and at a certain location
|
135
|
+
#
|
136
|
+
# @param subscription_id [String] Subscription Id
|
137
|
+
# @param location [String] The location
|
138
|
+
# @param gateway_id [String] Gateway ID
|
139
|
+
# @param api_version [String] API Version
|
140
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
141
|
+
# will be added to the HTTP request.
|
142
|
+
#
|
143
|
+
# @return [ConnectionGatewayInstallationDefinition] operation results.
|
144
|
+
#
|
145
|
+
def get(subscription_id, location, gateway_id, api_version, custom_headers:nil)
|
146
|
+
response = get_async(subscription_id, location, gateway_id, api_version, custom_headers:custom_headers).value!
|
147
|
+
response.body unless response.nil?
|
148
|
+
end
|
149
|
+
|
150
|
+
#
|
151
|
+
# Gets an installed gateway that the user is an admin of
|
152
|
+
#
|
153
|
+
# Get a specific installed gateway that the user is an admin of, in a specific
|
154
|
+
# subscription and at a certain location
|
155
|
+
#
|
156
|
+
# @param subscription_id [String] Subscription Id
|
157
|
+
# @param location [String] The location
|
158
|
+
# @param gateway_id [String] Gateway ID
|
159
|
+
# @param api_version [String] API Version
|
160
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
161
|
+
# will be added to the HTTP request.
|
162
|
+
#
|
163
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
164
|
+
#
|
165
|
+
def get_with_http_info(subscription_id, location, gateway_id, api_version, custom_headers:nil)
|
166
|
+
get_async(subscription_id, location, gateway_id, api_version, custom_headers:custom_headers).value!
|
167
|
+
end
|
168
|
+
|
169
|
+
#
|
170
|
+
# Gets an installed gateway that the user is an admin of
|
171
|
+
#
|
172
|
+
# Get a specific installed gateway that the user is an admin of, in a specific
|
173
|
+
# subscription and at a certain location
|
174
|
+
#
|
175
|
+
# @param subscription_id [String] Subscription Id
|
176
|
+
# @param location [String] The location
|
177
|
+
# @param gateway_id [String] Gateway ID
|
178
|
+
# @param api_version [String] API Version
|
179
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
180
|
+
# to the HTTP request.
|
181
|
+
#
|
182
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
183
|
+
#
|
184
|
+
def get_async(subscription_id, location, gateway_id, api_version, custom_headers:nil)
|
185
|
+
fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
|
186
|
+
fail ArgumentError, 'location is nil' if location.nil?
|
187
|
+
fail ArgumentError, 'gateway_id is nil' if gateway_id.nil?
|
188
|
+
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
189
|
+
|
190
|
+
|
191
|
+
request_headers = {}
|
192
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
193
|
+
|
194
|
+
# Set Headers
|
195
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
196
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
197
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/connectionGatewayInstallations/{gatewayId}'
|
198
|
+
|
199
|
+
request_url = @base_url || @client.base_url
|
200
|
+
|
201
|
+
options = {
|
202
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
203
|
+
path_params: {'subscriptionId' => subscription_id,'location' => location,'gatewayId' => gateway_id},
|
204
|
+
query_params: {'api-version' => api_version},
|
205
|
+
headers: request_headers.merge(custom_headers || {}),
|
206
|
+
base_url: request_url
|
207
|
+
}
|
208
|
+
promise = @client.make_request_async(:get, path_template, options)
|
209
|
+
|
210
|
+
promise = promise.then do |result|
|
211
|
+
http_response = result.response
|
212
|
+
status_code = http_response.status
|
213
|
+
response_content = http_response.body
|
214
|
+
unless status_code == 200
|
215
|
+
error_model = JSON.load(response_content)
|
216
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
217
|
+
end
|
218
|
+
|
219
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
220
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
221
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
222
|
+
# Deserialize Response
|
223
|
+
if status_code == 200
|
224
|
+
begin
|
225
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
226
|
+
result_mapper = Azure::Web::Mgmt::V2016_06_01::Models::ConnectionGatewayInstallationDefinition.mapper()
|
227
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
228
|
+
rescue Exception => e
|
229
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
230
|
+
end
|
231
|
+
end
|
232
|
+
|
233
|
+
result
|
234
|
+
end
|
235
|
+
|
236
|
+
promise.execute
|
237
|
+
end
|
238
|
+
|
239
|
+
end
|
240
|
+
end
|
@@ -0,0 +1,682 @@
|
|
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::Web::Mgmt::V2016_06_01
|
7
|
+
#
|
8
|
+
# ConnectionGateways
|
9
|
+
#
|
10
|
+
class ConnectionGateways
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the ConnectionGateways class.
|
15
|
+
# @param client service class for accessing basic functionality.
|
16
|
+
#
|
17
|
+
def initialize(client)
|
18
|
+
@client = client
|
19
|
+
end
|
20
|
+
|
21
|
+
# @return [LogicAppsManagementClient] reference to the LogicAppsManagementClient
|
22
|
+
attr_reader :client
|
23
|
+
|
24
|
+
#
|
25
|
+
# Lists all of the connection gateways
|
26
|
+
#
|
27
|
+
# Gets a list of gateways under a subscription
|
28
|
+
#
|
29
|
+
# @param subscription_id [String] Subscription Id
|
30
|
+
# @param api_version [String] API Version
|
31
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
32
|
+
# will be added to the HTTP request.
|
33
|
+
#
|
34
|
+
# @return [ConnectionGatewayDefinitionCollection] operation results.
|
35
|
+
#
|
36
|
+
def list(subscription_id, api_version, custom_headers:nil)
|
37
|
+
response = list_async(subscription_id, api_version, custom_headers:custom_headers).value!
|
38
|
+
response.body unless response.nil?
|
39
|
+
end
|
40
|
+
|
41
|
+
#
|
42
|
+
# Lists all of the connection gateways
|
43
|
+
#
|
44
|
+
# Gets a list of gateways under a subscription
|
45
|
+
#
|
46
|
+
# @param subscription_id [String] Subscription Id
|
47
|
+
# @param api_version [String] API Version
|
48
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
49
|
+
# will be added to the HTTP request.
|
50
|
+
#
|
51
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
52
|
+
#
|
53
|
+
def list_with_http_info(subscription_id, api_version, custom_headers:nil)
|
54
|
+
list_async(subscription_id, api_version, custom_headers:custom_headers).value!
|
55
|
+
end
|
56
|
+
|
57
|
+
#
|
58
|
+
# Lists all of the connection gateways
|
59
|
+
#
|
60
|
+
# Gets a list of gateways under a subscription
|
61
|
+
#
|
62
|
+
# @param subscription_id [String] Subscription Id
|
63
|
+
# @param api_version [String] API Version
|
64
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
65
|
+
# to the HTTP request.
|
66
|
+
#
|
67
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
68
|
+
#
|
69
|
+
def list_async(subscription_id, api_version, custom_headers:nil)
|
70
|
+
fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
|
71
|
+
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
72
|
+
|
73
|
+
|
74
|
+
request_headers = {}
|
75
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
76
|
+
|
77
|
+
# Set Headers
|
78
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
79
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
80
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Web/connectionGateways'
|
81
|
+
|
82
|
+
request_url = @base_url || @client.base_url
|
83
|
+
|
84
|
+
options = {
|
85
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
86
|
+
path_params: {'subscriptionId' => subscription_id},
|
87
|
+
query_params: {'api-version' => api_version},
|
88
|
+
headers: request_headers.merge(custom_headers || {}),
|
89
|
+
base_url: request_url
|
90
|
+
}
|
91
|
+
promise = @client.make_request_async(:get, path_template, options)
|
92
|
+
|
93
|
+
promise = promise.then do |result|
|
94
|
+
http_response = result.response
|
95
|
+
status_code = http_response.status
|
96
|
+
response_content = http_response.body
|
97
|
+
unless status_code == 200
|
98
|
+
error_model = JSON.load(response_content)
|
99
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
100
|
+
end
|
101
|
+
|
102
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
103
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
104
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
105
|
+
# Deserialize Response
|
106
|
+
if status_code == 200
|
107
|
+
begin
|
108
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
109
|
+
result_mapper = Azure::Web::Mgmt::V2016_06_01::Models::ConnectionGatewayDefinitionCollection.mapper()
|
110
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
111
|
+
rescue Exception => e
|
112
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
113
|
+
end
|
114
|
+
end
|
115
|
+
|
116
|
+
result
|
117
|
+
end
|
118
|
+
|
119
|
+
promise.execute
|
120
|
+
end
|
121
|
+
|
122
|
+
#
|
123
|
+
# Lists all of the connection gateways
|
124
|
+
#
|
125
|
+
# Gets a list of gateways under a subscription and in a specific resource group
|
126
|
+
#
|
127
|
+
# @param subscription_id [String] Subscription Id
|
128
|
+
# @param resource_group_name [String] The resource group
|
129
|
+
# @param api_version [String] API Version
|
130
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
131
|
+
# will be added to the HTTP request.
|
132
|
+
#
|
133
|
+
# @return [ConnectionGatewayDefinitionCollection] operation results.
|
134
|
+
#
|
135
|
+
def list_by_resource_group(subscription_id, resource_group_name, api_version, custom_headers:nil)
|
136
|
+
response = list_by_resource_group_async(subscription_id, resource_group_name, api_version, custom_headers:custom_headers).value!
|
137
|
+
response.body unless response.nil?
|
138
|
+
end
|
139
|
+
|
140
|
+
#
|
141
|
+
# Lists all of the connection gateways
|
142
|
+
#
|
143
|
+
# Gets a list of gateways under a subscription and in a specific resource group
|
144
|
+
#
|
145
|
+
# @param subscription_id [String] Subscription Id
|
146
|
+
# @param resource_group_name [String] The resource group
|
147
|
+
# @param api_version [String] API Version
|
148
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
149
|
+
# will be added to the HTTP request.
|
150
|
+
#
|
151
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
152
|
+
#
|
153
|
+
def list_by_resource_group_with_http_info(subscription_id, resource_group_name, api_version, custom_headers:nil)
|
154
|
+
list_by_resource_group_async(subscription_id, resource_group_name, api_version, custom_headers:custom_headers).value!
|
155
|
+
end
|
156
|
+
|
157
|
+
#
|
158
|
+
# Lists all of the connection gateways
|
159
|
+
#
|
160
|
+
# Gets a list of gateways under a subscription and in a specific resource group
|
161
|
+
#
|
162
|
+
# @param subscription_id [String] Subscription Id
|
163
|
+
# @param resource_group_name [String] The resource group
|
164
|
+
# @param api_version [String] API Version
|
165
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
166
|
+
# to the HTTP request.
|
167
|
+
#
|
168
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
169
|
+
#
|
170
|
+
def list_by_resource_group_async(subscription_id, resource_group_name, api_version, custom_headers:nil)
|
171
|
+
fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
|
172
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
173
|
+
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
174
|
+
|
175
|
+
|
176
|
+
request_headers = {}
|
177
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
178
|
+
|
179
|
+
# Set Headers
|
180
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
181
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
182
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connectionGateways'
|
183
|
+
|
184
|
+
request_url = @base_url || @client.base_url
|
185
|
+
|
186
|
+
options = {
|
187
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
188
|
+
path_params: {'subscriptionId' => subscription_id,'resourceGroupName' => resource_group_name},
|
189
|
+
query_params: {'api-version' => api_version},
|
190
|
+
headers: request_headers.merge(custom_headers || {}),
|
191
|
+
base_url: request_url
|
192
|
+
}
|
193
|
+
promise = @client.make_request_async(:get, path_template, options)
|
194
|
+
|
195
|
+
promise = promise.then do |result|
|
196
|
+
http_response = result.response
|
197
|
+
status_code = http_response.status
|
198
|
+
response_content = http_response.body
|
199
|
+
unless status_code == 200
|
200
|
+
error_model = JSON.load(response_content)
|
201
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
202
|
+
end
|
203
|
+
|
204
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
205
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
206
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
207
|
+
# Deserialize Response
|
208
|
+
if status_code == 200
|
209
|
+
begin
|
210
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
211
|
+
result_mapper = Azure::Web::Mgmt::V2016_06_01::Models::ConnectionGatewayDefinitionCollection.mapper()
|
212
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
213
|
+
rescue Exception => e
|
214
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
215
|
+
end
|
216
|
+
end
|
217
|
+
|
218
|
+
result
|
219
|
+
end
|
220
|
+
|
221
|
+
promise.execute
|
222
|
+
end
|
223
|
+
|
224
|
+
#
|
225
|
+
# Gets a specific gateway
|
226
|
+
#
|
227
|
+
# Gets a specific gateway under a subscription and in a specific resource group
|
228
|
+
#
|
229
|
+
# @param subscription_id [String] Subscription Id
|
230
|
+
# @param resource_group_name [String] The resource group
|
231
|
+
# @param connection_gateway_name [String] The connection gateway name
|
232
|
+
# @param api_version [String] API Version
|
233
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
234
|
+
# will be added to the HTTP request.
|
235
|
+
#
|
236
|
+
# @return [ConnectionGatewayDefinition] operation results.
|
237
|
+
#
|
238
|
+
def get(subscription_id, resource_group_name, connection_gateway_name, api_version, custom_headers:nil)
|
239
|
+
response = get_async(subscription_id, resource_group_name, connection_gateway_name, api_version, custom_headers:custom_headers).value!
|
240
|
+
response.body unless response.nil?
|
241
|
+
end
|
242
|
+
|
243
|
+
#
|
244
|
+
# Gets a specific gateway
|
245
|
+
#
|
246
|
+
# Gets a specific gateway under a subscription and in a specific resource group
|
247
|
+
#
|
248
|
+
# @param subscription_id [String] Subscription Id
|
249
|
+
# @param resource_group_name [String] The resource group
|
250
|
+
# @param connection_gateway_name [String] The connection gateway name
|
251
|
+
# @param api_version [String] API Version
|
252
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
253
|
+
# will be added to the HTTP request.
|
254
|
+
#
|
255
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
256
|
+
#
|
257
|
+
def get_with_http_info(subscription_id, resource_group_name, connection_gateway_name, api_version, custom_headers:nil)
|
258
|
+
get_async(subscription_id, resource_group_name, connection_gateway_name, api_version, custom_headers:custom_headers).value!
|
259
|
+
end
|
260
|
+
|
261
|
+
#
|
262
|
+
# Gets a specific gateway
|
263
|
+
#
|
264
|
+
# Gets a specific gateway under a subscription and in a specific resource group
|
265
|
+
#
|
266
|
+
# @param subscription_id [String] Subscription Id
|
267
|
+
# @param resource_group_name [String] The resource group
|
268
|
+
# @param connection_gateway_name [String] The connection gateway name
|
269
|
+
# @param api_version [String] API Version
|
270
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
271
|
+
# to the HTTP request.
|
272
|
+
#
|
273
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
274
|
+
#
|
275
|
+
def get_async(subscription_id, resource_group_name, connection_gateway_name, api_version, custom_headers:nil)
|
276
|
+
fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
|
277
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
278
|
+
fail ArgumentError, 'connection_gateway_name is nil' if connection_gateway_name.nil?
|
279
|
+
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
280
|
+
|
281
|
+
|
282
|
+
request_headers = {}
|
283
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
284
|
+
|
285
|
+
# Set Headers
|
286
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
287
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
288
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connectionGateways/{connectionGatewayName}'
|
289
|
+
|
290
|
+
request_url = @base_url || @client.base_url
|
291
|
+
|
292
|
+
options = {
|
293
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
294
|
+
path_params: {'subscriptionId' => subscription_id,'resourceGroupName' => resource_group_name,'connectionGatewayName' => connection_gateway_name},
|
295
|
+
query_params: {'api-version' => api_version},
|
296
|
+
headers: request_headers.merge(custom_headers || {}),
|
297
|
+
base_url: request_url
|
298
|
+
}
|
299
|
+
promise = @client.make_request_async(:get, path_template, options)
|
300
|
+
|
301
|
+
promise = promise.then do |result|
|
302
|
+
http_response = result.response
|
303
|
+
status_code = http_response.status
|
304
|
+
response_content = http_response.body
|
305
|
+
unless status_code == 200
|
306
|
+
error_model = JSON.load(response_content)
|
307
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
308
|
+
end
|
309
|
+
|
310
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
311
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
312
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
313
|
+
# Deserialize Response
|
314
|
+
if status_code == 200
|
315
|
+
begin
|
316
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
317
|
+
result_mapper = Azure::Web::Mgmt::V2016_06_01::Models::ConnectionGatewayDefinition.mapper()
|
318
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
319
|
+
rescue Exception => e
|
320
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
321
|
+
end
|
322
|
+
end
|
323
|
+
|
324
|
+
result
|
325
|
+
end
|
326
|
+
|
327
|
+
promise.execute
|
328
|
+
end
|
329
|
+
|
330
|
+
#
|
331
|
+
# Replaces a specific gateway
|
332
|
+
#
|
333
|
+
# Creates or updates a specific gateway for under a subscription and in a
|
334
|
+
# specific resource group
|
335
|
+
#
|
336
|
+
# @param subscription_id [String] Subscription Id
|
337
|
+
# @param resource_group_name [String] The resource group
|
338
|
+
# @param connection_gateway_name [String] The connection gateway name
|
339
|
+
# @param connection_gateway [ConnectionGatewayDefinition] The connection
|
340
|
+
# gateway
|
341
|
+
# @param api_version [String] API Version
|
342
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
343
|
+
# will be added to the HTTP request.
|
344
|
+
#
|
345
|
+
# @return [ConnectionGatewayDefinition] operation results.
|
346
|
+
#
|
347
|
+
def create_or_update(subscription_id, resource_group_name, connection_gateway_name, connection_gateway, api_version, custom_headers:nil)
|
348
|
+
response = create_or_update_async(subscription_id, resource_group_name, connection_gateway_name, connection_gateway, api_version, custom_headers:custom_headers).value!
|
349
|
+
response.body unless response.nil?
|
350
|
+
end
|
351
|
+
|
352
|
+
#
|
353
|
+
# Replaces a specific gateway
|
354
|
+
#
|
355
|
+
# Creates or updates a specific gateway for under a subscription and in a
|
356
|
+
# specific resource group
|
357
|
+
#
|
358
|
+
# @param subscription_id [String] Subscription Id
|
359
|
+
# @param resource_group_name [String] The resource group
|
360
|
+
# @param connection_gateway_name [String] The connection gateway name
|
361
|
+
# @param connection_gateway [ConnectionGatewayDefinition] The connection
|
362
|
+
# gateway
|
363
|
+
# @param api_version [String] API Version
|
364
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
365
|
+
# will be added to the HTTP request.
|
366
|
+
#
|
367
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
368
|
+
#
|
369
|
+
def create_or_update_with_http_info(subscription_id, resource_group_name, connection_gateway_name, connection_gateway, api_version, custom_headers:nil)
|
370
|
+
create_or_update_async(subscription_id, resource_group_name, connection_gateway_name, connection_gateway, api_version, custom_headers:custom_headers).value!
|
371
|
+
end
|
372
|
+
|
373
|
+
#
|
374
|
+
# Replaces a specific gateway
|
375
|
+
#
|
376
|
+
# Creates or updates a specific gateway for under a subscription and in a
|
377
|
+
# specific resource group
|
378
|
+
#
|
379
|
+
# @param subscription_id [String] Subscription Id
|
380
|
+
# @param resource_group_name [String] The resource group
|
381
|
+
# @param connection_gateway_name [String] The connection gateway name
|
382
|
+
# @param connection_gateway [ConnectionGatewayDefinition] The connection
|
383
|
+
# gateway
|
384
|
+
# @param api_version [String] API Version
|
385
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
386
|
+
# to the HTTP request.
|
387
|
+
#
|
388
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
389
|
+
#
|
390
|
+
def create_or_update_async(subscription_id, resource_group_name, connection_gateway_name, connection_gateway, api_version, custom_headers:nil)
|
391
|
+
fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
|
392
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
393
|
+
fail ArgumentError, 'connection_gateway_name is nil' if connection_gateway_name.nil?
|
394
|
+
fail ArgumentError, 'connection_gateway is nil' if connection_gateway.nil?
|
395
|
+
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
396
|
+
|
397
|
+
|
398
|
+
request_headers = {}
|
399
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
400
|
+
|
401
|
+
# Set Headers
|
402
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
403
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
404
|
+
|
405
|
+
# Serialize Request
|
406
|
+
request_mapper = Azure::Web::Mgmt::V2016_06_01::Models::ConnectionGatewayDefinition.mapper()
|
407
|
+
request_content = @client.serialize(request_mapper, connection_gateway)
|
408
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
409
|
+
|
410
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connectionGateways/{connectionGatewayName}'
|
411
|
+
|
412
|
+
request_url = @base_url || @client.base_url
|
413
|
+
|
414
|
+
options = {
|
415
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
416
|
+
path_params: {'subscriptionId' => subscription_id,'resourceGroupName' => resource_group_name,'connectionGatewayName' => connection_gateway_name},
|
417
|
+
query_params: {'api-version' => api_version},
|
418
|
+
body: request_content,
|
419
|
+
headers: request_headers.merge(custom_headers || {}),
|
420
|
+
base_url: request_url
|
421
|
+
}
|
422
|
+
promise = @client.make_request_async(:put, path_template, options)
|
423
|
+
|
424
|
+
promise = promise.then do |result|
|
425
|
+
http_response = result.response
|
426
|
+
status_code = http_response.status
|
427
|
+
response_content = http_response.body
|
428
|
+
unless status_code == 200 || status_code == 201
|
429
|
+
error_model = JSON.load(response_content)
|
430
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
431
|
+
end
|
432
|
+
|
433
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
434
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
435
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
436
|
+
# Deserialize Response
|
437
|
+
if status_code == 200
|
438
|
+
begin
|
439
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
440
|
+
result_mapper = Azure::Web::Mgmt::V2016_06_01::Models::ConnectionGatewayDefinition.mapper()
|
441
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
442
|
+
rescue Exception => e
|
443
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
444
|
+
end
|
445
|
+
end
|
446
|
+
# Deserialize Response
|
447
|
+
if status_code == 201
|
448
|
+
begin
|
449
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
450
|
+
result_mapper = Azure::Web::Mgmt::V2016_06_01::Models::ConnectionGatewayDefinition.mapper()
|
451
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
452
|
+
rescue Exception => e
|
453
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
454
|
+
end
|
455
|
+
end
|
456
|
+
|
457
|
+
result
|
458
|
+
end
|
459
|
+
|
460
|
+
promise.execute
|
461
|
+
end
|
462
|
+
|
463
|
+
#
|
464
|
+
# Updates a specific gateway
|
465
|
+
#
|
466
|
+
# Updates a connection gateway's tags
|
467
|
+
#
|
468
|
+
# @param subscription_id [String] Subscription Id
|
469
|
+
# @param resource_group_name [String] The resource group
|
470
|
+
# @param connection_gateway_name [String] The connection gateway name
|
471
|
+
# @param connection_gateway [ConnectionGatewayDefinition] The connection
|
472
|
+
# gateway
|
473
|
+
# @param api_version [String] API Version
|
474
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
475
|
+
# will be added to the HTTP request.
|
476
|
+
#
|
477
|
+
# @return [ConnectionGatewayDefinition] operation results.
|
478
|
+
#
|
479
|
+
def update(subscription_id, resource_group_name, connection_gateway_name, connection_gateway, api_version, custom_headers:nil)
|
480
|
+
response = update_async(subscription_id, resource_group_name, connection_gateway_name, connection_gateway, api_version, custom_headers:custom_headers).value!
|
481
|
+
response.body unless response.nil?
|
482
|
+
end
|
483
|
+
|
484
|
+
#
|
485
|
+
# Updates a specific gateway
|
486
|
+
#
|
487
|
+
# Updates a connection gateway's tags
|
488
|
+
#
|
489
|
+
# @param subscription_id [String] Subscription Id
|
490
|
+
# @param resource_group_name [String] The resource group
|
491
|
+
# @param connection_gateway_name [String] The connection gateway name
|
492
|
+
# @param connection_gateway [ConnectionGatewayDefinition] The connection
|
493
|
+
# gateway
|
494
|
+
# @param api_version [String] API Version
|
495
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
496
|
+
# will be added to the HTTP request.
|
497
|
+
#
|
498
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
499
|
+
#
|
500
|
+
def update_with_http_info(subscription_id, resource_group_name, connection_gateway_name, connection_gateway, api_version, custom_headers:nil)
|
501
|
+
update_async(subscription_id, resource_group_name, connection_gateway_name, connection_gateway, api_version, custom_headers:custom_headers).value!
|
502
|
+
end
|
503
|
+
|
504
|
+
#
|
505
|
+
# Updates a specific gateway
|
506
|
+
#
|
507
|
+
# Updates a connection gateway's tags
|
508
|
+
#
|
509
|
+
# @param subscription_id [String] Subscription Id
|
510
|
+
# @param resource_group_name [String] The resource group
|
511
|
+
# @param connection_gateway_name [String] The connection gateway name
|
512
|
+
# @param connection_gateway [ConnectionGatewayDefinition] The connection
|
513
|
+
# gateway
|
514
|
+
# @param api_version [String] API Version
|
515
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
516
|
+
# to the HTTP request.
|
517
|
+
#
|
518
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
519
|
+
#
|
520
|
+
def update_async(subscription_id, resource_group_name, connection_gateway_name, connection_gateway, api_version, custom_headers:nil)
|
521
|
+
fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
|
522
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
523
|
+
fail ArgumentError, 'connection_gateway_name is nil' if connection_gateway_name.nil?
|
524
|
+
fail ArgumentError, 'connection_gateway is nil' if connection_gateway.nil?
|
525
|
+
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
526
|
+
|
527
|
+
|
528
|
+
request_headers = {}
|
529
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
530
|
+
|
531
|
+
# Set Headers
|
532
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
533
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
534
|
+
|
535
|
+
# Serialize Request
|
536
|
+
request_mapper = Azure::Web::Mgmt::V2016_06_01::Models::ConnectionGatewayDefinition.mapper()
|
537
|
+
request_content = @client.serialize(request_mapper, connection_gateway)
|
538
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
539
|
+
|
540
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connectionGateways/{connectionGatewayName}'
|
541
|
+
|
542
|
+
request_url = @base_url || @client.base_url
|
543
|
+
|
544
|
+
options = {
|
545
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
546
|
+
path_params: {'subscriptionId' => subscription_id,'resourceGroupName' => resource_group_name,'connectionGatewayName' => connection_gateway_name},
|
547
|
+
query_params: {'api-version' => api_version},
|
548
|
+
body: request_content,
|
549
|
+
headers: request_headers.merge(custom_headers || {}),
|
550
|
+
base_url: request_url
|
551
|
+
}
|
552
|
+
promise = @client.make_request_async(:patch, path_template, options)
|
553
|
+
|
554
|
+
promise = promise.then do |result|
|
555
|
+
http_response = result.response
|
556
|
+
status_code = http_response.status
|
557
|
+
response_content = http_response.body
|
558
|
+
unless status_code == 200
|
559
|
+
error_model = JSON.load(response_content)
|
560
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
561
|
+
end
|
562
|
+
|
563
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
564
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
565
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
566
|
+
# Deserialize Response
|
567
|
+
if status_code == 200
|
568
|
+
begin
|
569
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
570
|
+
result_mapper = Azure::Web::Mgmt::V2016_06_01::Models::ConnectionGatewayDefinition.mapper()
|
571
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
572
|
+
rescue Exception => e
|
573
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
574
|
+
end
|
575
|
+
end
|
576
|
+
|
577
|
+
result
|
578
|
+
end
|
579
|
+
|
580
|
+
promise.execute
|
581
|
+
end
|
582
|
+
|
583
|
+
#
|
584
|
+
# Deletes a specific gateway
|
585
|
+
#
|
586
|
+
# Deletes a specific gateway for under a subscription and in a specific
|
587
|
+
# resource group
|
588
|
+
#
|
589
|
+
# @param subscription_id [String] Subscription Id
|
590
|
+
# @param resource_group_name [String] The resource group
|
591
|
+
# @param connection_gateway_name [String] The connection gateway name
|
592
|
+
# @param api_version [String] API Version
|
593
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
594
|
+
# will be added to the HTTP request.
|
595
|
+
#
|
596
|
+
#
|
597
|
+
def delete(subscription_id, resource_group_name, connection_gateway_name, api_version, custom_headers:nil)
|
598
|
+
response = delete_async(subscription_id, resource_group_name, connection_gateway_name, api_version, custom_headers:custom_headers).value!
|
599
|
+
nil
|
600
|
+
end
|
601
|
+
|
602
|
+
#
|
603
|
+
# Deletes a specific gateway
|
604
|
+
#
|
605
|
+
# Deletes a specific gateway for under a subscription and in a specific
|
606
|
+
# resource group
|
607
|
+
#
|
608
|
+
# @param subscription_id [String] Subscription Id
|
609
|
+
# @param resource_group_name [String] The resource group
|
610
|
+
# @param connection_gateway_name [String] The connection gateway name
|
611
|
+
# @param api_version [String] API Version
|
612
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
613
|
+
# will be added to the HTTP request.
|
614
|
+
#
|
615
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
616
|
+
#
|
617
|
+
def delete_with_http_info(subscription_id, resource_group_name, connection_gateway_name, api_version, custom_headers:nil)
|
618
|
+
delete_async(subscription_id, resource_group_name, connection_gateway_name, api_version, custom_headers:custom_headers).value!
|
619
|
+
end
|
620
|
+
|
621
|
+
#
|
622
|
+
# Deletes a specific gateway
|
623
|
+
#
|
624
|
+
# Deletes a specific gateway for under a subscription and in a specific
|
625
|
+
# resource group
|
626
|
+
#
|
627
|
+
# @param subscription_id [String] Subscription Id
|
628
|
+
# @param resource_group_name [String] The resource group
|
629
|
+
# @param connection_gateway_name [String] The connection gateway name
|
630
|
+
# @param api_version [String] API Version
|
631
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
632
|
+
# to the HTTP request.
|
633
|
+
#
|
634
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
635
|
+
#
|
636
|
+
def delete_async(subscription_id, resource_group_name, connection_gateway_name, api_version, custom_headers:nil)
|
637
|
+
fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
|
638
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
639
|
+
fail ArgumentError, 'connection_gateway_name is nil' if connection_gateway_name.nil?
|
640
|
+
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
641
|
+
|
642
|
+
|
643
|
+
request_headers = {}
|
644
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
645
|
+
|
646
|
+
# Set Headers
|
647
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
648
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
649
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connectionGateways/{connectionGatewayName}'
|
650
|
+
|
651
|
+
request_url = @base_url || @client.base_url
|
652
|
+
|
653
|
+
options = {
|
654
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
655
|
+
path_params: {'subscriptionId' => subscription_id,'resourceGroupName' => resource_group_name,'connectionGatewayName' => connection_gateway_name},
|
656
|
+
query_params: {'api-version' => api_version},
|
657
|
+
headers: request_headers.merge(custom_headers || {}),
|
658
|
+
base_url: request_url
|
659
|
+
}
|
660
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
661
|
+
|
662
|
+
promise = promise.then do |result|
|
663
|
+
http_response = result.response
|
664
|
+
status_code = http_response.status
|
665
|
+
response_content = http_response.body
|
666
|
+
unless status_code == 200 || status_code == 204
|
667
|
+
error_model = JSON.load(response_content)
|
668
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
669
|
+
end
|
670
|
+
|
671
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
672
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
673
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
674
|
+
|
675
|
+
result
|
676
|
+
end
|
677
|
+
|
678
|
+
promise.execute
|
679
|
+
end
|
680
|
+
|
681
|
+
end
|
682
|
+
end
|