azure_mgmt_web 0.16.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2015-04-01/generated/azure_mgmt_web.rb +41 -39
- data/lib/2015-04-01/generated/azure_mgmt_web/domain_registration_provider.rb +1 -1
- data/lib/2015-04-01/generated/azure_mgmt_web/domains.rb +1 -1
- data/lib/2015-04-01/generated/azure_mgmt_web/models/managed_service_identity.rb +3 -2
- data/lib/2015-04-01/generated/azure_mgmt_web/models/managed_service_identity_type.rb +15 -0
- data/lib/2015-04-01/generated/azure_mgmt_web/models/site_config.rb +26 -0
- data/lib/2015-04-01/generated/azure_mgmt_web/models/supported_tls_versions.rb +17 -0
- data/lib/2015-04-01/generated/azure_mgmt_web/top_level_domains.rb +1 -1
- data/lib/2015-04-01/generated/azure_mgmt_web/web_site_management_client.rb +11 -10
- data/lib/2015-08-01/generated/azure_mgmt_web.rb +2 -0
- data/lib/2015-08-01/generated/azure_mgmt_web/app_service_certificate_orders.rb +1 -1
- data/lib/2015-08-01/generated/azure_mgmt_web/certificate_registration_provider.rb +1 -1
- data/lib/2015-08-01/generated/azure_mgmt_web/models/managed_service_identity.rb +3 -2
- data/lib/2015-08-01/generated/azure_mgmt_web/models/managed_service_identity_type.rb +15 -0
- data/lib/2015-08-01/generated/azure_mgmt_web/models/site_config.rb +26 -0
- data/lib/2015-08-01/generated/azure_mgmt_web/models/supported_tls_versions.rb +17 -0
- data/lib/2015-08-01/generated/azure_mgmt_web/web_site_management_client.rb +7 -6
- data/lib/2016-03-01/generated/azure_mgmt_web.rb +76 -52
- data/lib/2016-03-01/generated/azure_mgmt_web/billing_meters.rb +235 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/certificates.rb +1 -1
- data/lib/2016-03-01/generated/azure_mgmt_web/deleted_web_apps.rb +1 -1
- data/lib/2016-03-01/generated/azure_mgmt_web/diagnostics.rb +1143 -111
- data/lib/2016-03-01/generated/azure_mgmt_web/models/application_stack.rb +109 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/application_stack_collection.rb +99 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/billing_meter.rb +126 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/billing_meter_collection.rb +99 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/data_table_response_column.rb +68 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/data_table_response_object.rb +94 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/default_error_response.rb +48 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/default_error_response_error.rb +104 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/default_error_response_error_details_item.rb +72 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/detector_info.rb +83 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/detector_response.rb +102 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/detector_response_collection.rb +99 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/diagnostic_data.rb +60 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/managed_service_identity.rb +3 -2
- data/lib/2016-03-01/generated/azure_mgmt_web/models/managed_service_identity_type.rb +15 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/recommendation.rb +57 -22
- data/lib/2016-03-01/generated/azure_mgmt_web/models/recommendation_collection.rb +99 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/recommendation_rule.rb +49 -14
- data/lib/2016-03-01/generated/azure_mgmt_web/models/rendering.rb +71 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/rendering_type.rb +18 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/resource_health_metadata.rb +93 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/resource_health_metadata_collection.rb +99 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/site_config.rb +26 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/stack_major_version.rb +90 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/stack_minor_version.rb +69 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/models/supported_tls_versions.rb +17 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/provider.rb +277 -17
- data/lib/2016-03-01/generated/azure_mgmt_web/recommendations.rb +582 -67
- data/lib/2016-03-01/generated/azure_mgmt_web/resource_health_metadata_operations.rb +1161 -0
- data/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb +16 -6
- data/lib/2016-08-01/generated/azure_mgmt_web.rb +2 -0
- data/lib/2016-08-01/generated/azure_mgmt_web/models/managed_service_identity.rb +3 -2
- data/lib/2016-08-01/generated/azure_mgmt_web/models/managed_service_identity_type.rb +15 -0
- data/lib/2016-08-01/generated/azure_mgmt_web/models/site_config.rb +26 -0
- data/lib/2016-08-01/generated/azure_mgmt_web/models/site_config_resource.rb +26 -0
- data/lib/2016-08-01/generated/azure_mgmt_web/models/supported_tls_versions.rb +17 -0
- data/lib/2016-08-01/generated/azure_mgmt_web/web_apps.rb +87 -102
- data/lib/2016-08-01/generated/azure_mgmt_web/web_site_management_client.rb +7 -6
- data/lib/2016-09-01/generated/azure_mgmt_web.rb +2 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/app_service_environments.rb +3 -3
- data/lib/2016-09-01/generated/azure_mgmt_web/app_service_plans.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_web/models/managed_service_identity.rb +3 -2
- data/lib/2016-09-01/generated/azure_mgmt_web/models/managed_service_identity_type.rb +15 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/site_config.rb +26 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/models/supported_tls_versions.rb +17 -0
- data/lib/2016-09-01/generated/azure_mgmt_web/web_site_management_client.rb +7 -6
- data/lib/2018-02-01/generated/azure_mgmt_web.rb +369 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/app_service_certificate_orders.rb +2651 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/app_service_environments.rb +8089 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/app_service_plans.rb +4314 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/certificate_registration_provider.rb +243 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/certificates.rb +882 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/deleted_web_apps.rb +231 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/diagnostics.rb +3845 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/domain_registration_provider.rb +243 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/domains.rb +2145 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/abnormal_time_period.rb +98 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/access_control_entry_action.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/address.rb +101 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/address_response.rb +97 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/analysis_data.rb +118 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/analysis_definition.rb +82 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/api_definition_info.rb +46 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_certificate.rb +76 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_certificate_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_certificate_order.rb +359 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_certificate_order_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_certificate_order_patch_resource.rb +335 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_certificate_patch_resource.rb +112 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_certificate_resource.rb +136 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_environment.rb +570 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_environment_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_environment_patch_resource.rb +605 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_environment_resource.rb +629 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_plan.rb +329 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_plan_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_plan_patch_resource.rb +293 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/app_service_plan_restrictions.rb +20 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/application_logs_config.rb +74 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/application_stack.rb +109 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/application_stack_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/auto_heal_action_type.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/auto_heal_actions.rb +72 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/auto_heal_custom_action.rb +58 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/auto_heal_rules.rb +61 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/auto_heal_triggers.rb +91 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb +73 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/azure_blob_storage_http_logs_config.rb +72 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/azure_resource_type.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/azure_table_storage_application_logs_config.rb +60 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/backup_item.rb +257 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/backup_item_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/backup_item_status.rb +24 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/backup_request.rb +128 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/backup_restore_operation_type.rb +19 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/backup_schedule.rb +116 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/billing_meter.rb +137 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/billing_meter_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/built_in_authentication_provider.rb +19 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/capability.rb +68 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate.rb +335 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_details.rb +143 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_email.rb +92 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_order_action.rb +101 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_order_action_type.rb +28 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_order_status.rb +24 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb +311 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/certificate_product_type.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/channels.rb +19 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/check_name_resource_types.rb +22 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/clone_ability_result.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/cloning_info.rb +170 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/compute_mode_options.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/conn_string_info.rb +71 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/conn_string_value_type_pair.rb +60 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/connection_string_dictionary.rb +90 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/connection_string_type.rb +25 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/contact.rb +138 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/continuous_web_job.rb +192 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/continuous_web_job_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/continuous_web_job_status.rb +19 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/cors_settings.rb +56 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_move_resource_envelope.rb +71 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_operation_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_operation_description.rb +82 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_operation_description_properties.rb +47 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_operation_display.rb +79 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_publishing_profile_options.rb +49 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_slot_entity.rb +58 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_usage_quota.rb +91 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/csm_usage_quota_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/custom_host_name_dns_record_type.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/custom_hostname_analysis_result.rb +249 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/data_source.rb +74 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/data_table_response_column.rb +68 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/data_table_response_object.rb +94 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/database_backup_setting.rb +84 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/database_type.rb +18 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/default_error_response.rb +48 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/default_error_response_error.rb +104 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/default_error_response_error_details_item.rb +72 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/deleted_app_restore_request.rb +107 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/deleted_site.rb +107 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/deleted_web_app_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/deployment.rb +170 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/deployment_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/deployment_locations.rb +98 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/detector_abnormal_time_period.rb +153 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/detector_definition.rb +118 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/detector_info.rb +83 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/detector_response.rb +102 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/detector_response_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_analysis.rb +153 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_analysis_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_category.rb +82 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_category_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_data.rb +60 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_detector_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_detector_response.rb +197 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_metric_sample.rb +109 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/diagnostic_metric_set.rb +113 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/dimension.rb +81 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/dns_type.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/dns_verification_test_result.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/domain.rb +372 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_availablility_check_result.rb +73 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_control_center_sso_request.rb +72 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_ownership_identifier.rb +81 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_ownership_identifier_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_patch_resource.rb +348 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_purchase_consent.rb +79 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_recommendation_search_parameters.rb +58 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_status.rb +35 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/domain_type.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/enabled_config.rb +47 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/error_entity.rb +118 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/experiments.rb +55 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/file_system_application_logs_config.rb +49 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/file_system_http_logs_config.rb +78 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/frequency_unit.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/ftps_state.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/function_envelope.rb +177 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/function_envelope_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/function_secrets.rb +92 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/geo_region.rb +94 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/geo_region_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/global_csm_sku_description.rb +131 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/handler_mapping.rb +73 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/host_name.rb +119 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/host_name_binding.rb +179 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/host_name_binding_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/host_name_ssl_state.rb +106 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/host_name_type.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/host_type.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/hosting_environment_deployment_info.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/hosting_environment_diagnostics.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/hosting_environment_profile.rb +70 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/hosting_environment_status.rb +18 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/http_logs_config.rb +61 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/hybrid_connection.rb +163 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/hybrid_connection_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/hybrid_connection_key.rb +95 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/hybrid_connection_limits.rb +95 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/identifier.rb +81 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/identifier_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/in_availability_reason_type.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/internal_load_balancing_mode.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/ip_filter_tag.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/ip_security_restriction.rb +120 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/issue_type.rb +22 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/key_vault_secret_status.rb +25 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/localizable_string.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/log_level.rb +19 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/log_specification.rb +68 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/managed_pipeline_mode.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/managed_service_identity.rb +91 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/managed_service_identity_type.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/metric_availabilily.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/metric_availability.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/metric_definition.rb +128 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/metric_specification.rb +218 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/migrate_my_sql_request.rb +94 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/migrate_my_sql_status.rb +108 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/msdeploy.rb +165 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/msdeploy_log.rb +91 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/msdeploy_log_entry.rb +73 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/msdeploy_log_entry_type.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/msdeploy_provisioning_state.rb +19 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/msdeploy_status.rb +132 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/my_sql_migration_type.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/name_identifier.rb +46 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/name_identifier_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/name_value_pair.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/network_access_control_entry.rb +81 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/network_features.rb +140 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/notification_level.rb +18 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/operation.rb +135 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/operation_status.rb +19 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/perf_mon_counter_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/perf_mon_response.rb +69 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/perf_mon_sample.rb +68 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/perf_mon_set.rb +100 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/premier_add_on.rb +149 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/premier_add_on_offer.rb +184 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/premier_add_on_offer_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/premier_add_on_patch_resource.rb +125 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/private_access.rb +102 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/private_access_subnet.rb +58 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/private_access_virtual_network.rb +91 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/process_info.rb +509 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/process_info_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/process_module_info.rb +192 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/process_module_info_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/process_thread_info.rb +214 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/process_thread_info_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/provisioning_state.rb +19 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/proxy_only_resource.rb +83 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/public_certificate.rb +106 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/public_certificate_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/public_certificate_location.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/publishing_profile_format.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/push_settings.rb +123 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/ramp_up_rule.rb +141 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/recommendation.rb +360 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/recommendation_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/recommendation_rule.rb +237 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/reissue_certificate_order_request.rb +116 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/relay_service_connection_entity.rb +147 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/rendering.rb +71 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/rendering_type.rb +18 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/renew_certificate_order_request.rb +104 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/requests_based_trigger.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/resource.rb +112 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_collection.rb +98 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric.rb +163 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_availability.rb +59 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_definition.rb +148 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_definition_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_name.rb +59 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_property.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_metric_value.rb +129 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_name_availability.rb +78 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_name_availability_request.rb +71 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/resource_scope_type.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/response_meta_data.rb +48 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/restore_request.rb +217 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/route_type.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/scm_type.rb +27 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/service_specification.rb +76 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site.rb +554 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_auth_settings.rb +477 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_availability_state.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_cloneability.rb +113 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_cloneability_criterion.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_config.rb +676 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_config_resource.rb +711 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_config_resource_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_configuration_snapshot_info.rb +94 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_configuration_snapshot_info_collection.rb +101 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_extension_info.rb +301 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_extension_info_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_extension_type.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_instance.rb +82 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_limits.rb +68 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_load_balancing.rb +19 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_logs_config.rb +118 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_machine_key.rb +79 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_patch_resource.rb +518 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_php_error_log_flag.rb +114 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_seal.rb +46 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_seal_request.rb +58 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/site_source_control.rb +129 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/sku_capacity.rb +83 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/sku_description.rb +142 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/sku_info.rb +70 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/sku_info_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/sku_infos.rb +67 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/sku_name.rb +22 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/slot_config_names_resource.rb +108 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/slot_difference.rb +157 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/slot_difference_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/slot_swap_status.rb +71 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb +68 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/snapshot.rb +82 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_collection.rb +100 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_recovery_source.rb +62 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/snapshot_restore_request.rb +133 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/solution.rb +148 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/solution_type.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/source_control.rb +114 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/source_control_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/ssl_state.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/stack_major_version.rb +90 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/stack_minor_version.rb +69 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/stamp_capacity.rb +167 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/stamp_capacity_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/status_codes_based_trigger.rb +90 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/status_options.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/storage_migration_options.rb +119 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/storage_migration_response.rb +83 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/string_dictionary.rb +89 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/supported_tls_versions.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/swift_virtual_network.rb +96 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/tld_legal_agreement.rb +79 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/tld_legal_agreement_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/top_level_domain.rb +82 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/top_level_domain_agreement_option.rb +61 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/top_level_domain_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/triggered_job_history.rb +91 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/triggered_job_history_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/triggered_job_run.rb +193 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/triggered_web_job.rb +191 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/triggered_web_job_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/triggered_web_job_status.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/unauthenticated_client_action.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/usage.rb +168 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/usage_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/usage_state.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/user.rb +125 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/validate_request.rb +155 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/validate_resource_types.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/validate_response.rb +59 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/validate_response_error.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/virtual_application.rb +90 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/virtual_directory.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/virtual_ipmapping.rb +79 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/virtual_network_profile.rb +81 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/vnet_gateway.rb +93 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/vnet_info.rb +153 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/vnet_parameters.rb +103 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/vnet_route.rb +115 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/vnet_validation_failure_details.rb +102 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/vnet_validation_test_failure.rb +93 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/web_app_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/web_app_instance_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/web_job.rb +157 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/web_job_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/web_job_type.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/worker_pool.rb +102 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/worker_pool_collection.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/worker_pool_resource.rb +149 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/models/worker_size_options.rb +21 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/module_definition.rb +9 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/provider.rb +661 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/recommendations.rb +1331 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/top_level_domains.rb +566 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/web_apps.rb +45908 -0
- data/lib/2018-02-01/generated/azure_mgmt_web/web_site_management_client.rb +2701 -0
- data/lib/azure_mgmt_web.rb +3 -2
- data/lib/profiles/latest/modules/web_profile_module.rb +1045 -969
- data/lib/version.rb +1 -1
- metadata +382 -5
@@ -24,15 +24,16 @@ module Azure::Web::Mgmt::V2015_08_01
|
|
24
24
|
# @return [String] API Version
|
25
25
|
attr_reader :api_version
|
26
26
|
|
27
|
-
# @return [String]
|
27
|
+
# @return [String] The preferred language for the response.
|
28
28
|
attr_accessor :accept_language
|
29
29
|
|
30
|
-
# @return [Integer]
|
31
|
-
#
|
30
|
+
# @return [Integer] The retry timeout in seconds for Long Running
|
31
|
+
# Operations. Default value is 30.
|
32
32
|
attr_accessor :long_running_operation_retry_timeout
|
33
33
|
|
34
|
-
# @return [Boolean]
|
35
|
-
#
|
34
|
+
# @return [Boolean] Whether a unique x-ms-client-request-id should be
|
35
|
+
# generated. When set to true a unique x-ms-client-request-id value is
|
36
|
+
# generated and included in each request. Default is true.
|
36
37
|
attr_accessor :generate_client_request_id
|
37
38
|
|
38
39
|
# @return [AppServiceCertificateOrders] app_service_certificate_orders
|
@@ -129,7 +130,7 @@ module Azure::Web::Mgmt::V2015_08_01
|
|
129
130
|
#
|
130
131
|
def add_telemetry
|
131
132
|
sdk_information = 'azure_mgmt_web'
|
132
|
-
sdk_information = "#{sdk_information}/0.
|
133
|
+
sdk_information = "#{sdk_information}/0.17.0"
|
133
134
|
add_user_agent_information(sdk_information)
|
134
135
|
end
|
135
136
|
end
|
@@ -25,99 +25,115 @@ module Azure::Web::Mgmt::V2016_03_01
|
|
25
25
|
autoload :Diagnostics, '2016-03-01/generated/azure_mgmt_web/diagnostics.rb'
|
26
26
|
autoload :Provider, '2016-03-01/generated/azure_mgmt_web/provider.rb'
|
27
27
|
autoload :Recommendations, '2016-03-01/generated/azure_mgmt_web/recommendations.rb'
|
28
|
+
autoload :ResourceHealthMetadataOperations, '2016-03-01/generated/azure_mgmt_web/resource_health_metadata_operations.rb'
|
29
|
+
autoload :BillingMeters, '2016-03-01/generated/azure_mgmt_web/billing_meters.rb'
|
28
30
|
autoload :WebSiteManagementClient, '2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb'
|
29
31
|
|
30
32
|
module Models
|
31
|
-
autoload :
|
32
|
-
autoload :
|
33
|
-
autoload :
|
33
|
+
autoload :DefaultErrorResponseErrorDetailsItem, '2016-03-01/generated/azure_mgmt_web/models/default_error_response_error_details_item.rb'
|
34
|
+
autoload :HostingEnvironmentProfile, '2016-03-01/generated/azure_mgmt_web/models/hosting_environment_profile.rb'
|
35
|
+
autoload :DefaultErrorResponseError, '2016-03-01/generated/azure_mgmt_web/models/default_error_response_error.rb'
|
34
36
|
autoload :CertificateCollection, '2016-03-01/generated/azure_mgmt_web/models/certificate_collection.rb'
|
35
|
-
autoload :
|
37
|
+
autoload :DefaultErrorResponse, '2016-03-01/generated/azure_mgmt_web/models/default_error_response.rb'
|
38
|
+
autoload :CsmOperationDisplay, '2016-03-01/generated/azure_mgmt_web/models/csm_operation_display.rb'
|
39
|
+
autoload :Dimension, '2016-03-01/generated/azure_mgmt_web/models/dimension.rb'
|
36
40
|
autoload :ValidateResponse, '2016-03-01/generated/azure_mgmt_web/models/validate_response.rb'
|
37
|
-
autoload :
|
38
|
-
autoload :ValidateRequest, '2016-03-01/generated/azure_mgmt_web/models/validate_request.rb'
|
39
|
-
autoload :WorkerPool, '2016-03-01/generated/azure_mgmt_web/models/worker_pool.rb'
|
41
|
+
autoload :MetricAvailability, '2016-03-01/generated/azure_mgmt_web/models/metric_availability.rb'
|
40
42
|
autoload :SnapshotRecoveryTarget, '2016-03-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb'
|
41
|
-
autoload :
|
43
|
+
autoload :MetricSpecification, '2016-03-01/generated/azure_mgmt_web/models/metric_specification.rb'
|
42
44
|
autoload :ResourceMetricAvailability, '2016-03-01/generated/azure_mgmt_web/models/resource_metric_availability.rb'
|
43
|
-
autoload :
|
45
|
+
autoload :ServiceSpecification, '2016-03-01/generated/azure_mgmt_web/models/service_specification.rb'
|
46
|
+
autoload :SourceControlCollection, '2016-03-01/generated/azure_mgmt_web/models/source_control_collection.rb'
|
47
|
+
autoload :CsmOperationDescriptionProperties, '2016-03-01/generated/azure_mgmt_web/models/csm_operation_description_properties.rb'
|
44
48
|
autoload :ResourceNameAvailabilityRequest, '2016-03-01/generated/azure_mgmt_web/models/resource_name_availability_request.rb'
|
45
|
-
autoload :
|
49
|
+
autoload :CsmOperationDescription, '2016-03-01/generated/azure_mgmt_web/models/csm_operation_description.rb'
|
46
50
|
autoload :PremierAddOnOfferCollection, '2016-03-01/generated/azure_mgmt_web/models/premier_add_on_offer_collection.rb'
|
47
|
-
autoload :
|
48
|
-
autoload :GeoRegionCollection, '2016-03-01/generated/azure_mgmt_web/models/geo_region_collection.rb'
|
49
|
-
autoload :AppServicePlanCollection, '2016-03-01/generated/azure_mgmt_web/models/app_service_plan_collection.rb'
|
51
|
+
autoload :CsmOperationCollection, '2016-03-01/generated/azure_mgmt_web/models/csm_operation_collection.rb'
|
50
52
|
autoload :ManagedServiceIdentity, '2016-03-01/generated/azure_mgmt_web/models/managed_service_identity.rb'
|
51
|
-
autoload :
|
53
|
+
autoload :LocalizableString, '2016-03-01/generated/azure_mgmt_web/models/localizable_string.rb'
|
52
54
|
autoload :CloningInfo, '2016-03-01/generated/azure_mgmt_web/models/cloning_info.rb'
|
53
|
-
autoload :
|
55
|
+
autoload :CsmUsageQuota, '2016-03-01/generated/azure_mgmt_web/models/csm_usage_quota.rb'
|
54
56
|
autoload :ApiDefinitionInfo, '2016-03-01/generated/azure_mgmt_web/models/api_definition_info.rb'
|
55
|
-
autoload :
|
57
|
+
autoload :CsmUsageQuotaCollection, '2016-03-01/generated/azure_mgmt_web/models/csm_usage_quota_collection.rb'
|
56
58
|
autoload :AutoHealCustomAction, '2016-03-01/generated/azure_mgmt_web/models/auto_heal_custom_action.rb'
|
57
|
-
autoload :
|
59
|
+
autoload :ErrorEntity, '2016-03-01/generated/azure_mgmt_web/models/error_entity.rb'
|
58
60
|
autoload :SlowRequestsBasedTrigger, '2016-03-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb'
|
59
|
-
autoload :
|
61
|
+
autoload :StatusCodesBasedTrigger, '2016-03-01/generated/azure_mgmt_web/models/status_codes_based_trigger.rb'
|
60
62
|
autoload :RequestsBasedTrigger, '2016-03-01/generated/azure_mgmt_web/models/requests_based_trigger.rb'
|
61
|
-
autoload :
|
63
|
+
autoload :ApplicationStack, '2016-03-01/generated/azure_mgmt_web/models/application_stack.rb'
|
62
64
|
autoload :AutoHealRules, '2016-03-01/generated/azure_mgmt_web/models/auto_heal_rules.rb'
|
63
|
-
autoload :
|
65
|
+
autoload :StackMajorVersion, '2016-03-01/generated/azure_mgmt_web/models/stack_major_version.rb'
|
64
66
|
autoload :RampUpRule, '2016-03-01/generated/azure_mgmt_web/models/ramp_up_rule.rb'
|
65
|
-
autoload :CsmOperationCollection, '2016-03-01/generated/azure_mgmt_web/models/csm_operation_collection.rb'
|
66
|
-
autoload :VirtualDirectory, '2016-03-01/generated/azure_mgmt_web/models/virtual_directory.rb'
|
67
|
-
autoload :LocalizableString, '2016-03-01/generated/azure_mgmt_web/models/localizable_string.rb'
|
68
|
-
autoload :HandlerMapping, '2016-03-01/generated/azure_mgmt_web/models/handler_mapping.rb'
|
69
|
-
autoload :CsmUsageQuota, '2016-03-01/generated/azure_mgmt_web/models/csm_usage_quota.rb'
|
70
|
-
autoload :ConnStringInfo, '2016-03-01/generated/azure_mgmt_web/models/conn_string_info.rb'
|
71
|
-
autoload :CsmUsageQuotaCollection, '2016-03-01/generated/azure_mgmt_web/models/csm_usage_quota_collection.rb'
|
72
|
-
autoload :SiteConfig, '2016-03-01/generated/azure_mgmt_web/models/site_config.rb'
|
73
|
-
autoload :ErrorEntity, '2016-03-01/generated/azure_mgmt_web/models/error_entity.rb'
|
74
67
|
autoload :DeploymentLocations, '2016-03-01/generated/azure_mgmt_web/models/deployment_locations.rb'
|
68
|
+
autoload :VirtualDirectory, '2016-03-01/generated/azure_mgmt_web/models/virtual_directory.rb'
|
75
69
|
autoload :IdentifierCollection, '2016-03-01/generated/azure_mgmt_web/models/identifier_collection.rb'
|
76
|
-
autoload :
|
70
|
+
autoload :HandlerMapping, '2016-03-01/generated/azure_mgmt_web/models/handler_mapping.rb'
|
77
71
|
autoload :NameIdentifier, '2016-03-01/generated/azure_mgmt_web/models/name_identifier.rb'
|
72
|
+
autoload :ConnStringInfo, '2016-03-01/generated/azure_mgmt_web/models/conn_string_info.rb'
|
78
73
|
autoload :Operation, '2016-03-01/generated/azure_mgmt_web/models/operation.rb'
|
79
|
-
autoload :
|
74
|
+
autoload :SiteConfig, '2016-03-01/generated/azure_mgmt_web/models/site_config.rb'
|
80
75
|
autoload :ResourceMetricProperty, '2016-03-01/generated/azure_mgmt_web/models/resource_metric_property.rb'
|
81
|
-
autoload :ResourceMetricName, '2016-03-01/generated/azure_mgmt_web/models/resource_metric_name.rb'
|
82
|
-
autoload :ResourceMetricValue, '2016-03-01/generated/azure_mgmt_web/models/resource_metric_value.rb'
|
83
76
|
autoload :GlobalCsmSkuDescription, '2016-03-01/generated/azure_mgmt_web/models/global_csm_sku_description.rb'
|
77
|
+
autoload :ResourceMetricValue, '2016-03-01/generated/azure_mgmt_web/models/resource_metric_value.rb'
|
78
|
+
autoload :SkuCapacity, '2016-03-01/generated/azure_mgmt_web/models/sku_capacity.rb'
|
84
79
|
autoload :ResourceMetric, '2016-03-01/generated/azure_mgmt_web/models/resource_metric.rb'
|
85
|
-
autoload :
|
80
|
+
autoload :GeoRegionCollection, '2016-03-01/generated/azure_mgmt_web/models/geo_region_collection.rb'
|
86
81
|
autoload :ResourceMetricCollection, '2016-03-01/generated/azure_mgmt_web/models/resource_metric_collection.rb'
|
87
|
-
autoload :
|
82
|
+
autoload :VirtualNetworkProfile, '2016-03-01/generated/azure_mgmt_web/models/virtual_network_profile.rb'
|
88
83
|
autoload :ResourceMetricDefinitionCollection, '2016-03-01/generated/azure_mgmt_web/models/resource_metric_definition_collection.rb'
|
89
|
-
autoload :
|
84
|
+
autoload :VirtualIPMapping, '2016-03-01/generated/azure_mgmt_web/models/virtual_ipmapping.rb'
|
90
85
|
autoload :WebAppCollection, '2016-03-01/generated/azure_mgmt_web/models/web_app_collection.rb'
|
91
|
-
autoload :
|
86
|
+
autoload :NetworkAccessControlEntry, '2016-03-01/generated/azure_mgmt_web/models/network_access_control_entry.rb'
|
92
87
|
autoload :DeletedSite, '2016-03-01/generated/azure_mgmt_web/models/deleted_site.rb'
|
93
|
-
autoload :
|
88
|
+
autoload :AppServicePlanCollection, '2016-03-01/generated/azure_mgmt_web/models/app_service_plan_collection.rb'
|
94
89
|
autoload :DeletedWebAppCollection, '2016-03-01/generated/azure_mgmt_web/models/deleted_web_app_collection.rb'
|
95
|
-
autoload :
|
90
|
+
autoload :ValidateResponseError, '2016-03-01/generated/azure_mgmt_web/models/validate_response_error.rb'
|
96
91
|
autoload :Solution, '2016-03-01/generated/azure_mgmt_web/models/solution.rb'
|
97
|
-
autoload :
|
92
|
+
autoload :ResourceMetricName, '2016-03-01/generated/azure_mgmt_web/models/resource_metric_name.rb'
|
98
93
|
autoload :DetectorAbnormalTimePeriod, '2016-03-01/generated/azure_mgmt_web/models/detector_abnormal_time_period.rb'
|
99
|
-
autoload :ValidateResponseError, '2016-03-01/generated/azure_mgmt_web/models/validate_response_error.rb'
|
100
|
-
autoload :AbnormalTimePeriod, '2016-03-01/generated/azure_mgmt_web/models/abnormal_time_period.rb'
|
101
94
|
autoload :ResourceNameAvailability, '2016-03-01/generated/azure_mgmt_web/models/resource_name_availability.rb'
|
102
|
-
autoload :
|
103
|
-
autoload :
|
95
|
+
autoload :AbnormalTimePeriod, '2016-03-01/generated/azure_mgmt_web/models/abnormal_time_period.rb'
|
96
|
+
autoload :SlotSwapStatus, '2016-03-01/generated/azure_mgmt_web/models/slot_swap_status.rb'
|
97
|
+
autoload :HostingEnvironmentDeploymentInfo, '2016-03-01/generated/azure_mgmt_web/models/hosting_environment_deployment_info.rb'
|
98
|
+
autoload :CorsSettings, '2016-03-01/generated/azure_mgmt_web/models/cors_settings.rb'
|
104
99
|
autoload :DiagnosticMetricSample, '2016-03-01/generated/azure_mgmt_web/models/diagnostic_metric_sample.rb'
|
105
100
|
autoload :AutoHealTriggers, '2016-03-01/generated/azure_mgmt_web/models/auto_heal_triggers.rb'
|
106
101
|
autoload :DiagnosticMetricSet, '2016-03-01/generated/azure_mgmt_web/models/diagnostic_metric_set.rb'
|
107
|
-
autoload :
|
102
|
+
autoload :Experiments, '2016-03-01/generated/azure_mgmt_web/models/experiments.rb'
|
108
103
|
autoload :DataSource, '2016-03-01/generated/azure_mgmt_web/models/data_source.rb'
|
109
|
-
autoload :
|
104
|
+
autoload :SiteMachineKey, '2016-03-01/generated/azure_mgmt_web/models/site_machine_key.rb'
|
110
105
|
autoload :ResponseMetaData, '2016-03-01/generated/azure_mgmt_web/models/response_meta_data.rb'
|
111
|
-
autoload :
|
106
|
+
autoload :HostNameSslState, '2016-03-01/generated/azure_mgmt_web/models/host_name_ssl_state.rb'
|
112
107
|
autoload :AnalysisData, '2016-03-01/generated/azure_mgmt_web/models/analysis_data.rb'
|
113
|
-
autoload :
|
114
|
-
autoload :
|
108
|
+
autoload :SkuDescription, '2016-03-01/generated/azure_mgmt_web/models/sku_description.rb'
|
109
|
+
autoload :CsmMoveResourceEnvelope, '2016-03-01/generated/azure_mgmt_web/models/csm_move_resource_envelope.rb'
|
110
|
+
autoload :WorkerPool, '2016-03-01/generated/azure_mgmt_web/models/worker_pool.rb'
|
111
|
+
autoload :DataTableResponseColumn, '2016-03-01/generated/azure_mgmt_web/models/data_table_response_column.rb'
|
112
|
+
autoload :AppServiceEnvironment, '2016-03-01/generated/azure_mgmt_web/models/app_service_environment.rb'
|
113
|
+
autoload :DataTableResponseObject, '2016-03-01/generated/azure_mgmt_web/models/data_table_response_object.rb'
|
114
|
+
autoload :ValidateRequest, '2016-03-01/generated/azure_mgmt_web/models/validate_request.rb'
|
115
|
+
autoload :DetectorInfo, '2016-03-01/generated/azure_mgmt_web/models/detector_info.rb'
|
116
|
+
autoload :ProxyOnlyResource, '2016-03-01/generated/azure_mgmt_web/models/proxy_only_resource.rb'
|
117
|
+
autoload :Rendering, '2016-03-01/generated/azure_mgmt_web/models/rendering.rb'
|
118
|
+
autoload :AutoHealActions, '2016-03-01/generated/azure_mgmt_web/models/auto_heal_actions.rb'
|
119
|
+
autoload :DiagnosticData, '2016-03-01/generated/azure_mgmt_web/models/diagnostic_data.rb'
|
120
|
+
autoload :VirtualApplication, '2016-03-01/generated/azure_mgmt_web/models/virtual_application.rb'
|
121
|
+
autoload :BillingMeterCollection, '2016-03-01/generated/azure_mgmt_web/models/billing_meter_collection.rb'
|
122
|
+
autoload :Capability, '2016-03-01/generated/azure_mgmt_web/models/capability.rb'
|
123
|
+
autoload :DetectorResponseCollection, '2016-03-01/generated/azure_mgmt_web/models/detector_response_collection.rb'
|
124
|
+
autoload :StampCapacity, '2016-03-01/generated/azure_mgmt_web/models/stamp_capacity.rb'
|
125
|
+
autoload :ResourceHealthMetadataCollection, '2016-03-01/generated/azure_mgmt_web/models/resource_health_metadata_collection.rb'
|
115
126
|
autoload :SkuInfos, '2016-03-01/generated/azure_mgmt_web/models/sku_infos.rb'
|
116
|
-
autoload :DiagnosticDetectorCollection, '2016-03-01/generated/azure_mgmt_web/models/diagnostic_detector_collection.rb'
|
117
|
-
autoload :HostNameSslState, '2016-03-01/generated/azure_mgmt_web/models/host_name_ssl_state.rb'
|
118
127
|
autoload :DiagnosticAnalysisCollection, '2016-03-01/generated/azure_mgmt_web/models/diagnostic_analysis_collection.rb'
|
119
|
-
autoload :
|
128
|
+
autoload :SiteLimits, '2016-03-01/generated/azure_mgmt_web/models/site_limits.rb'
|
129
|
+
autoload :RecommendationCollection, '2016-03-01/generated/azure_mgmt_web/models/recommendation_collection.rb'
|
130
|
+
autoload :Resource, '2016-03-01/generated/azure_mgmt_web/models/resource.rb'
|
120
131
|
autoload :DiagnosticCategoryCollection, '2016-03-01/generated/azure_mgmt_web/models/diagnostic_category_collection.rb'
|
132
|
+
autoload :IpSecurityRestriction, '2016-03-01/generated/azure_mgmt_web/models/ip_security_restriction.rb'
|
133
|
+
autoload :DiagnosticDetectorCollection, '2016-03-01/generated/azure_mgmt_web/models/diagnostic_detector_collection.rb'
|
134
|
+
autoload :ApplicationStackCollection, '2016-03-01/generated/azure_mgmt_web/models/application_stack_collection.rb'
|
135
|
+
autoload :NameValuePair, '2016-03-01/generated/azure_mgmt_web/models/name_value_pair.rb'
|
136
|
+
autoload :StackMinorVersion, '2016-03-01/generated/azure_mgmt_web/models/stack_minor_version.rb'
|
121
137
|
autoload :Certificate, '2016-03-01/generated/azure_mgmt_web/models/certificate.rb'
|
122
138
|
autoload :CertificatePatchResource, '2016-03-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb'
|
123
139
|
autoload :VnetRoute, '2016-03-01/generated/azure_mgmt_web/models/vnet_route.rb'
|
@@ -134,9 +150,14 @@ module Azure::Web::Mgmt::V2016_03_01
|
|
134
150
|
autoload :AppServicePlan, '2016-03-01/generated/azure_mgmt_web/models/app_service_plan.rb'
|
135
151
|
autoload :DetectorDefinition, '2016-03-01/generated/azure_mgmt_web/models/detector_definition.rb'
|
136
152
|
autoload :AnalysisDefinition, '2016-03-01/generated/azure_mgmt_web/models/analysis_definition.rb'
|
153
|
+
autoload :DetectorResponse, '2016-03-01/generated/azure_mgmt_web/models/detector_response.rb'
|
137
154
|
autoload :DiagnosticAnalysis, '2016-03-01/generated/azure_mgmt_web/models/diagnostic_analysis.rb'
|
138
155
|
autoload :DiagnosticCategory, '2016-03-01/generated/azure_mgmt_web/models/diagnostic_category.rb'
|
139
156
|
autoload :DiagnosticDetectorResponse, '2016-03-01/generated/azure_mgmt_web/models/diagnostic_detector_response.rb'
|
157
|
+
autoload :Recommendation, '2016-03-01/generated/azure_mgmt_web/models/recommendation.rb'
|
158
|
+
autoload :RecommendationRule, '2016-03-01/generated/azure_mgmt_web/models/recommendation_rule.rb'
|
159
|
+
autoload :ResourceHealthMetadata, '2016-03-01/generated/azure_mgmt_web/models/resource_health_metadata.rb'
|
160
|
+
autoload :BillingMeter, '2016-03-01/generated/azure_mgmt_web/models/billing_meter.rb'
|
140
161
|
autoload :GeoRegion, '2016-03-01/generated/azure_mgmt_web/models/geo_region.rb'
|
141
162
|
autoload :PremierAddOnOffer, '2016-03-01/generated/azure_mgmt_web/models/premier_add_on_offer.rb'
|
142
163
|
autoload :SourceControl, '2016-03-01/generated/azure_mgmt_web/models/source_control.rb'
|
@@ -145,11 +166,13 @@ module Azure::Web::Mgmt::V2016_03_01
|
|
145
166
|
autoload :VnetValidationFailureDetails, '2016-03-01/generated/azure_mgmt_web/models/vnet_validation_failure_details.rb'
|
146
167
|
autoload :KeyVaultSecretStatus, '2016-03-01/generated/azure_mgmt_web/models/key_vault_secret_status.rb'
|
147
168
|
autoload :RouteType, '2016-03-01/generated/azure_mgmt_web/models/route_type.rb'
|
169
|
+
autoload :ManagedServiceIdentityType, '2016-03-01/generated/azure_mgmt_web/models/managed_service_identity_type.rb'
|
148
170
|
autoload :AutoHealActionType, '2016-03-01/generated/azure_mgmt_web/models/auto_heal_action_type.rb'
|
149
171
|
autoload :ConnectionStringType, '2016-03-01/generated/azure_mgmt_web/models/connection_string_type.rb'
|
150
172
|
autoload :ScmType, '2016-03-01/generated/azure_mgmt_web/models/scm_type.rb'
|
151
173
|
autoload :ManagedPipelineMode, '2016-03-01/generated/azure_mgmt_web/models/managed_pipeline_mode.rb'
|
152
174
|
autoload :SiteLoadBalancing, '2016-03-01/generated/azure_mgmt_web/models/site_load_balancing.rb'
|
175
|
+
autoload :SupportedTlsVersions, '2016-03-01/generated/azure_mgmt_web/models/supported_tls_versions.rb'
|
153
176
|
autoload :SslState, '2016-03-01/generated/azure_mgmt_web/models/ssl_state.rb'
|
154
177
|
autoload :HostType, '2016-03-01/generated/azure_mgmt_web/models/host_type.rb'
|
155
178
|
autoload :UsageState, '2016-03-01/generated/azure_mgmt_web/models/usage_state.rb'
|
@@ -164,6 +187,7 @@ module Azure::Web::Mgmt::V2016_03_01
|
|
164
187
|
autoload :OperationStatus, '2016-03-01/generated/azure_mgmt_web/models/operation_status.rb'
|
165
188
|
autoload :IssueType, '2016-03-01/generated/azure_mgmt_web/models/issue_type.rb'
|
166
189
|
autoload :SolutionType, '2016-03-01/generated/azure_mgmt_web/models/solution_type.rb'
|
190
|
+
autoload :RenderingType, '2016-03-01/generated/azure_mgmt_web/models/rendering_type.rb'
|
167
191
|
autoload :ResourceScopeType, '2016-03-01/generated/azure_mgmt_web/models/resource_scope_type.rb'
|
168
192
|
autoload :NotificationLevel, '2016-03-01/generated/azure_mgmt_web/models/notification_level.rb'
|
169
193
|
autoload :Channels, '2016-03-01/generated/azure_mgmt_web/models/channels.rb'
|
@@ -0,0 +1,235 @@
|
|
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_03_01
|
7
|
+
#
|
8
|
+
# WebSite Management Client
|
9
|
+
#
|
10
|
+
class BillingMeters
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the BillingMeters class.
|
15
|
+
# @param client service class for accessing basic functionality.
|
16
|
+
#
|
17
|
+
def initialize(client)
|
18
|
+
@client = client
|
19
|
+
end
|
20
|
+
|
21
|
+
# @return [WebSiteManagementClient] reference to the WebSiteManagementClient
|
22
|
+
attr_reader :client
|
23
|
+
|
24
|
+
#
|
25
|
+
# Gets a list of meters for a given location.
|
26
|
+
#
|
27
|
+
# Gets a list of meters for a given location.
|
28
|
+
#
|
29
|
+
# @param billing_location [String] Azure Location of billable resource
|
30
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
31
|
+
# will be added to the HTTP request.
|
32
|
+
#
|
33
|
+
# @return [Array<BillingMeter>] operation results.
|
34
|
+
#
|
35
|
+
def list(billing_location:nil, custom_headers:nil)
|
36
|
+
first_page = list_as_lazy(billing_location:billing_location, custom_headers:custom_headers)
|
37
|
+
first_page.get_all_items
|
38
|
+
end
|
39
|
+
|
40
|
+
#
|
41
|
+
# Gets a list of meters for a given location.
|
42
|
+
#
|
43
|
+
# Gets a list of meters for a given location.
|
44
|
+
#
|
45
|
+
# @param billing_location [String] Azure Location of billable resource
|
46
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
47
|
+
# will be added to the HTTP request.
|
48
|
+
#
|
49
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
50
|
+
#
|
51
|
+
def list_with_http_info(billing_location:nil, custom_headers:nil)
|
52
|
+
list_async(billing_location:billing_location, custom_headers:custom_headers).value!
|
53
|
+
end
|
54
|
+
|
55
|
+
#
|
56
|
+
# Gets a list of meters for a given location.
|
57
|
+
#
|
58
|
+
# Gets a list of meters for a given location.
|
59
|
+
#
|
60
|
+
# @param billing_location [String] Azure Location of billable resource
|
61
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
62
|
+
# to the HTTP request.
|
63
|
+
#
|
64
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
65
|
+
#
|
66
|
+
def list_async(billing_location:nil, custom_headers:nil)
|
67
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
68
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
69
|
+
|
70
|
+
|
71
|
+
request_headers = {}
|
72
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
73
|
+
|
74
|
+
# Set Headers
|
75
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
76
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
77
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Web/billingMeters'
|
78
|
+
|
79
|
+
request_url = @base_url || @client.base_url
|
80
|
+
|
81
|
+
options = {
|
82
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
83
|
+
path_params: {'subscriptionId' => @client.subscription_id},
|
84
|
+
query_params: {'billingLocation' => billing_location,'api-version' => @client.api_version},
|
85
|
+
headers: request_headers.merge(custom_headers || {}),
|
86
|
+
base_url: request_url
|
87
|
+
}
|
88
|
+
promise = @client.make_request_async(:get, path_template, options)
|
89
|
+
|
90
|
+
promise = promise.then do |result|
|
91
|
+
http_response = result.response
|
92
|
+
status_code = http_response.status
|
93
|
+
response_content = http_response.body
|
94
|
+
unless status_code == 200
|
95
|
+
error_model = JSON.load(response_content)
|
96
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
97
|
+
end
|
98
|
+
|
99
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
100
|
+
# Deserialize Response
|
101
|
+
if status_code == 200
|
102
|
+
begin
|
103
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
104
|
+
result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::BillingMeterCollection.mapper()
|
105
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
106
|
+
rescue Exception => e
|
107
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
111
|
+
result
|
112
|
+
end
|
113
|
+
|
114
|
+
promise.execute
|
115
|
+
end
|
116
|
+
|
117
|
+
#
|
118
|
+
# Gets a list of meters for a given location.
|
119
|
+
#
|
120
|
+
# Gets a list of meters for a given location.
|
121
|
+
#
|
122
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
123
|
+
# to List operation.
|
124
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
125
|
+
# will be added to the HTTP request.
|
126
|
+
#
|
127
|
+
# @return [BillingMeterCollection] operation results.
|
128
|
+
#
|
129
|
+
def list_next(next_page_link, custom_headers:nil)
|
130
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
131
|
+
response.body unless response.nil?
|
132
|
+
end
|
133
|
+
|
134
|
+
#
|
135
|
+
# Gets a list of meters for a given location.
|
136
|
+
#
|
137
|
+
# Gets a list of meters for a given location.
|
138
|
+
#
|
139
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
140
|
+
# to List operation.
|
141
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
142
|
+
# will be added to the HTTP request.
|
143
|
+
#
|
144
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
145
|
+
#
|
146
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
147
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
148
|
+
end
|
149
|
+
|
150
|
+
#
|
151
|
+
# Gets a list of meters for a given location.
|
152
|
+
#
|
153
|
+
# Gets a list of meters for a given location.
|
154
|
+
#
|
155
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
156
|
+
# to List operation.
|
157
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
158
|
+
# to the HTTP request.
|
159
|
+
#
|
160
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
161
|
+
#
|
162
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
163
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
164
|
+
|
165
|
+
|
166
|
+
request_headers = {}
|
167
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
168
|
+
|
169
|
+
# Set Headers
|
170
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
171
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
172
|
+
path_template = '{nextLink}'
|
173
|
+
|
174
|
+
request_url = @base_url || @client.base_url
|
175
|
+
|
176
|
+
options = {
|
177
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
178
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
179
|
+
headers: request_headers.merge(custom_headers || {}),
|
180
|
+
base_url: request_url
|
181
|
+
}
|
182
|
+
promise = @client.make_request_async(:get, path_template, options)
|
183
|
+
|
184
|
+
promise = promise.then do |result|
|
185
|
+
http_response = result.response
|
186
|
+
status_code = http_response.status
|
187
|
+
response_content = http_response.body
|
188
|
+
unless status_code == 200
|
189
|
+
error_model = JSON.load(response_content)
|
190
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
191
|
+
end
|
192
|
+
|
193
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
194
|
+
# Deserialize Response
|
195
|
+
if status_code == 200
|
196
|
+
begin
|
197
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
198
|
+
result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::BillingMeterCollection.mapper()
|
199
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
200
|
+
rescue Exception => e
|
201
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
202
|
+
end
|
203
|
+
end
|
204
|
+
|
205
|
+
result
|
206
|
+
end
|
207
|
+
|
208
|
+
promise.execute
|
209
|
+
end
|
210
|
+
|
211
|
+
#
|
212
|
+
# Gets a list of meters for a given location.
|
213
|
+
#
|
214
|
+
# Gets a list of meters for a given location.
|
215
|
+
#
|
216
|
+
# @param billing_location [String] Azure Location of billable resource
|
217
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
218
|
+
# will be added to the HTTP request.
|
219
|
+
#
|
220
|
+
# @return [BillingMeterCollection] which provide lazy access to pages of the
|
221
|
+
# response.
|
222
|
+
#
|
223
|
+
def list_as_lazy(billing_location:nil, custom_headers:nil)
|
224
|
+
response = list_async(billing_location:billing_location, custom_headers:custom_headers).value!
|
225
|
+
unless response.nil?
|
226
|
+
page = response.body
|
227
|
+
page.next_method = Proc.new do |next_page_link|
|
228
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
229
|
+
end
|
230
|
+
page
|
231
|
+
end
|
232
|
+
end
|
233
|
+
|
234
|
+
end
|
235
|
+
end
|