EndpointUpdateParameters Constructors

Definition

Overloads

EndpointUpdateParameters()

Initializes a new instance of the EndpointUpdateParameters class.

EndpointUpdateParameters(IDictionary<String,String>, String, String, IList<String>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<QueryStringCachingBehavior>, OptimizationType, String, IList<GeoFilter>, EndpointPropertiesUpdateParametersDeliveryPolicy)

Initializes a new instance of the EndpointUpdateParameters class.

EndpointUpdateParameters()

Initializes a new instance of the EndpointUpdateParameters class.

public EndpointUpdateParameters ();
Public Sub New ()

Applies to

EndpointUpdateParameters(IDictionary<String,String>, String, String, IList<String>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<QueryStringCachingBehavior>, OptimizationType, String, IList<GeoFilter>, EndpointPropertiesUpdateParametersDeliveryPolicy)

Initializes a new instance of the EndpointUpdateParameters class.

public EndpointUpdateParameters (System.Collections.Generic.IDictionary<string,string> tags = default, string originHostHeader = default, string originPath = default, System.Collections.Generic.IList<string> contentTypesToCompress = default, bool? isCompressionEnabled = default, bool? isHttpAllowed = default, bool? isHttpsAllowed = default, Microsoft.Azure.Management.Cdn.Fluent.Models.QueryStringCachingBehavior? queryStringCachingBehavior = default, Microsoft.Azure.Management.Cdn.Fluent.Models.OptimizationType optimizationType = default, string probePath = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Cdn.Fluent.Models.GeoFilter> geoFilters = default, Microsoft.Azure.Management.Cdn.Fluent.Models.EndpointPropertiesUpdateParametersDeliveryPolicy deliveryPolicy = default);
new Microsoft.Azure.Management.Cdn.Fluent.Models.EndpointUpdateParameters : System.Collections.Generic.IDictionary<string, string> * string * string * System.Collections.Generic.IList<string> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<Microsoft.Azure.Management.Cdn.Fluent.Models.QueryStringCachingBehavior> * Microsoft.Azure.Management.Cdn.Fluent.Models.OptimizationType * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Cdn.Fluent.Models.GeoFilter> * Microsoft.Azure.Management.Cdn.Fluent.Models.EndpointPropertiesUpdateParametersDeliveryPolicy -> Microsoft.Azure.Management.Cdn.Fluent.Models.EndpointUpdateParameters
Public Sub New (Optional tags As IDictionary(Of String, String) = Nothing, Optional originHostHeader As String = Nothing, Optional originPath As String = Nothing, Optional contentTypesToCompress As IList(Of String) = Nothing, Optional isCompressionEnabled As Nullable(Of Boolean) = Nothing, Optional isHttpAllowed As Nullable(Of Boolean) = Nothing, Optional isHttpsAllowed As Nullable(Of Boolean) = Nothing, Optional queryStringCachingBehavior As Nullable(Of QueryStringCachingBehavior) = Nothing, Optional optimizationType As OptimizationType = Nothing, Optional probePath As String = Nothing, Optional geoFilters As IList(Of GeoFilter) = Nothing, Optional deliveryPolicy As EndpointPropertiesUpdateParametersDeliveryPolicy = Nothing)

Parameters

tags
IDictionary<String,String>

Endpoint tags.

originHostHeader
String

The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default.

originPath
String

A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath.

contentTypesToCompress
IList<String>

List of content types on which compression applies. The value should be a valid MIME type.

isCompressionEnabled
Nullable<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.

isHttpAllowed
Nullable<Boolean>

Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed.

isHttpsAllowed
Nullable<Boolean>

Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed.

queryStringCachingBehavior
Nullable<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'

optimizationType
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'

probePath
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.

geoFilters
IList<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/

deliveryPolicy
EndpointPropertiesUpdateParametersDeliveryPolicy

A policy that specifies the delivery rules to be used for an endpoint.

Applies to