1. Packages
  2. Temporalcloud Provider
  3. API Docs
  4. getNamespaces
temporalcloud 0.7.0 published on Friday, Apr 4, 2025 by temporalio

temporalcloud.getNamespaces

Explore with Pulumi AI

Fetches details about all Namespaces.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as temporalcloud from "@pulumi/temporalcloud";

const myNamespaces = temporalcloud.getNamespaces({});
export const namespaces = myNamespaces.then(myNamespaces => myNamespaces.namespaces);
Copy
import pulumi
import pulumi_temporalcloud as temporalcloud

my_namespaces = temporalcloud.get_namespaces()
pulumi.export("namespaces", my_namespaces.namespaces)
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/temporalcloud/temporalcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		myNamespaces, err := temporalcloud.GetNamespaces(ctx, map[string]interface{}{}, nil)
		if err != nil {
			return err
		}
		ctx.Export("namespaces", myNamespaces.Namespaces)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Temporalcloud = Pulumi.Temporalcloud;

return await Deployment.RunAsync(() => 
{
    var myNamespaces = Temporalcloud.GetNamespaces.Invoke();

    return new Dictionary<string, object?>
    {
        ["namespaces"] = myNamespaces.Apply(getNamespacesResult => getNamespacesResult.Namespaces),
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.temporalcloud.TemporalcloudFunctions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var myNamespaces = TemporalcloudFunctions.getNamespaces();

        ctx.export("namespaces", myNamespaces.applyValue(getNamespacesResult -> getNamespacesResult.namespaces()));
    }
}
Copy
variables:
  myNamespaces:
    fn::invoke:
      function: temporalcloud:getNamespaces
      arguments: {}
outputs:
  namespaces: ${myNamespaces.namespaces}
Copy

Using getNamespaces

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 getNamespaces(opts?: InvokeOptions): Promise<GetNamespacesResult>
function getNamespacesOutput(opts?: InvokeOptions): Output<GetNamespacesResult>
Copy
def get_namespaces(opts: Optional[InvokeOptions] = None) -> GetNamespacesResult
def get_namespaces_output(opts: Optional[InvokeOptions] = None) -> Output[GetNamespacesResult]
Copy
func GetNamespaces(ctx *Context, opts ...InvokeOption) (*GetNamespacesResult, error)
func GetNamespacesOutput(ctx *Context, opts ...InvokeOption) GetNamespacesResultOutput
Copy

> Note: This function is named GetNamespaces in the Go SDK.

public static class GetNamespaces 
{
    public static Task<GetNamespacesResult> InvokeAsync(InvokeOptions? opts = null)
    public static Output<GetNamespacesResult> Invoke(InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetNamespacesResult> getNamespaces(InvokeOptions options)
public static Output<GetNamespacesResult> getNamespaces(InvokeOptions options)
Copy
fn::invoke:
  function: temporalcloud:index/getNamespaces:getNamespaces
  arguments:
    # arguments dictionary
Copy

getNamespaces Result

The following output properties are available:

Id string
The ID of this resource.
Namespaces List<GetNamespacesNamespace>
Id string
The ID of this resource.
Namespaces []GetNamespacesNamespace
id String
The ID of this resource.
namespaces List<GetNamespacesNamespace>
id string
The ID of this resource.
namespaces GetNamespacesNamespace[]
id String
The ID of this resource.
namespaces List<Property Map>

Supporting Types

GetNamespacesNamespace

AcceptedClientCa This property is required. string
The Base64-encoded CA cert in PEM format that clients use when authenticating with Temporal Cloud.
ActiveRegion This property is required. string
The currently active region for the namespace.
CertificateFilters This property is required. List<GetNamespacesNamespaceCertificateFilter>
A list of filters to apply to client certificates when initiating a connection Temporal Cloud. If present, connections will only be allowed from client certificates whose distinguished name properties match at least one of the filters.
CodecServer This property is required. GetNamespacesNamespaceCodecServer
A codec server is used by the Temporal Cloud UI to decode payloads for all users interacting with this namespace, even if the workflow history itself is encrypted.
CreatedTime This property is required. string
The date and time when the namespace was created.
CustomSearchAttributes This property is required. Dictionary<string, string>
The custom search attributes to use for the namespace.
Endpoints This property is required. GetNamespacesNamespaceEndpoints
The endpoints for the namespace.
Id This property is required. string
The unique identifier of the namespace across all Temporal Cloud tenants.
LastModifiedTime This property is required. string
The date and time when the namespace was last modified. Will not be set if the namespace has never been modified.
Limits This property is required. GetNamespacesNamespaceLimits
The limits set on the namespace currently.
Name This property is required. string
The name of the namespace.
PrivateConnectivities This property is required. List<GetNamespacesNamespacePrivateConnectivity>
The private connectivities for the namespace, if any.
Regions This property is required. List<string>
RetentionDays This property is required. double
The number of days to retain workflow history. Any changes to the retention period will be applied to all new running workflows.
State This property is required. string
The current state of the namespace.
ApiKeyAuth bool
If true, Temporal Cloud will use API key authentication for this namespace. If false, mutual TLS (mTLS) authentication will be used.
AcceptedClientCa This property is required. string
The Base64-encoded CA cert in PEM format that clients use when authenticating with Temporal Cloud.
ActiveRegion This property is required. string
The currently active region for the namespace.
CertificateFilters This property is required. []GetNamespacesNamespaceCertificateFilter
A list of filters to apply to client certificates when initiating a connection Temporal Cloud. If present, connections will only be allowed from client certificates whose distinguished name properties match at least one of the filters.
CodecServer This property is required. GetNamespacesNamespaceCodecServer
A codec server is used by the Temporal Cloud UI to decode payloads for all users interacting with this namespace, even if the workflow history itself is encrypted.
CreatedTime This property is required. string
The date and time when the namespace was created.
CustomSearchAttributes This property is required. map[string]string
The custom search attributes to use for the namespace.
Endpoints This property is required. GetNamespacesNamespaceEndpoints
The endpoints for the namespace.
Id This property is required. string
The unique identifier of the namespace across all Temporal Cloud tenants.
LastModifiedTime This property is required. string
The date and time when the namespace was last modified. Will not be set if the namespace has never been modified.
Limits This property is required. GetNamespacesNamespaceLimits
The limits set on the namespace currently.
Name This property is required. string
The name of the namespace.
PrivateConnectivities This property is required. []GetNamespacesNamespacePrivateConnectivity
The private connectivities for the namespace, if any.
Regions This property is required. []string
RetentionDays This property is required. float64
The number of days to retain workflow history. Any changes to the retention period will be applied to all new running workflows.
State This property is required. string
The current state of the namespace.
ApiKeyAuth bool
If true, Temporal Cloud will use API key authentication for this namespace. If false, mutual TLS (mTLS) authentication will be used.
acceptedClientCa This property is required. String
The Base64-encoded CA cert in PEM format that clients use when authenticating with Temporal Cloud.
activeRegion This property is required. String
The currently active region for the namespace.
certificateFilters This property is required. List<GetNamespacesNamespaceCertificateFilter>
A list of filters to apply to client certificates when initiating a connection Temporal Cloud. If present, connections will only be allowed from client certificates whose distinguished name properties match at least one of the filters.
codecServer This property is required. GetNamespacesNamespaceCodecServer
A codec server is used by the Temporal Cloud UI to decode payloads for all users interacting with this namespace, even if the workflow history itself is encrypted.
createdTime This property is required. String
The date and time when the namespace was created.
customSearchAttributes This property is required. Map<String,String>
The custom search attributes to use for the namespace.
endpoints This property is required. GetNamespacesNamespaceEndpoints
The endpoints for the namespace.
id This property is required. String
The unique identifier of the namespace across all Temporal Cloud tenants.
lastModifiedTime This property is required. String
The date and time when the namespace was last modified. Will not be set if the namespace has never been modified.
limits This property is required. GetNamespacesNamespaceLimits
The limits set on the namespace currently.
name This property is required. String
The name of the namespace.
privateConnectivities This property is required. List<GetNamespacesNamespacePrivateConnectivity>
The private connectivities for the namespace, if any.
regions This property is required. List<String>
retentionDays This property is required. Double
The number of days to retain workflow history. Any changes to the retention period will be applied to all new running workflows.
state This property is required. String
The current state of the namespace.
apiKeyAuth Boolean
If true, Temporal Cloud will use API key authentication for this namespace. If false, mutual TLS (mTLS) authentication will be used.
acceptedClientCa This property is required. string
The Base64-encoded CA cert in PEM format that clients use when authenticating with Temporal Cloud.
activeRegion This property is required. string
The currently active region for the namespace.
certificateFilters This property is required. GetNamespacesNamespaceCertificateFilter[]
A list of filters to apply to client certificates when initiating a connection Temporal Cloud. If present, connections will only be allowed from client certificates whose distinguished name properties match at least one of the filters.
codecServer This property is required. GetNamespacesNamespaceCodecServer
A codec server is used by the Temporal Cloud UI to decode payloads for all users interacting with this namespace, even if the workflow history itself is encrypted.
createdTime This property is required. string
The date and time when the namespace was created.
customSearchAttributes This property is required. {[key: string]: string}
The custom search attributes to use for the namespace.
endpoints This property is required. GetNamespacesNamespaceEndpoints
The endpoints for the namespace.
id This property is required. string
The unique identifier of the namespace across all Temporal Cloud tenants.
lastModifiedTime This property is required. string
The date and time when the namespace was last modified. Will not be set if the namespace has never been modified.
limits This property is required. GetNamespacesNamespaceLimits
The limits set on the namespace currently.
name This property is required. string
The name of the namespace.
privateConnectivities This property is required. GetNamespacesNamespacePrivateConnectivity[]
The private connectivities for the namespace, if any.
regions This property is required. string[]
retentionDays This property is required. number
The number of days to retain workflow history. Any changes to the retention period will be applied to all new running workflows.
state This property is required. string
The current state of the namespace.
apiKeyAuth boolean
If true, Temporal Cloud will use API key authentication for this namespace. If false, mutual TLS (mTLS) authentication will be used.
accepted_client_ca This property is required. str
The Base64-encoded CA cert in PEM format that clients use when authenticating with Temporal Cloud.
active_region This property is required. str
The currently active region for the namespace.
certificate_filters This property is required. Sequence[GetNamespacesNamespaceCertificateFilter]
A list of filters to apply to client certificates when initiating a connection Temporal Cloud. If present, connections will only be allowed from client certificates whose distinguished name properties match at least one of the filters.
codec_server This property is required. GetNamespacesNamespaceCodecServer
A codec server is used by the Temporal Cloud UI to decode payloads for all users interacting with this namespace, even if the workflow history itself is encrypted.
created_time This property is required. str
The date and time when the namespace was created.
custom_search_attributes This property is required. Mapping[str, str]
The custom search attributes to use for the namespace.
endpoints This property is required. GetNamespacesNamespaceEndpoints
The endpoints for the namespace.
id This property is required. str
The unique identifier of the namespace across all Temporal Cloud tenants.
last_modified_time This property is required. str
The date and time when the namespace was last modified. Will not be set if the namespace has never been modified.
limits This property is required. GetNamespacesNamespaceLimits
The limits set on the namespace currently.
name This property is required. str
The name of the namespace.
private_connectivities This property is required. Sequence[GetNamespacesNamespacePrivateConnectivity]
The private connectivities for the namespace, if any.
regions This property is required. Sequence[str]
retention_days This property is required. float
The number of days to retain workflow history. Any changes to the retention period will be applied to all new running workflows.
state This property is required. str
The current state of the namespace.
api_key_auth bool
If true, Temporal Cloud will use API key authentication for this namespace. If false, mutual TLS (mTLS) authentication will be used.
acceptedClientCa This property is required. String
The Base64-encoded CA cert in PEM format that clients use when authenticating with Temporal Cloud.
activeRegion This property is required. String
The currently active region for the namespace.
certificateFilters This property is required. List<Property Map>
A list of filters to apply to client certificates when initiating a connection Temporal Cloud. If present, connections will only be allowed from client certificates whose distinguished name properties match at least one of the filters.
codecServer This property is required. Property Map
A codec server is used by the Temporal Cloud UI to decode payloads for all users interacting with this namespace, even if the workflow history itself is encrypted.
createdTime This property is required. String
The date and time when the namespace was created.
customSearchAttributes This property is required. Map<String>
The custom search attributes to use for the namespace.
endpoints This property is required. Property Map
The endpoints for the namespace.
id This property is required. String
The unique identifier of the namespace across all Temporal Cloud tenants.
lastModifiedTime This property is required. String
The date and time when the namespace was last modified. Will not be set if the namespace has never been modified.
limits This property is required. Property Map
The limits set on the namespace currently.
name This property is required. String
The name of the namespace.
privateConnectivities This property is required. List<Property Map>
The private connectivities for the namespace, if any.
regions This property is required. List<String>
retentionDays This property is required. Number
The number of days to retain workflow history. Any changes to the retention period will be applied to all new running workflows.
state This property is required. String
The current state of the namespace.
apiKeyAuth Boolean
If true, Temporal Cloud will use API key authentication for this namespace. If false, mutual TLS (mTLS) authentication will be used.

GetNamespacesNamespaceCertificateFilter

CommonName This property is required. string
The certificate's common name.
Organization This property is required. string
The certificate's organization.
OrganizationalUnit This property is required. string
The certificate's organizational unit.
SubjectAlternativeName This property is required. string
The certificate's subject alternative name (or SAN).
CommonName This property is required. string
The certificate's common name.
Organization This property is required. string
The certificate's organization.
OrganizationalUnit This property is required. string
The certificate's organizational unit.
SubjectAlternativeName This property is required. string
The certificate's subject alternative name (or SAN).
commonName This property is required. String
The certificate's common name.
organization This property is required. String
The certificate's organization.
organizationalUnit This property is required. String
The certificate's organizational unit.
subjectAlternativeName This property is required. String
The certificate's subject alternative name (or SAN).
commonName This property is required. string
The certificate's common name.
organization This property is required. string
The certificate's organization.
organizationalUnit This property is required. string
The certificate's organizational unit.
subjectAlternativeName This property is required. string
The certificate's subject alternative name (or SAN).
common_name This property is required. str
The certificate's common name.
organization This property is required. str
The certificate's organization.
organizational_unit This property is required. str
The certificate's organizational unit.
subject_alternative_name This property is required. str
The certificate's subject alternative name (or SAN).
commonName This property is required. String
The certificate's common name.
organization This property is required. String
The certificate's organization.
organizationalUnit This property is required. String
The certificate's organizational unit.
subjectAlternativeName This property is required. String
The certificate's subject alternative name (or SAN).

GetNamespacesNamespaceCodecServer

Endpoint This property is required. string
The endpoint of the codec server.
IncludeCrossOriginCredentials This property is required. bool
If true, Temporal Cloud will include cross-origin credentials in requests to the codec server.
PassAccessToken This property is required. bool
If true, Temporal Cloud will pass the access token to the codec server upon each request.
Endpoint This property is required. string
The endpoint of the codec server.
IncludeCrossOriginCredentials This property is required. bool
If true, Temporal Cloud will include cross-origin credentials in requests to the codec server.
PassAccessToken This property is required. bool
If true, Temporal Cloud will pass the access token to the codec server upon each request.
endpoint This property is required. String
The endpoint of the codec server.
includeCrossOriginCredentials This property is required. Boolean
If true, Temporal Cloud will include cross-origin credentials in requests to the codec server.
passAccessToken This property is required. Boolean
If true, Temporal Cloud will pass the access token to the codec server upon each request.
endpoint This property is required. string
The endpoint of the codec server.
includeCrossOriginCredentials This property is required. boolean
If true, Temporal Cloud will include cross-origin credentials in requests to the codec server.
passAccessToken This property is required. boolean
If true, Temporal Cloud will pass the access token to the codec server upon each request.
endpoint This property is required. str
The endpoint of the codec server.
include_cross_origin_credentials This property is required. bool
If true, Temporal Cloud will include cross-origin credentials in requests to the codec server.
pass_access_token This property is required. bool
If true, Temporal Cloud will pass the access token to the codec server upon each request.
endpoint This property is required. String
The endpoint of the codec server.
includeCrossOriginCredentials This property is required. Boolean
If true, Temporal Cloud will include cross-origin credentials in requests to the codec server.
passAccessToken This property is required. Boolean
If true, Temporal Cloud will pass the access token to the codec server upon each request.

GetNamespacesNamespaceEndpoints

GrpcAddress This property is required. string
The gRPC hostport address that the temporal workers, clients and tctl connect to.
WebAddress This property is required. string
The web UI address.
GrpcAddress This property is required. string
The gRPC hostport address that the temporal workers, clients and tctl connect to.
WebAddress This property is required. string
The web UI address.
grpcAddress This property is required. String
The gRPC hostport address that the temporal workers, clients and tctl connect to.
webAddress This property is required. String
The web UI address.
grpcAddress This property is required. string
The gRPC hostport address that the temporal workers, clients and tctl connect to.
webAddress This property is required. string
The web UI address.
grpc_address This property is required. str
The gRPC hostport address that the temporal workers, clients and tctl connect to.
web_address This property is required. str
The web UI address.
grpcAddress This property is required. String
The gRPC hostport address that the temporal workers, clients and tctl connect to.
webAddress This property is required. String
The web UI address.

GetNamespacesNamespaceLimits

ActionsPerSecondLimit This property is required. double
The number of actions per second (APS) that is currently allowed for the namespace. The namespace may be throttled if its APS exceeds the limit.
ActionsPerSecondLimit This property is required. float64
The number of actions per second (APS) that is currently allowed for the namespace. The namespace may be throttled if its APS exceeds the limit.
actionsPerSecondLimit This property is required. Double
The number of actions per second (APS) that is currently allowed for the namespace. The namespace may be throttled if its APS exceeds the limit.
actionsPerSecondLimit This property is required. number
The number of actions per second (APS) that is currently allowed for the namespace. The namespace may be throttled if its APS exceeds the limit.
actions_per_second_limit This property is required. float
The number of actions per second (APS) that is currently allowed for the namespace. The namespace may be throttled if its APS exceeds the limit.
actionsPerSecondLimit This property is required. Number
The number of actions per second (APS) that is currently allowed for the namespace. The namespace may be throttled if its APS exceeds the limit.

GetNamespacesNamespacePrivateConnectivity

AwsPrivateLinkInfo This property is required. GetNamespacesNamespacePrivateConnectivityAwsPrivateLinkInfo
The AWS PrivateLink info. This will only be set for namespaces whose cloud provider is AWS.
Region This property is required. string
The id of the region where the private connectivity applies.
AwsPrivateLinkInfo This property is required. GetNamespacesNamespacePrivateConnectivityAwsPrivateLinkInfo
The AWS PrivateLink info. This will only be set for namespaces whose cloud provider is AWS.
Region This property is required. string
The id of the region where the private connectivity applies.
awsPrivateLinkInfo This property is required. GetNamespacesNamespacePrivateConnectivityAwsPrivateLinkInfo
The AWS PrivateLink info. This will only be set for namespaces whose cloud provider is AWS.
region This property is required. String
The id of the region where the private connectivity applies.
awsPrivateLinkInfo This property is required. GetNamespacesNamespacePrivateConnectivityAwsPrivateLinkInfo
The AWS PrivateLink info. This will only be set for namespaces whose cloud provider is AWS.
region This property is required. string
The id of the region where the private connectivity applies.
aws_private_link_info This property is required. GetNamespacesNamespacePrivateConnectivityAwsPrivateLinkInfo
The AWS PrivateLink info. This will only be set for namespaces whose cloud provider is AWS.
region This property is required. str
The id of the region where the private connectivity applies.
awsPrivateLinkInfo This property is required. Property Map
The AWS PrivateLink info. This will only be set for namespaces whose cloud provider is AWS.
region This property is required. String
The id of the region where the private connectivity applies.

GetNamespacesNamespacePrivateConnectivityAwsPrivateLinkInfo

AllowedPrincipalArns This property is required. List<string>
The list of principal arns that are allowed to access the namespace on the private link.
VpcEndpointServiceNames This property is required. List<string>
The list of vpc endpoint service names that are associated with the namespace.
AllowedPrincipalArns This property is required. []string
The list of principal arns that are allowed to access the namespace on the private link.
VpcEndpointServiceNames This property is required. []string
The list of vpc endpoint service names that are associated with the namespace.
allowedPrincipalArns This property is required. List<String>
The list of principal arns that are allowed to access the namespace on the private link.
vpcEndpointServiceNames This property is required. List<String>
The list of vpc endpoint service names that are associated with the namespace.
allowedPrincipalArns This property is required. string[]
The list of principal arns that are allowed to access the namespace on the private link.
vpcEndpointServiceNames This property is required. string[]
The list of vpc endpoint service names that are associated with the namespace.
allowed_principal_arns This property is required. Sequence[str]
The list of principal arns that are allowed to access the namespace on the private link.
vpc_endpoint_service_names This property is required. Sequence[str]
The list of vpc endpoint service names that are associated with the namespace.
allowedPrincipalArns This property is required. List<String>
The list of principal arns that are allowed to access the namespace on the private link.
vpcEndpointServiceNames This property is required. List<String>
The list of vpc endpoint service names that are associated with the namespace.

Package Details

Repository
temporalcloud temporalio/terraform-provider-temporalcloud
License
Notes
This Pulumi package is based on the temporalcloud Terraform Provider.