Share via


FrontDoorOriginPatch Class

Definition

AFDOrigin properties needed for origin update. Serialized Name: AFDOriginUpdateParameters

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

Constructors

FrontDoorOriginPatch()

Initializes a new instance of FrontDoorOriginPatch.

Properties

EnabledState

Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool. Serialized Name: AFDOriginUpdateParameters.properties.enabledState

EnforceCertificateNameCheck

Whether to enable certificate name check at origin level Serialized Name: AFDOriginUpdateParameters.properties.enforceCertificateNameCheck

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: AFDOriginUpdateParameters.properties.hostName

HttpPort

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

HttpsPort

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

OriginGroupName

The name of the origin group which contains this origin. Serialized Name: AFDOriginUpdateParameters.properties.originGroupName

OriginHostHeader

The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure Front Door 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: AFDOriginUpdateParameters.properties.originHostHeader

OriginId

Gets or sets Id.

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: AFDOriginUpdateParameters.properties.priority

SharedPrivateLinkResource

The properties of the private link resource for private origin. Serialized Name: AFDOriginUpdateParameters.properties.sharedPrivateLinkResource

Weight

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<FrontDoorOriginPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<FrontDoorOriginPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FrontDoorOriginPatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FrontDoorOriginPatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<FrontDoorOriginPatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to