WorkerPoolArgs

data class WorkerPoolArgs(val annotations: Output<Map<String, String>>? = null, val displayName: Output<String>? = null, val location: Output<String>? = null, val networkConfig: Output<NetworkConfigArgs>? = null, val project: 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. NOTE: As of now, this method returns an Operation that is always complete. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
fun WorkerPoolArgs(annotations: Output<Map<String, String>>? = null, displayName: Output<String>? = null, location: Output<String>? = null, networkConfig: Output<NetworkConfigArgs>? = null, project: 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 annotations: Output<Map<String, String>>? = null

User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations.

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

A user-specified, human-readable name for the WorkerPool. If provided, this value must be 1-63 characters.

Link copied to clipboard
val location: Output<String>? = null
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 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-/.