Share via


CdnOriginPatch Class

Definition

Origin properties needed for origin update. Serialized Name: OriginUpdateParameters

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

Constructors

CdnOriginPatch()

Initializes a new instance of CdnOriginPatch.

Properties

Enabled

Origin is enabled for load balancing or not Serialized Name: OriginUpdateParameters.properties.enabled

HostName

The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. Serialized Name: OriginUpdateParameters.properties.hostName

HttpPort

The value of the HTTP port. Must be between 1 and 65535. Serialized Name: OriginUpdateParameters.properties.httpPort

HttpsPort

The value of the HTTPS port. Must be between 1 and 65535. Serialized Name: OriginUpdateParameters.properties.httpsPort

OriginHostHeader

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. This overrides the host header defined at Endpoint Serialized Name: OriginUpdateParameters.properties.originHostHeader

Priority

Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5 Serialized Name: OriginUpdateParameters.properties.priority

PrivateLinkAlias

The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private' Serialized Name: OriginUpdateParameters.properties.privateLinkAlias

PrivateLinkApprovalMessage

A custom message to be included in the approval request to connect to the Private Link. Serialized Name: OriginUpdateParameters.properties.privateLinkApprovalMessage

PrivateLinkLocation

The ___location of the Private Link resource. Required only if 'privateLinkResourceId' is populated Serialized Name: OriginUpdateParameters.properties.privateLinkLocation

PrivateLinkResourceId

The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private' Serialized Name: OriginUpdateParameters.properties.privateLinkResourceId

Weight

Weight of the origin in given origin group for load balancing. Must be between 1 and 1000 Serialized Name: OriginUpdateParameters.properties.weight

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CdnOriginPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CdnOriginPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CdnOriginPatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CdnOriginPatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CdnOriginPatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to