DomainSource

data class DomainSource(val sourceContent: String, val sourcePort: String, val sourcePriority: String? = null, val sourceType: String)

Constructors

Link copied to clipboard
constructor(sourceContent: String, sourcePort: String, sourcePriority: String? = null, sourceType: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The address of the origin server. You can specify an IP address or a domain name.

Link copied to clipboard

The port number. You can specify port 443 or 80. Default value: 80. If you specify port 443, Alibaba Cloud CDN communicates with the origin server over HTTPS. You can also customize a port.

Link copied to clipboard
val sourcePriority: String? = null

The priority of the origin server if multiple origin servers are specified. Valid values: 20 and 30. Default value: 20. A value of 20 indicates that the origin server is the primary origin server. A value of 30 indicates that the origin server is a secondary origin server.

Link copied to clipboard

The type of the origin server. Valid values: