class Azure::CDN::Mgmt::V2017_10_12::Models::EndpointUpdateParameters
Properties required to create or update an endpoint.
Attributes
@return [Array<String>] List of content types on which compression applies. The value should be a valid MIME type.
@return [EndpointPropertiesUpdateParametersDeliveryPolicy] A policy that specifies the delivery rules to be used for an endpoint.
@return [Array<GeoFilter>] List of rules defining the user's geo access within a CDN
endpoint. Each geo filter defines an access rule to a specified path or content, e.g. block APAC for path /pictures/
@return [Boolean] Indicates whether content compression is enabled on CDN
. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN
when requested content is smaller than 1 byte or larger than 1 MB.
@return [Boolean] Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed.
@return [Boolean] Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed.
@return [OptimizationType] Specifies what scenario the customer wants this CDN
endpoint to optimize for, e.g. Download, Media services. With this information, CDN
can apply scenario driven optimization. Possible values include: 'GeneralWebDelivery', 'GeneralMediaStreaming', 'VideoOnDemandMediaStreaming', 'LargeFileDownload', 'DynamicSiteAcceleration'
@return [String] A directory path on the origin that CDN
can use to retrieve content from, e.g. contoso.cloudapp.net/originpath.
@return [String] Path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN
. This is relative to the origin path.
@return [QueryStringCachingBehavior] Defines how CDN
caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. Possible values include: 'IgnoreQueryString', 'BypassCaching', 'UseQueryString', 'NotSet'
Public Class Methods
Mapper for EndpointUpdateParameters
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-10-12/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb, line 85 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EndpointUpdateParameters', type: { name: 'Composite', class_name: 'EndpointUpdateParameters', model_properties: { tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, origin_host_header: { client_side_validation: true, required: false, serialized_name: 'properties.originHostHeader', type: { name: 'String' } }, origin_path: { client_side_validation: true, required: false, serialized_name: 'properties.originPath', type: { name: 'String' } }, content_types_to_compress: { client_side_validation: true, required: false, serialized_name: 'properties.contentTypesToCompress', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, is_compression_enabled: { client_side_validation: true, required: false, serialized_name: 'properties.isCompressionEnabled', type: { name: 'Boolean' } }, is_http_allowed: { client_side_validation: true, required: false, serialized_name: 'properties.isHttpAllowed', type: { name: 'Boolean' } }, is_https_allowed: { client_side_validation: true, required: false, serialized_name: 'properties.isHttpsAllowed', type: { name: 'Boolean' } }, query_string_caching_behavior: { client_side_validation: true, required: false, serialized_name: 'properties.queryStringCachingBehavior', type: { name: 'Enum', module: 'QueryStringCachingBehavior' } }, optimization_type: { client_side_validation: true, required: false, serialized_name: 'properties.optimizationType', type: { name: 'String' } }, probe_path: { client_side_validation: true, required: false, serialized_name: 'properties.probePath', type: { name: 'String' } }, geo_filters: { client_side_validation: true, required: false, serialized_name: 'properties.geoFilters', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'GeoFilterElementType', type: { name: 'Composite', class_name: 'GeoFilter' } } } }, delivery_policy: { client_side_validation: true, required: false, serialized_name: 'properties.deliveryPolicy', type: { name: 'Composite', class_name: 'EndpointPropertiesUpdateParametersDeliveryPolicy' } } } } } end