共用方式為


OriginUpdateParameters Class

Definition

Origin properties needed for origin update.

[Microsoft.Rest.Serialization.JsonTransformation]
public class OriginUpdateParameters : Microsoft.Rest.Azure.IResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type OriginUpdateParameters = class
    interface IResource
Public Class OriginUpdateParameters
Implements IResource
Inheritance
OriginUpdateParameters
Attributes
Implements

Constructors

OriginUpdateParameters()

Initializes a new instance of the OriginUpdateParameters class.

OriginUpdateParameters(String, Nullable<Int32>, Nullable<Int32>, String, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, String, String, String, String)

Initializes a new instance of the OriginUpdateParameters class.

Properties

Enabled

Gets or sets origin is enabled for load balancing or not

HostName

Gets or sets 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

Gets or sets the value of the HTTP port. Must be between 1 and 65535.

HttpsPort

Gets or sets the value of the HTTPS port. Must be between 1 and 65535.

OriginHostHeader

Gets or sets 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

Gets or sets 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

PrivateLinkAlias

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

PrivateLinkApprovalMessage

Gets or sets a custom message to be included in the approval request to connect to the Private Link.

PrivateLinkLocation

Gets or sets the location of the Private Link resource. Required only if 'privateLinkResourceId' is populated

PrivateLinkResourceId

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

Weight

Gets or sets weight of the origin in given origin group for load balancing. Must be between 1 and 1000

Methods

Validate()

Validate the object.

Applies to