Class WorkforcePoolState


  • public final class WorkforcePoolState
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  WorkforcePoolState.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static WorkforcePoolState.Builder builder()  
      static WorkforcePoolState.Builder builder​(WorkforcePoolState defaults)  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> disabled()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> displayName()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> location()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> parent()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> sessionDuration()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> state()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> workforcePoolId()  
      • Methods inherited from class com.pulumi.resources.ResourceArgs

        validateMember
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • description

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
        Returns:
        A user-specified description of the pool. Cannot exceed 256 characters.
      • disabled

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> disabled()
        Returns:
        Whether the pool is disabled. 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.
      • displayName

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> displayName()
        Returns:
        A user-specified display name of the pool in Google Cloud Console. Cannot exceed 32 characters.
      • location

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> location()
        Returns:
        The location for the resource.
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        Output only. The resource name of the pool. Format: `locations/{location}/workforcePools/{workforcePoolId}`
      • parent

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> parent()
        Returns:
        Immutable. The resource name of the parent. Format: `organizations/{org-id}`. ***
      • sessionDuration

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> sessionDuration()
        Returns:
        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 `sessionDuration` is not configured, minted credentials have a default duration of one hour (3600s). A duration in seconds with up to nine fractional digits, ending with '`s`'. Example: "`3.5s`".
      • state

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> state()
        Returns:
        Output only. The state of the pool. * STATE_UNSPECIFIED: State unspecified. * ACTIVE: The pool is active, and may be used in Google Cloud policies. * DELETED: The pool is soft-deleted. Soft-deleted pools are permanently deleted after approximately 30 days. You can restore a soft-deleted pool using [workforcePools.undelete](https://cloud.google.com/iam/docs/reference/rest/v1/locations.workforcePools/undelete#google.iam.admin.v1.WorkforcePools.UndeleteWorkforcePool). You cannot reuse the ID of a soft-deleted pool until it is permanently deleted. While a pool is deleted, you cannot use it to exchange tokens, or use existing tokens to access resources. If the pool is undeleted, existing tokens grant access again.
      • workforcePoolId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> workforcePoolId()
        Returns:
        The name of the pool. The ID must be a globally unique string of 6 to 63 lowercase letters, digits, or hyphens. It must start with a letter, and cannot have a trailing hyphen. The prefix `gcp-` is reserved for use by Google, and may not be specified.