NetworkArgs

data class NetworkArgs(val network: Output<String>? = null, val project: Output<String>? = null, val subnetwork: Output<String>? = null) : ConvertibleToJava<NetworkArgs>

Network describes the GCP network used to create workers in.

Constructors

Link copied to clipboard
fun NetworkArgs(network: Output<String>? = null, project: Output<String>? = null, subnetwork: Output<String>? = null)

Functions

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

Properties

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

Network on which the workers are created. "default" network is used if empty.

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

Project id containing the defined network and subnetwork. For a peered VPC, this will be the same as the project_id in which the workers are created. For a shared VPC, this will be the project sharing the network with the project_id project in which workers will be created. For custom workers with no VPC, this will be the same as project_id.

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

Subnetwork on which the workers are created. "default" subnetwork is used if empty.