WorkerPoolPrivateServiceConnectArgs

data class WorkerPoolPrivateServiceConnectArgs(val networkAttachment: Output<String>, val routeAllTraffic: Output<Boolean>? = null) : ConvertibleToJava<WorkerPoolPrivateServiceConnectArgs>

Constructors

Link copied to clipboard
constructor(networkAttachment: Output<String>, routeAllTraffic: Output<Boolean>? = null)

Properties

Link copied to clipboard

Required. Immutable. The network attachment that the worker network interface is connected to. Must be in the format projects/{project}/regions/{region}/networkAttachments/{networkAttachment}. The region of network attachment must be the same as the worker pool. See Network Attachments

Link copied to clipboard
val routeAllTraffic: Output<Boolean>? = null

Immutable. Route all traffic through PSC interface. Enable this if you want full control of traffic in the private pool. Configure Cloud NAT for the subnet of network attachment if you need to access public Internet. If false, Only route private IPs, e.g. 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 through PSC interface.

Functions

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