K8sSlbAttachmentSlbConfig

data class K8sSlbAttachmentSlbConfig(val name: String? = null, val portMappings: List<K8sSlbAttachmentSlbConfigPortMapping>, val scheduler: String, val slbId: String? = null, val specification: String? = null, val type: String)

Constructors

Link copied to clipboard
fun K8sSlbAttachmentSlbConfig(name: String? = null, portMappings: List<K8sSlbAttachmentSlbConfigPortMapping>, scheduler: String, slbId: String? = null, specification: String? = null, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val name: String? = null

The name of this SLB configuration, empty for auto-generated by EDAS server.

Link copied to clipboard

The port configuration for SLB instance, which is supported for multiple configurations.

Link copied to clipboard

The scheduler policy of SLB configuration, values can be 'rr'(round-robin) or 'wrr'(weighted round-robin).

Link copied to clipboard
val slbId: String? = null

The ID of your SLB instance, if value is empty which means EDAS will purchase an SLB instance with 'specification' field.

Link copied to clipboard
val specification: String? = null

The instance specification of SLB, values can be found here, empty for 'slb.s1.small'.

Link copied to clipboard

The type of SLB instance, values can be 'internet' or 'intranet'.