DomainListen

data class DomainListen(val certId: String? = null, val cipherSuite: Int? = null, val customCiphers: List<String>? = null, val enableTlsv3: Boolean? = null, val exclusiveIp: Boolean? = null, val focusHttps: Boolean? = null, val http2Enabled: Boolean? = null, val httpPorts: List<Int>? = null, val httpsPorts: List<Int>? = null, val ipv6Enabled: Boolean? = null, val protectionResource: String? = null, val tlsVersion: String? = null, val xffHeaderMode: Int? = null, val xffHeaders: List<String>? = null)

Constructors

Link copied to clipboard
constructor(certId: String? = null, cipherSuite: Int? = null, customCiphers: List<String>? = null, enableTlsv3: Boolean? = null, exclusiveIp: Boolean? = null, focusHttps: Boolean? = null, http2Enabled: Boolean? = null, httpPorts: List<Int>? = null, httpsPorts: List<Int>? = null, ipv6Enabled: Boolean? = null, protectionResource: String? = null, tlsVersion: String? = null, xffHeaderMode: Int? = null, xffHeaders: List<String>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val certId: String? = null

The ID of the certificate to be added. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).

Link copied to clipboard
val cipherSuite: Int? = null

The type of encryption suite to add. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol). Value:

Link copied to clipboard
val customCiphers: List<String>? = null

The specific custom encryption suite to add.

Link copied to clipboard
val enableTlsv3: Boolean? = null

Whether TSL1.3 version is supported. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol). Value:

Link copied to clipboard
val exclusiveIp: Boolean? = null

Whether to enable exclusive IP address. This parameter is used only when the value of ipv6_enabled is false (indicating that IPv6 is not enabled) and the value of protection_resource is share (indicating that a shared cluster is used). Value:

Link copied to clipboard
val focusHttps: Boolean? = null

Whether to enable the forced jump of HTTPS. This parameter is used only when the value of https_ports is not empty (indicating that the domain name uses HTTPS protocol) and the value of httports is empty (indicating that the domain name does not use HTTP protocol). Value:

Link copied to clipboard
val http2Enabled: Boolean? = null

Whether to turn on http2. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol). Value:

Link copied to clipboard
val httpPorts: List<Int>? = null

The listening port of the HTTP protocol.

Link copied to clipboard
val httpsPorts: List<Int>? = null

The listening port of the HTTPS protocol.

Link copied to clipboard
val ipv6Enabled: Boolean? = null

Whether IPv6 is turned on. Value:

Link copied to clipboard

The type of protection resource to use. Value:

Link copied to clipboard
val tlsVersion: String? = null

The version of TLS to add. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol). Value: tlsv1, tlsv1.1, tlsv1.2.

Link copied to clipboard
val xffHeaderMode: Int? = null

WAF obtains the real IP address of the client. Value:

Link copied to clipboard
val xffHeaders: List<String>? = null

Set the list of custom fields used to obtain the client IP address.