OriginPoolOrigin

data class OriginPoolOrigin(val address: String? = null, val authConf: OriginPoolOriginAuthConf? = null, val enabled: Boolean? = null, val header: String? = null, val name: String? = null, val originId: Int? = null, val type: String? = null, val weight: Int? = null)

Constructors

Link copied to clipboard
constructor(address: String? = null, authConf: OriginPoolOriginAuthConf? = null, enabled: Boolean? = null, header: String? = null, name: String? = null, originId: Int? = null, type: String? = null, weight: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val address: String? = null

Origin Address.

Link copied to clipboard

The authentication information. When the source Station is an OSS or S3 and other source stations need to be authenticated, the authentication-related configuration information needs to be transmitted. See auth_conf below.

Link copied to clipboard
val enabled: Boolean? = null

Whether the source station is enabled:

Link copied to clipboard
val header: String? = null

The request header that is sent when returning to the source. Only Host is supported.

Link copied to clipboard
val name: String? = null

Origin Name.

Link copied to clipboard
val originId: Int? = null

Origin ID.

Link copied to clipboard
val type: String? = null

Source station type: ip_domain: ip or domain name type origin station;

Link copied to clipboard
val weight: Int? = null

Weight, 0-100.