import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Returns details of a `WorkerPool`. */ export declare function getWorkerPool(args: GetWorkerPoolArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetWorkerPoolArgs { location: string; project?: string; workerPoolId: string; } export interface GetWorkerPoolResult { /** * User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations. */ readonly annotations: { [key: string]: string; }; /** * Time at which the request to create the `WorkerPool` was received. */ readonly createTime: string; /** * Time at which the request to delete the `WorkerPool` was received. */ readonly deleteTime: string; /** * A user-specified, human-readable name for the `WorkerPool`. If provided, this value must be 1-63 characters. */ readonly displayName: string; /** * 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: string; /** * 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: string; /** * Legacy Private Pool configuration. */ readonly privatePoolV1Config: outputs.cloudbuild.v1.PrivatePoolV1ConfigResponse; /** * `WorkerPool` state. */ readonly state: string; /** * A unique identifier for the `WorkerPool`. */ readonly uid: string; /** * Time at which the request to update the `WorkerPool` was received. */ readonly updateTime: string; } /** * Returns details of a `WorkerPool`. */ export declare function getWorkerPoolOutput(args: GetWorkerPoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetWorkerPoolOutputArgs { location: pulumi.Input; project?: pulumi.Input; workerPoolId: pulumi.Input; }