Temporal Cloud 0.9.2 published on Thursday, Jul 31, 2025 by temporalio
temporalcloud.getUser
Explore with Pulumi AI
Temporal Cloud 0.9.2 published on Thursday, Jul 31, 2025 by temporalio
Fetches details about a User.
Using getUser
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 getUser(args: GetUserArgs, opts?: InvokeOptions): Promise<GetUserResult>
function getUserOutput(args: GetUserOutputArgs, opts?: InvokeOptions): Output<GetUserResult>
def get_user(id: Optional[str] = None,
namespace_accesses: Optional[Sequence[GetUserNamespaceAccess]] = None,
opts: Optional[InvokeOptions] = None) -> GetUserResult
def get_user_output(id: Optional[pulumi.Input[str]] = None,
namespace_accesses: Optional[pulumi.Input[Sequence[pulumi.Input[GetUserNamespaceAccessArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetUserResult]
func LookupUser(ctx *Context, args *LookupUserArgs, opts ...InvokeOption) (*LookupUserResult, error)
func LookupUserOutput(ctx *Context, args *LookupUserOutputArgs, opts ...InvokeOption) LookupUserResultOutput
> Note: This function is named LookupUser
in the Go SDK.
public static class GetUser
{
public static Task<GetUserResult> InvokeAsync(GetUserArgs args, InvokeOptions? opts = null)
public static Output<GetUserResult> Invoke(GetUserInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
public static Output<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
fn::invoke:
function: temporalcloud:index/getUser:getUser
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- The unique identifier of the User.
- Namespace
Accesses List<GetUser Namespace Access> - The set of namespace permissions for this user, including each namespace and its role.
- Id string
- The unique identifier of the User.
- Namespace
Accesses []GetUser Namespace Access - The set of namespace permissions for this user, including each namespace and its role.
- id String
- The unique identifier of the User.
- namespace
Accesses List<GetUser Namespace Access> - The set of namespace permissions for this user, including each namespace and its role.
- id string
- The unique identifier of the User.
- namespace
Accesses GetUser Namespace Access[] - The set of namespace permissions for this user, including each namespace and its role.
- id str
- The unique identifier of the User.
- namespace_
accesses Sequence[GetUser Namespace Access] - The set of namespace permissions for this user, including each namespace and its role.
- id String
- The unique identifier of the User.
- namespace
Accesses List<Property Map> - The set of namespace permissions for this user, including each namespace and its role.
getUser Result
The following output properties are available:
- Account
Access string - The role on the account. Must be one of admin, developer, or read (case-insensitive).
- Created
At string - The creation time of the User.
- Email string
- The email of the User.
- Id string
- The unique identifier of the User.
- Namespace
Accesses List<GetUser Namespace Access> - The set of namespace permissions for this user, including each namespace and its role.
- State string
- The current state of the User.
- Updated
At string - The last update time of the User.
- Account
Access string - The role on the account. Must be one of admin, developer, or read (case-insensitive).
- Created
At string - The creation time of the User.
- Email string
- The email of the User.
- Id string
- The unique identifier of the User.
- Namespace
Accesses []GetUser Namespace Access - The set of namespace permissions for this user, including each namespace and its role.
- State string
- The current state of the User.
- Updated
At string - The last update time of the User.
- account
Access String - The role on the account. Must be one of admin, developer, or read (case-insensitive).
- created
At String - The creation time of the User.
- email String
- The email of the User.
- id String
- The unique identifier of the User.
- namespace
Accesses List<GetUser Namespace Access> - The set of namespace permissions for this user, including each namespace and its role.
- state String
- The current state of the User.
- updated
At String - The last update time of the User.
- account
Access string - The role on the account. Must be one of admin, developer, or read (case-insensitive).
- created
At string - The creation time of the User.
- email string
- The email of the User.
- id string
- The unique identifier of the User.
- namespace
Accesses GetUser Namespace Access[] - The set of namespace permissions for this user, including each namespace and its role.
- state string
- The current state of the User.
- updated
At string - The last update time of the User.
- account_
access str - The role on the account. Must be one of admin, developer, or read (case-insensitive).
- created_
at str - The creation time of the User.
- email str
- The email of the User.
- id str
- The unique identifier of the User.
- namespace_
accesses Sequence[GetUser Namespace Access] - The set of namespace permissions for this user, including each namespace and its role.
- state str
- The current state of the User.
- updated_
at str - The last update time of the User.
- account
Access String - The role on the account. Must be one of admin, developer, or read (case-insensitive).
- created
At String - The creation time of the User.
- email String
- The email of the User.
- id String
- The unique identifier of the User.
- namespace
Accesses List<Property Map> - The set of namespace permissions for this user, including each namespace and its role.
- state String
- The current state of the User.
- updated
At String - The last update time of the User.
Supporting Types
GetUserNamespaceAccess
- Namespace
Id string - The namespace to assign permissions to.
- Permission string
- The permission to assign. Must be one of admin, write, or read (case-insensitive)
- Namespace
Id string - The namespace to assign permissions to.
- Permission string
- The permission to assign. Must be one of admin, write, or read (case-insensitive)
- namespace
Id String - The namespace to assign permissions to.
- permission String
- The permission to assign. Must be one of admin, write, or read (case-insensitive)
- namespace
Id string - The namespace to assign permissions to.
- permission string
- The permission to assign. Must be one of admin, write, or read (case-insensitive)
- namespace_
id str - The namespace to assign permissions to.
- permission str
- The permission to assign. Must be one of admin, write, or read (case-insensitive)
- namespace
Id String - The namespace to assign permissions to.
- permission String
- The permission to assign. Must be one of admin, write, or read (case-insensitive)
Package Details
- Repository
- temporalcloud temporalio/terraform-provider-temporalcloud
- License
- Notes
- This Pulumi package is based on the
temporalcloud
Terraform Provider.
Temporal Cloud 0.9.2 published on Thursday, Jul 31, 2025 by temporalio