import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../../types"; /** * 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. */ 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`, 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; /** * `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; /** * 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 { readonly locationsId: pulumi.Input; /** * Network configuration for the `WorkerPool`. */ readonly networkConfig?: pulumi.Input; readonly projectsId: pulumi.Input; /** * Worker configuration for the `WorkerPool`. */ readonly workerConfig?: pulumi.Input; readonly workerPoolsId: pulumi.Input; }