azure_mgmt_cdn 0.17.4 → 0.18.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2015-06-01/generated/azure_mgmt_cdn/cdn_management_client.rb +1 -1
- data/lib/2015-06-01/generated/azure_mgmt_cdn/custom_domains.rb +10 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/endpoints.rb +20 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/name_availability.rb +2 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/operations.rb +2 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/origins.rb +10 -0
- data/lib/2015-06-01/generated/azure_mgmt_cdn/profiles.rb +14 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/cdn_management_client.rb +1 -1
- data/lib/2016-04-02/generated/azure_mgmt_cdn/custom_domains.rb +10 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/endpoints.rb +20 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/name_availability.rb +2 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/operations.rb +2 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/origins.rb +10 -0
- data/lib/2016-04-02/generated/azure_mgmt_cdn/profiles.rb +14 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/cdn_management_client.rb +17 -3
- data/lib/2016-10-02/generated/azure_mgmt_cdn/custom_domains.rb +14 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/edge_nodes.rb +4 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/endpoints.rb +26 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/origins.rb +8 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/profiles.rb +24 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/cdn_management_client.rb +5 -1
- data/lib/2017-04-02/generated/azure_mgmt_cdn/custom_domains.rb +14 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/edge_nodes.rb +4 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/endpoints.rb +26 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/operations.rb +4 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/origins.rb +8 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/profiles.rb +24 -0
- data/lib/2017-04-02/generated/azure_mgmt_cdn/resource_usage_operations.rb +4 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/cdn_management_client.rb +7 -1
- data/lib/2017-10-12/generated/azure_mgmt_cdn/custom_domains.rb +14 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/edge_nodes.rb +4 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/endpoints.rb +26 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/operations.rb +4 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/origins.rb +8 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/profiles.rb +24 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/resource_usage_operations.rb +4 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn.rb +202 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/cdn_management_client.rb +478 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/custom_domains.rb +1001 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/edge_nodes.rb +225 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/endpoints.rb +1946 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/managed_rule_sets.rb +221 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/action_type.rb +18 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/algorithm.rb +15 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/cache_behavior.rb +17 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/cache_expiration_action_parameters.rb +88 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/cache_key_query_string_action_parameters.rb +75 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/cdn_certificate_source_parameters.rb +62 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/cdn_endpoint.rb +46 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/cdn_managed_https_parameters.rb +82 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/cdn_web_application_firewall_policy.rb +210 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/cdn_web_application_firewall_policy_list.rb +103 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/cdn_web_application_firewall_policy_patch_parameters.rb +55 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/certificate_type.rb +16 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/check_name_availability_input.rb +60 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/check_name_availability_output.rb +72 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/cidr_ip_address.rb +57 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/cookies_match_condition_parameters.rb +123 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/cookies_operator.rb +23 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/custom_domain.rb +148 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/custom_domain_https_parameters.rb +73 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/custom_domain_list_result.rb +102 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/custom_domain_parameters.rb +48 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/custom_domain_resource_state.rb +17 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/custom_https_provisioning_state.rb +19 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/custom_https_provisioning_substate.rb +24 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/custom_rule.rb +108 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/custom_rule_enabled_state.rb +16 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/custom_rule_list.rb +55 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/deep_created_origin.rb +200 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/deep_created_origin_group.rb +114 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule.rb +107 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_action.rb +52 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_cache_expiration_action.rb +64 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_cache_key_query_string_action.rb +64 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_condition.rb +59 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_cookies_condition.rb +64 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_http_version_condition.rb +64 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_is_device_condition.rb +64 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_post_args_condition.rb +64 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_query_string_condition.rb +64 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_remote_address_condition.rb +64 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_request_body_condition.rb +64 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_request_header_action.rb +63 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_request_header_condition.rb +64 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_request_method_condition.rb +64 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_request_scheme_condition.rb +64 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_request_uri_condition.rb +64 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_response_header_action.rb +63 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_url_file_extension_condition.rb +64 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_url_file_name_condition.rb +64 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/delivery_rule_url_path_condition.rb +64 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/destination_protocol.rb +17 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/edge_node.rb +83 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/edgenode_result.rb +101 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/endpoint.rb +391 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/endpoint_list_result.rb +101 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/endpoint_properties_update_parameters_delivery_policy.rb +67 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/endpoint_properties_update_parameters_web_application_firewall_policy_link.rb +49 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/endpoint_resource_state.rb +20 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb +274 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/error_response.rb +60 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/geo_filter.rb +80 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/geo_filter_actions.rb +16 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/header_action.rb +17 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/header_action_parameters.rb +83 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/health_probe_parameters.rb +90 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/health_probe_request_type.rb +17 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/http_error_range_parameters.rb +65 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/http_version_match_condition_parameters.rb +95 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/ip_address_group.rb +86 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/is_device_match_condition_parameters.rb +113 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/key_vault_certificate_source_parameters.rb +137 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/key_vault_signing_key_parameters.rb +106 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/load_parameters.rb +55 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/managed_rule_definition.rb +59 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/managed_rule_enabled_state.rb +16 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/managed_rule_group_definition.rb +81 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/managed_rule_group_override.rb +68 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/managed_rule_override.rb +72 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/managed_rule_set.rb +94 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/managed_rule_set_definition.rb +133 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/managed_rule_set_definition_list.rb +101 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/managed_rule_set_list.rb +55 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/match_condition.rb +125 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/match_variable.rb +23 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/minimum_tls_version.rb +17 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/operation.rb +59 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/operation_display.rb +72 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/operations_list_result.rb +102 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/operator.rb +26 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/optimization_type.rb +19 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/origin.rb +256 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/origin_group.rb +153 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/origin_group_list_result.rb +102 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/origin_group_resource_state.rb +17 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/origin_group_update_parameters.rb +100 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/origin_list_result.rb +101 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/origin_resource_state.rb +17 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/origin_update_parameters.rb +187 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/param_indicator.rb +17 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/policy_enabled_state.rb +16 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/policy_mode.rb +16 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/policy_resource_state.rb +20 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/policy_settings.rb +99 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/post_args_match_condition_parameters.rb +123 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/post_args_operator.rb +23 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/private_endpoint_status.rb +19 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/probe_protocol.rb +17 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/profile.rb +125 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/profile_list_result.rb +101 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/profile_resource_state.rb +18 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/profile_update_parameters.rb +54 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/protocol_type.rb +16 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/provisioning_state.rb +17 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/proxy_resource.rb +63 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/purge_parameters.rb +55 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/query_string_behavior.rb +18 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/query_string_caching_behavior.rb +18 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/query_string_match_condition_parameters.rb +114 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/query_string_operator.rb +23 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/rate_limit_rule.rb +117 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/rate_limit_rule_list.rb +55 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/redirect_type.rb +18 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/remote_address_match_condition_parameters.rb +114 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/remote_address_operator.rb +17 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/request_body_match_condition_parameters.rb +114 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/request_body_operator.rb +23 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/request_header_match_condition_parameters.rb +125 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/request_header_operator.rb +23 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/request_method_match_condition_parameters.rb +95 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/request_scheme_match_condition_parameters.rb +95 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/request_uri_match_condition_parameters.rb +113 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/request_uri_operator.rb +23 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/resource.rb +80 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/resource_reference.rb +46 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/resource_type.rb +15 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/resource_usage.rb +83 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/resource_usage_list_result.rb +100 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/response_based_detected_error_types.rb +17 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/response_based_origin_error_detection_parameters.rb +89 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/sku.rb +50 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/sku_name.rb +21 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/sso_uri.rb +48 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/supported_optimization_types_list_result.rb +56 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/tracked_resource.rb +92 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/transform.rb +16 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/transform_type.rb +20 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/url_file_extension_match_condition_parameters.rb +114 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/url_file_extension_operator.rb +23 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/url_file_name_match_condition_parameters.rb +114 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/url_file_name_operator.rb +23 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/url_path_match_condition_parameters.rb +114 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/url_path_operator.rb +24 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/url_redirect_action.rb +64 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/url_redirect_action_parameters.rb +127 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/url_rewrite_action.rb +64 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/url_rewrite_action_parameters.rb +86 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/url_signing_action.rb +63 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/url_signing_action_parameters.rb +112 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/url_signing_key.rb +62 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/url_signing_param_identifier.rb +58 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/user_managed_https_parameters.rb +82 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/validate_custom_domain_input.rb +47 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/validate_custom_domain_output.rb +72 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/validate_probe_input.rb +46 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/models/validate_probe_output.rb +73 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/module_definition.rb +9 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/operations.rb +219 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/origin_groups.rb +927 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/origins.rb +922 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/policies.rb +789 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/profiles.rb +1482 -0
- data/lib/2020-04-15/generated/azure_mgmt_cdn/resource_usage_operations.rb +228 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn.rb +304 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/afdcustom_domains.rb +1035 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/afdendpoints.rb +1426 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/afdorigin_groups.rb +1094 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/afdorigins.rb +912 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/afdprofiles.rb +362 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/cdn_management_client.rb +533 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/custom_domains.rb +1001 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/edge_nodes.rb +225 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/endpoints.rb +1946 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/log_analytics.rb +748 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/managed_rule_sets.rb +221 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/action_type.rb +18 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/afd_certificate_type.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/afd_error_response.rb +51 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/afd_minimum_tls_version.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/afd_provisioning_state.rb +19 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/afd_purge_parameters.rb +74 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/afddomain.rb +166 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/afddomain_https_parameters.rb +73 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/afddomain_list_result.rb +102 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/afddomain_update_parameters.rb +62 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/afdendpoint.rb +166 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/afdendpoint_list_result.rb +102 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/afdendpoint_protocols.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/afdendpoint_update_parameters.rb +82 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/afdorigin.rb +232 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/afdorigin_group.rb +169 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/afdorigin_group_list_result.rb +102 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/afdorigin_group_update_parameters.rb +105 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/afdorigin_list_result.rb +101 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/afdorigin_update_parameters.rb +166 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/afdstate_properties.rb +61 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/algorithm.rb +15 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/cache_behavior.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/cache_expiration_action_parameters.rb +88 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/cache_key_query_string_action_parameters.rb +75 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/cdn_certificate_source_parameters.rb +62 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/cdn_endpoint.rb +46 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/cdn_managed_https_parameters.rb +82 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/cdn_web_application_firewall_policy.rb +220 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/cdn_web_application_firewall_policy_list.rb +103 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/cdn_web_application_firewall_policy_patch_parameters.rb +55 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/certificate.rb +68 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/certificate_type.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/check_name_availability_input.rb +60 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/check_name_availability_output.rb +72 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/cidr_ip_address.rb +57 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/compression_settings.rb +70 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/continents_response.rb +75 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/continents_response_continents_item.rb +47 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/continents_response_country_or_regions_item.rb +58 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/cookies_match_condition_parameters.rb +124 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/cookies_operator.rb +24 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/custom_domain.rb +158 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/custom_domain_https_parameters.rb +73 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/custom_domain_list_result.rb +102 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/custom_domain_parameters.rb +48 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/custom_domain_resource_state.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/custom_https_provisioning_state.rb +19 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/custom_https_provisioning_substate.rb +24 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/custom_rule.rb +108 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/custom_rule_enabled_state.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/custom_rule_list.rb +55 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/customer_certificate.rb +122 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/customer_certificate_parameters.rb +144 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/deep_created_origin.rb +200 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/deep_created_origin_group.rb +114 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/delivery_rule.rb +107 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/delivery_rule_action.rb +53 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/delivery_rule_cache_expiration_action.rb +64 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/delivery_rule_cache_key_query_string_action.rb +64 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/delivery_rule_condition.rb +59 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/delivery_rule_cookies_condition.rb +64 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/delivery_rule_http_version_condition.rb +64 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/delivery_rule_is_device_condition.rb +64 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/delivery_rule_post_args_condition.rb +64 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/delivery_rule_query_string_condition.rb +64 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/delivery_rule_remote_address_condition.rb +64 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/delivery_rule_request_body_condition.rb +64 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/delivery_rule_request_header_action.rb +63 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/delivery_rule_request_header_condition.rb +64 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/delivery_rule_request_method_condition.rb +64 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/delivery_rule_request_scheme_condition.rb +64 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/delivery_rule_request_uri_condition.rb +64 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/delivery_rule_response_header_action.rb +63 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/delivery_rule_url_file_extension_condition.rb +64 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/delivery_rule_url_file_name_condition.rb +64 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/delivery_rule_url_path_condition.rb +64 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/deployment_status.rb +18 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/destination_protocol.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/domain_validation_properties.rb +60 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/domain_validation_state.rb +20 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/edge_node.rb +93 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/edgenode_result.rb +101 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/enabled_state.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/endpoint.rb +401 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/endpoint_list_result.rb +101 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/endpoint_properties_update_parameters_delivery_policy.rb +67 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/endpoint_properties_update_parameters_web_application_firewall_policy_link.rb +49 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/endpoint_resource_state.rb +20 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb +274 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/error_response.rb +60 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/forwarding_protocol.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/geo_filter.rb +80 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/geo_filter_actions.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/header_action.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/header_action_parameters.rb +83 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/health_probe_parameters.rb +90 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/health_probe_request_type.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/http_error_range_parameters.rb +65 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/http_version_match_condition_parameters.rb +95 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/https_redirect.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/identity_type.rb +18 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/ip_address_group.rb +86 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/is_device_match_condition_parameters.rb +113 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/key_vault_certificate_source_parameters.rb +137 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/key_vault_signing_key_parameters.rb +106 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/link_to_default_domain.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/load_balancing_settings_parameters.rb +71 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/load_parameters.rb +55 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/managed_certificate.rb +59 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/managed_certificate_parameters.rb +80 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/managed_rule_definition.rb +59 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/managed_rule_enabled_state.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/managed_rule_group_definition.rb +81 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/managed_rule_group_override.rb +68 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/managed_rule_override.rb +72 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/managed_rule_set.rb +94 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/managed_rule_set_definition.rb +133 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/managed_rule_set_definition_list.rb +101 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/managed_rule_set_list.rb +55 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/match_condition.rb +125 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/match_processing_behavior.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/match_variable.rb +23 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/metrics_response.rb +88 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/metrics_response_series_item.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/metrics_response_series_item_data_item.rb +58 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/metrics_response_series_item_groups_item.rb +58 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/minimum_tls_version.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/operation.rb +59 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/operation_display.rb +72 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/operations_list_result.rb +102 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/operator.rb +26 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/optimization_type.rb +19 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/origin.rb +266 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/origin_group.rb +163 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/origin_group_list_result.rb +102 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/origin_group_override_action.rb +64 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/origin_group_override_action_parameters.rb +63 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/origin_group_resource_state.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/origin_group_update_parameters.rb +100 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/origin_list_result.rb +101 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/origin_resource_state.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/origin_update_parameters.rb +187 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/param_indicator.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/policy_enabled_state.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/policy_mode.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/policy_resource_state.rb +20 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/policy_settings.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/post_args_match_condition_parameters.rb +124 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/post_args_operator.rb +24 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/private_endpoint_status.rb +19 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/probe_protocol.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/profile.rb +147 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/profile_list_result.rb +101 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/profile_resource_state.rb +18 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/profile_update_parameters.rb +54 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/protocol_type.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/provisioning_state.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/proxy_resource.rb +76 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/purge_parameters.rb +55 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/query_string_behavior.rb +18 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/query_string_caching_behavior.rb +18 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/query_string_match_condition_parameters.rb +114 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/query_string_operator.rb +24 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/rankings_response.rb +77 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/rankings_response_tables_item.rb +67 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/rankings_response_tables_item_data_item.rb +67 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/rankings_response_tables_item_data_item_metrics_item.rb +70 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/rate_limit_rule.rb +117 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/rate_limit_rule_list.rb +55 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/redirect_type.rb +18 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/remote_address_match_condition_parameters.rb +114 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/remote_address_operator.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/request_body_match_condition_parameters.rb +114 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/request_body_operator.rb +24 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/request_header_match_condition_parameters.rb +125 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/request_header_operator.rb +24 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/request_method_match_condition_parameters.rb +95 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/request_scheme_match_condition_parameters.rb +95 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/request_uri_match_condition_parameters.rb +114 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/request_uri_operator.rb +24 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/resource.rb +80 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/resource_reference.rb +46 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/resource_type.rb +15 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/resource_usage.rb +83 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/resource_usage_list_result.rb +100 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/resources_response.rb +75 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/resources_response_custom_domains_item.rb +80 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/resources_response_endpoints_item.rb +89 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/resources_response_endpoints_item_custom_domains_item.rb +81 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/response_based_detected_error_types.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/response_based_origin_error_detection_parameters.rb +89 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/route.rb +299 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/route_list_result.rb +101 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/route_update_parameters.rb +235 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/rule.rb +174 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/rule_list_result.rb +101 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/rule_set.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/rule_set_list_result.rb +102 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/rule_update_parameters.rb +110 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/secret.rb +113 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/secret_list_result.rb +102 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/secret_parameters.rb +46 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/secret_properties.rb +67 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/secret_type.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/security_policy.rb +111 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/security_policy_list_result.rb +102 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/security_policy_parameters.rb +46 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/security_policy_web_application_firewall_association.rb +75 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/security_policy_web_application_firewall_parameters.rb +84 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/shared_private_link_resource_properties.rb +99 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/shared_private_link_resource_status.rb +19 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/sku.rb +54 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/sku_name.rb +28 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/sso_uri.rb +48 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/status.rb +18 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/supported_optimization_types_list_result.rb +56 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/system_data.rb +107 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/tracked_resource.rb +105 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/transform.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/transform_type.rb +20 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/url_file_extension_match_condition_parameters.rb +114 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/url_file_extension_operator.rb +24 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/url_file_name_match_condition_parameters.rb +114 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/url_file_name_operator.rb +24 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/url_path_match_condition_parameters.rb +114 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/url_path_operator.rb +25 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/url_redirect_action.rb +64 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/url_redirect_action_parameters.rb +127 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/url_rewrite_action.rb +64 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/url_rewrite_action_parameters.rb +86 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/url_signing_action.rb +64 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/url_signing_action_parameters.rb +82 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/url_signing_key.rb +62 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/url_signing_key_parameters.rb +86 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/url_signing_param_identifier.rb +58 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/usage.rb +95 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/usage_name.rb +57 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/usages_list_result.rb +98 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/user_managed_https_parameters.rb +82 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/validate_custom_domain_input.rb +47 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/validate_custom_domain_output.rb +72 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/validate_probe_input.rb +46 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/validate_probe_output.rb +73 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/validate_secret_input.rb +59 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/validate_secret_output.rb +58 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/validate_secret_type.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/validation_token.rb +47 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/waf_metrics_response.rb +88 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/waf_metrics_response_series_item.rb +98 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/waf_metrics_response_series_item_data_item.rb +58 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/waf_metrics_response_series_item_groups_item.rb +58 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/waf_rankings_response.rb +96 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/waf_rankings_response_data_item.rb +75 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/models/waf_rankings_response_data_item_metrics_item.rb +69 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/module_definition.rb +9 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/operations.rb +219 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/origin_groups.rb +927 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/origins.rb +922 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/policies.rb +789 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/profiles.rb +1482 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/resource_usage_operations.rb +228 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/routes.rb +913 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/rule_sets.rb +908 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/rules.rb +889 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/secrets.rb +845 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/security_policies.rb +868 -0
- data/lib/2020-09-01/generated/azure_mgmt_cdn/validate.rb +122 -0
- data/lib/azure_mgmt_cdn.rb +5 -3
- data/lib/profiles/latest/modules/cdn_profile_module.rb +960 -174
- data/lib/version.rb +1 -1
- metadata +461 -3
@@ -0,0 +1,478 @@
|
|
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::CDN::Mgmt::V2020_04_15
|
7
|
+
#
|
8
|
+
# A service client - single point of access to the REST API.
|
9
|
+
#
|
10
|
+
class CdnManagementClient < 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] Azure Subscription ID.
|
21
|
+
attr_accessor :subscription_id
|
22
|
+
|
23
|
+
# @return [String] Version of the API to be used with the client request.
|
24
|
+
# Current version is 2017-04-02.
|
25
|
+
attr_reader :api_version
|
26
|
+
|
27
|
+
# @return [String] The preferred language for the response.
|
28
|
+
attr_accessor :accept_language
|
29
|
+
|
30
|
+
# @return [Integer] The retry timeout in seconds for Long Running
|
31
|
+
# Operations. Default value is 30.
|
32
|
+
attr_accessor :long_running_operation_retry_timeout
|
33
|
+
|
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.
|
37
|
+
attr_accessor :generate_client_request_id
|
38
|
+
|
39
|
+
# @return [Profiles] profiles
|
40
|
+
attr_reader :profiles
|
41
|
+
|
42
|
+
# @return [Endpoints] endpoints
|
43
|
+
attr_reader :endpoints
|
44
|
+
|
45
|
+
# @return [Origins] origins
|
46
|
+
attr_reader :origins
|
47
|
+
|
48
|
+
# @return [OriginGroups] origin_groups
|
49
|
+
attr_reader :origin_groups
|
50
|
+
|
51
|
+
# @return [CustomDomains] custom_domains
|
52
|
+
attr_reader :custom_domains
|
53
|
+
|
54
|
+
# @return [ResourceUsageOperations] resource_usage_operations
|
55
|
+
attr_reader :resource_usage_operations
|
56
|
+
|
57
|
+
# @return [Operations] operations
|
58
|
+
attr_reader :operations
|
59
|
+
|
60
|
+
# @return [EdgeNodes] edge_nodes
|
61
|
+
attr_reader :edge_nodes
|
62
|
+
|
63
|
+
# @return [Policies] policies
|
64
|
+
attr_reader :policies
|
65
|
+
|
66
|
+
# @return [ManagedRuleSets] managed_rule_sets
|
67
|
+
attr_reader :managed_rule_sets
|
68
|
+
|
69
|
+
#
|
70
|
+
# Creates initializes a new instance of the CdnManagementClient class.
|
71
|
+
# @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
|
72
|
+
# @param base_url [String] the base URI of the service.
|
73
|
+
# @param options [Array] filters to be applied to the HTTP requests.
|
74
|
+
#
|
75
|
+
def initialize(credentials = nil, base_url = nil, options = nil)
|
76
|
+
super(credentials, options)
|
77
|
+
@base_url = base_url || 'https://management.azure.com'
|
78
|
+
|
79
|
+
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
|
80
|
+
@credentials = credentials
|
81
|
+
|
82
|
+
@profiles = Profiles.new(self)
|
83
|
+
@endpoints = Endpoints.new(self)
|
84
|
+
@origins = Origins.new(self)
|
85
|
+
@origin_groups = OriginGroups.new(self)
|
86
|
+
@custom_domains = CustomDomains.new(self)
|
87
|
+
@resource_usage_operations = ResourceUsageOperations.new(self)
|
88
|
+
@operations = Operations.new(self)
|
89
|
+
@edge_nodes = EdgeNodes.new(self)
|
90
|
+
@policies = Policies.new(self)
|
91
|
+
@managed_rule_sets = ManagedRuleSets.new(self)
|
92
|
+
@api_version = '2020-04-15'
|
93
|
+
@accept_language = 'en-US'
|
94
|
+
@long_running_operation_retry_timeout = 30
|
95
|
+
@generate_client_request_id = true
|
96
|
+
add_telemetry
|
97
|
+
end
|
98
|
+
|
99
|
+
#
|
100
|
+
# Makes a request and returns the body of the response.
|
101
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
102
|
+
# @param path [String] the path, relative to {base_url}.
|
103
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
104
|
+
# @return [Hash{String=>String}] containing the body of the response.
|
105
|
+
# Example:
|
106
|
+
#
|
107
|
+
# request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
|
108
|
+
# path = "/path"
|
109
|
+
# options = {
|
110
|
+
# body: request_content,
|
111
|
+
# query_params: {'api-version' => '2016-02-01'}
|
112
|
+
# }
|
113
|
+
# result = @client.make_request(:put, path, options)
|
114
|
+
#
|
115
|
+
def make_request(method, path, options = {})
|
116
|
+
result = make_request_with_http_info(method, path, options)
|
117
|
+
result.body unless result.nil?
|
118
|
+
end
|
119
|
+
|
120
|
+
#
|
121
|
+
# Makes a request and returns the operation response.
|
122
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
123
|
+
# @param path [String] the path, relative to {base_url}.
|
124
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
125
|
+
# @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
|
126
|
+
#
|
127
|
+
def make_request_with_http_info(method, path, options = {})
|
128
|
+
result = make_request_async(method, path, options).value!
|
129
|
+
result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
|
130
|
+
result
|
131
|
+
end
|
132
|
+
|
133
|
+
#
|
134
|
+
# Makes a request asynchronously.
|
135
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
136
|
+
# @param path [String] the path, relative to {base_url}.
|
137
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
138
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
139
|
+
#
|
140
|
+
def make_request_async(method, path, options = {})
|
141
|
+
fail ArgumentError, 'method is nil' if method.nil?
|
142
|
+
fail ArgumentError, 'path is nil' if path.nil?
|
143
|
+
|
144
|
+
request_url = options[:base_url] || @base_url
|
145
|
+
if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
|
146
|
+
@request_headers['Content-Type'] = options[:headers]['Content-Type']
|
147
|
+
end
|
148
|
+
|
149
|
+
request_headers = @request_headers
|
150
|
+
request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
|
151
|
+
options.merge!({headers: request_headers.merge(options[:headers] || {})})
|
152
|
+
options.merge!({credentials: @credentials}) unless @credentials.nil?
|
153
|
+
|
154
|
+
super(request_url, method, path, options)
|
155
|
+
end
|
156
|
+
|
157
|
+
#
|
158
|
+
# Check the availability of a resource name. This is needed for resources where
|
159
|
+
# name is globally unique, such as a CDN endpoint.
|
160
|
+
#
|
161
|
+
# @param check_name_availability_input [CheckNameAvailabilityInput] Input to
|
162
|
+
# check.
|
163
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
164
|
+
# will be added to the HTTP request.
|
165
|
+
#
|
166
|
+
# @return [CheckNameAvailabilityOutput] operation results.
|
167
|
+
#
|
168
|
+
def check_name_availability(check_name_availability_input, custom_headers:nil)
|
169
|
+
response = check_name_availability_async(check_name_availability_input, custom_headers:custom_headers).value!
|
170
|
+
response.body unless response.nil?
|
171
|
+
end
|
172
|
+
|
173
|
+
#
|
174
|
+
# Check the availability of a resource name. This is needed for resources where
|
175
|
+
# name is globally unique, such as a CDN endpoint.
|
176
|
+
#
|
177
|
+
# @param check_name_availability_input [CheckNameAvailabilityInput] Input to
|
178
|
+
# check.
|
179
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
180
|
+
# will be added to the HTTP request.
|
181
|
+
#
|
182
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
183
|
+
#
|
184
|
+
def check_name_availability_with_http_info(check_name_availability_input, custom_headers:nil)
|
185
|
+
check_name_availability_async(check_name_availability_input, custom_headers:custom_headers).value!
|
186
|
+
end
|
187
|
+
|
188
|
+
#
|
189
|
+
# Check the availability of a resource name. This is needed for resources where
|
190
|
+
# name is globally unique, such as a CDN endpoint.
|
191
|
+
#
|
192
|
+
# @param check_name_availability_input [CheckNameAvailabilityInput] Input to
|
193
|
+
# check.
|
194
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
195
|
+
# to the HTTP request.
|
196
|
+
#
|
197
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
198
|
+
#
|
199
|
+
def check_name_availability_async(check_name_availability_input, custom_headers:nil)
|
200
|
+
fail ArgumentError, 'check_name_availability_input is nil' if check_name_availability_input.nil?
|
201
|
+
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
202
|
+
|
203
|
+
|
204
|
+
request_headers = {}
|
205
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
206
|
+
|
207
|
+
# Set Headers
|
208
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
209
|
+
request_headers['accept-language'] = accept_language unless accept_language.nil?
|
210
|
+
|
211
|
+
# Serialize Request
|
212
|
+
request_mapper = Azure::CDN::Mgmt::V2020_04_15::Models::CheckNameAvailabilityInput.mapper()
|
213
|
+
request_content = self.serialize(request_mapper, check_name_availability_input)
|
214
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
215
|
+
|
216
|
+
path_template = 'providers/Microsoft.Cdn/checkNameAvailability'
|
217
|
+
|
218
|
+
request_url = @base_url || self.base_url
|
219
|
+
|
220
|
+
options = {
|
221
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
222
|
+
query_params: {'api-version' => api_version},
|
223
|
+
body: request_content,
|
224
|
+
headers: request_headers.merge(custom_headers || {}),
|
225
|
+
base_url: request_url
|
226
|
+
}
|
227
|
+
promise = self.make_request_async(:post, path_template, options)
|
228
|
+
|
229
|
+
promise = promise.then do |result|
|
230
|
+
http_response = result.response
|
231
|
+
status_code = http_response.status
|
232
|
+
response_content = http_response.body
|
233
|
+
unless status_code == 200
|
234
|
+
error_model = JSON.load(response_content)
|
235
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
236
|
+
end
|
237
|
+
|
238
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
239
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
240
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
241
|
+
# Deserialize Response
|
242
|
+
if status_code == 200
|
243
|
+
begin
|
244
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
245
|
+
result_mapper = Azure::CDN::Mgmt::V2020_04_15::Models::CheckNameAvailabilityOutput.mapper()
|
246
|
+
result.body = self.deserialize(result_mapper, parsed_response)
|
247
|
+
rescue Exception => e
|
248
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
249
|
+
end
|
250
|
+
end
|
251
|
+
|
252
|
+
result
|
253
|
+
end
|
254
|
+
|
255
|
+
promise.execute
|
256
|
+
end
|
257
|
+
|
258
|
+
#
|
259
|
+
# Check the availability of a resource name. This is needed for resources where
|
260
|
+
# name is globally unique, such as a CDN endpoint.
|
261
|
+
#
|
262
|
+
# @param check_name_availability_input [CheckNameAvailabilityInput] Input to
|
263
|
+
# check.
|
264
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
265
|
+
# will be added to the HTTP request.
|
266
|
+
#
|
267
|
+
# @return [CheckNameAvailabilityOutput] operation results.
|
268
|
+
#
|
269
|
+
def check_name_availability_with_subscription(check_name_availability_input, custom_headers:nil)
|
270
|
+
response = check_name_availability_with_subscription_async(check_name_availability_input, custom_headers:custom_headers).value!
|
271
|
+
response.body unless response.nil?
|
272
|
+
end
|
273
|
+
|
274
|
+
#
|
275
|
+
# Check the availability of a resource name. This is needed for resources where
|
276
|
+
# name is globally unique, such as a CDN endpoint.
|
277
|
+
#
|
278
|
+
# @param check_name_availability_input [CheckNameAvailabilityInput] Input to
|
279
|
+
# check.
|
280
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
281
|
+
# will be added to the HTTP request.
|
282
|
+
#
|
283
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
284
|
+
#
|
285
|
+
def check_name_availability_with_subscription_with_http_info(check_name_availability_input, custom_headers:nil)
|
286
|
+
check_name_availability_with_subscription_async(check_name_availability_input, custom_headers:custom_headers).value!
|
287
|
+
end
|
288
|
+
|
289
|
+
#
|
290
|
+
# Check the availability of a resource name. This is needed for resources where
|
291
|
+
# name is globally unique, such as a CDN endpoint.
|
292
|
+
#
|
293
|
+
# @param check_name_availability_input [CheckNameAvailabilityInput] Input to
|
294
|
+
# check.
|
295
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
296
|
+
# to the HTTP request.
|
297
|
+
#
|
298
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
299
|
+
#
|
300
|
+
def check_name_availability_with_subscription_async(check_name_availability_input, custom_headers:nil)
|
301
|
+
fail ArgumentError, 'check_name_availability_input is nil' if check_name_availability_input.nil?
|
302
|
+
fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
|
303
|
+
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
304
|
+
|
305
|
+
|
306
|
+
request_headers = {}
|
307
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
308
|
+
|
309
|
+
# Set Headers
|
310
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
311
|
+
request_headers['accept-language'] = accept_language unless accept_language.nil?
|
312
|
+
|
313
|
+
# Serialize Request
|
314
|
+
request_mapper = Azure::CDN::Mgmt::V2020_04_15::Models::CheckNameAvailabilityInput.mapper()
|
315
|
+
request_content = self.serialize(request_mapper, check_name_availability_input)
|
316
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
317
|
+
|
318
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Cdn/checkNameAvailability'
|
319
|
+
|
320
|
+
request_url = @base_url || self.base_url
|
321
|
+
|
322
|
+
options = {
|
323
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
324
|
+
path_params: {'subscriptionId' => subscription_id},
|
325
|
+
query_params: {'api-version' => api_version},
|
326
|
+
body: request_content,
|
327
|
+
headers: request_headers.merge(custom_headers || {}),
|
328
|
+
base_url: request_url
|
329
|
+
}
|
330
|
+
promise = self.make_request_async(:post, path_template, options)
|
331
|
+
|
332
|
+
promise = promise.then do |result|
|
333
|
+
http_response = result.response
|
334
|
+
status_code = http_response.status
|
335
|
+
response_content = http_response.body
|
336
|
+
unless status_code == 200
|
337
|
+
error_model = JSON.load(response_content)
|
338
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
339
|
+
end
|
340
|
+
|
341
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
342
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
343
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
344
|
+
# Deserialize Response
|
345
|
+
if status_code == 200
|
346
|
+
begin
|
347
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
348
|
+
result_mapper = Azure::CDN::Mgmt::V2020_04_15::Models::CheckNameAvailabilityOutput.mapper()
|
349
|
+
result.body = self.deserialize(result_mapper, parsed_response)
|
350
|
+
rescue Exception => e
|
351
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
352
|
+
end
|
353
|
+
end
|
354
|
+
|
355
|
+
result
|
356
|
+
end
|
357
|
+
|
358
|
+
promise.execute
|
359
|
+
end
|
360
|
+
|
361
|
+
#
|
362
|
+
# Check if the probe path is a valid path and the file can be accessed. Probe
|
363
|
+
# path is the path to a file hosted on the origin server to help accelerate the
|
364
|
+
# delivery of dynamic content via the CDN endpoint. This path is relative to
|
365
|
+
# the origin path specified in the endpoint configuration.
|
366
|
+
#
|
367
|
+
# @param validate_probe_input [ValidateProbeInput] Input to check.
|
368
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
369
|
+
# will be added to the HTTP request.
|
370
|
+
#
|
371
|
+
# @return [ValidateProbeOutput] operation results.
|
372
|
+
#
|
373
|
+
def validate_probe(validate_probe_input, custom_headers:nil)
|
374
|
+
response = validate_probe_async(validate_probe_input, custom_headers:custom_headers).value!
|
375
|
+
response.body unless response.nil?
|
376
|
+
end
|
377
|
+
|
378
|
+
#
|
379
|
+
# Check if the probe path is a valid path and the file can be accessed. Probe
|
380
|
+
# path is the path to a file hosted on the origin server to help accelerate the
|
381
|
+
# delivery of dynamic content via the CDN endpoint. This path is relative to
|
382
|
+
# the origin path specified in the endpoint configuration.
|
383
|
+
#
|
384
|
+
# @param validate_probe_input [ValidateProbeInput] Input to check.
|
385
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
386
|
+
# will be added to the HTTP request.
|
387
|
+
#
|
388
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
389
|
+
#
|
390
|
+
def validate_probe_with_http_info(validate_probe_input, custom_headers:nil)
|
391
|
+
validate_probe_async(validate_probe_input, custom_headers:custom_headers).value!
|
392
|
+
end
|
393
|
+
|
394
|
+
#
|
395
|
+
# Check if the probe path is a valid path and the file can be accessed. Probe
|
396
|
+
# path is the path to a file hosted on the origin server to help accelerate the
|
397
|
+
# delivery of dynamic content via the CDN endpoint. This path is relative to
|
398
|
+
# the origin path specified in the endpoint configuration.
|
399
|
+
#
|
400
|
+
# @param validate_probe_input [ValidateProbeInput] Input to check.
|
401
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
402
|
+
# to the HTTP request.
|
403
|
+
#
|
404
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
405
|
+
#
|
406
|
+
def validate_probe_async(validate_probe_input, custom_headers:nil)
|
407
|
+
fail ArgumentError, 'validate_probe_input is nil' if validate_probe_input.nil?
|
408
|
+
fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
|
409
|
+
fail ArgumentError, 'api_version is nil' if api_version.nil?
|
410
|
+
|
411
|
+
|
412
|
+
request_headers = {}
|
413
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
414
|
+
|
415
|
+
# Set Headers
|
416
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
417
|
+
request_headers['accept-language'] = accept_language unless accept_language.nil?
|
418
|
+
|
419
|
+
# Serialize Request
|
420
|
+
request_mapper = Azure::CDN::Mgmt::V2020_04_15::Models::ValidateProbeInput.mapper()
|
421
|
+
request_content = self.serialize(request_mapper, validate_probe_input)
|
422
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
423
|
+
|
424
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Cdn/validateProbe'
|
425
|
+
|
426
|
+
request_url = @base_url || self.base_url
|
427
|
+
|
428
|
+
options = {
|
429
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
430
|
+
path_params: {'subscriptionId' => subscription_id},
|
431
|
+
query_params: {'api-version' => api_version},
|
432
|
+
body: request_content,
|
433
|
+
headers: request_headers.merge(custom_headers || {}),
|
434
|
+
base_url: request_url
|
435
|
+
}
|
436
|
+
promise = self.make_request_async(:post, path_template, options)
|
437
|
+
|
438
|
+
promise = promise.then do |result|
|
439
|
+
http_response = result.response
|
440
|
+
status_code = http_response.status
|
441
|
+
response_content = http_response.body
|
442
|
+
unless status_code == 200
|
443
|
+
error_model = JSON.load(response_content)
|
444
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
445
|
+
end
|
446
|
+
|
447
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
448
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
449
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
450
|
+
# Deserialize Response
|
451
|
+
if status_code == 200
|
452
|
+
begin
|
453
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
454
|
+
result_mapper = Azure::CDN::Mgmt::V2020_04_15::Models::ValidateProbeOutput.mapper()
|
455
|
+
result.body = self.deserialize(result_mapper, parsed_response)
|
456
|
+
rescue Exception => e
|
457
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
458
|
+
end
|
459
|
+
end
|
460
|
+
|
461
|
+
result
|
462
|
+
end
|
463
|
+
|
464
|
+
promise.execute
|
465
|
+
end
|
466
|
+
|
467
|
+
|
468
|
+
private
|
469
|
+
#
|
470
|
+
# Adds telemetry information.
|
471
|
+
#
|
472
|
+
def add_telemetry
|
473
|
+
sdk_information = 'azure_mgmt_cdn'
|
474
|
+
sdk_information = "#{sdk_information}/0.18.2"
|
475
|
+
add_user_agent_information(sdk_information)
|
476
|
+
end
|
477
|
+
end
|
478
|
+
end
|