Share via


FrontDoorOriginData Class

Definition

A class representing the FrontDoorOrigin data model. Azure Front Door origin is the source of the content being delivered via Azure Front Door. When the edge nodes represented by an endpoint do not have the requested content cached, they attempt to fetch it from one or more of the configured origins. Serialized Name: AFDOrigin

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

Constructors

FrontDoorOriginData()

Initializes a new instance of FrontDoorOriginData.

Properties

DeploymentStatus

Serialized Name: AFDOrigin.properties.deploymentStatus.

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: AFDOrigin.properties.enabledState

EnforceCertificateNameCheck

Whether to enable certificate name check at origin level Serialized Name: AFDOrigin.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: AFDOrigin.properties.hostName

HttpPort

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

HttpsPort

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

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
OriginGroupName

The name of the origin group which contains this origin. Serialized Name: AFDOrigin.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: AFDOrigin.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: AFDOrigin.properties.priority

ProvisioningState

Provisioning status Serialized Name: AFDOrigin.properties.provisioningState

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SharedPrivateLinkResource

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

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Weight

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<FrontDoorOriginData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<FrontDoorOriginData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FrontDoorOriginData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FrontDoorOriginData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<FrontDoorOriginData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to