azure_mgmt_cdn 0.17.7 → 0.18.1
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/2016-04-02/generated/azure_mgmt_cdn/cdn_management_client.rb +1 -1
- data/lib/2016-10-02/generated/azure_mgmt_cdn/cdn_management_client.rb +1 -1
- data/lib/2017-04-02/generated/azure_mgmt_cdn/cdn_management_client.rb +1 -1
- data/lib/2017-10-12/generated/azure_mgmt_cdn/cdn_management_client.rb +1 -1
- data/lib/2020-04-15/generated/azure_mgmt_cdn/cdn_management_client.rb +1 -1
- 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 +1 -0
- data/lib/profiles/latest/modules/cdn_profile_module.rb +802 -418
- data/lib/version.rb +1 -1
- metadata +282 -2
@@ -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::V2020_09_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The JSON object that contains the properties to secure a domain.
|
10
|
+
#
|
11
|
+
class AFDDomainHttpsParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [AfdCertificateType] Defines the source of the SSL certificate.
|
16
|
+
# Possible values include: 'CustomerCertificate', 'ManagedCertificate'
|
17
|
+
attr_accessor :certificate_type
|
18
|
+
|
19
|
+
# @return [AfdMinimumTlsVersion] TLS protocol version that will be used
|
20
|
+
# for Https. Possible values include: 'TLS10', 'TLS12'
|
21
|
+
attr_accessor :minimum_tls_version
|
22
|
+
|
23
|
+
# @return [ResourceReference] Resource reference to the secret. ie.
|
24
|
+
# subs/rg/profile/secret
|
25
|
+
attr_accessor :secret
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for AFDDomainHttpsParameters 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: 'AFDDomainHttpsParameters',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'AFDDomainHttpsParameters',
|
40
|
+
model_properties: {
|
41
|
+
certificate_type: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: true,
|
44
|
+
serialized_name: 'certificateType',
|
45
|
+
type: {
|
46
|
+
name: 'String'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
minimum_tls_version: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'minimumTlsVersion',
|
53
|
+
type: {
|
54
|
+
name: 'Enum',
|
55
|
+
module: 'AfdMinimumTlsVersion'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
secret: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'secret',
|
62
|
+
type: {
|
63
|
+
name: 'Composite',
|
64
|
+
class_name: 'ResourceReference'
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
@@ -0,0 +1,102 @@
|
|
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
|
+
module Models
|
8
|
+
#
|
9
|
+
# Result of the request to list domains. It contains a list of domain
|
10
|
+
# objects and a URL link to get the next set of results.
|
11
|
+
#
|
12
|
+
class AFDDomainListResult
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
include MsRest::JSONable
|
17
|
+
# @return [Array<AFDDomain>] List of AzureFrontDoor domains within a
|
18
|
+
# profile.
|
19
|
+
attr_accessor :value
|
20
|
+
|
21
|
+
# @return [String] URL to get the next set of domain objects if there are
|
22
|
+
# any.
|
23
|
+
attr_accessor :next_link
|
24
|
+
|
25
|
+
# return [Proc] with next page method call.
|
26
|
+
attr_accessor :next_method
|
27
|
+
|
28
|
+
#
|
29
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
30
|
+
#
|
31
|
+
# @return [Array<AFDDomain>] operation results.
|
32
|
+
#
|
33
|
+
def get_all_items
|
34
|
+
items = @value
|
35
|
+
page = self
|
36
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
37
|
+
page = page.get_next_page
|
38
|
+
items.concat(page.value)
|
39
|
+
end
|
40
|
+
items
|
41
|
+
end
|
42
|
+
|
43
|
+
#
|
44
|
+
# Gets the next page of results.
|
45
|
+
#
|
46
|
+
# @return [AFDDomainListResult] with next page content.
|
47
|
+
#
|
48
|
+
def get_next_page
|
49
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
50
|
+
unless response.nil?
|
51
|
+
@next_link = response.body.next_link
|
52
|
+
@value = response.body.value
|
53
|
+
self
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
#
|
58
|
+
# Mapper for AFDDomainListResult class as Ruby Hash.
|
59
|
+
# This will be used for serialization/deserialization.
|
60
|
+
#
|
61
|
+
def self.mapper()
|
62
|
+
{
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'AFDDomainListResult',
|
66
|
+
type: {
|
67
|
+
name: 'Composite',
|
68
|
+
class_name: 'AFDDomainListResult',
|
69
|
+
model_properties: {
|
70
|
+
value: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: false,
|
73
|
+
read_only: true,
|
74
|
+
serialized_name: 'value',
|
75
|
+
type: {
|
76
|
+
name: 'Sequence',
|
77
|
+
element: {
|
78
|
+
client_side_validation: true,
|
79
|
+
required: false,
|
80
|
+
serialized_name: 'AFDDomainElementType',
|
81
|
+
type: {
|
82
|
+
name: 'Composite',
|
83
|
+
class_name: 'AFDDomain'
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
},
|
88
|
+
next_link: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'nextLink',
|
92
|
+
type: {
|
93
|
+
name: 'String'
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
@@ -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::V2020_09_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The domain JSON object required for domain creation or update.
|
10
|
+
#
|
11
|
+
class AFDDomainUpdateParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [AFDDomainHttpsParameters] The configuration specifying how to
|
16
|
+
# enable HTTPS for the domain - using AzureFrontDoor managed certificate
|
17
|
+
# or user's own certificate. If not specified, enabling ssl uses
|
18
|
+
# AzureFrontDoor managed certificate by default.
|
19
|
+
attr_accessor :tls_settings
|
20
|
+
|
21
|
+
# @return [ResourceReference] Resource reference to the Azure DNS zone
|
22
|
+
attr_accessor :azure_dns_zone
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for AFDDomainUpdateParameters 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: 'AFDDomainUpdateParameters',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'AFDDomainUpdateParameters',
|
37
|
+
model_properties: {
|
38
|
+
tls_settings: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'properties.tlsSettings',
|
42
|
+
type: {
|
43
|
+
name: 'Composite',
|
44
|
+
class_name: 'AFDDomainHttpsParameters'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
azure_dns_zone: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
serialized_name: 'properties.azureDnsZone',
|
51
|
+
type: {
|
52
|
+
name: 'Composite',
|
53
|
+
class_name: 'ResourceReference'
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
@@ -0,0 +1,166 @@
|
|
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
|
+
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 AzureFrontDoor endpoint uses the URL format
|
12
|
+
# <endpointname>.azureedge.net.
|
13
|
+
#
|
14
|
+
class AFDEndpoint < TrackedResource
|
15
|
+
|
16
|
+
include MsRestAzure
|
17
|
+
|
18
|
+
# @return [Integer] Send and receive timeout on forwarding request to the
|
19
|
+
# origin. When timeout is reached, the request fails and returns.
|
20
|
+
attr_accessor :origin_response_timeout_seconds
|
21
|
+
|
22
|
+
# @return [EnabledState] Whether to enable use of this rule. Permitted
|
23
|
+
# values are 'Enabled' or 'Disabled'. Possible values include: 'Enabled',
|
24
|
+
# 'Disabled'
|
25
|
+
attr_accessor :enabled_state
|
26
|
+
|
27
|
+
# @return [AfdProvisioningState] Provisioning status. Possible values
|
28
|
+
# include: 'Succeeded', 'Failed', 'Updating', 'Deleting', 'Creating'
|
29
|
+
attr_accessor :provisioning_state
|
30
|
+
|
31
|
+
# @return [DeploymentStatus] Possible values include: 'NotStarted',
|
32
|
+
# 'InProgress', 'Succeeded', 'Failed'
|
33
|
+
attr_accessor :deployment_status
|
34
|
+
|
35
|
+
# @return [String] The host name of the endpoint structured as
|
36
|
+
# {endpointName}.{DNSZone}, e.g. contoso.azureedge.net
|
37
|
+
attr_accessor :host_name
|
38
|
+
|
39
|
+
|
40
|
+
#
|
41
|
+
# Mapper for AFDEndpoint class as Ruby Hash.
|
42
|
+
# This will be used for serialization/deserialization.
|
43
|
+
#
|
44
|
+
def self.mapper()
|
45
|
+
{
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'AFDEndpoint',
|
49
|
+
type: {
|
50
|
+
name: 'Composite',
|
51
|
+
class_name: 'AFDEndpoint',
|
52
|
+
model_properties: {
|
53
|
+
id: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: false,
|
56
|
+
read_only: true,
|
57
|
+
serialized_name: 'id',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
name: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
read_only: true,
|
66
|
+
serialized_name: 'name',
|
67
|
+
type: {
|
68
|
+
name: 'String'
|
69
|
+
}
|
70
|
+
},
|
71
|
+
type: {
|
72
|
+
client_side_validation: true,
|
73
|
+
required: false,
|
74
|
+
read_only: true,
|
75
|
+
serialized_name: 'type',
|
76
|
+
type: {
|
77
|
+
name: 'String'
|
78
|
+
}
|
79
|
+
},
|
80
|
+
location: {
|
81
|
+
client_side_validation: true,
|
82
|
+
required: true,
|
83
|
+
serialized_name: 'location',
|
84
|
+
type: {
|
85
|
+
name: 'String'
|
86
|
+
}
|
87
|
+
},
|
88
|
+
tags: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'tags',
|
92
|
+
type: {
|
93
|
+
name: 'Dictionary',
|
94
|
+
value: {
|
95
|
+
client_side_validation: true,
|
96
|
+
required: false,
|
97
|
+
serialized_name: 'StringElementType',
|
98
|
+
type: {
|
99
|
+
name: 'String'
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
},
|
104
|
+
system_data: {
|
105
|
+
client_side_validation: true,
|
106
|
+
required: false,
|
107
|
+
read_only: true,
|
108
|
+
serialized_name: 'systemData',
|
109
|
+
type: {
|
110
|
+
name: 'Composite',
|
111
|
+
class_name: 'SystemData'
|
112
|
+
}
|
113
|
+
},
|
114
|
+
origin_response_timeout_seconds: {
|
115
|
+
client_side_validation: true,
|
116
|
+
required: false,
|
117
|
+
serialized_name: 'properties.originResponseTimeoutSeconds',
|
118
|
+
constraints: {
|
119
|
+
InclusiveMinimum: 16
|
120
|
+
},
|
121
|
+
type: {
|
122
|
+
name: 'Number'
|
123
|
+
}
|
124
|
+
},
|
125
|
+
enabled_state: {
|
126
|
+
client_side_validation: true,
|
127
|
+
required: false,
|
128
|
+
serialized_name: 'properties.enabledState',
|
129
|
+
type: {
|
130
|
+
name: 'String'
|
131
|
+
}
|
132
|
+
},
|
133
|
+
provisioning_state: {
|
134
|
+
client_side_validation: true,
|
135
|
+
required: false,
|
136
|
+
read_only: true,
|
137
|
+
serialized_name: 'properties.provisioningState',
|
138
|
+
type: {
|
139
|
+
name: 'String'
|
140
|
+
}
|
141
|
+
},
|
142
|
+
deployment_status: {
|
143
|
+
client_side_validation: true,
|
144
|
+
required: false,
|
145
|
+
read_only: true,
|
146
|
+
serialized_name: 'properties.deploymentStatus',
|
147
|
+
type: {
|
148
|
+
name: 'String'
|
149
|
+
}
|
150
|
+
},
|
151
|
+
host_name: {
|
152
|
+
client_side_validation: true,
|
153
|
+
required: false,
|
154
|
+
read_only: true,
|
155
|
+
serialized_name: 'properties.hostName',
|
156
|
+
type: {
|
157
|
+
name: 'String'
|
158
|
+
}
|
159
|
+
}
|
160
|
+
}
|
161
|
+
}
|
162
|
+
}
|
163
|
+
end
|
164
|
+
end
|
165
|
+
end
|
166
|
+
end
|
@@ -0,0 +1,102 @@
|
|
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
|
+
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 AFDEndpointListResult
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
include MsRest::JSONable
|
17
|
+
# @return [Array<AFDEndpoint>] List of AzureFrontDoor endpoints within a
|
18
|
+
# profile
|
19
|
+
attr_accessor :value
|
20
|
+
|
21
|
+
# @return [String] URL to get the next set of endpoint objects if there
|
22
|
+
# is any.
|
23
|
+
attr_accessor :next_link
|
24
|
+
|
25
|
+
# return [Proc] with next page method call.
|
26
|
+
attr_accessor :next_method
|
27
|
+
|
28
|
+
#
|
29
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
30
|
+
#
|
31
|
+
# @return [Array<AFDEndpoint>] operation results.
|
32
|
+
#
|
33
|
+
def get_all_items
|
34
|
+
items = @value
|
35
|
+
page = self
|
36
|
+
while page.next_link != nil && !page.next_link.strip.empty? do
|
37
|
+
page = page.get_next_page
|
38
|
+
items.concat(page.value)
|
39
|
+
end
|
40
|
+
items
|
41
|
+
end
|
42
|
+
|
43
|
+
#
|
44
|
+
# Gets the next page of results.
|
45
|
+
#
|
46
|
+
# @return [AFDEndpointListResult] with next page content.
|
47
|
+
#
|
48
|
+
def get_next_page
|
49
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
50
|
+
unless response.nil?
|
51
|
+
@next_link = response.body.next_link
|
52
|
+
@value = response.body.value
|
53
|
+
self
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
#
|
58
|
+
# Mapper for AFDEndpointListResult class as Ruby Hash.
|
59
|
+
# This will be used for serialization/deserialization.
|
60
|
+
#
|
61
|
+
def self.mapper()
|
62
|
+
{
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'AFDEndpointListResult',
|
66
|
+
type: {
|
67
|
+
name: 'Composite',
|
68
|
+
class_name: 'AFDEndpointListResult',
|
69
|
+
model_properties: {
|
70
|
+
value: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: false,
|
73
|
+
read_only: true,
|
74
|
+
serialized_name: 'value',
|
75
|
+
type: {
|
76
|
+
name: 'Sequence',
|
77
|
+
element: {
|
78
|
+
client_side_validation: true,
|
79
|
+
required: false,
|
80
|
+
serialized_name: 'AFDEndpointElementType',
|
81
|
+
type: {
|
82
|
+
name: 'Composite',
|
83
|
+
class_name: 'AFDEndpoint'
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
},
|
88
|
+
next_link: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'nextLink',
|
92
|
+
type: {
|
93
|
+
name: 'String'
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|