共用方式為


AfdOrigin Class

Definition

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.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.AfdOriginTypeConverter))]
public class AfdOrigin : Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IAfdOrigin, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IHeaderSerializable, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.AfdOriginTypeConverter))>]
type AfdOrigin = class
    interface IAfdOrigin
    interface IJsonSerializable
    interface IResource
    interface IValidates
    interface IHeaderSerializable
Public Class AfdOrigin
Implements IAfdOrigin, IHeaderSerializable, IValidates
Inheritance
AfdOrigin
Attributes
Implements

Constructors

AfdOrigin()

Creates an new AfdOrigin instance.

Properties

AzureOriginId

Resource ID.

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.

EnforceCertificateNameCheck

Whether to enable certificate name check at origin level

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.

HttpPort

The value of the HTTP port. Must be between 1 and 65535.

HttpsPort

The value of the HTTPS port. Must be between 1 and 65535.

Id

Resource ID.

Location
Name

Resource name.

OriginGroupName

The name of the origin group which contains this origin.

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

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

PrivateLinkId

Resource ID.

ProvisioningState

Provisioning status

ResourceGroupName

Gets the resource group name

SharedPrivateLinkResourceGroupId

The group id from the provider of resource the shared private link resource is for.

SharedPrivateLinkResourcePrivateLinkLocation

The location of the shared private link resource

SharedPrivateLinkResourceRequestMessage

The request message for requesting approval of the shared private link resource.

SharedPrivateLinkResourceStatus

Status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected, or Timeout.

SystemData

Read only system data

SystemDataCreatedAt

The timestamp of resource creation (UTC)

SystemDataCreatedBy

An identifier for the identity that created the resource

SystemDataCreatedByType

The type of identity that created the resource

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

An identifier for the identity that last modified the resource

SystemDataLastModifiedByType

The type of identity that last modified the resource

Type

Resource type.

Weight

Weight of the origin in given origin group for load balancing. Must be between 1 and 1000

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AfdOrigin.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AfdOrigin.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IAfdOrigin.

FromJsonString(String)

Creates a new instance of AfdOrigin, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of AfdOrigin into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Explicit Interface Implementations

IHeaderSerializable.ReadHeaders(HttpResponseHeaders)

Applies to