Share via


CdnEndpointPatch Class

Definition

Properties required to create or update an endpoint. Serialized Name: EndpointUpdateParameters

public class CdnEndpointPatch : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Cdn.Models.CdnEndpointPatch>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Cdn.Models.CdnEndpointPatch>
public class CdnEndpointPatch
type CdnEndpointPatch = class
    interface IJsonModel<CdnEndpointPatch>
    interface IPersistableModel<CdnEndpointPatch>
type CdnEndpointPatch = class
Public Class CdnEndpointPatch
Implements IJsonModel(Of CdnEndpointPatch), IPersistableModel(Of CdnEndpointPatch)
Public Class CdnEndpointPatch
Inheritance
CdnEndpointPatch
Implements

Constructors

CdnEndpointPatch()

Initializes a new instance of CdnEndpointPatch.

Properties

ContentTypesToCompress

List of content types on which compression applies. The value should be a valid MIME type. Serialized Name: EndpointUpdateParameters.properties.contentTypesToCompress

DefaultOriginGroupId

Gets or sets Id.

DeliveryPolicy

A policy that specifies the delivery rules to be used for an endpoint. Serialized Name: EndpointUpdateParameters.properties.deliveryPolicy

GeoFilters

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/ Serialized Name: EndpointUpdateParameters.properties.geoFilters

IsCompressionEnabled

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. Serialized Name: EndpointUpdateParameters.properties.isCompressionEnabled

IsHttpAllowed

Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. Serialized Name: EndpointUpdateParameters.properties.isHttpAllowed

IsHttpsAllowed

Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. Serialized Name: EndpointUpdateParameters.properties.isHttpsAllowed

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. Serialized Name: EndpointUpdateParameters.properties.optimizationType

OriginHostHeader

The host header value sent to the origin with each request. This property at Endpoint is only allowed when endpoint uses single origin and can be overridden by the same property specified at origin.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. Serialized Name: EndpointUpdateParameters.properties.originHostHeader

OriginPath

A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. Serialized Name: EndpointUpdateParameters.properties.originPath

ProbePath

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. This property is only relevant when using a single origin. Serialized Name: EndpointUpdateParameters.properties.probePath

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. Serialized Name: EndpointUpdateParameters.properties.queryStringCachingBehavior

Tags

Endpoint tags. Serialized Name: EndpointUpdateParameters.tags

UriSigningKeys

List of keys used to validate the signed URL hashes. Serialized Name: EndpointUpdateParameters.properties.urlSigningKeys

WebApplicationFirewallPolicyLinkId

Resource ID. Serialized Name: EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink.id

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CdnEndpointPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<CdnEndpointPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CdnEndpointPatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CdnEndpointPatch>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<CdnEndpointPatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to