azure_mgmt_cdn 0.17.1 → 0.17.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- 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 +17 -3
- 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 +17 -3
- data/lib/2016-10-02/generated/azure_mgmt_cdn/cdn_management_client.rb +15 -1
- data/lib/2016-10-02/generated/azure_mgmt_cdn/custom_domains.rb +17 -3
- 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 +31 -5
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/cidr_ip_address.rb +1 -1
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/custom_domain.rb +1 -1
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/custom_domain_list_result.rb +1 -1
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/edgenode_result.rb +1 -1
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/endpoint.rb +2 -2
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/endpoint_list_result.rb +2 -2
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb +1 -1
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/error_response.rb +1 -1
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/operation_list_result.rb +1 -1
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/origin_list_result.rb +1 -1
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/profile_list_result.rb +2 -2
- data/lib/2016-10-02/generated/azure_mgmt_cdn/models/resource_usage_list_result.rb +1 -1
- data/lib/2016-10-02/generated/azure_mgmt_cdn/origins.rb +8 -0
- data/lib/2016-10-02/generated/azure_mgmt_cdn/profiles.rb +27 -3
- 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 +17 -3
- 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 +31 -5
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/cidr_ip_address.rb +1 -1
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/custom_domain.rb +1 -1
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/custom_domain_list_result.rb +1 -1
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/edgenode_result.rb +1 -1
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/endpoint.rb +3 -3
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/endpoint_list_result.rb +2 -2
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb +2 -2
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/error_response.rb +1 -1
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/operations_list_result.rb +1 -1
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/origin_list_result.rb +1 -1
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/profile_list_result.rb +2 -2
- data/lib/2017-04-02/generated/azure_mgmt_cdn/models/resource_usage_list_result.rb +1 -1
- 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 +27 -3
- data/lib/2017-04-02/generated/azure_mgmt_cdn/resource_usage_operations.rb +4 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn.rb +23 -16
- 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 +41 -8
- 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 +31 -5
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/cache_expiration_action_parameters.rb +2 -2
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/cdn_certificate_source_parameters.rb +62 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/cdn_managed_https_parameters.rb +73 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/certificate_type.rb +16 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/cidr_ip_address.rb +1 -1
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/custom_domain.rb +1 -1
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/custom_domain_https_parameters.rb +60 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/custom_domain_list_result.rb +1 -1
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/edgenode_result.rb +1 -1
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/endpoint.rb +3 -3
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/endpoint_list_result.rb +2 -2
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb +2 -2
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/error_response.rb +1 -1
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/key_vault_certificate_source_parameters.rb +137 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/operations_list_result.rb +1 -1
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/origin_list_result.rb +1 -1
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/profile_list_result.rb +2 -2
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/protocol_type.rb +16 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/resource_usage_list_result.rb +1 -1
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/sku.rb +1 -1
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/sku_name.rb +1 -0
- data/lib/2017-10-12/generated/azure_mgmt_cdn/models/user_managed_https_parameters.rb +73 -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 +27 -3
- 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/azure_mgmt_cdn.rb +2 -1
- data/lib/profiles/latest/modules/cdn_profile_module.rb +589 -159
- data/lib/version.rb +1 -1
- metadata +190 -5
@@ -114,6 +114,8 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
114
114
|
end
|
115
115
|
|
116
116
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
117
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
118
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
117
119
|
# Deserialize Response
|
118
120
|
if status_code == 200
|
119
121
|
begin
|
@@ -132,7 +134,7 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
132
134
|
end
|
133
135
|
|
134
136
|
#
|
135
|
-
# Gets an
|
137
|
+
# Gets an existing custom domain within an endpoint.
|
136
138
|
#
|
137
139
|
# @param resource_group_name [String] Name of the Resource group within the
|
138
140
|
# Azure subscription.
|
@@ -153,7 +155,7 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
153
155
|
end
|
154
156
|
|
155
157
|
#
|
156
|
-
# Gets an
|
158
|
+
# Gets an existing custom domain within an endpoint.
|
157
159
|
#
|
158
160
|
# @param resource_group_name [String] Name of the Resource group within the
|
159
161
|
# Azure subscription.
|
@@ -173,7 +175,7 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
173
175
|
end
|
174
176
|
|
175
177
|
#
|
176
|
-
# Gets an
|
178
|
+
# Gets an existing custom domain within an endpoint.
|
177
179
|
#
|
178
180
|
# @param resource_group_name [String] Name of the Resource group within the
|
179
181
|
# Azure subscription.
|
@@ -229,6 +231,8 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
229
231
|
end
|
230
232
|
|
231
233
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
234
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
235
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
232
236
|
# Deserialize Response
|
233
237
|
if status_code == 200
|
234
238
|
begin
|
@@ -456,6 +460,8 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
456
460
|
end
|
457
461
|
|
458
462
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
463
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
464
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
459
465
|
# Deserialize Response
|
460
466
|
if status_code == 202
|
461
467
|
begin
|
@@ -484,13 +490,17 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
484
490
|
# unique globally.
|
485
491
|
# @param custom_domain_name [String] Name of the custom domain within an
|
486
492
|
# endpoint.
|
493
|
+
# @param custom_domain_https_parameters [CustomDomainHttpsParameters] The
|
494
|
+
# configuration specifying how to enable HTTPS for the custom domain - using
|
495
|
+
# CDN managed certificate or user's own certificate. If not specified, enabling
|
496
|
+
# ssl uses CDN managed certificate by default.
|
487
497
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
488
498
|
# will be added to the HTTP request.
|
489
499
|
#
|
490
500
|
# @return [CustomDomain] operation results.
|
491
501
|
#
|
492
|
-
def enable_custom_https(resource_group_name, profile_name, endpoint_name, custom_domain_name, custom_headers:nil)
|
493
|
-
response = enable_custom_https_async(resource_group_name, profile_name, endpoint_name, custom_domain_name, custom_headers:custom_headers).value!
|
502
|
+
def enable_custom_https(resource_group_name, profile_name, endpoint_name, custom_domain_name, custom_domain_https_parameters:nil, custom_headers:nil)
|
503
|
+
response = enable_custom_https_async(resource_group_name, profile_name, endpoint_name, custom_domain_name, custom_domain_https_parameters:custom_domain_https_parameters, custom_headers:custom_headers).value!
|
494
504
|
response.body unless response.nil?
|
495
505
|
end
|
496
506
|
|
@@ -505,13 +515,17 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
505
515
|
# unique globally.
|
506
516
|
# @param custom_domain_name [String] Name of the custom domain within an
|
507
517
|
# endpoint.
|
518
|
+
# @param custom_domain_https_parameters [CustomDomainHttpsParameters] The
|
519
|
+
# configuration specifying how to enable HTTPS for the custom domain - using
|
520
|
+
# CDN managed certificate or user's own certificate. If not specified, enabling
|
521
|
+
# ssl uses CDN managed certificate by default.
|
508
522
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
509
523
|
# will be added to the HTTP request.
|
510
524
|
#
|
511
525
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
512
526
|
#
|
513
|
-
def enable_custom_https_with_http_info(resource_group_name, profile_name, endpoint_name, custom_domain_name, custom_headers:nil)
|
514
|
-
enable_custom_https_async(resource_group_name, profile_name, endpoint_name, custom_domain_name, custom_headers:custom_headers).value!
|
527
|
+
def enable_custom_https_with_http_info(resource_group_name, profile_name, endpoint_name, custom_domain_name, custom_domain_https_parameters:nil, custom_headers:nil)
|
528
|
+
enable_custom_https_async(resource_group_name, profile_name, endpoint_name, custom_domain_name, custom_domain_https_parameters:custom_domain_https_parameters, custom_headers:custom_headers).value!
|
515
529
|
end
|
516
530
|
|
517
531
|
#
|
@@ -525,12 +539,16 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
525
539
|
# unique globally.
|
526
540
|
# @param custom_domain_name [String] Name of the custom domain within an
|
527
541
|
# endpoint.
|
542
|
+
# @param custom_domain_https_parameters [CustomDomainHttpsParameters] The
|
543
|
+
# configuration specifying how to enable HTTPS for the custom domain - using
|
544
|
+
# CDN managed certificate or user's own certificate. If not specified, enabling
|
545
|
+
# ssl uses CDN managed certificate by default.
|
528
546
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
529
547
|
# to the HTTP request.
|
530
548
|
#
|
531
549
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
532
550
|
#
|
533
|
-
def enable_custom_https_async(resource_group_name, profile_name, endpoint_name, custom_domain_name, custom_headers:nil)
|
551
|
+
def enable_custom_https_async(resource_group_name, profile_name, endpoint_name, custom_domain_name, custom_domain_https_parameters:nil, custom_headers:nil)
|
534
552
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
535
553
|
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
536
554
|
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
@@ -548,6 +566,12 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
548
566
|
# Set Headers
|
549
567
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
550
568
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
569
|
+
|
570
|
+
# Serialize Request
|
571
|
+
request_mapper = Azure::CDN::Mgmt::V2017_10_12::Models::CustomDomainHttpsParameters.mapper()
|
572
|
+
request_content = @client.serialize(request_mapper, custom_domain_https_parameters)
|
573
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
574
|
+
|
551
575
|
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/endpoints/{endpointName}/customDomains/{customDomainName}/enableCustomHttps'
|
552
576
|
|
553
577
|
request_url = @base_url || @client.base_url
|
@@ -556,6 +580,7 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
556
580
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
557
581
|
path_params: {'resourceGroupName' => resource_group_name,'profileName' => profile_name,'endpointName' => endpoint_name,'customDomainName' => custom_domain_name,'subscriptionId' => @client.subscription_id},
|
558
582
|
query_params: {'api-version' => @client.api_version},
|
583
|
+
body: request_content,
|
559
584
|
headers: request_headers.merge(custom_headers || {}),
|
560
585
|
base_url: request_url
|
561
586
|
}
|
@@ -571,6 +596,8 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
571
596
|
end
|
572
597
|
|
573
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?
|
574
601
|
# Deserialize Response
|
575
602
|
if status_code == 202
|
576
603
|
begin
|
@@ -700,6 +727,8 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
700
727
|
end
|
701
728
|
|
702
729
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
730
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
731
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
703
732
|
# Deserialize Response
|
704
733
|
if status_code == 200
|
705
734
|
begin
|
@@ -835,6 +864,8 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
835
864
|
end
|
836
865
|
|
837
866
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
867
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
868
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
838
869
|
# Deserialize Response
|
839
870
|
if status_code == 202
|
840
871
|
begin
|
@@ -923,6 +954,8 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
923
954
|
end
|
924
955
|
|
925
956
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
957
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
958
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
926
959
|
# Deserialize Response
|
927
960
|
if status_code == 200
|
928
961
|
begin
|
@@ -91,6 +91,8 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
91
91
|
end
|
92
92
|
|
93
93
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
94
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
95
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
94
96
|
# Deserialize Response
|
95
97
|
if status_code == 200
|
96
98
|
begin
|
@@ -182,6 +184,8 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
182
184
|
end
|
183
185
|
|
184
186
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
187
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
188
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
185
189
|
# Deserialize Response
|
186
190
|
if status_code == 200
|
187
191
|
begin
|
@@ -107,6 +107,8 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
107
107
|
end
|
108
108
|
|
109
109
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
110
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
111
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
110
112
|
# Deserialize Response
|
111
113
|
if status_code == 200
|
112
114
|
begin
|
@@ -218,6 +220,8 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
218
220
|
end
|
219
221
|
|
220
222
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
223
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
224
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
221
225
|
# Deserialize Response
|
222
226
|
if status_code == 200
|
223
227
|
begin
|
@@ -557,7 +561,7 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
557
561
|
# @param endpoint_name [String] Name of the endpoint under the profile which is
|
558
562
|
# unique globally.
|
559
563
|
# @param content_file_paths [LoadParameters] The path to the content to be
|
560
|
-
# loaded. Path should be a full URL, e.g. ‘/
|
564
|
+
# loaded. Path should be a full URL, e.g. ‘/pictures/city.png' which loads a
|
561
565
|
# single file
|
562
566
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
563
567
|
# will be added to the HTTP request.
|
@@ -575,7 +579,7 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
575
579
|
# @param endpoint_name [String] Name of the endpoint under the profile which is
|
576
580
|
# unique globally.
|
577
581
|
# @param content_file_paths [LoadParameters] The path to the content to be
|
578
|
-
# loaded. Path should be a full URL, e.g. ‘/
|
582
|
+
# loaded. Path should be a full URL, e.g. ‘/pictures/city.png' which loads a
|
579
583
|
# single file
|
580
584
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
581
585
|
# will be added to the HTTP request.
|
@@ -707,6 +711,8 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
707
711
|
end
|
708
712
|
|
709
713
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
714
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
715
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
710
716
|
# Deserialize Response
|
711
717
|
if status_code == 200
|
712
718
|
begin
|
@@ -818,6 +824,8 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
818
824
|
end
|
819
825
|
|
820
826
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
827
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
828
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
821
829
|
# Deserialize Response
|
822
830
|
if status_code == 200
|
823
831
|
begin
|
@@ -940,6 +948,8 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
940
948
|
end
|
941
949
|
|
942
950
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
951
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
952
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
943
953
|
# Deserialize Response
|
944
954
|
if status_code == 200
|
945
955
|
begin
|
@@ -1094,6 +1104,8 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
1094
1104
|
end
|
1095
1105
|
|
1096
1106
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1107
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1108
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1097
1109
|
# Deserialize Response
|
1098
1110
|
if status_code == 200
|
1099
1111
|
begin
|
@@ -1214,6 +1226,8 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
1214
1226
|
end
|
1215
1227
|
|
1216
1228
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1229
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1230
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1217
1231
|
|
1218
1232
|
result
|
1219
1233
|
end
|
@@ -1312,6 +1326,8 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
1312
1326
|
end
|
1313
1327
|
|
1314
1328
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1329
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1330
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1315
1331
|
# Deserialize Response
|
1316
1332
|
if status_code == 200
|
1317
1333
|
begin
|
@@ -1430,6 +1446,8 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
1430
1446
|
end
|
1431
1447
|
|
1432
1448
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1449
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1450
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1433
1451
|
# Deserialize Response
|
1434
1452
|
if status_code == 200
|
1435
1453
|
begin
|
@@ -1567,6 +1585,8 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
1567
1585
|
end
|
1568
1586
|
|
1569
1587
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1588
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1589
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1570
1590
|
|
1571
1591
|
result
|
1572
1592
|
end
|
@@ -1584,7 +1604,7 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
1584
1604
|
# @param endpoint_name [String] Name of the endpoint under the profile which is
|
1585
1605
|
# unique globally.
|
1586
1606
|
# @param content_file_paths [LoadParameters] The path to the content to be
|
1587
|
-
# loaded. Path should be a full URL, e.g. ‘/
|
1607
|
+
# loaded. Path should be a full URL, e.g. ‘/pictures/city.png' which loads a
|
1588
1608
|
# single file
|
1589
1609
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1590
1610
|
# will be added to the HTTP request.
|
@@ -1605,7 +1625,7 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
1605
1625
|
# @param endpoint_name [String] Name of the endpoint under the profile which is
|
1606
1626
|
# unique globally.
|
1607
1627
|
# @param content_file_paths [LoadParameters] The path to the content to be
|
1608
|
-
# loaded. Path should be a full URL, e.g. ‘/
|
1628
|
+
# loaded. Path should be a full URL, e.g. ‘/pictures/city.png' which loads a
|
1609
1629
|
# single file
|
1610
1630
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1611
1631
|
# will be added to the HTTP request.
|
@@ -1626,7 +1646,7 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
1626
1646
|
# @param endpoint_name [String] Name of the endpoint under the profile which is
|
1627
1647
|
# unique globally.
|
1628
1648
|
# @param content_file_paths [LoadParameters] The path to the content to be
|
1629
|
-
# loaded. Path should be a full URL, e.g. ‘/
|
1649
|
+
# loaded. Path should be a full URL, e.g. ‘/pictures/city.png' which loads a
|
1630
1650
|
# single file
|
1631
1651
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1632
1652
|
# to the HTTP request.
|
@@ -1681,6 +1701,8 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
1681
1701
|
end
|
1682
1702
|
|
1683
1703
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1704
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1705
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1684
1706
|
|
1685
1707
|
result
|
1686
1708
|
end
|
@@ -1759,6 +1781,8 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
1759
1781
|
end
|
1760
1782
|
|
1761
1783
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1784
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1785
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1762
1786
|
# Deserialize Response
|
1763
1787
|
if status_code == 200
|
1764
1788
|
begin
|
@@ -1850,6 +1874,8 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
1850
1874
|
end
|
1851
1875
|
|
1852
1876
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1877
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1878
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1853
1879
|
# Deserialize Response
|
1854
1880
|
if status_code == 200
|
1855
1881
|
begin
|
@@ -26,8 +26,8 @@ module Azure::CDN::Mgmt::V2017_10_12
|
|
26
26
|
# Default value: 'All' .
|
27
27
|
attr_accessor :cache_type
|
28
28
|
|
29
|
-
# @return [String] The duration for which the
|
30
|
-
#
|
29
|
+
# @return [String] The duration for which the content needs to be cached.
|
30
|
+
# Allowed format is [d.]hh:mm:ss
|
31
31
|
attr_accessor :cache_duration
|
32
32
|
|
33
33
|
|
@@ -0,0 +1,62 @@
|
|
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::V2017_10_12
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines the parameters for using CDN managed certificate for securing
|
10
|
+
# custom domain.
|
11
|
+
#
|
12
|
+
class CdnCertificateSourceParameters
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] . Default value:
|
17
|
+
# '#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters' .
|
18
|
+
attr_accessor :odatatype
|
19
|
+
|
20
|
+
# @return [CertificateType] Type of certificate used. Possible values
|
21
|
+
# include: 'Shared', 'Dedicated'
|
22
|
+
attr_accessor :certificate_type
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for CdnCertificateSourceParameters class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'CdnCertificateSourceParameters',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'CdnCertificateSourceParameters',
|
37
|
+
model_properties: {
|
38
|
+
odatatype: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: true,
|
41
|
+
is_constant: true,
|
42
|
+
serialized_name: '@odata\\.type',
|
43
|
+
default_value: '#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
certificate_type: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: true,
|
51
|
+
serialized_name: 'certificateType',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
@@ -0,0 +1,73 @@
|
|
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::V2017_10_12
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines the certificate source parameters using CDN managed certificate
|
10
|
+
# for enabling SSL.
|
11
|
+
#
|
12
|
+
class CdnManagedHttpsParameters < CustomDomainHttpsParameters
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
|
17
|
+
def initialize
|
18
|
+
@certificateSource = "Cdn"
|
19
|
+
end
|
20
|
+
|
21
|
+
attr_accessor :certificateSource
|
22
|
+
|
23
|
+
# @return [CdnCertificateSourceParameters] Defines the certificate source
|
24
|
+
# parameters using CDN managed certificate for enabling SSL.
|
25
|
+
attr_accessor :certificate_source_parameters
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for CdnManagedHttpsParameters class as Ruby Hash.
|
30
|
+
# This will be used for serialization/deserialization.
|
31
|
+
#
|
32
|
+
def self.mapper()
|
33
|
+
{
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'Cdn',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'CdnManagedHttpsParameters',
|
40
|
+
model_properties: {
|
41
|
+
protocol_type: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: true,
|
44
|
+
serialized_name: 'protocolType',
|
45
|
+
type: {
|
46
|
+
name: 'String'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
certificateSource: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: true,
|
52
|
+
serialized_name: 'certificateSource',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
certificate_source_parameters: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: true,
|
60
|
+
serialized_name: 'certificateSourceParameters',
|
61
|
+
default_value: {},
|
62
|
+
type: {
|
63
|
+
name: 'Composite',
|
64
|
+
class_name: 'CdnCertificateSourceParameters'
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|