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,748 @@
|
|
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_09_01
|
7
|
+
#
|
8
|
+
# Cdn Management Client
|
9
|
+
#
|
10
|
+
class LogAnalytics
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the LogAnalytics class.
|
15
|
+
# @param client service class for accessing basic functionality.
|
16
|
+
#
|
17
|
+
def initialize(client)
|
18
|
+
@client = client
|
19
|
+
end
|
20
|
+
|
21
|
+
# @return [CdnManagementClient] reference to the CdnManagementClient
|
22
|
+
attr_reader :client
|
23
|
+
|
24
|
+
#
|
25
|
+
# Get log report for AFD profile
|
26
|
+
#
|
27
|
+
# @param resource_group_name [String] Name of the Resource group within the
|
28
|
+
# Azure subscription.
|
29
|
+
# @param profile_name [String] Name of the CDN profile which is unique within
|
30
|
+
# the resource group.
|
31
|
+
# @param metrics [Array<Enum>]
|
32
|
+
# @param date_time_begin [DateTime]
|
33
|
+
# @param date_time_end [DateTime]
|
34
|
+
# @param granularity [Enum] Possible values include: 'PT5M', 'PT1H', 'P1D'
|
35
|
+
# @param group_by [Array<Enum>]
|
36
|
+
# @param continents [Array<String>]
|
37
|
+
# @param country_or_regions [Array<String>]
|
38
|
+
# @param custom_domains [Array<String>]
|
39
|
+
# @param protocols [Array<String>]
|
40
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
41
|
+
# will be added to the HTTP request.
|
42
|
+
#
|
43
|
+
# @return [MetricsResponse] operation results.
|
44
|
+
#
|
45
|
+
def get_log_analytics_metrics(resource_group_name, profile_name, metrics, date_time_begin, date_time_end, granularity, group_by:nil, continents:nil, country_or_regions:nil, custom_domains:nil, protocols:nil, custom_headers:nil)
|
46
|
+
response = get_log_analytics_metrics_async(resource_group_name, profile_name, metrics, date_time_begin, date_time_end, granularity, group_by:group_by, continents:continents, country_or_regions:country_or_regions, custom_domains:custom_domains, protocols:protocols, custom_headers:custom_headers).value!
|
47
|
+
response.body unless response.nil?
|
48
|
+
end
|
49
|
+
|
50
|
+
#
|
51
|
+
# Get log report for AFD profile
|
52
|
+
#
|
53
|
+
# @param resource_group_name [String] Name of the Resource group within the
|
54
|
+
# Azure subscription.
|
55
|
+
# @param profile_name [String] Name of the CDN profile which is unique within
|
56
|
+
# the resource group.
|
57
|
+
# @param metrics [Array<Enum>]
|
58
|
+
# @param date_time_begin [DateTime]
|
59
|
+
# @param date_time_end [DateTime]
|
60
|
+
# @param granularity [Enum] Possible values include: 'PT5M', 'PT1H', 'P1D'
|
61
|
+
# @param group_by [Array<Enum>]
|
62
|
+
# @param continents [Array<String>]
|
63
|
+
# @param country_or_regions [Array<String>]
|
64
|
+
# @param custom_domains [Array<String>]
|
65
|
+
# @param protocols [Array<String>]
|
66
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
67
|
+
# will be added to the HTTP request.
|
68
|
+
#
|
69
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
70
|
+
#
|
71
|
+
def get_log_analytics_metrics_with_http_info(resource_group_name, profile_name, metrics, date_time_begin, date_time_end, granularity, group_by:nil, continents:nil, country_or_regions:nil, custom_domains:nil, protocols:nil, custom_headers:nil)
|
72
|
+
get_log_analytics_metrics_async(resource_group_name, profile_name, metrics, date_time_begin, date_time_end, granularity, group_by:group_by, continents:continents, country_or_regions:country_or_regions, custom_domains:custom_domains, protocols:protocols, custom_headers:custom_headers).value!
|
73
|
+
end
|
74
|
+
|
75
|
+
#
|
76
|
+
# Get log report for AFD profile
|
77
|
+
#
|
78
|
+
# @param resource_group_name [String] Name of the Resource group within the
|
79
|
+
# Azure subscription.
|
80
|
+
# @param profile_name [String] Name of the CDN profile which is unique within
|
81
|
+
# the resource group.
|
82
|
+
# @param metrics [Array<Enum>]
|
83
|
+
# @param date_time_begin [DateTime]
|
84
|
+
# @param date_time_end [DateTime]
|
85
|
+
# @param granularity [Enum] Possible values include: 'PT5M', 'PT1H', 'P1D'
|
86
|
+
# @param group_by [Array<Enum>]
|
87
|
+
# @param continents [Array<String>]
|
88
|
+
# @param country_or_regions [Array<String>]
|
89
|
+
# @param custom_domains [Array<String>]
|
90
|
+
# @param protocols [Array<String>]
|
91
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
92
|
+
# to the HTTP request.
|
93
|
+
#
|
94
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
95
|
+
#
|
96
|
+
def get_log_analytics_metrics_async(resource_group_name, profile_name, metrics, date_time_begin, date_time_end, granularity, group_by:nil, continents:nil, country_or_regions:nil, custom_domains:nil, protocols:nil, custom_headers:nil)
|
97
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
98
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
99
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
100
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
101
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
102
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
103
|
+
fail ArgumentError, 'profile_name is nil' if profile_name.nil?
|
104
|
+
fail ArgumentError, 'metrics is nil' if metrics.nil?
|
105
|
+
fail ArgumentError, 'date_time_begin is nil' if date_time_begin.nil?
|
106
|
+
fail ArgumentError, 'date_time_end is nil' if date_time_end.nil?
|
107
|
+
fail ArgumentError, 'granularity is nil' if granularity.nil?
|
108
|
+
|
109
|
+
|
110
|
+
request_headers = {}
|
111
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
112
|
+
|
113
|
+
# Set Headers
|
114
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
115
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
116
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getLogAnalyticsMetrics'
|
117
|
+
|
118
|
+
request_url = @base_url || @client.base_url
|
119
|
+
|
120
|
+
options = {
|
121
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
122
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'profileName' => profile_name},
|
123
|
+
query_params: {'api-version' => @client.api_version,'metrics' => metrics.nil? ? nil : metrics.join(','),'dateTimeBegin' => date_time_begin,'dateTimeEnd' => date_time_end,'granularity' => granularity,'groupBy' => group_by.nil? ? nil : group_by.join(','),'continents' => continents.nil? ? nil : continents.join(','),'countryOrRegions' => country_or_regions.nil? ? nil : country_or_regions.join(','),'customDomains' => custom_domains.nil? ? nil : custom_domains.join(','),'protocols' => protocols.nil? ? nil : protocols.join(',')},
|
124
|
+
headers: request_headers.merge(custom_headers || {}),
|
125
|
+
base_url: request_url
|
126
|
+
}
|
127
|
+
promise = @client.make_request_async(:get, path_template, options)
|
128
|
+
|
129
|
+
promise = promise.then do |result|
|
130
|
+
http_response = result.response
|
131
|
+
status_code = http_response.status
|
132
|
+
response_content = http_response.body
|
133
|
+
unless status_code == 200
|
134
|
+
error_model = JSON.load(response_content)
|
135
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
136
|
+
end
|
137
|
+
|
138
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
139
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
140
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
141
|
+
# Deserialize Response
|
142
|
+
if status_code == 200
|
143
|
+
begin
|
144
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
145
|
+
result_mapper = Azure::CDN::Mgmt::V2020_09_01::Models::MetricsResponse.mapper()
|
146
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
147
|
+
rescue Exception => e
|
148
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
152
|
+
result
|
153
|
+
end
|
154
|
+
|
155
|
+
promise.execute
|
156
|
+
end
|
157
|
+
|
158
|
+
#
|
159
|
+
# Get log analytics ranking report for AFD profile
|
160
|
+
#
|
161
|
+
# @param resource_group_name [String] Name of the Resource group within the
|
162
|
+
# Azure subscription.
|
163
|
+
# @param profile_name [String] Name of the CDN profile which is unique within
|
164
|
+
# the resource group.
|
165
|
+
# @param rankings [Array<Enum>]
|
166
|
+
# @param metrics [Array<Enum>]
|
167
|
+
# @param max_ranking [Float]
|
168
|
+
# @param date_time_begin [DateTime]
|
169
|
+
# @param date_time_end [DateTime]
|
170
|
+
# @param custom_domains [Array<String>]
|
171
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
172
|
+
# will be added to the HTTP request.
|
173
|
+
#
|
174
|
+
# @return [RankingsResponse] operation results.
|
175
|
+
#
|
176
|
+
def get_log_analytics_rankings(resource_group_name, profile_name, rankings, metrics, max_ranking, date_time_begin, date_time_end, custom_domains:nil, custom_headers:nil)
|
177
|
+
response = get_log_analytics_rankings_async(resource_group_name, profile_name, rankings, metrics, max_ranking, date_time_begin, date_time_end, custom_domains:custom_domains, custom_headers:custom_headers).value!
|
178
|
+
response.body unless response.nil?
|
179
|
+
end
|
180
|
+
|
181
|
+
#
|
182
|
+
# Get log analytics ranking report for AFD profile
|
183
|
+
#
|
184
|
+
# @param resource_group_name [String] Name of the Resource group within the
|
185
|
+
# Azure subscription.
|
186
|
+
# @param profile_name [String] Name of the CDN profile which is unique within
|
187
|
+
# the resource group.
|
188
|
+
# @param rankings [Array<Enum>]
|
189
|
+
# @param metrics [Array<Enum>]
|
190
|
+
# @param max_ranking [Float]
|
191
|
+
# @param date_time_begin [DateTime]
|
192
|
+
# @param date_time_end [DateTime]
|
193
|
+
# @param custom_domains [Array<String>]
|
194
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
195
|
+
# will be added to the HTTP request.
|
196
|
+
#
|
197
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
198
|
+
#
|
199
|
+
def get_log_analytics_rankings_with_http_info(resource_group_name, profile_name, rankings, metrics, max_ranking, date_time_begin, date_time_end, custom_domains:nil, custom_headers:nil)
|
200
|
+
get_log_analytics_rankings_async(resource_group_name, profile_name, rankings, metrics, max_ranking, date_time_begin, date_time_end, custom_domains:custom_domains, custom_headers:custom_headers).value!
|
201
|
+
end
|
202
|
+
|
203
|
+
#
|
204
|
+
# Get log analytics ranking report for AFD profile
|
205
|
+
#
|
206
|
+
# @param resource_group_name [String] Name of the Resource group within the
|
207
|
+
# Azure subscription.
|
208
|
+
# @param profile_name [String] Name of the CDN profile which is unique within
|
209
|
+
# the resource group.
|
210
|
+
# @param rankings [Array<Enum>]
|
211
|
+
# @param metrics [Array<Enum>]
|
212
|
+
# @param max_ranking [Float]
|
213
|
+
# @param date_time_begin [DateTime]
|
214
|
+
# @param date_time_end [DateTime]
|
215
|
+
# @param custom_domains [Array<String>]
|
216
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
217
|
+
# to the HTTP request.
|
218
|
+
#
|
219
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
220
|
+
#
|
221
|
+
def get_log_analytics_rankings_async(resource_group_name, profile_name, rankings, metrics, max_ranking, date_time_begin, date_time_end, custom_domains:nil, custom_headers:nil)
|
222
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
223
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
224
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
225
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
226
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
227
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
228
|
+
fail ArgumentError, 'profile_name is nil' if profile_name.nil?
|
229
|
+
fail ArgumentError, 'rankings is nil' if rankings.nil?
|
230
|
+
fail ArgumentError, 'metrics is nil' if metrics.nil?
|
231
|
+
fail ArgumentError, 'max_ranking is nil' if max_ranking.nil?
|
232
|
+
fail ArgumentError, 'date_time_begin is nil' if date_time_begin.nil?
|
233
|
+
fail ArgumentError, 'date_time_end is nil' if date_time_end.nil?
|
234
|
+
|
235
|
+
|
236
|
+
request_headers = {}
|
237
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
238
|
+
|
239
|
+
# Set Headers
|
240
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
241
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
242
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getLogAnalyticsRankings'
|
243
|
+
|
244
|
+
request_url = @base_url || @client.base_url
|
245
|
+
|
246
|
+
options = {
|
247
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
248
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'profileName' => profile_name},
|
249
|
+
query_params: {'api-version' => @client.api_version,'rankings' => rankings.nil? ? nil : rankings.join(','),'metrics' => metrics.nil? ? nil : metrics.join(','),'maxRanking' => max_ranking,'dateTimeBegin' => date_time_begin,'dateTimeEnd' => date_time_end,'customDomains' => custom_domains.nil? ? nil : custom_domains.join(',')},
|
250
|
+
headers: request_headers.merge(custom_headers || {}),
|
251
|
+
base_url: request_url
|
252
|
+
}
|
253
|
+
promise = @client.make_request_async(:get, path_template, options)
|
254
|
+
|
255
|
+
promise = promise.then do |result|
|
256
|
+
http_response = result.response
|
257
|
+
status_code = http_response.status
|
258
|
+
response_content = http_response.body
|
259
|
+
unless status_code == 200
|
260
|
+
error_model = JSON.load(response_content)
|
261
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
262
|
+
end
|
263
|
+
|
264
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
265
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
266
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
267
|
+
# Deserialize Response
|
268
|
+
if status_code == 200
|
269
|
+
begin
|
270
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
271
|
+
result_mapper = Azure::CDN::Mgmt::V2020_09_01::Models::RankingsResponse.mapper()
|
272
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
273
|
+
rescue Exception => e
|
274
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
275
|
+
end
|
276
|
+
end
|
277
|
+
|
278
|
+
result
|
279
|
+
end
|
280
|
+
|
281
|
+
promise.execute
|
282
|
+
end
|
283
|
+
|
284
|
+
#
|
285
|
+
# Get all available location names for AFD log analytics report.
|
286
|
+
#
|
287
|
+
# @param resource_group_name [String] Name of the Resource group within the
|
288
|
+
# Azure subscription.
|
289
|
+
# @param profile_name [String] Name of the CDN profile which is unique within
|
290
|
+
# the resource group.
|
291
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
292
|
+
# will be added to the HTTP request.
|
293
|
+
#
|
294
|
+
# @return [ContinentsResponse] operation results.
|
295
|
+
#
|
296
|
+
def get_log_analytics_locations(resource_group_name, profile_name, custom_headers:nil)
|
297
|
+
response = get_log_analytics_locations_async(resource_group_name, profile_name, custom_headers:custom_headers).value!
|
298
|
+
response.body unless response.nil?
|
299
|
+
end
|
300
|
+
|
301
|
+
#
|
302
|
+
# Get all available location names for AFD log analytics report.
|
303
|
+
#
|
304
|
+
# @param resource_group_name [String] Name of the Resource group within the
|
305
|
+
# Azure subscription.
|
306
|
+
# @param profile_name [String] Name of the CDN profile which is unique within
|
307
|
+
# the resource group.
|
308
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
309
|
+
# will be added to the HTTP request.
|
310
|
+
#
|
311
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
312
|
+
#
|
313
|
+
def get_log_analytics_locations_with_http_info(resource_group_name, profile_name, custom_headers:nil)
|
314
|
+
get_log_analytics_locations_async(resource_group_name, profile_name, custom_headers:custom_headers).value!
|
315
|
+
end
|
316
|
+
|
317
|
+
#
|
318
|
+
# Get all available location names for AFD log analytics report.
|
319
|
+
#
|
320
|
+
# @param resource_group_name [String] Name of the Resource group within the
|
321
|
+
# Azure subscription.
|
322
|
+
# @param profile_name [String] Name of the CDN profile which is unique within
|
323
|
+
# the resource group.
|
324
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
325
|
+
# to the HTTP request.
|
326
|
+
#
|
327
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
328
|
+
#
|
329
|
+
def get_log_analytics_locations_async(resource_group_name, profile_name, custom_headers:nil)
|
330
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
331
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
332
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
333
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
334
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
335
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
336
|
+
fail ArgumentError, 'profile_name is nil' if profile_name.nil?
|
337
|
+
|
338
|
+
|
339
|
+
request_headers = {}
|
340
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
341
|
+
|
342
|
+
# Set Headers
|
343
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
344
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
345
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getLogAnalyticsLocations'
|
346
|
+
|
347
|
+
request_url = @base_url || @client.base_url
|
348
|
+
|
349
|
+
options = {
|
350
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
351
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'profileName' => profile_name},
|
352
|
+
query_params: {'api-version' => @client.api_version},
|
353
|
+
headers: request_headers.merge(custom_headers || {}),
|
354
|
+
base_url: request_url
|
355
|
+
}
|
356
|
+
promise = @client.make_request_async(:get, path_template, options)
|
357
|
+
|
358
|
+
promise = promise.then do |result|
|
359
|
+
http_response = result.response
|
360
|
+
status_code = http_response.status
|
361
|
+
response_content = http_response.body
|
362
|
+
unless status_code == 200
|
363
|
+
error_model = JSON.load(response_content)
|
364
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
365
|
+
end
|
366
|
+
|
367
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
368
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
369
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
370
|
+
# Deserialize Response
|
371
|
+
if status_code == 200
|
372
|
+
begin
|
373
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
374
|
+
result_mapper = Azure::CDN::Mgmt::V2020_09_01::Models::ContinentsResponse.mapper()
|
375
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
376
|
+
rescue Exception => e
|
377
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
378
|
+
end
|
379
|
+
end
|
380
|
+
|
381
|
+
result
|
382
|
+
end
|
383
|
+
|
384
|
+
promise.execute
|
385
|
+
end
|
386
|
+
|
387
|
+
#
|
388
|
+
# Get all endpoints and custom domains available for AFD log report
|
389
|
+
#
|
390
|
+
# @param resource_group_name [String] Name of the Resource group within the
|
391
|
+
# Azure subscription.
|
392
|
+
# @param profile_name [String] Name of the CDN profile which is unique within
|
393
|
+
# the resource group.
|
394
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
395
|
+
# will be added to the HTTP request.
|
396
|
+
#
|
397
|
+
# @return [ResourcesResponse] operation results.
|
398
|
+
#
|
399
|
+
def get_log_analytics_resources(resource_group_name, profile_name, custom_headers:nil)
|
400
|
+
response = get_log_analytics_resources_async(resource_group_name, profile_name, custom_headers:custom_headers).value!
|
401
|
+
response.body unless response.nil?
|
402
|
+
end
|
403
|
+
|
404
|
+
#
|
405
|
+
# Get all endpoints and custom domains available for AFD log report
|
406
|
+
#
|
407
|
+
# @param resource_group_name [String] Name of the Resource group within the
|
408
|
+
# Azure subscription.
|
409
|
+
# @param profile_name [String] Name of the CDN profile which is unique within
|
410
|
+
# the resource group.
|
411
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
412
|
+
# will be added to the HTTP request.
|
413
|
+
#
|
414
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
415
|
+
#
|
416
|
+
def get_log_analytics_resources_with_http_info(resource_group_name, profile_name, custom_headers:nil)
|
417
|
+
get_log_analytics_resources_async(resource_group_name, profile_name, custom_headers:custom_headers).value!
|
418
|
+
end
|
419
|
+
|
420
|
+
#
|
421
|
+
# Get all endpoints and custom domains available for AFD log report
|
422
|
+
#
|
423
|
+
# @param resource_group_name [String] Name of the Resource group within the
|
424
|
+
# Azure subscription.
|
425
|
+
# @param profile_name [String] Name of the CDN profile which is unique within
|
426
|
+
# the resource group.
|
427
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
428
|
+
# to the HTTP request.
|
429
|
+
#
|
430
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
431
|
+
#
|
432
|
+
def get_log_analytics_resources_async(resource_group_name, profile_name, custom_headers:nil)
|
433
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
434
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
435
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
436
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
437
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
438
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
439
|
+
fail ArgumentError, 'profile_name is nil' if profile_name.nil?
|
440
|
+
|
441
|
+
|
442
|
+
request_headers = {}
|
443
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
444
|
+
|
445
|
+
# Set Headers
|
446
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
447
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
448
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getLogAnalyticsResources'
|
449
|
+
|
450
|
+
request_url = @base_url || @client.base_url
|
451
|
+
|
452
|
+
options = {
|
453
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
454
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'profileName' => profile_name},
|
455
|
+
query_params: {'api-version' => @client.api_version},
|
456
|
+
headers: request_headers.merge(custom_headers || {}),
|
457
|
+
base_url: request_url
|
458
|
+
}
|
459
|
+
promise = @client.make_request_async(:get, path_template, options)
|
460
|
+
|
461
|
+
promise = promise.then do |result|
|
462
|
+
http_response = result.response
|
463
|
+
status_code = http_response.status
|
464
|
+
response_content = http_response.body
|
465
|
+
unless status_code == 200
|
466
|
+
error_model = JSON.load(response_content)
|
467
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
468
|
+
end
|
469
|
+
|
470
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
471
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
472
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
473
|
+
# Deserialize Response
|
474
|
+
if status_code == 200
|
475
|
+
begin
|
476
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
477
|
+
result_mapper = Azure::CDN::Mgmt::V2020_09_01::Models::ResourcesResponse.mapper()
|
478
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
479
|
+
rescue Exception => e
|
480
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
481
|
+
end
|
482
|
+
end
|
483
|
+
|
484
|
+
result
|
485
|
+
end
|
486
|
+
|
487
|
+
promise.execute
|
488
|
+
end
|
489
|
+
|
490
|
+
#
|
491
|
+
# Get Waf related log analytics report for AFD profile.
|
492
|
+
#
|
493
|
+
# @param resource_group_name [String] Name of the Resource group within the
|
494
|
+
# Azure subscription.
|
495
|
+
# @param profile_name [String] Name of the CDN profile which is unique within
|
496
|
+
# the resource group.
|
497
|
+
# @param metrics [Array<Enum>]
|
498
|
+
# @param date_time_begin [DateTime]
|
499
|
+
# @param date_time_end [DateTime]
|
500
|
+
# @param granularity [Enum] Possible values include: 'PT5M', 'PT1H', 'P1D'
|
501
|
+
# @param actions [Array<Enum>]
|
502
|
+
# @param group_by [Array<Enum>]
|
503
|
+
# @param rule_types [Array<Enum>]
|
504
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
505
|
+
# will be added to the HTTP request.
|
506
|
+
#
|
507
|
+
# @return [WafMetricsResponse] operation results.
|
508
|
+
#
|
509
|
+
def get_waf_log_analytics_metrics(resource_group_name, profile_name, metrics, date_time_begin, date_time_end, granularity, actions:nil, group_by:nil, rule_types:nil, custom_headers:nil)
|
510
|
+
response = get_waf_log_analytics_metrics_async(resource_group_name, profile_name, metrics, date_time_begin, date_time_end, granularity, actions:actions, group_by:group_by, rule_types:rule_types, custom_headers:custom_headers).value!
|
511
|
+
response.body unless response.nil?
|
512
|
+
end
|
513
|
+
|
514
|
+
#
|
515
|
+
# Get Waf related log analytics report for AFD profile.
|
516
|
+
#
|
517
|
+
# @param resource_group_name [String] Name of the Resource group within the
|
518
|
+
# Azure subscription.
|
519
|
+
# @param profile_name [String] Name of the CDN profile which is unique within
|
520
|
+
# the resource group.
|
521
|
+
# @param metrics [Array<Enum>]
|
522
|
+
# @param date_time_begin [DateTime]
|
523
|
+
# @param date_time_end [DateTime]
|
524
|
+
# @param granularity [Enum] Possible values include: 'PT5M', 'PT1H', 'P1D'
|
525
|
+
# @param actions [Array<Enum>]
|
526
|
+
# @param group_by [Array<Enum>]
|
527
|
+
# @param rule_types [Array<Enum>]
|
528
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
529
|
+
# will be added to the HTTP request.
|
530
|
+
#
|
531
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
532
|
+
#
|
533
|
+
def get_waf_log_analytics_metrics_with_http_info(resource_group_name, profile_name, metrics, date_time_begin, date_time_end, granularity, actions:nil, group_by:nil, rule_types:nil, custom_headers:nil)
|
534
|
+
get_waf_log_analytics_metrics_async(resource_group_name, profile_name, metrics, date_time_begin, date_time_end, granularity, actions:actions, group_by:group_by, rule_types:rule_types, custom_headers:custom_headers).value!
|
535
|
+
end
|
536
|
+
|
537
|
+
#
|
538
|
+
# Get Waf related log analytics report for AFD profile.
|
539
|
+
#
|
540
|
+
# @param resource_group_name [String] Name of the Resource group within the
|
541
|
+
# Azure subscription.
|
542
|
+
# @param profile_name [String] Name of the CDN profile which is unique within
|
543
|
+
# the resource group.
|
544
|
+
# @param metrics [Array<Enum>]
|
545
|
+
# @param date_time_begin [DateTime]
|
546
|
+
# @param date_time_end [DateTime]
|
547
|
+
# @param granularity [Enum] Possible values include: 'PT5M', 'PT1H', 'P1D'
|
548
|
+
# @param actions [Array<Enum>]
|
549
|
+
# @param group_by [Array<Enum>]
|
550
|
+
# @param rule_types [Array<Enum>]
|
551
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
552
|
+
# to the HTTP request.
|
553
|
+
#
|
554
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
555
|
+
#
|
556
|
+
def get_waf_log_analytics_metrics_async(resource_group_name, profile_name, metrics, date_time_begin, date_time_end, granularity, actions:nil, group_by:nil, rule_types:nil, custom_headers:nil)
|
557
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
558
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
559
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
560
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
561
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
562
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
563
|
+
fail ArgumentError, 'profile_name is nil' if profile_name.nil?
|
564
|
+
fail ArgumentError, 'metrics is nil' if metrics.nil?
|
565
|
+
fail ArgumentError, 'date_time_begin is nil' if date_time_begin.nil?
|
566
|
+
fail ArgumentError, 'date_time_end is nil' if date_time_end.nil?
|
567
|
+
fail ArgumentError, 'granularity is nil' if granularity.nil?
|
568
|
+
|
569
|
+
|
570
|
+
request_headers = {}
|
571
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
572
|
+
|
573
|
+
# Set Headers
|
574
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
575
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
576
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getWafLogAnalyticsMetrics'
|
577
|
+
|
578
|
+
request_url = @base_url || @client.base_url
|
579
|
+
|
580
|
+
options = {
|
581
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
582
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'profileName' => profile_name},
|
583
|
+
query_params: {'api-version' => @client.api_version,'metrics' => metrics.nil? ? nil : metrics.join(','),'dateTimeBegin' => date_time_begin,'dateTimeEnd' => date_time_end,'granularity' => granularity,'actions' => actions.nil? ? nil : actions.join(','),'groupBy' => group_by.nil? ? nil : group_by.join(','),'ruleTypes' => rule_types.nil? ? nil : rule_types.join(',')},
|
584
|
+
headers: request_headers.merge(custom_headers || {}),
|
585
|
+
base_url: request_url
|
586
|
+
}
|
587
|
+
promise = @client.make_request_async(:get, path_template, options)
|
588
|
+
|
589
|
+
promise = promise.then do |result|
|
590
|
+
http_response = result.response
|
591
|
+
status_code = http_response.status
|
592
|
+
response_content = http_response.body
|
593
|
+
unless status_code == 200
|
594
|
+
error_model = JSON.load(response_content)
|
595
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
596
|
+
end
|
597
|
+
|
598
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
599
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
600
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
601
|
+
# Deserialize Response
|
602
|
+
if status_code == 200
|
603
|
+
begin
|
604
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
605
|
+
result_mapper = Azure::CDN::Mgmt::V2020_09_01::Models::WafMetricsResponse.mapper()
|
606
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
607
|
+
rescue Exception => e
|
608
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
609
|
+
end
|
610
|
+
end
|
611
|
+
|
612
|
+
result
|
613
|
+
end
|
614
|
+
|
615
|
+
promise.execute
|
616
|
+
end
|
617
|
+
|
618
|
+
#
|
619
|
+
# Get WAF log analytics charts for AFD profile
|
620
|
+
#
|
621
|
+
# @param resource_group_name [String] Name of the Resource group within the
|
622
|
+
# Azure subscription.
|
623
|
+
# @param profile_name [String] Name of the CDN profile which is unique within
|
624
|
+
# the resource group.
|
625
|
+
# @param metrics [Array<Enum>]
|
626
|
+
# @param date_time_begin [DateTime]
|
627
|
+
# @param date_time_end [DateTime]
|
628
|
+
# @param max_ranking [Float]
|
629
|
+
# @param rankings [Array<Enum>]
|
630
|
+
# @param actions [Array<Enum>]
|
631
|
+
# @param rule_types [Array<Enum>]
|
632
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
633
|
+
# will be added to the HTTP request.
|
634
|
+
#
|
635
|
+
# @return [WafRankingsResponse] operation results.
|
636
|
+
#
|
637
|
+
def get_waf_log_analytics_rankings(resource_group_name, profile_name, metrics, date_time_begin, date_time_end, max_ranking, rankings, actions:nil, rule_types:nil, custom_headers:nil)
|
638
|
+
response = get_waf_log_analytics_rankings_async(resource_group_name, profile_name, metrics, date_time_begin, date_time_end, max_ranking, rankings, actions:actions, rule_types:rule_types, custom_headers:custom_headers).value!
|
639
|
+
response.body unless response.nil?
|
640
|
+
end
|
641
|
+
|
642
|
+
#
|
643
|
+
# Get WAF log analytics charts for AFD profile
|
644
|
+
#
|
645
|
+
# @param resource_group_name [String] Name of the Resource group within the
|
646
|
+
# Azure subscription.
|
647
|
+
# @param profile_name [String] Name of the CDN profile which is unique within
|
648
|
+
# the resource group.
|
649
|
+
# @param metrics [Array<Enum>]
|
650
|
+
# @param date_time_begin [DateTime]
|
651
|
+
# @param date_time_end [DateTime]
|
652
|
+
# @param max_ranking [Float]
|
653
|
+
# @param rankings [Array<Enum>]
|
654
|
+
# @param actions [Array<Enum>]
|
655
|
+
# @param rule_types [Array<Enum>]
|
656
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
657
|
+
# will be added to the HTTP request.
|
658
|
+
#
|
659
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
660
|
+
#
|
661
|
+
def get_waf_log_analytics_rankings_with_http_info(resource_group_name, profile_name, metrics, date_time_begin, date_time_end, max_ranking, rankings, actions:nil, rule_types:nil, custom_headers:nil)
|
662
|
+
get_waf_log_analytics_rankings_async(resource_group_name, profile_name, metrics, date_time_begin, date_time_end, max_ranking, rankings, actions:actions, rule_types:rule_types, custom_headers:custom_headers).value!
|
663
|
+
end
|
664
|
+
|
665
|
+
#
|
666
|
+
# Get WAF log analytics charts for AFD profile
|
667
|
+
#
|
668
|
+
# @param resource_group_name [String] Name of the Resource group within the
|
669
|
+
# Azure subscription.
|
670
|
+
# @param profile_name [String] Name of the CDN profile which is unique within
|
671
|
+
# the resource group.
|
672
|
+
# @param metrics [Array<Enum>]
|
673
|
+
# @param date_time_begin [DateTime]
|
674
|
+
# @param date_time_end [DateTime]
|
675
|
+
# @param max_ranking [Float]
|
676
|
+
# @param rankings [Array<Enum>]
|
677
|
+
# @param actions [Array<Enum>]
|
678
|
+
# @param rule_types [Array<Enum>]
|
679
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
680
|
+
# to the HTTP request.
|
681
|
+
#
|
682
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
683
|
+
#
|
684
|
+
def get_waf_log_analytics_rankings_async(resource_group_name, profile_name, metrics, date_time_begin, date_time_end, max_ranking, rankings, actions:nil, rule_types:nil, custom_headers:nil)
|
685
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
686
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
687
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
688
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
689
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
690
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
691
|
+
fail ArgumentError, 'profile_name is nil' if profile_name.nil?
|
692
|
+
fail ArgumentError, 'metrics is nil' if metrics.nil?
|
693
|
+
fail ArgumentError, 'date_time_begin is nil' if date_time_begin.nil?
|
694
|
+
fail ArgumentError, 'date_time_end is nil' if date_time_end.nil?
|
695
|
+
fail ArgumentError, 'max_ranking is nil' if max_ranking.nil?
|
696
|
+
fail ArgumentError, 'rankings is nil' if rankings.nil?
|
697
|
+
|
698
|
+
|
699
|
+
request_headers = {}
|
700
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
701
|
+
|
702
|
+
# Set Headers
|
703
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
704
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
705
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getWafLogAnalyticsRankings'
|
706
|
+
|
707
|
+
request_url = @base_url || @client.base_url
|
708
|
+
|
709
|
+
options = {
|
710
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
711
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'profileName' => profile_name},
|
712
|
+
query_params: {'api-version' => @client.api_version,'metrics' => metrics.nil? ? nil : metrics.join(','),'dateTimeBegin' => date_time_begin,'dateTimeEnd' => date_time_end,'maxRanking' => max_ranking,'rankings' => rankings.nil? ? nil : rankings.join(','),'actions' => actions.nil? ? nil : actions.join(','),'ruleTypes' => rule_types.nil? ? nil : rule_types.join(',')},
|
713
|
+
headers: request_headers.merge(custom_headers || {}),
|
714
|
+
base_url: request_url
|
715
|
+
}
|
716
|
+
promise = @client.make_request_async(:get, path_template, options)
|
717
|
+
|
718
|
+
promise = promise.then do |result|
|
719
|
+
http_response = result.response
|
720
|
+
status_code = http_response.status
|
721
|
+
response_content = http_response.body
|
722
|
+
unless status_code == 200
|
723
|
+
error_model = JSON.load(response_content)
|
724
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
725
|
+
end
|
726
|
+
|
727
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
728
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
729
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
730
|
+
# Deserialize Response
|
731
|
+
if status_code == 200
|
732
|
+
begin
|
733
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
734
|
+
result_mapper = Azure::CDN::Mgmt::V2020_09_01::Models::WafRankingsResponse.mapper()
|
735
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
736
|
+
rescue Exception => e
|
737
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
738
|
+
end
|
739
|
+
end
|
740
|
+
|
741
|
+
result
|
742
|
+
end
|
743
|
+
|
744
|
+
promise.execute
|
745
|
+
end
|
746
|
+
|
747
|
+
end
|
748
|
+
end
|