FirewallOutboundRuleArgs

data class FirewallOutboundRuleArgs(val destinationAddresses: Output<List<String>>? = null, val destinationDropletIds: Output<List<Int>>? = null, val destinationKubernetesIds: Output<List<String>>? = null, val destinationLoadBalancerUids: Output<List<String>>? = null, val destinationTags: Output<List<String>>? = null, val portRange: Output<String>? = null, val protocol: Output<String>) : ConvertibleToJava<FirewallOutboundRuleArgs>

Constructors

Link copied to clipboard
constructor(destinationAddresses: Output<List<String>>? = null, destinationDropletIds: Output<List<Int>>? = null, destinationKubernetesIds: Output<List<String>>? = null, destinationLoadBalancerUids: Output<List<String>>? = null, destinationTags: Output<List<String>>? = null, portRange: Output<String>? = null, protocol: Output<String>)

Properties

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

An array of strings containing the IPv4 addresses, IPv6 addresses, IPv4 CIDRs, and/or IPv6 CIDRs to which the outbound traffic will be allowed.

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

An array containing the IDs of the Droplets to which the outbound traffic will be allowed.

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

An array containing the IDs of the Kubernetes clusters to which the outbound traffic will be allowed.

Link copied to clipboard

An array containing the IDs of the Load Balancers to which the outbound traffic will be allowed.

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

An array containing the names of Tags corresponding to groups of Droplets to which the outbound traffic will be allowed.

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".

Functions

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