GetFirewallInboundRule

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

Constructors

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

Properties

Link copied to clipboard
val portRange: 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

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

Link copied to clipboard

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: List<Int>? = null

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

Link copied to clipboard
Link copied to clipboard

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

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

A set of names of Tags corresponding to group of Droplets from which the inbound traffic will be accepted.

Functions

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