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 { project?: string; workerPoolId: string; } export interface GetWorkerPoolResult { /** * 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; /** * 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: string; /** * Network configuration for the `WorkerPool`. */ readonly networkConfig: outputs.cloudbuild.v1alpha2.NetworkConfigResponse; /** * 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: string; /** * WorkerPool state. */ readonly state: string; /** * Time at which the request to update the `WorkerPool` was received. */ readonly updateTime: string; /** * Worker configuration for the `WorkerPool`. */ readonly workerConfig: outputs.cloudbuild.v1alpha2.WorkerConfigResponse; } /** * Returns details of a `WorkerPool`. */ export declare function getWorkerPoolOutput(args: GetWorkerPoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetWorkerPoolOutputArgs { project?: pulumi.Input; workerPoolId: pulumi.Input; }