import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * 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. */ export declare class WorkerPool extends pulumi.CustomResource { /** * Get an existing WorkerPool resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): WorkerPool; /** * Returns true if the given object is an instance of WorkerPool. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is WorkerPool; /** * User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations. */ readonly annotations: pulumi.Output<{ [key: string]: string; }>; /** * Time at which the request to create the `WorkerPool` was received. */ readonly createTime: pulumi.Output; /** * Time at which the request to delete the `WorkerPool` was received. */ readonly deleteTime: pulumi.Output; /** * A user-specified, human-readable name for the `WorkerPool`. If provided, this value must be 1-63 characters. */ readonly displayName: pulumi.Output; /** * Checksum computed by the server. May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding. */ readonly etag: pulumi.Output; readonly location: pulumi.Output; /** * The resource name of the `WorkerPool`, with format `projects/{project}/locations/{location}/workerPools/{worker_pool}`. The value of `{worker_pool}` is provided by `worker_pool_id` in `CreateWorkerPool` request and the value of `{location}` is determined by the endpoint accessed. */ readonly name: pulumi.Output; /** * Network configuration for the `WorkerPool`. */ readonly networkConfig: pulumi.Output; readonly project: pulumi.Output; /** * `WorkerPool` state. */ readonly state: pulumi.Output; /** * A unique identifier for the `WorkerPool`. */ readonly uid: pulumi.Output; /** * Time at which the request to update the `WorkerPool` was received. */ readonly updateTime: pulumi.Output; /** * Worker configuration for the `WorkerPool`. */ readonly workerConfig: pulumi.Output; /** * 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-/. */ readonly workerPoolId: pulumi.Output; /** * Create a WorkerPool resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: WorkerPoolArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a WorkerPool resource. */ export interface WorkerPoolArgs { /** * User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations. */ annotations?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * A user-specified, human-readable name for the `WorkerPool`. If provided, this value must be 1-63 characters. */ displayName?: pulumi.Input; location?: pulumi.Input; /** * Network configuration for the `WorkerPool`. */ networkConfig?: pulumi.Input; project?: pulumi.Input; /** * Worker configuration for the `WorkerPool`. */ workerConfig?: pulumi.Input; /** * 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-/. */ workerPoolId: pulumi.Input; }