FirewallInboundRuleArgs

data class FirewallInboundRuleArgs(val portRange: Output<String>? = null, val protocol: Output<String>, val sourceAddresses: Output<List<String>>? = null, val sourceDropletIds: Output<List<Int>>? = null, val sourceKubernetesIds: Output<List<String>>? = null, val sourceLoadBalancerUids: Output<List<String>>? = null, val sourceTags: Output<List<String>>? = null) : ConvertibleToJava<FirewallInboundRuleArgs>

Constructors

Link copied to clipboard
constructor(portRange: Output<String>? = null, protocol: Output<String>, sourceAddresses: Output<List<String>>? = null, sourceDropletIds: Output<List<Int>>? = null, sourceKubernetesIds: Output<List<String>>? = null, sourceLoadBalancerUids: Output<List<String>>? = null, sourceTags: Output<List<String>>? = null)

Properties

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

The ports on which traffic will be allowed specified as a string containing a single port, a range (e.g. "8000-9000"), or "1-65535" to open all ports for a protocol. Required for when protocol is tcp or udp.

Link copied to clipboard
val protocol: Output<String>

The type of traffic to be allowed. This may be one of "tcp", "udp", or "icmp".

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

An array of strings containing the IPv4 addresses, IPv6 addresses, IPv4 CIDRs, and/or IPv6 CIDRs from which the inbound traffic will be accepted.

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

An array containing the IDs of the Droplets from which the inbound traffic will be accepted.

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

An array containing the IDs of the Kubernetes clusters from which the inbound traffic will be accepted.

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

An array containing the IDs of the Load Balancers from which the inbound traffic will be accepted.

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

An array containing the names of Tags corresponding to groups of Droplets from which the inbound traffic will be accepted.

Functions

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