AFDOriginUpdateParameters Class

Definition

AFDOrigin properties needed for origin update.

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

Constructors

AFDOriginUpdateParameters()

Initializes a new instance of the AFDOriginUpdateParameters class.

AFDOriginUpdateParameters(ResourceReference, String, Nullable<Int32>, Nullable<Int32>, String, Nullable<Int32>, Nullable<Int32>, Object, String)

Initializes a new instance of the AFDOriginUpdateParameters class.

Properties

AzureOrigin

Gets or sets resource reference to the Azure origin resource.

EnabledState

Gets or sets 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. Possible values include: 'Enabled', 'Disabled'

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

SharedPrivateLinkResource

Gets or sets the properties of the private link resource for private origin.

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