azure_mgmt_cdn 0.17.4 → 0.17.5
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 +15 -1
- 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 +201 -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 +51 -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_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 +571 -173
- data/lib/version.rb +1 -1
- metadata +179 -2
@@ -0,0 +1,391 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::CDN::Mgmt::V2020_04_15
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# CDN endpoint is the entity within a CDN profile containing configuration
|
10
|
+
# information such as origin, protocol, content caching and delivery
|
11
|
+
# behavior. The CDN endpoint uses the URL format
|
12
|
+
# <endpointname>.azureedge.net.
|
13
|
+
#
|
14
|
+
class Endpoint < TrackedResource
|
15
|
+
|
16
|
+
include MsRestAzure
|
17
|
+
|
18
|
+
# @return [String] A directory path on the origin that CDN can use to
|
19
|
+
# retrieve content from, e.g. contoso.cloudapp.net/originpath.
|
20
|
+
attr_accessor :origin_path
|
21
|
+
|
22
|
+
# @return [Array<String>] List of content types on which compression
|
23
|
+
# applies. The value should be a valid MIME type.
|
24
|
+
attr_accessor :content_types_to_compress
|
25
|
+
|
26
|
+
# @return [String] The host header value sent to the origin with each
|
27
|
+
# request. This property at Endpoint is only allowed when endpoint uses
|
28
|
+
# single origin and can be overridden by the same property specified at
|
29
|
+
# origin.If you leave this blank, the request hostname determines this
|
30
|
+
# value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud
|
31
|
+
# Services require this host header value to match the origin hostname by
|
32
|
+
# default.
|
33
|
+
attr_accessor :origin_host_header
|
34
|
+
|
35
|
+
# @return [Boolean] Indicates whether content compression is enabled on
|
36
|
+
# CDN. Default value is false. If compression is enabled, content will be
|
37
|
+
# served as compressed if user requests for a compressed version. Content
|
38
|
+
# won't be compressed on CDN when requested content is smaller than 1
|
39
|
+
# byte or larger than 1 MB.
|
40
|
+
attr_accessor :is_compression_enabled
|
41
|
+
|
42
|
+
# @return [Boolean] Indicates whether HTTP traffic is allowed on the
|
43
|
+
# endpoint. Default value is true. At least one protocol (HTTP or HTTPS)
|
44
|
+
# must be allowed.
|
45
|
+
attr_accessor :is_http_allowed
|
46
|
+
|
47
|
+
# @return [Boolean] Indicates whether HTTPS traffic is allowed on the
|
48
|
+
# endpoint. Default value is true. At least one protocol (HTTP or HTTPS)
|
49
|
+
# must be allowed.
|
50
|
+
attr_accessor :is_https_allowed
|
51
|
+
|
52
|
+
# @return [QueryStringCachingBehavior] Defines how CDN caches requests
|
53
|
+
# that include query strings. You can ignore any query strings when
|
54
|
+
# caching, bypass caching to prevent requests that contain query strings
|
55
|
+
# from being cached, or cache every request with a unique URL. Possible
|
56
|
+
# values include: 'IgnoreQueryString', 'BypassCaching', 'UseQueryString',
|
57
|
+
# 'NotSet'
|
58
|
+
attr_accessor :query_string_caching_behavior
|
59
|
+
|
60
|
+
# @return [OptimizationType] Specifies what scenario the customer wants
|
61
|
+
# this CDN endpoint to optimize for, e.g. Download, Media services. With
|
62
|
+
# this information, CDN can apply scenario driven optimization. Possible
|
63
|
+
# values include: 'GeneralWebDelivery', 'GeneralMediaStreaming',
|
64
|
+
# 'VideoOnDemandMediaStreaming', 'LargeFileDownload',
|
65
|
+
# 'DynamicSiteAcceleration'
|
66
|
+
attr_accessor :optimization_type
|
67
|
+
|
68
|
+
# @return [String] Path to a file hosted on the origin which helps
|
69
|
+
# accelerate delivery of the dynamic content and calculate the most
|
70
|
+
# optimal routes for the CDN. This is relative to the origin path. This
|
71
|
+
# property is only relevant when using a single origin.
|
72
|
+
attr_accessor :probe_path
|
73
|
+
|
74
|
+
# @return [Array<GeoFilter>] List of rules defining the user's geo access
|
75
|
+
# within a CDN endpoint. Each geo filter defines an access rule to a
|
76
|
+
# specified path or content, e.g. block APAC for path /pictures/
|
77
|
+
attr_accessor :geo_filters
|
78
|
+
|
79
|
+
# @return [ResourceReference] A reference to the origin group.
|
80
|
+
attr_accessor :default_origin_group
|
81
|
+
|
82
|
+
# @return [Array<UrlSigningKey>] List of keys used to validate the signed
|
83
|
+
# URL hashes.
|
84
|
+
attr_accessor :url_signing_keys
|
85
|
+
|
86
|
+
# @return [EndpointPropertiesUpdateParametersDeliveryPolicy] A policy
|
87
|
+
# that specifies the delivery rules to be used for an endpoint.
|
88
|
+
attr_accessor :delivery_policy
|
89
|
+
|
90
|
+
# @return
|
91
|
+
# [EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink]
|
92
|
+
# Defines the Web Application Firewall policy for the endpoint (if
|
93
|
+
# applicable)
|
94
|
+
attr_accessor :web_application_firewall_policy_link
|
95
|
+
|
96
|
+
# @return [String] The host name of the endpoint structured as
|
97
|
+
# {endpointName}.{DNSZone}, e.g. contoso.azureedge.net
|
98
|
+
attr_accessor :host_name
|
99
|
+
|
100
|
+
# @return [Array<DeepCreatedOrigin>] The source of the content being
|
101
|
+
# delivered via CDN.
|
102
|
+
attr_accessor :origins
|
103
|
+
|
104
|
+
# @return [Array<DeepCreatedOriginGroup>] The origin groups comprising of
|
105
|
+
# origins that are used for load balancing the traffic based on
|
106
|
+
# availability.
|
107
|
+
attr_accessor :origin_groups
|
108
|
+
|
109
|
+
# @return [EndpointResourceState] Resource status of the endpoint.
|
110
|
+
# Possible values include: 'Creating', 'Deleting', 'Running', 'Starting',
|
111
|
+
# 'Stopped', 'Stopping'
|
112
|
+
attr_accessor :resource_state
|
113
|
+
|
114
|
+
# @return [String] Provisioning status of the endpoint.
|
115
|
+
attr_accessor :provisioning_state
|
116
|
+
|
117
|
+
|
118
|
+
#
|
119
|
+
# Mapper for Endpoint class as Ruby Hash.
|
120
|
+
# This will be used for serialization/deserialization.
|
121
|
+
#
|
122
|
+
def self.mapper()
|
123
|
+
{
|
124
|
+
client_side_validation: true,
|
125
|
+
required: false,
|
126
|
+
serialized_name: 'Endpoint',
|
127
|
+
type: {
|
128
|
+
name: 'Composite',
|
129
|
+
class_name: 'Endpoint',
|
130
|
+
model_properties: {
|
131
|
+
id: {
|
132
|
+
client_side_validation: true,
|
133
|
+
required: false,
|
134
|
+
read_only: true,
|
135
|
+
serialized_name: 'id',
|
136
|
+
type: {
|
137
|
+
name: 'String'
|
138
|
+
}
|
139
|
+
},
|
140
|
+
name: {
|
141
|
+
client_side_validation: true,
|
142
|
+
required: false,
|
143
|
+
read_only: true,
|
144
|
+
serialized_name: 'name',
|
145
|
+
type: {
|
146
|
+
name: 'String'
|
147
|
+
}
|
148
|
+
},
|
149
|
+
type: {
|
150
|
+
client_side_validation: true,
|
151
|
+
required: false,
|
152
|
+
read_only: true,
|
153
|
+
serialized_name: 'type',
|
154
|
+
type: {
|
155
|
+
name: 'String'
|
156
|
+
}
|
157
|
+
},
|
158
|
+
location: {
|
159
|
+
client_side_validation: true,
|
160
|
+
required: true,
|
161
|
+
serialized_name: 'location',
|
162
|
+
type: {
|
163
|
+
name: 'String'
|
164
|
+
}
|
165
|
+
},
|
166
|
+
tags: {
|
167
|
+
client_side_validation: true,
|
168
|
+
required: false,
|
169
|
+
serialized_name: 'tags',
|
170
|
+
type: {
|
171
|
+
name: 'Dictionary',
|
172
|
+
value: {
|
173
|
+
client_side_validation: true,
|
174
|
+
required: false,
|
175
|
+
serialized_name: 'StringElementType',
|
176
|
+
type: {
|
177
|
+
name: 'String'
|
178
|
+
}
|
179
|
+
}
|
180
|
+
}
|
181
|
+
},
|
182
|
+
origin_path: {
|
183
|
+
client_side_validation: true,
|
184
|
+
required: false,
|
185
|
+
serialized_name: 'properties.originPath',
|
186
|
+
type: {
|
187
|
+
name: 'String'
|
188
|
+
}
|
189
|
+
},
|
190
|
+
content_types_to_compress: {
|
191
|
+
client_side_validation: true,
|
192
|
+
required: false,
|
193
|
+
serialized_name: 'properties.contentTypesToCompress',
|
194
|
+
type: {
|
195
|
+
name: 'Sequence',
|
196
|
+
element: {
|
197
|
+
client_side_validation: true,
|
198
|
+
required: false,
|
199
|
+
serialized_name: 'StringElementType',
|
200
|
+
type: {
|
201
|
+
name: 'String'
|
202
|
+
}
|
203
|
+
}
|
204
|
+
}
|
205
|
+
},
|
206
|
+
origin_host_header: {
|
207
|
+
client_side_validation: true,
|
208
|
+
required: false,
|
209
|
+
serialized_name: 'properties.originHostHeader',
|
210
|
+
type: {
|
211
|
+
name: 'String'
|
212
|
+
}
|
213
|
+
},
|
214
|
+
is_compression_enabled: {
|
215
|
+
client_side_validation: true,
|
216
|
+
required: false,
|
217
|
+
serialized_name: 'properties.isCompressionEnabled',
|
218
|
+
type: {
|
219
|
+
name: 'Boolean'
|
220
|
+
}
|
221
|
+
},
|
222
|
+
is_http_allowed: {
|
223
|
+
client_side_validation: true,
|
224
|
+
required: false,
|
225
|
+
serialized_name: 'properties.isHttpAllowed',
|
226
|
+
type: {
|
227
|
+
name: 'Boolean'
|
228
|
+
}
|
229
|
+
},
|
230
|
+
is_https_allowed: {
|
231
|
+
client_side_validation: true,
|
232
|
+
required: false,
|
233
|
+
serialized_name: 'properties.isHttpsAllowed',
|
234
|
+
type: {
|
235
|
+
name: 'Boolean'
|
236
|
+
}
|
237
|
+
},
|
238
|
+
query_string_caching_behavior: {
|
239
|
+
client_side_validation: true,
|
240
|
+
required: false,
|
241
|
+
serialized_name: 'properties.queryStringCachingBehavior',
|
242
|
+
type: {
|
243
|
+
name: 'Enum',
|
244
|
+
module: 'QueryStringCachingBehavior'
|
245
|
+
}
|
246
|
+
},
|
247
|
+
optimization_type: {
|
248
|
+
client_side_validation: true,
|
249
|
+
required: false,
|
250
|
+
serialized_name: 'properties.optimizationType',
|
251
|
+
type: {
|
252
|
+
name: 'String'
|
253
|
+
}
|
254
|
+
},
|
255
|
+
probe_path: {
|
256
|
+
client_side_validation: true,
|
257
|
+
required: false,
|
258
|
+
serialized_name: 'properties.probePath',
|
259
|
+
type: {
|
260
|
+
name: 'String'
|
261
|
+
}
|
262
|
+
},
|
263
|
+
geo_filters: {
|
264
|
+
client_side_validation: true,
|
265
|
+
required: false,
|
266
|
+
serialized_name: 'properties.geoFilters',
|
267
|
+
type: {
|
268
|
+
name: 'Sequence',
|
269
|
+
element: {
|
270
|
+
client_side_validation: true,
|
271
|
+
required: false,
|
272
|
+
serialized_name: 'GeoFilterElementType',
|
273
|
+
type: {
|
274
|
+
name: 'Composite',
|
275
|
+
class_name: 'GeoFilter'
|
276
|
+
}
|
277
|
+
}
|
278
|
+
}
|
279
|
+
},
|
280
|
+
default_origin_group: {
|
281
|
+
client_side_validation: true,
|
282
|
+
required: false,
|
283
|
+
serialized_name: 'properties.defaultOriginGroup',
|
284
|
+
type: {
|
285
|
+
name: 'Composite',
|
286
|
+
class_name: 'ResourceReference'
|
287
|
+
}
|
288
|
+
},
|
289
|
+
url_signing_keys: {
|
290
|
+
client_side_validation: true,
|
291
|
+
required: false,
|
292
|
+
serialized_name: 'properties.urlSigningKeys',
|
293
|
+
type: {
|
294
|
+
name: 'Sequence',
|
295
|
+
element: {
|
296
|
+
client_side_validation: true,
|
297
|
+
required: false,
|
298
|
+
serialized_name: 'UrlSigningKeyElementType',
|
299
|
+
type: {
|
300
|
+
name: 'Composite',
|
301
|
+
class_name: 'UrlSigningKey'
|
302
|
+
}
|
303
|
+
}
|
304
|
+
}
|
305
|
+
},
|
306
|
+
delivery_policy: {
|
307
|
+
client_side_validation: true,
|
308
|
+
required: false,
|
309
|
+
serialized_name: 'properties.deliveryPolicy',
|
310
|
+
type: {
|
311
|
+
name: 'Composite',
|
312
|
+
class_name: 'EndpointPropertiesUpdateParametersDeliveryPolicy'
|
313
|
+
}
|
314
|
+
},
|
315
|
+
web_application_firewall_policy_link: {
|
316
|
+
client_side_validation: true,
|
317
|
+
required: false,
|
318
|
+
serialized_name: 'properties.webApplicationFirewallPolicyLink',
|
319
|
+
type: {
|
320
|
+
name: 'Composite',
|
321
|
+
class_name: 'EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink'
|
322
|
+
}
|
323
|
+
},
|
324
|
+
host_name: {
|
325
|
+
client_side_validation: true,
|
326
|
+
required: false,
|
327
|
+
read_only: true,
|
328
|
+
serialized_name: 'properties.hostName',
|
329
|
+
type: {
|
330
|
+
name: 'String'
|
331
|
+
}
|
332
|
+
},
|
333
|
+
origins: {
|
334
|
+
client_side_validation: true,
|
335
|
+
required: true,
|
336
|
+
serialized_name: 'properties.origins',
|
337
|
+
type: {
|
338
|
+
name: 'Sequence',
|
339
|
+
element: {
|
340
|
+
client_side_validation: true,
|
341
|
+
required: false,
|
342
|
+
serialized_name: 'DeepCreatedOriginElementType',
|
343
|
+
type: {
|
344
|
+
name: 'Composite',
|
345
|
+
class_name: 'DeepCreatedOrigin'
|
346
|
+
}
|
347
|
+
}
|
348
|
+
}
|
349
|
+
},
|
350
|
+
origin_groups: {
|
351
|
+
client_side_validation: true,
|
352
|
+
required: false,
|
353
|
+
serialized_name: 'properties.originGroups',
|
354
|
+
type: {
|
355
|
+
name: 'Sequence',
|
356
|
+
element: {
|
357
|
+
client_side_validation: true,
|
358
|
+
required: false,
|
359
|
+
serialized_name: 'DeepCreatedOriginGroupElementType',
|
360
|
+
type: {
|
361
|
+
name: 'Composite',
|
362
|
+
class_name: 'DeepCreatedOriginGroup'
|
363
|
+
}
|
364
|
+
}
|
365
|
+
}
|
366
|
+
},
|
367
|
+
resource_state: {
|
368
|
+
client_side_validation: true,
|
369
|
+
required: false,
|
370
|
+
read_only: true,
|
371
|
+
serialized_name: 'properties.resourceState',
|
372
|
+
type: {
|
373
|
+
name: 'String'
|
374
|
+
}
|
375
|
+
},
|
376
|
+
provisioning_state: {
|
377
|
+
client_side_validation: true,
|
378
|
+
required: false,
|
379
|
+
read_only: true,
|
380
|
+
serialized_name: 'properties.provisioningState',
|
381
|
+
type: {
|
382
|
+
name: 'String'
|
383
|
+
}
|
384
|
+
}
|
385
|
+
}
|
386
|
+
}
|
387
|
+
}
|
388
|
+
end
|
389
|
+
end
|
390
|
+
end
|
391
|
+
end
|
@@ -0,0 +1,101 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::CDN::Mgmt::V2020_04_15
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Result of the request to list endpoints. It contains a list of endpoint
|
10
|
+
# objects and a URL link to get the next set of results.
|
11
|
+
#
|
12
|
+
class EndpointListResult
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
include MsRest::JSONable
|
17
|
+
# @return [Array<Endpoint>] List of CDN endpoints within a profile
|
18
|
+
attr_accessor :value
|
19
|
+
|
20
|
+
# @return [String] URL to get the next set of endpoint objects if there
|
21
|
+
# is any.
|
22
|
+
attr_accessor :next_link
|
23
|
+
|
24
|
+
# return [Proc] with next page method call.
|
25
|
+
attr_accessor :next_method
|
26
|
+
|
27
|
+
#
|
28
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
29
|
+
#
|
30
|
+
# @return [Array<Endpoint>] operation results.
|
31
|
+
#
|
32
|
+
def get_all_items
|
33
|
+
items = @value
|
34
|
+
page = self
|
35
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
36
|
+
page = page.get_next_page
|
37
|
+
items.concat(page.value)
|
38
|
+
end
|
39
|
+
items
|
40
|
+
end
|
41
|
+
|
42
|
+
#
|
43
|
+
# Gets the next page of results.
|
44
|
+
#
|
45
|
+
# @return [EndpointListResult] with next page content.
|
46
|
+
#
|
47
|
+
def get_next_page
|
48
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
49
|
+
unless response.nil?
|
50
|
+
@next_link = response.body.next_link
|
51
|
+
@value = response.body.value
|
52
|
+
self
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
#
|
57
|
+
# Mapper for EndpointListResult class as Ruby Hash.
|
58
|
+
# This will be used for serialization/deserialization.
|
59
|
+
#
|
60
|
+
def self.mapper()
|
61
|
+
{
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'EndpointListResult',
|
65
|
+
type: {
|
66
|
+
name: 'Composite',
|
67
|
+
class_name: 'EndpointListResult',
|
68
|
+
model_properties: {
|
69
|
+
value: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: false,
|
72
|
+
read_only: true,
|
73
|
+
serialized_name: 'value',
|
74
|
+
type: {
|
75
|
+
name: 'Sequence',
|
76
|
+
element: {
|
77
|
+
client_side_validation: true,
|
78
|
+
required: false,
|
79
|
+
serialized_name: 'EndpointElementType',
|
80
|
+
type: {
|
81
|
+
name: 'Composite',
|
82
|
+
class_name: 'Endpoint'
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
},
|
87
|
+
next_link: {
|
88
|
+
client_side_validation: true,
|
89
|
+
required: false,
|
90
|
+
serialized_name: 'nextLink',
|
91
|
+
type: {
|
92
|
+
name: 'String'
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|