temporalcloud 0.7.0 published on Friday, Apr 4, 2025 by temporalio
temporalcloud.getServiceAccount
Explore with Pulumi AI
temporalcloud 0.7.0 published on Friday, Apr 4, 2025 by temporalio
Fetches details about a Service Account.
Using getServiceAccount
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 getServiceAccount(args: GetServiceAccountArgs, opts?: InvokeOptions): Promise<GetServiceAccountResult>
function getServiceAccountOutput(args: GetServiceAccountOutputArgs, opts?: InvokeOptions): Output<GetServiceAccountResult>
def get_service_account(id: Optional[str] = None,
namespace_accesses: Optional[Sequence[GetServiceAccountNamespaceAccess]] = None,
opts: Optional[InvokeOptions] = None) -> GetServiceAccountResult
def get_service_account_output(id: Optional[pulumi.Input[str]] = None,
namespace_accesses: Optional[pulumi.Input[Sequence[pulumi.Input[GetServiceAccountNamespaceAccessArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServiceAccountResult]
func LookupServiceAccount(ctx *Context, args *LookupServiceAccountArgs, opts ...InvokeOption) (*LookupServiceAccountResult, error)
func LookupServiceAccountOutput(ctx *Context, args *LookupServiceAccountOutputArgs, opts ...InvokeOption) LookupServiceAccountResultOutput
> Note: This function is named LookupServiceAccount
in the Go SDK.
public static class GetServiceAccount
{
public static Task<GetServiceAccountResult> InvokeAsync(GetServiceAccountArgs args, InvokeOptions? opts = null)
public static Output<GetServiceAccountResult> Invoke(GetServiceAccountInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetServiceAccountResult> getServiceAccount(GetServiceAccountArgs args, InvokeOptions options)
public static Output<GetServiceAccountResult> getServiceAccount(GetServiceAccountArgs args, InvokeOptions options)
fn::invoke:
function: temporalcloud:index/getServiceAccount:getServiceAccount
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- The unique identifier of the Service Account.
- Namespace
Accesses List<GetService Account Namespace Access> - The set of namespace permissions for this service account, including each namespace and its role.
- Id string
- The unique identifier of the Service Account.
- Namespace
Accesses []GetService Account Namespace Access - The set of namespace permissions for this service account, including each namespace and its role.
- id String
- The unique identifier of the Service Account.
- namespace
Accesses List<GetService Account Namespace Access> - The set of namespace permissions for this service account, including each namespace and its role.
- id string
- The unique identifier of the Service Account.
- namespace
Accesses GetService Account Namespace Access[] - The set of namespace permissions for this service account, including each namespace and its role.
- id str
- The unique identifier of the Service Account.
- namespace_
accesses Sequence[GetService Account Namespace Access] - The set of namespace permissions for this service account, including each namespace and its role.
- id String
- The unique identifier of the Service Account.
- namespace
Accesses List<Property Map> - The set of namespace permissions for this service account, including each namespace and its role.
getServiceAccount 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 Service Account.
- Description string
- The description of the Service Account.
- Id string
- The unique identifier of the Service Account.
- Name string
- The name associated with the service account.
- Namespace
Accesses List<GetService Account Namespace Access> - The set of namespace permissions for this service account, including each namespace and its role.
- State string
- The current state of the Service Account.
- Updated
At string - The last update time of the Service Account.
- 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 Service Account.
- Description string
- The description of the Service Account.
- Id string
- The unique identifier of the Service Account.
- Name string
- The name associated with the service account.
- Namespace
Accesses []GetService Account Namespace Access - The set of namespace permissions for this service account, including each namespace and its role.
- State string
- The current state of the Service Account.
- Updated
At string - The last update time of the Service Account.
- 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 Service Account.
- description String
- The description of the Service Account.
- id String
- The unique identifier of the Service Account.
- name String
- The name associated with the service account.
- namespace
Accesses List<GetService Account Namespace Access> - The set of namespace permissions for this service account, including each namespace and its role.
- state String
- The current state of the Service Account.
- updated
At String - The last update time of the Service Account.
- 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 Service Account.
- description string
- The description of the Service Account.
- id string
- The unique identifier of the Service Account.
- name string
- The name associated with the service account.
- namespace
Accesses GetService Account Namespace Access[] - The set of namespace permissions for this service account, including each namespace and its role.
- state string
- The current state of the Service Account.
- updated
At string - The last update time of the Service Account.
- 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 Service Account.
- description str
- The description of the Service Account.
- id str
- The unique identifier of the Service Account.
- name str
- The name associated with the service account.
- namespace_
accesses Sequence[GetService Account Namespace Access] - The set of namespace permissions for this service account, including each namespace and its role.
- state str
- The current state of the Service Account.
- updated_
at str - The last update time of the Service Account.
- 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 Service Account.
- description String
- The description of the Service Account.
- id String
- The unique identifier of the Service Account.
- name String
- The name associated with the service account.
- namespace
Accesses List<Property Map> - The set of namespace permissions for this service account, including each namespace and its role.
- state String
- The current state of the Service Account.
- updated
At String - The last update time of the Service Account.
Supporting Types
GetServiceAccountNamespaceAccess
- 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.
temporalcloud 0.7.0 published on Friday, Apr 4, 2025 by temporalio