Share via


CdnOriginData Class

Definition

A class representing the CdnOrigin data model. CDN origin is the source of the content being delivered via CDN. 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: Origin

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

Constructors

CdnOriginData()

Initializes a new instance of CdnOriginData.

Properties

Enabled

Origin is enabled for load balancing or not Serialized Name: Origin.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: Origin.properties.hostName

HttpPort

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

HttpsPort

The value of the HTTPS port. Must be between 1 and 65535. Serialized Name: Origin.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)
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: Origin.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: Origin.properties.priority

PrivateEndpointStatus

The approval status for the connection to the Private Link Serialized Name: Origin.properties.privateEndpointStatus

PrivateLinkAlias

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

PrivateLinkApprovalMessage

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

PrivateLinkLocation

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

PrivateLinkResourceId

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

ProvisioningState

Provisioning status of the origin. Serialized Name: Origin.properties.provisioningState

ResourceState

Resource status of the origin. Serialized Name: Origin.properties.resourceState

ResourceType

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

(Inherited from ResourceData)
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: Origin.properties.weight

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<CdnOriginData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CdnOriginData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CdnOriginData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CdnOriginData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CdnOriginData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to