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. * 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; /** * 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; /** * The resource name of the `WorkerPool`. Format of the name is `projects/{project_id}/workerPools/{worker_pool_id}`, where the value of {worker_pool_id} is provided in the CreateWorkerPool request. */ readonly name: pulumi.Output; /** * Network configuration for the `WorkerPool`. */ readonly networkConfig: pulumi.Output; readonly project: pulumi.Output; /** * Immutable. The region where the `WorkerPool` runs. Only "us-central1" is currently supported. Note that `region` cannot be changed once the `WorkerPool` is created. */ readonly region: pulumi.Output; /** * WorkerPool state. */ readonly state: 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 { /** * Network configuration for the `WorkerPool`. */ networkConfig?: pulumi.Input; project?: pulumi.Input; /** * Immutable. The region where the `WorkerPool` runs. Only "us-central1" is currently supported. Note that `region` cannot be changed once the `WorkerPool` is created. */ region: 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; }