AFDOrigin Class

Definition

CDN origin is the source of the content being delivered via CDN. 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.

[Microsoft.Rest.Serialization.JsonTransformation]
public class AFDOrigin : Microsoft.Azure.Management.Cdn.Models.ProxyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type AFDOrigin = class
    inherit ProxyResource
Public Class AFDOrigin
Inherits ProxyResource
Inheritance
Attributes

Constructors

AFDOrigin()

Initializes a new instance of the AFDOrigin class.

AFDOrigin(String, String, String, String, SystemData, ResourceReference, Nullable<Int32>, Nullable<Int32>, String, Nullable<Int32>, Nullable<Int32>, Object, String, String, String)

Initializes a new instance of the AFDOrigin class.

Properties

AzureOrigin

Gets or sets resource reference to the Azure origin resource.

DeploymentStatus

Gets possible values include: 'NotStarted', 'InProgress', 'Succeeded', 'Failed'

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.

Id

Gets resource ID.

(Inherited from Resource)
Name

Gets resource name.

(Inherited from Resource)
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

ProvisioningState

Gets provisioning status. Possible values include: 'Succeeded', 'Failed', 'Updating', 'Deleting', 'Creating'

SharedPrivateLinkResource

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

SystemData (Inherited from Resource)
Type

Gets resource type.

(Inherited from Resource)
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