import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets an individual WorkforcePool. */ export declare function getWorkforcePool(args: GetWorkforcePoolArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetWorkforcePoolArgs { location: string; workforcePoolId: string; } export interface GetWorkforcePoolResult { /** * Optional. Configure access restrictions on the workforce pool users. This is an optional field. If specified web sign-in can be restricted to given set of services or programmatic sign-in can be disabled for pool users. */ readonly accessRestrictions: outputs.iam.v1.AccessRestrictionsResponse; /** * A user-specified description of the pool. Cannot exceed 256 characters. */ readonly description: string; /** * Disables the workforce pool. You cannot use a disabled pool to exchange tokens, or use existing tokens to access resources. If the pool is re-enabled, existing tokens grant access again. */ readonly disabled: boolean; /** * A user-specified display name of the pool in Google Cloud Console. Cannot exceed 32 characters. */ readonly displayName: string; /** * Time after which the workforce pool will be permanently purged and cannot be recovered. */ readonly expireTime: string; /** * The resource name of the pool. Format: `locations/{location}/workforcePools/{workforce_pool_id}` */ readonly name: string; /** * Immutable. The resource name of the parent. Format: `organizations/{org-id}`. */ readonly parent: string; /** * Duration that the Google Cloud access tokens, console sign-in sessions, and `gcloud` sign-in sessions from this pool are valid. Must be greater than 15 minutes (900s) and less than 12 hours (43200s). If `session_duration` is not configured, minted credentials have a default duration of one hour (3600s). For SAML providers, the lifetime of the token is the minimum of the `session_duration` and the `SessionNotOnOrAfter` claim in the SAML assertion. */ readonly sessionDuration: string; /** * The state of the pool. */ readonly state: string; } /** * Gets an individual WorkforcePool. */ export declare function getWorkforcePoolOutput(args: GetWorkforcePoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetWorkforcePoolOutputArgs { location: pulumi.Input; workforcePoolId: pulumi.Input; }