WorkerPoolArgs

data class WorkerPoolArgs(val networkConfig: Output<NetworkConfigArgs>? = null, val project: Output<String>? = null, val region: Output<String>? = null, val workerConfig: Output<WorkerConfigArgs>? = null, val workerPoolId: Output<String>? = null) : ConvertibleToJava<WorkerPoolArgs>

Creates a WorkerPool to run the builds, and returns the new worker pool. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
fun WorkerPoolArgs(networkConfig: Output<NetworkConfigArgs>? = null, project: Output<String>? = null, region: Output<String>? = null, workerConfig: Output<WorkerConfigArgs>? = null, workerPoolId: Output<String>? = null)

Functions

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

Properties

Link copied to clipboard
val networkConfig: Output<NetworkConfigArgs>? = null

Network configuration for the WorkerPool.

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

Immutable. The region where the WorkerPool runs. Only "us-central1" is currently supported. Note that region cannot be changed once the WorkerPool is created.

Link copied to clipboard
val workerConfig: Output<WorkerConfigArgs>? = null

Worker configuration for the WorkerPool.

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

Required. Immutable. The ID to use for the WorkerPool, which will become the final component of the resource name. This value should be 1-63 characters, and valid characters are /a-z-/.