DomainSource

data class DomainSource(val content: String, val port: Int? = null, val priority: String? = null, val type: String, val weight: String? = null)

Constructors

Link copied to clipboard
fun DomainSource(content: String, port: Int? = null, priority: String? = null, type: String, weight: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The origin address.

Link copied to clipboard
val port: Int? = null

The port number. Valid values: 443 and 80. Default to 80.

Link copied to clipboard
val priority: String? = null

The priority of the origin if multiple origins are specified. Default to 20.

Link copied to clipboard

The type of the origin. Valid values: ipaddr: The origin is configured using an IP address. domain: The origin is configured using a domain name. oss: The origin is configured using the Internet domain name of an Alibaba Cloud Object Storage Service (OSS) bucket.

Link copied to clipboard
val weight: String? = null

The weight of the origin if multiple origins are specified. Default to 10.