Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.iam/v1.getWorkforcePool
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets an individual WorkforcePool.
Using getWorkforcePool
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getWorkforcePool(args: GetWorkforcePoolArgs, opts?: InvokeOptions): Promise<GetWorkforcePoolResult>
function getWorkforcePoolOutput(args: GetWorkforcePoolOutputArgs, opts?: InvokeOptions): Output<GetWorkforcePoolResult>
def get_workforce_pool(location: Optional[str] = None,
workforce_pool_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWorkforcePoolResult
def get_workforce_pool_output(location: Optional[pulumi.Input[str]] = None,
workforce_pool_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWorkforcePoolResult]
func LookupWorkforcePool(ctx *Context, args *LookupWorkforcePoolArgs, opts ...InvokeOption) (*LookupWorkforcePoolResult, error)
func LookupWorkforcePoolOutput(ctx *Context, args *LookupWorkforcePoolOutputArgs, opts ...InvokeOption) LookupWorkforcePoolResultOutput
> Note: This function is named LookupWorkforcePool
in the Go SDK.
public static class GetWorkforcePool
{
public static Task<GetWorkforcePoolResult> InvokeAsync(GetWorkforcePoolArgs args, InvokeOptions? opts = null)
public static Output<GetWorkforcePoolResult> Invoke(GetWorkforcePoolInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetWorkforcePoolResult> getWorkforcePool(GetWorkforcePoolArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:iam/v1:getWorkforcePool
arguments:
# arguments dictionary
The following arguments are supported:
- Location string
- Workforce
Pool stringId
- Location string
- Workforce
Pool stringId
- location String
- workforce
Pool StringId
- location string
- workforce
Pool stringId
- location str
- workforce_
pool_ strid
- location String
- workforce
Pool StringId
getWorkforcePool Result
The following output properties are available:
- Access
Restrictions Pulumi.Google Native. IAM. V1. Outputs. Access Restrictions Response - 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.
- Description string
- A user-specified description of the pool. Cannot exceed 256 characters.
- Disabled bool
- 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.
- Display
Name string - A user-specified display name of the pool in Google Cloud Console. Cannot exceed 32 characters.
- Expire
Time string - Time after which the workforce pool will be permanently purged and cannot be recovered.
- Name string
- The resource name of the pool. Format:
locations/{location}/workforcePools/{workforce_pool_id}
- Parent string
- Immutable. The resource name of the parent. Format:
organizations/{org-id}
. - Session
Duration 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). Ifsession_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 thesession_duration
and theSessionNotOnOrAfter
claim in the SAML assertion. - State string
- The state of the pool.
- Access
Restrictions AccessRestrictions Response - 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.
- Description string
- A user-specified description of the pool. Cannot exceed 256 characters.
- Disabled bool
- 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.
- Display
Name string - A user-specified display name of the pool in Google Cloud Console. Cannot exceed 32 characters.
- Expire
Time string - Time after which the workforce pool will be permanently purged and cannot be recovered.
- Name string
- The resource name of the pool. Format:
locations/{location}/workforcePools/{workforce_pool_id}
- Parent string
- Immutable. The resource name of the parent. Format:
organizations/{org-id}
. - Session
Duration 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). Ifsession_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 thesession_duration
and theSessionNotOnOrAfter
claim in the SAML assertion. - State string
- The state of the pool.
- access
Restrictions AccessRestrictions Response - 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.
- description String
- A user-specified description of the pool. Cannot exceed 256 characters.
- disabled Boolean
- 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.
- display
Name String - A user-specified display name of the pool in Google Cloud Console. Cannot exceed 32 characters.
- expire
Time String - Time after which the workforce pool will be permanently purged and cannot be recovered.
- name String
- The resource name of the pool. Format:
locations/{location}/workforcePools/{workforce_pool_id}
- parent String
- Immutable. The resource name of the parent. Format:
organizations/{org-id}
. - session
Duration 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). Ifsession_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 thesession_duration
and theSessionNotOnOrAfter
claim in the SAML assertion. - state String
- The state of the pool.
- access
Restrictions AccessRestrictions Response - 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.
- description string
- A user-specified description of the pool. Cannot exceed 256 characters.
- disabled boolean
- 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.
- display
Name string - A user-specified display name of the pool in Google Cloud Console. Cannot exceed 32 characters.
- expire
Time string - Time after which the workforce pool will be permanently purged and cannot be recovered.
- name string
- The resource name of the pool. Format:
locations/{location}/workforcePools/{workforce_pool_id}
- parent string
- Immutable. The resource name of the parent. Format:
organizations/{org-id}
. - session
Duration 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). Ifsession_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 thesession_duration
and theSessionNotOnOrAfter
claim in the SAML assertion. - state string
- The state of the pool.
- access_
restrictions AccessRestrictions Response - 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.
- description str
- A user-specified description of the pool. Cannot exceed 256 characters.
- disabled bool
- 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.
- display_
name str - A user-specified display name of the pool in Google Cloud Console. Cannot exceed 32 characters.
- expire_
time str - Time after which the workforce pool will be permanently purged and cannot be recovered.
- name str
- The resource name of the pool. Format:
locations/{location}/workforcePools/{workforce_pool_id}
- parent str
- Immutable. The resource name of the parent. Format:
organizations/{org-id}
. - session_
duration str - 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). Ifsession_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 thesession_duration
and theSessionNotOnOrAfter
claim in the SAML assertion. - state str
- The state of the pool.
- access
Restrictions Property Map - 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.
- description String
- A user-specified description of the pool. Cannot exceed 256 characters.
- disabled Boolean
- 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.
- display
Name String - A user-specified display name of the pool in Google Cloud Console. Cannot exceed 32 characters.
- expire
Time String - Time after which the workforce pool will be permanently purged and cannot be recovered.
- name String
- The resource name of the pool. Format:
locations/{location}/workforcePools/{workforce_pool_id}
- parent String
- Immutable. The resource name of the parent. Format:
organizations/{org-id}
. - session
Duration 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). Ifsession_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 thesession_duration
and theSessionNotOnOrAfter
claim in the SAML assertion. - state String
- The state of the pool.
Supporting Types
AccessRestrictionsResponse
- Allowed
Services List<Pulumi.Google Native. IAM. V1. Inputs. Service Config Response> - Optional. Immutable. Services allowed for web sign-in with the workforce pool. If not set by default there are no restrictions.
- Disable
Programmatic boolSignin - Optional. Disable programmatic sign-in by disabling token issue via the Security Token API endpoint. See [Security Token Service API] (https://cloud.google.com/iam/docs/reference/sts/rest).
- Allowed
Services []ServiceConfig Response - Optional. Immutable. Services allowed for web sign-in with the workforce pool. If not set by default there are no restrictions.
- Disable
Programmatic boolSignin - Optional. Disable programmatic sign-in by disabling token issue via the Security Token API endpoint. See [Security Token Service API] (https://cloud.google.com/iam/docs/reference/sts/rest).
- allowed
Services List<ServiceConfig Response> - Optional. Immutable. Services allowed for web sign-in with the workforce pool. If not set by default there are no restrictions.
- disable
Programmatic BooleanSignin - Optional. Disable programmatic sign-in by disabling token issue via the Security Token API endpoint. See [Security Token Service API] (https://cloud.google.com/iam/docs/reference/sts/rest).
- allowed
Services ServiceConfig Response[] - Optional. Immutable. Services allowed for web sign-in with the workforce pool. If not set by default there are no restrictions.
- disable
Programmatic booleanSignin - Optional. Disable programmatic sign-in by disabling token issue via the Security Token API endpoint. See [Security Token Service API] (https://cloud.google.com/iam/docs/reference/sts/rest).
- allowed_
services Sequence[ServiceConfig Response] - Optional. Immutable. Services allowed for web sign-in with the workforce pool. If not set by default there are no restrictions.
- disable_
programmatic_ boolsignin - Optional. Disable programmatic sign-in by disabling token issue via the Security Token API endpoint. See [Security Token Service API] (https://cloud.google.com/iam/docs/reference/sts/rest).
- allowed
Services List<Property Map> - Optional. Immutable. Services allowed for web sign-in with the workforce pool. If not set by default there are no restrictions.
- disable
Programmatic BooleanSignin - Optional. Disable programmatic sign-in by disabling token issue via the Security Token API endpoint. See [Security Token Service API] (https://cloud.google.com/iam/docs/reference/sts/rest).
ServiceConfigResponse
- Domain string
- Optional. Domain name of the service. Example: console.cloud.google
- Domain string
- Optional. Domain name of the service. Example: console.cloud.google
- domain String
- Optional. Domain name of the service. Example: console.cloud.google
- domain string
- Optional. Domain name of the service. Example: console.cloud.google
- domain str
- Optional. Domain name of the service. Example: console.cloud.google
- domain String
- Optional. Domain name of the service. Example: console.cloud.google
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi