Worker Pool Args
data class WorkerPoolArgs(val name: Output<String>? = null, val project: Output<String>? = null, val regions: Output<List<WorkerPoolRegionsItem>>? = null, val workerConfig: Output<WorkerConfigArgs>? = null, val workerCount: Output<String>? = null) : ConvertibleToJava<WorkerPoolArgs>
Creates a WorkerPool
to run the builds, and returns the new worker pool.
Constructors
Link copied to clipboard
constructor(name: Output<String>? = null, project: Output<String>? = null, regions: Output<List<WorkerPoolRegionsItem>>? = null, workerConfig: Output<WorkerConfigArgs>? = null, workerCount: Output<String>? = null)
Properties
Link copied to clipboard
List of regions to create the WorkerPool
. Regions can't be empty. If Cloud Build adds a new GCP region in the future, the existing WorkerPool
will not be enabled in the new region automatically; you must add the new region to the regions
field to enable the WorkerPool
in that region.
Link copied to clipboard
Configuration to be used for a creating workers in the WorkerPool
.
Link copied to clipboard
Total number of workers to be created across all requested regions.