Udostępnij za pośrednictwem


OriginProperties Class

Definition

The JSON object that contains the properties of the origin.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.OriginPropertiesTypeConverter))]
public class OriginProperties : Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IOriginProperties, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.OriginPropertiesTypeConverter))>]
type OriginProperties = class
    interface IOriginProperties
    interface IJsonSerializable
    interface IOriginUpdatePropertiesParameters
    interface IValidates
Public Class OriginProperties
Implements IOriginProperties, IValidates
Inheritance
OriginProperties
Attributes
Implements

Constructors

OriginProperties()

Creates an new OriginProperties instance.

Properties

Enabled

Origin is enabled for load balancing or not

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.

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

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

PrivateEndpointStatus

The approval status for the connection to the Private Link

PrivateLinkAlias

The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private'

PrivateLinkApprovalMessage

A custom message to be included in the approval request to connect to the Private Link.

PrivateLinkLocation

The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated

PrivateLinkResourceId

The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private'

ProvisioningState

Provisioning status of the origin.

ResourceState

Resource status of the origin.

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

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of OriginProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of OriginProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to