azure_mgmt_web 0.17.1 → 0.17.6
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/models/csm_operation_collection.rb +1 -1
- data/lib/2015-04-01/generated/azure_mgmt_web/models/domain_collection.rb +1 -1
- data/lib/2015-04-01/generated/azure_mgmt_web/models/domain_ownership_identifier_collection.rb +1 -1
- data/lib/2015-04-01/generated/azure_mgmt_web/models/name_identifier_collection.rb +1 -1
- data/lib/2015-04-01/generated/azure_mgmt_web/models/tld_legal_agreement_collection.rb +1 -1
- data/lib/2015-04-01/generated/azure_mgmt_web/models/top_level_domain_collection.rb +1 -1
- 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/models/app_service_certificate_collection.rb +1 -1
- data/lib/2015-08-01/generated/azure_mgmt_web/models/app_service_certificate_order_collection.rb +1 -1
- data/lib/2015-08-01/generated/azure_mgmt_web/models/csm_operation_collection.rb +1 -1
- 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/models/application_stack_collection.rb +1 -1
- data/lib/2016-03-01/generated/azure_mgmt_web/models/billing_meter_collection.rb +1 -1
- data/lib/2016-03-01/generated/azure_mgmt_web/models/certificate_collection.rb +1 -1
- data/lib/2016-03-01/generated/azure_mgmt_web/models/csm_operation_collection.rb +1 -1
- data/lib/2016-03-01/generated/azure_mgmt_web/models/deleted_web_app_collection.rb +1 -1
- data/lib/2016-03-01/generated/azure_mgmt_web/models/detector_response_collection.rb +1 -1
- data/lib/2016-03-01/generated/azure_mgmt_web/models/diagnostic_analysis_collection.rb +1 -1
- data/lib/2016-03-01/generated/azure_mgmt_web/models/diagnostic_category_collection.rb +1 -1
- data/lib/2016-03-01/generated/azure_mgmt_web/models/diagnostic_detector_collection.rb +1 -1
- data/lib/2016-03-01/generated/azure_mgmt_web/models/geo_region_collection.rb +1 -1
- data/lib/2016-03-01/generated/azure_mgmt_web/models/identifier_collection.rb +1 -1
- data/lib/2016-03-01/generated/azure_mgmt_web/models/premier_add_on_offer_collection.rb +1 -1
- data/lib/2016-03-01/generated/azure_mgmt_web/models/recommendation_collection.rb +1 -1
- data/lib/2016-03-01/generated/azure_mgmt_web/models/resource_health_metadata_collection.rb +1 -1
- data/lib/2016-03-01/generated/azure_mgmt_web/models/source_control_collection.rb +1 -1
- 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 +47 -1
- 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/models/backup_item_collection.rb +1 -1
- data/lib/2016-08-01/generated/azure_mgmt_web/models/continuous_web_job_collection.rb +1 -1
- data/lib/2016-08-01/generated/azure_mgmt_web/models/csm_usage_quota_collection.rb +1 -1
- data/lib/2016-08-01/generated/azure_mgmt_web/models/deployment_collection.rb +1 -1
- data/lib/2016-08-01/generated/azure_mgmt_web/models/function_envelope_collection.rb +1 -1
- data/lib/2016-08-01/generated/azure_mgmt_web/models/host_name_binding_collection.rb +1 -1
- data/lib/2016-08-01/generated/azure_mgmt_web/models/identifier_collection.rb +1 -1
- data/lib/2016-08-01/generated/azure_mgmt_web/models/perf_mon_counter_collection.rb +1 -1
- data/lib/2016-08-01/generated/azure_mgmt_web/models/process_info_collection.rb +1 -1
- data/lib/2016-08-01/generated/azure_mgmt_web/models/process_module_info_collection.rb +1 -1
- data/lib/2016-08-01/generated/azure_mgmt_web/models/process_thread_info_collection.rb +1 -1
- data/lib/2016-08-01/generated/azure_mgmt_web/models/public_certificate_collection.rb +1 -1
- data/lib/2016-08-01/generated/azure_mgmt_web/models/resource_metric_collection.rb +1 -1
- data/lib/2016-08-01/generated/azure_mgmt_web/models/resource_metric_definition_collection.rb +1 -1
- data/lib/2016-08-01/generated/azure_mgmt_web/models/site_config_resource_collection.rb +1 -1
- data/lib/2016-08-01/generated/azure_mgmt_web/models/site_configuration_snapshot_info_collection.rb +1 -1
- data/lib/2016-08-01/generated/azure_mgmt_web/models/site_extension_info_collection.rb +1 -1
- data/lib/2016-08-01/generated/azure_mgmt_web/models/slot_difference_collection.rb +1 -1
- data/lib/2016-08-01/generated/azure_mgmt_web/models/snapshot_collection.rb +1 -1
- data/lib/2016-08-01/generated/azure_mgmt_web/models/triggered_job_history_collection.rb +1 -1
- data/lib/2016-08-01/generated/azure_mgmt_web/models/triggered_web_job_collection.rb +1 -1
- data/lib/2016-08-01/generated/azure_mgmt_web/models/web_app_collection.rb +1 -1
- data/lib/2016-08-01/generated/azure_mgmt_web/models/web_app_instance_collection.rb +1 -1
- data/lib/2016-08-01/generated/azure_mgmt_web/models/web_job_collection.rb +1 -1
- 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/models/app_service_environment_collection.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan_collection.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_web/models/csm_usage_quota_collection.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_web/models/hybrid_connection_collection.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_collection.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric_collection.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_web/models/resource_metric_definition_collection.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_web/models/sku_info_collection.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_web/models/stamp_capacity_collection.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_web/models/usage_collection.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_web/models/web_app_collection.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_web/models/worker_pool_collection.rb +1 -1
- 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.rb +99 -91
- 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 +168 -40
- data/lib/2018-02-01/generated/azure_mgmt_web/app_service_plans.rb +82 -8
- 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/models/app_service_certificate_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_certificate_order_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_environment_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_plan.rb +26 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_plan_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_plan_patch_resource.rb +26 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/application_stack_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/azure_storage_info_value.rb +109 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/azure_storage_property_dictionary_resource.rb +90 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/azure_storage_state.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/azure_storage_type.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/backup_item_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/backup_request.rb +11 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/billing_meter_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/continuous_web_job_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_operation_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_publishing_profile_options.rb +11 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_usage_quota_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/deleted_site.rb +54 -7
- data/lib/2018-02-01/generated/azure_mgmt_web/models/deleted_web_app_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/deployment_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/detector_response_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_analysis_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_category_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_detector_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_ownership_identifier_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/function_envelope_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/geo_region_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/host_name_binding_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/hybrid_connection_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/identifier_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/name_identifier_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/network_trace.rb +70 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/perf_mon_counter_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/premier_add_on_offer_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/process_info_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/process_module_info_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/process_thread_info_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/public_certificate_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/recommendation_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_health_metadata.rb +93 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_health_metadata_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_definition_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site.rb +13 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_config.rb +21 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_config_resource.rb +21 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_config_resource_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_configuration_snapshot_info_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_extension_info_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_patch_resource.rb +13 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/sku_info_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/sku_name.rb +2 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/slot_config_names_resource.rb +20 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/slot_difference_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/source_control_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/stamp_capacity_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/tld_legal_agreement_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/top_level_domain_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/triggered_job_history_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/triggered_web_job_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/usage_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/web_app_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/web_app_instance_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/web_job_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/models/worker_pool_collection.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_web/provider.rb +28 -8
- data/lib/2018-02-01/generated/azure_mgmt_web/recommendations.rb +44 -20
- data/lib/2018-02-01/generated/azure_mgmt_web/resource_health_metadata_operations.rb +1181 -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 +2504 -312
- data/lib/2018-02-01/generated/azure_mgmt_web/web_site_management_client.rb +88 -19
- data/lib/azure_mgmt_web.rb +6 -3
- data/lib/profiles/latest/modules/web_profile_module.rb +315 -285
- data/lib/profiles/v2018_03_01/modules/web_profile_module.rb +1235 -0
- data/lib/profiles/v2018_03_01/web_module_definition.rb +8 -0
- data/lib/profiles/v2018_03_01/web_v2018_03_01_profile_client.rb +40 -0
- 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 +71 -5
@@ -0,0 +1,140 @@
|
|
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
|
+
# A service client - single point of access to the REST API.
|
9
|
+
#
|
10
|
+
class LogicAppsManagementClient < 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] The preferred language for the response.
|
21
|
+
attr_accessor :accept_language
|
22
|
+
|
23
|
+
# @return [Integer] The retry timeout in seconds for Long Running
|
24
|
+
# Operations. Default value is 30.
|
25
|
+
attr_accessor :long_running_operation_retry_timeout
|
26
|
+
|
27
|
+
# @return [Boolean] Whether a unique x-ms-client-request-id should be
|
28
|
+
# generated. When set to true a unique x-ms-client-request-id value is
|
29
|
+
# generated and included in each request. Default is true.
|
30
|
+
attr_accessor :generate_client_request_id
|
31
|
+
|
32
|
+
# @return [ConnectionGateways] connection_gateways
|
33
|
+
attr_reader :connection_gateways
|
34
|
+
|
35
|
+
# @return [ConnectionGatewayInstallations] connection_gateway_installations
|
36
|
+
attr_reader :connection_gateway_installations
|
37
|
+
|
38
|
+
# @return [CustomApis] custom_apis
|
39
|
+
attr_reader :custom_apis
|
40
|
+
|
41
|
+
# @return [ManagedApis] managed_apis
|
42
|
+
attr_reader :managed_apis
|
43
|
+
|
44
|
+
# @return [Connections] connections
|
45
|
+
attr_reader :connections
|
46
|
+
|
47
|
+
#
|
48
|
+
# Creates initializes a new instance of the LogicAppsManagementClient class.
|
49
|
+
# @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
|
50
|
+
# @param base_url [String] the base URI of the service.
|
51
|
+
# @param options [Array] filters to be applied to the HTTP requests.
|
52
|
+
#
|
53
|
+
def initialize(credentials = nil, base_url = nil, options = nil)
|
54
|
+
super(credentials, options)
|
55
|
+
@base_url = base_url || 'https://management.azure.com'
|
56
|
+
|
57
|
+
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
|
58
|
+
@credentials = credentials
|
59
|
+
|
60
|
+
@connection_gateways = ConnectionGateways.new(self)
|
61
|
+
@connection_gateway_installations = ConnectionGatewayInstallations.new(self)
|
62
|
+
@custom_apis = CustomApis.new(self)
|
63
|
+
@managed_apis = ManagedApis.new(self)
|
64
|
+
@connections = Connections.new(self)
|
65
|
+
@accept_language = 'en-US'
|
66
|
+
@long_running_operation_retry_timeout = 30
|
67
|
+
@generate_client_request_id = true
|
68
|
+
add_telemetry
|
69
|
+
end
|
70
|
+
|
71
|
+
#
|
72
|
+
# Makes a request and returns the body of the response.
|
73
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
74
|
+
# @param path [String] the path, relative to {base_url}.
|
75
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
76
|
+
# @return [Hash{String=>String}] containing the body of the response.
|
77
|
+
# Example:
|
78
|
+
#
|
79
|
+
# request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
|
80
|
+
# path = "/path"
|
81
|
+
# options = {
|
82
|
+
# body: request_content,
|
83
|
+
# query_params: {'api-version' => '2016-02-01'}
|
84
|
+
# }
|
85
|
+
# result = @client.make_request(:put, path, options)
|
86
|
+
#
|
87
|
+
def make_request(method, path, options = {})
|
88
|
+
result = make_request_with_http_info(method, path, options)
|
89
|
+
result.body unless result.nil?
|
90
|
+
end
|
91
|
+
|
92
|
+
#
|
93
|
+
# Makes a request and returns the operation response.
|
94
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
95
|
+
# @param path [String] the path, relative to {base_url}.
|
96
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
97
|
+
# @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
|
98
|
+
#
|
99
|
+
def make_request_with_http_info(method, path, options = {})
|
100
|
+
result = make_request_async(method, path, options).value!
|
101
|
+
result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
|
102
|
+
result
|
103
|
+
end
|
104
|
+
|
105
|
+
#
|
106
|
+
# Makes a request asynchronously.
|
107
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
108
|
+
# @param path [String] the path, relative to {base_url}.
|
109
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
110
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
111
|
+
#
|
112
|
+
def make_request_async(method, path, options = {})
|
113
|
+
fail ArgumentError, 'method is nil' if method.nil?
|
114
|
+
fail ArgumentError, 'path is nil' if path.nil?
|
115
|
+
|
116
|
+
request_url = options[:base_url] || @base_url
|
117
|
+
if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
|
118
|
+
@request_headers['Content-Type'] = options[:headers]['Content-Type']
|
119
|
+
end
|
120
|
+
|
121
|
+
request_headers = @request_headers
|
122
|
+
request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
|
123
|
+
options.merge!({headers: request_headers.merge(options[:headers] || {})})
|
124
|
+
options.merge!({credentials: @credentials}) unless @credentials.nil?
|
125
|
+
|
126
|
+
super(request_url, method, path, options)
|
127
|
+
end
|
128
|
+
|
129
|
+
|
130
|
+
private
|
131
|
+
#
|
132
|
+
# Adds telemetry information.
|
133
|
+
#
|
134
|
+
def add_telemetry
|
135
|
+
sdk_information = 'azure_mgmt_web'
|
136
|
+
sdk_information = "#{sdk_information}/0.17.6"
|
137
|
+
add_user_agent_information(sdk_information)
|
138
|
+
end
|
139
|
+
end
|
140
|
+
end
|
@@ -0,0 +1,233 @@
|
|
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
|
+
# ManagedApis
|
9
|
+
#
|
10
|
+
class ManagedApis
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the ManagedApis 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 managed APIs
|
26
|
+
#
|
27
|
+
# Gets a list of managed APIs
|
28
|
+
#
|
29
|
+
# @param location [String] The location
|
30
|
+
# @param subscription_id [String] Subscription Id
|
31
|
+
# @param api_version [String] API Version
|
32
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
33
|
+
# will be added to the HTTP request.
|
34
|
+
#
|
35
|
+
# @return [ManagedApiDefinitionCollection] operation results.
|
36
|
+
#
|
37
|
+
def list(location, subscription_id, api_version, custom_headers:nil)
|
38
|
+
response = list_async(location, subscription_id, api_version, custom_headers:custom_headers).value!
|
39
|
+
response.body unless response.nil?
|
40
|
+
end
|
41
|
+
|
42
|
+
#
|
43
|
+
# Lists managed APIs
|
44
|
+
#
|
45
|
+
# Gets a list of managed APIs
|
46
|
+
#
|
47
|
+
# @param location [String] The location
|
48
|
+
# @param subscription_id [String] Subscription Id
|
49
|
+
# @param api_version [String] API Version
|
50
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
51
|
+
# will be added to the HTTP request.
|
52
|
+
#
|
53
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
54
|
+
#
|
55
|
+
def list_with_http_info(location, subscription_id, api_version, custom_headers:nil)
|
56
|
+
list_async(location, subscription_id, api_version, custom_headers:custom_headers).value!
|
57
|
+
end
|
58
|
+
|
59
|
+
#
|
60
|
+
# Lists managed APIs
|
61
|
+
#
|
62
|
+
# Gets a list of managed APIs
|
63
|
+
#
|
64
|
+
# @param location [String] The location
|
65
|
+
# @param subscription_id [String] Subscription Id
|
66
|
+
# @param api_version [String] API Version
|
67
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
68
|
+
# to the HTTP request.
|
69
|
+
#
|
70
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
71
|
+
#
|
72
|
+
def list_async(location, subscription_id, api_version, custom_headers:nil)
|
73
|
+
fail ArgumentError, 'location is nil' if location.nil?
|
74
|
+
fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
|
75
|
+
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
76
|
+
|
77
|
+
|
78
|
+
request_headers = {}
|
79
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
80
|
+
|
81
|
+
# Set Headers
|
82
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
83
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
84
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/managedApis'
|
85
|
+
|
86
|
+
request_url = @base_url || @client.base_url
|
87
|
+
|
88
|
+
options = {
|
89
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
90
|
+
path_params: {'location' => location,'subscriptionId' => subscription_id},
|
91
|
+
query_params: {'api-version' => api_version},
|
92
|
+
headers: request_headers.merge(custom_headers || {}),
|
93
|
+
base_url: request_url
|
94
|
+
}
|
95
|
+
promise = @client.make_request_async(:get, path_template, options)
|
96
|
+
|
97
|
+
promise = promise.then do |result|
|
98
|
+
http_response = result.response
|
99
|
+
status_code = http_response.status
|
100
|
+
response_content = http_response.body
|
101
|
+
unless status_code == 200
|
102
|
+
error_model = JSON.load(response_content)
|
103
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
104
|
+
end
|
105
|
+
|
106
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
107
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
108
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
109
|
+
# Deserialize Response
|
110
|
+
if status_code == 200
|
111
|
+
begin
|
112
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
113
|
+
result_mapper = Azure::Web::Mgmt::V2016_06_01::Models::ManagedApiDefinitionCollection.mapper()
|
114
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
115
|
+
rescue Exception => e
|
116
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
120
|
+
result
|
121
|
+
end
|
122
|
+
|
123
|
+
promise.execute
|
124
|
+
end
|
125
|
+
|
126
|
+
#
|
127
|
+
# Gets managed API
|
128
|
+
#
|
129
|
+
# Gets a managed API
|
130
|
+
#
|
131
|
+
# @param subscription_id [String] Subscription Id
|
132
|
+
# @param location [String] The location
|
133
|
+
# @param api_name [String] API name
|
134
|
+
# @param api_version [String] API Version
|
135
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
136
|
+
# will be added to the HTTP request.
|
137
|
+
#
|
138
|
+
# @return [ManagedApiDefinition] operation results.
|
139
|
+
#
|
140
|
+
def get(subscription_id, location, api_name, api_version, custom_headers:nil)
|
141
|
+
response = get_async(subscription_id, location, api_name, api_version, custom_headers:custom_headers).value!
|
142
|
+
response.body unless response.nil?
|
143
|
+
end
|
144
|
+
|
145
|
+
#
|
146
|
+
# Gets managed API
|
147
|
+
#
|
148
|
+
# Gets a managed API
|
149
|
+
#
|
150
|
+
# @param subscription_id [String] Subscription Id
|
151
|
+
# @param location [String] The location
|
152
|
+
# @param api_name [String] API name
|
153
|
+
# @param api_version [String] API Version
|
154
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
155
|
+
# will be added to the HTTP request.
|
156
|
+
#
|
157
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
158
|
+
#
|
159
|
+
def get_with_http_info(subscription_id, location, api_name, api_version, custom_headers:nil)
|
160
|
+
get_async(subscription_id, location, api_name, api_version, custom_headers:custom_headers).value!
|
161
|
+
end
|
162
|
+
|
163
|
+
#
|
164
|
+
# Gets managed API
|
165
|
+
#
|
166
|
+
# Gets a managed API
|
167
|
+
#
|
168
|
+
# @param subscription_id [String] Subscription Id
|
169
|
+
# @param location [String] The location
|
170
|
+
# @param api_name [String] API name
|
171
|
+
# @param api_version [String] API Version
|
172
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
173
|
+
# to the HTTP request.
|
174
|
+
#
|
175
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
176
|
+
#
|
177
|
+
def get_async(subscription_id, location, api_name, api_version, custom_headers:nil)
|
178
|
+
fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
|
179
|
+
fail ArgumentError, 'location is nil' if location.nil?
|
180
|
+
fail ArgumentError, 'api_name is nil' if api_name.nil?
|
181
|
+
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
182
|
+
|
183
|
+
|
184
|
+
request_headers = {}
|
185
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
186
|
+
|
187
|
+
# Set Headers
|
188
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
189
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
190
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/managedApis/{apiName}'
|
191
|
+
|
192
|
+
request_url = @base_url || @client.base_url
|
193
|
+
|
194
|
+
options = {
|
195
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
196
|
+
path_params: {'subscriptionId' => subscription_id,'location' => location,'apiName' => api_name},
|
197
|
+
query_params: {'api-version' => api_version},
|
198
|
+
headers: request_headers.merge(custom_headers || {}),
|
199
|
+
base_url: request_url
|
200
|
+
}
|
201
|
+
promise = @client.make_request_async(:get, path_template, options)
|
202
|
+
|
203
|
+
promise = promise.then do |result|
|
204
|
+
http_response = result.response
|
205
|
+
status_code = http_response.status
|
206
|
+
response_content = http_response.body
|
207
|
+
unless status_code == 200
|
208
|
+
error_model = JSON.load(response_content)
|
209
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
210
|
+
end
|
211
|
+
|
212
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
213
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
214
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
215
|
+
# Deserialize Response
|
216
|
+
if status_code == 200
|
217
|
+
begin
|
218
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
219
|
+
result_mapper = Azure::Web::Mgmt::V2016_06_01::Models::ManagedApiDefinition.mapper()
|
220
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
221
|
+
rescue Exception => e
|
222
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
223
|
+
end
|
224
|
+
end
|
225
|
+
|
226
|
+
result
|
227
|
+
end
|
228
|
+
|
229
|
+
promise.execute
|
230
|
+
end
|
231
|
+
|
232
|
+
end
|
233
|
+
end
|
@@ -0,0 +1,106 @@
|
|
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
|
+
module Models
|
8
|
+
#
|
9
|
+
# API connection
|
10
|
+
#
|
11
|
+
class ApiConnectionDefinition < ResourceDefinition
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [ApiConnectionDefinitionProperties]
|
16
|
+
attr_accessor :properties
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for ApiConnectionDefinition class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
client_side_validation: true,
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'ApiConnectionDefinition',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'ApiConnectionDefinition',
|
31
|
+
model_properties: {
|
32
|
+
id: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
read_only: true,
|
36
|
+
serialized_name: 'id',
|
37
|
+
type: {
|
38
|
+
name: 'String'
|
39
|
+
}
|
40
|
+
},
|
41
|
+
name: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
read_only: true,
|
45
|
+
serialized_name: 'name',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
type: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
read_only: true,
|
54
|
+
serialized_name: 'type',
|
55
|
+
type: {
|
56
|
+
name: 'String'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
location: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'location',
|
63
|
+
type: {
|
64
|
+
name: 'String'
|
65
|
+
}
|
66
|
+
},
|
67
|
+
etag: {
|
68
|
+
client_side_validation: true,
|
69
|
+
required: false,
|
70
|
+
serialized_name: 'etag',
|
71
|
+
type: {
|
72
|
+
name: 'String'
|
73
|
+
}
|
74
|
+
},
|
75
|
+
tags: {
|
76
|
+
client_side_validation: true,
|
77
|
+
required: false,
|
78
|
+
serialized_name: 'tags',
|
79
|
+
type: {
|
80
|
+
name: 'Dictionary',
|
81
|
+
value: {
|
82
|
+
client_side_validation: true,
|
83
|
+
required: false,
|
84
|
+
serialized_name: 'StringElementType',
|
85
|
+
type: {
|
86
|
+
name: 'String'
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
},
|
91
|
+
properties: {
|
92
|
+
client_side_validation: true,
|
93
|
+
required: false,
|
94
|
+
serialized_name: 'properties',
|
95
|
+
type: {
|
96
|
+
name: 'Composite',
|
97
|
+
class_name: 'ApiConnectionDefinitionProperties'
|
98
|
+
}
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
end
|
104
|
+
end
|
105
|
+
end
|
106
|
+
end
|