GetOriginResult

data class GetOriginResult(val azureApiVersion: String, val enabled: Boolean? = null, val hostName: String, val httpPort: Int? = null, val httpsPort: Int? = null, val id: String, val name: String, val originHostHeader: String? = null, val priority: Int? = null, val privateEndpointStatus: String, val privateLinkAlias: String? = null, val privateLinkApprovalMessage: String? = null, val privateLinkLocation: String? = null, val privateLinkResourceId: String? = null, val provisioningState: String, val resourceState: String, val systemData: SystemDataResponse, val type: String, val weight: Int? = null)

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.

Constructors

Link copied to clipboard
constructor(azureApiVersion: String, enabled: Boolean? = null, hostName: String, httpPort: Int? = null, httpsPort: Int? = null, id: String, name: String, originHostHeader: String? = null, priority: Int? = null, privateEndpointStatus: String, privateLinkAlias: String? = null, privateLinkApprovalMessage: String? = null, privateLinkLocation: String? = null, privateLinkResourceId: String? = null, provisioningState: String, resourceState: String, systemData: SystemDataResponse, type: String, weight: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The Azure API version of the resource.

Link copied to clipboard
val enabled: Boolean? = null

Origin is enabled for load balancing or not

Link copied to clipboard

The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint.

Link copied to clipboard
val httpPort: Int? = null

The value of the HTTP port. Must be between 1 and 65535.

Link copied to clipboard
val httpsPort: Int? = null

The value of the HTTPS port. Must be between 1 and 65535.

Link copied to clipboard
val id: String

Resource ID.

Link copied to clipboard

Resource name.

Link copied to clipboard

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

Link copied to clipboard
val priority: Int? = null

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

Link copied to clipboard

The approval status for the connection to the Private Link

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Provisioning status of the origin.

Link copied to clipboard

Resource status of the origin.

Link copied to clipboard

Read only system data

Link copied to clipboard

Resource type.

Link copied to clipboard
val weight: Int? = null

Weight of the origin in given origin group for load balancing. Must be between 1 and 1000