Share via


AfdOriginProperties Class

Definition

The JSON object that contains the properties of the origin.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.AfdOriginPropertiesTypeConverter))]
public class AfdOriginProperties : Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IAfdOriginProperties, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.AfdOriginPropertiesTypeConverter))>]
type AfdOriginProperties = class
    interface IAfdOriginProperties
    interface IJsonSerializable
    interface IAfdOriginUpdatePropertiesParameters
    interface IAfdStateProperties
    interface IValidates
Public Class AfdOriginProperties
Implements IAfdOriginProperties, IValidates
Inheritance
AfdOriginProperties
Attributes
Implements

Constructors

AfdOriginProperties()

Creates an new AfdOriginProperties instance.

Properties

AzureOrigin

Resource reference to the Azure origin resource.

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.

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

SharedPrivateLinkResource

The properties of the private link resource for private origin.

SharedPrivateLinkResourceGroupId

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

SharedPrivateLinkResourcePrivateLink

The resource id of the 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.

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 AfdOriginProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AfdOriginProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AfdOriginProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to