DomainNewSourceArgs

data class DomainNewSourceArgs(val content: Output<String>? = null, val port: Output<Int>? = null, val priority: Output<Int>? = null, val type: Output<String>? = null, val weight: Output<Int>? = null) : ConvertibleToJava<DomainNewSourceArgs>

Constructors

Link copied to clipboard
constructor(content: Output<String>? = null, port: Output<Int>? = null, priority: Output<Int>? = null, type: Output<String>? = null, weight: Output<Int>? = null)

Properties

Link copied to clipboard
val content: Output<String>? = null

The address of source. Valid values can be ip or doaminName. Each item's content can not be repeated.

Link copied to clipboard
val port: Output<Int>? = null

The port of source. Valid values are 443 and 80. Default value is 80.

Link copied to clipboard
val priority: Output<Int>? = null

Priority of the source. Valid values are 0 and 100. Default value is 20.

Link copied to clipboard
val type: Output<String>? = null

The type of the source. Valid values are ipaddr, domain and oss.

Link copied to clipboard
val weight: Output<Int>? = null

Weight of the source. Valid values are from 0 to 100. Default value is 10, but if type is ipaddr, the value can only be 10.

Functions

Link copied to clipboard
open override fun toJava(): DomainNewSourceArgs