temporalcloud 0.6.1 published on Friday, Mar 7, 2025 by temporalio
temporalcloud.getNamespaces
Explore with Pulumi AI
temporalcloud 0.6.1 published on Friday, Mar 7, 2025 by temporalio
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);
import pulumi
import pulumi_temporalcloud as temporalcloud
my_namespaces = temporalcloud.get_namespaces()
pulumi.export("namespaces", my_namespaces.namespaces)
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
	})
}
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),
    };
});
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()));
    }
}
variables:
  myNamespaces:
    fn::invoke:
      function: temporalcloud:getNamespaces
      arguments: {}
outputs:
  namespaces: ${myNamespaces.namespaces}
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>def get_namespaces(opts: Optional[InvokeOptions] = None) -> GetNamespacesResult
def get_namespaces_output(opts: Optional[InvokeOptions] = None) -> Output[GetNamespacesResult]func GetNamespaces(ctx *Context, opts ...InvokeOption) (*GetNamespacesResult, error)
func GetNamespacesOutput(ctx *Context, opts ...InvokeOption) GetNamespacesResultOutput> 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)
}public static CompletableFuture<GetNamespacesResult> getNamespaces(InvokeOptions options)
public static Output<GetNamespacesResult> getNamespaces(InvokeOptions options)
fn::invoke:
  function: temporalcloud:index/getNamespaces:getNamespaces
  arguments:
    # arguments dictionarygetNamespaces Result
The following output properties are available:
- Id string
- The ID of this resource.
- Namespaces
List<GetNamespaces Namespace> 
- Id string
- The ID of this resource.
- Namespaces
[]GetNamespaces Namespace 
- id String
- The ID of this resource.
- namespaces
List<GetNamespaces Namespace> 
- id string
- The ID of this resource.
- namespaces
GetNamespaces Namespace[] 
- id str
- The ID of this resource.
- namespaces
Sequence[GetNamespaces Namespace] 
- id String
- The ID of this resource.
- namespaces List<Property Map>
Supporting Types
GetNamespacesNamespace  
- AcceptedClient stringCa 
- The Base64-encoded CA cert in PEM format that clients use when authenticating with Temporal Cloud.
- ActiveRegion string
- The currently active region for the namespace.
- CertificateFilters List<GetNamespaces Namespace Certificate Filter> 
- 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 GetNamespaces Namespace Codec Server 
- 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 string
- The date and time when the namespace was created.
- CustomSearch Dictionary<string, string>Attributes 
- The custom search attributes to use for the namespace.
- Endpoints
GetNamespaces Namespace Endpoints 
- The endpoints for the namespace.
- Id string
- The unique identifier of the namespace across all Temporal Cloud tenants.
- LastModified stringTime 
- The date and time when the namespace was last modified. Will not be set if the namespace has never been modified.
- Limits
GetNamespaces Namespace Limits 
- The limits set on the namespace currently.
- Name string
- The name of the namespace.
- PrivateConnectivities List<GetNamespaces Namespace Private Connectivity> 
- The private connectivities for the namespace, if any.
- Regions List<string>
- RetentionDays double
- The number of days to retain workflow history. Any changes to the retention period will be applied to all new running workflows.
- State string
- The current state of the namespace.
- ApiKey boolAuth 
- If true, Temporal Cloud will use API key authentication for this namespace. If false, mutual TLS (mTLS) authentication will be used.
- AcceptedClient stringCa 
- The Base64-encoded CA cert in PEM format that clients use when authenticating with Temporal Cloud.
- ActiveRegion string
- The currently active region for the namespace.
- CertificateFilters []GetNamespaces Namespace Certificate Filter 
- 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 GetNamespaces Namespace Codec Server 
- 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 string
- The date and time when the namespace was created.
- CustomSearch map[string]stringAttributes 
- The custom search attributes to use for the namespace.
- Endpoints
GetNamespaces Namespace Endpoints 
- The endpoints for the namespace.
- Id string
- The unique identifier of the namespace across all Temporal Cloud tenants.
- LastModified stringTime 
- The date and time when the namespace was last modified. Will not be set if the namespace has never been modified.
- Limits
GetNamespaces Namespace Limits 
- The limits set on the namespace currently.
- Name string
- The name of the namespace.
- PrivateConnectivities []GetNamespaces Namespace Private Connectivity 
- The private connectivities for the namespace, if any.
- Regions []string
- RetentionDays float64
- The number of days to retain workflow history. Any changes to the retention period will be applied to all new running workflows.
- State string
- The current state of the namespace.
- ApiKey boolAuth 
- If true, Temporal Cloud will use API key authentication for this namespace. If false, mutual TLS (mTLS) authentication will be used.
- acceptedClient StringCa 
- The Base64-encoded CA cert in PEM format that clients use when authenticating with Temporal Cloud.
- activeRegion String
- The currently active region for the namespace.
- certificateFilters List<GetNamespaces Namespace Certificate Filter> 
- 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 GetNamespaces Namespace Codec Server 
- 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 String
- The date and time when the namespace was created.
- customSearch Map<String,String>Attributes 
- The custom search attributes to use for the namespace.
- endpoints
GetNamespaces Namespace Endpoints 
- The endpoints for the namespace.
- id String
- The unique identifier of the namespace across all Temporal Cloud tenants.
- lastModified StringTime 
- The date and time when the namespace was last modified. Will not be set if the namespace has never been modified.
- limits
GetNamespaces Namespace Limits 
- The limits set on the namespace currently.
- name String
- The name of the namespace.
- privateConnectivities List<GetNamespaces Namespace Private Connectivity> 
- The private connectivities for the namespace, if any.
- regions List<String>
- retentionDays Double
- The number of days to retain workflow history. Any changes to the retention period will be applied to all new running workflows.
- state String
- The current state of the namespace.
- apiKey BooleanAuth 
- If true, Temporal Cloud will use API key authentication for this namespace. If false, mutual TLS (mTLS) authentication will be used.
- acceptedClient stringCa 
- The Base64-encoded CA cert in PEM format that clients use when authenticating with Temporal Cloud.
- activeRegion string
- The currently active region for the namespace.
- certificateFilters GetNamespaces Namespace Certificate Filter[] 
- 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 GetNamespaces Namespace Codec Server 
- 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 string
- The date and time when the namespace was created.
- customSearch {[key: string]: string}Attributes 
- The custom search attributes to use for the namespace.
- endpoints
GetNamespaces Namespace Endpoints 
- The endpoints for the namespace.
- id string
- The unique identifier of the namespace across all Temporal Cloud tenants.
- lastModified stringTime 
- The date and time when the namespace was last modified. Will not be set if the namespace has never been modified.
- limits
GetNamespaces Namespace Limits 
- The limits set on the namespace currently.
- name string
- The name of the namespace.
- privateConnectivities GetNamespaces Namespace Private Connectivity[] 
- The private connectivities for the namespace, if any.
- regions string[]
- retentionDays number
- The number of days to retain workflow history. Any changes to the retention period will be applied to all new running workflows.
- state string
- The current state of the namespace.
- apiKey booleanAuth 
- If true, Temporal Cloud will use API key authentication for this namespace. If false, mutual TLS (mTLS) authentication will be used.
- accepted_client_ strca 
- The Base64-encoded CA cert in PEM format that clients use when authenticating with Temporal Cloud.
- active_region str
- The currently active region for the namespace.
- certificate_filters Sequence[GetNamespaces Namespace Certificate Filter] 
- 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 GetNamespaces Namespace Codec Server 
- 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 str
- The date and time when the namespace was created.
- custom_search_ Mapping[str, str]attributes 
- The custom search attributes to use for the namespace.
- endpoints
GetNamespaces Namespace Endpoints 
- The endpoints for the namespace.
- id str
- The unique identifier of the namespace across all Temporal Cloud tenants.
- last_modified_ strtime 
- The date and time when the namespace was last modified. Will not be set if the namespace has never been modified.
- limits
GetNamespaces Namespace Limits 
- The limits set on the namespace currently.
- name str
- The name of the namespace.
- private_connectivities Sequence[GetNamespaces Namespace Private Connectivity] 
- The private connectivities for the namespace, if any.
- regions Sequence[str]
- retention_days float
- The number of days to retain workflow history. Any changes to the retention period will be applied to all new running workflows.
- state str
- The current state of the namespace.
- api_key_ boolauth 
- If true, Temporal Cloud will use API key authentication for this namespace. If false, mutual TLS (mTLS) authentication will be used.
- acceptedClient StringCa 
- The Base64-encoded CA cert in PEM format that clients use when authenticating with Temporal Cloud.
- activeRegion String
- The currently active region for the namespace.
- certificateFilters 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 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 String
- The date and time when the namespace was created.
- customSearch Map<String>Attributes 
- The custom search attributes to use for the namespace.
- endpoints Property Map
- The endpoints for the namespace.
- id String
- The unique identifier of the namespace across all Temporal Cloud tenants.
- lastModified StringTime 
- The date and time when the namespace was last modified. Will not be set if the namespace has never been modified.
- limits Property Map
- The limits set on the namespace currently.
- name String
- The name of the namespace.
- privateConnectivities List<Property Map>
- The private connectivities for the namespace, if any.
- regions List<String>
- retentionDays Number
- The number of days to retain workflow history. Any changes to the retention period will be applied to all new running workflows.
- state String
- The current state of the namespace.
- apiKey BooleanAuth 
- If true, Temporal Cloud will use API key authentication for this namespace. If false, mutual TLS (mTLS) authentication will be used.
GetNamespacesNamespaceCertificateFilter    
- CommonName string
- The certificate's common name.
- Organization string
- The certificate's organization.
- OrganizationalUnit string
- The certificate's organizational unit.
- SubjectAlternative stringName 
- The certificate's subject alternative name (or SAN).
- CommonName string
- The certificate's common name.
- Organization string
- The certificate's organization.
- OrganizationalUnit string
- The certificate's organizational unit.
- SubjectAlternative stringName 
- The certificate's subject alternative name (or SAN).
- commonName String
- The certificate's common name.
- organization String
- The certificate's organization.
- organizationalUnit String
- The certificate's organizational unit.
- subjectAlternative StringName 
- The certificate's subject alternative name (or SAN).
- commonName string
- The certificate's common name.
- organization string
- The certificate's organization.
- organizationalUnit string
- The certificate's organizational unit.
- subjectAlternative stringName 
- The certificate's subject alternative name (or SAN).
- common_name str
- The certificate's common name.
- organization str
- The certificate's organization.
- organizational_unit str
- The certificate's organizational unit.
- subject_alternative_ strname 
- The certificate's subject alternative name (or SAN).
- commonName String
- The certificate's common name.
- organization String
- The certificate's organization.
- organizationalUnit String
- The certificate's organizational unit.
- subjectAlternative StringName 
- The certificate's subject alternative name (or SAN).
GetNamespacesNamespaceCodecServer    
- Endpoint string
- The endpoint of the codec server.
- IncludeCross boolOrigin Credentials 
- If true, Temporal Cloud will include cross-origin credentials in requests to the codec server.
- PassAccess boolToken 
- If true, Temporal Cloud will pass the access token to the codec server upon each request.
- Endpoint string
- The endpoint of the codec server.
- IncludeCross boolOrigin Credentials 
- If true, Temporal Cloud will include cross-origin credentials in requests to the codec server.
- PassAccess boolToken 
- If true, Temporal Cloud will pass the access token to the codec server upon each request.
- endpoint String
- The endpoint of the codec server.
- includeCross BooleanOrigin Credentials 
- If true, Temporal Cloud will include cross-origin credentials in requests to the codec server.
- passAccess BooleanToken 
- If true, Temporal Cloud will pass the access token to the codec server upon each request.
- endpoint string
- The endpoint of the codec server.
- includeCross booleanOrigin Credentials 
- If true, Temporal Cloud will include cross-origin credentials in requests to the codec server.
- passAccess booleanToken 
- If true, Temporal Cloud will pass the access token to the codec server upon each request.
- endpoint str
- The endpoint of the codec server.
- include_cross_ boolorigin_ credentials 
- If true, Temporal Cloud will include cross-origin credentials in requests to the codec server.
- pass_access_ booltoken 
- If true, Temporal Cloud will pass the access token to the codec server upon each request.
- endpoint String
- The endpoint of the codec server.
- includeCross BooleanOrigin Credentials 
- If true, Temporal Cloud will include cross-origin credentials in requests to the codec server.
- passAccess BooleanToken 
- If true, Temporal Cloud will pass the access token to the codec server upon each request.
GetNamespacesNamespaceEndpoints   
- GrpcAddress string
- The gRPC hostport address that the temporal workers, clients and tctl connect to.
- WebAddress string
- The web UI address.
- GrpcAddress string
- The gRPC hostport address that the temporal workers, clients and tctl connect to.
- WebAddress string
- The web UI address.
- grpcAddress String
- The gRPC hostport address that the temporal workers, clients and tctl connect to.
- webAddress String
- The web UI address.
- grpcAddress string
- The gRPC hostport address that the temporal workers, clients and tctl connect to.
- webAddress string
- The web UI address.
- grpc_address str
- The gRPC hostport address that the temporal workers, clients and tctl connect to.
- web_address str
- The web UI address.
- grpcAddress String
- The gRPC hostport address that the temporal workers, clients and tctl connect to.
- webAddress String
- The web UI address.
GetNamespacesNamespaceLimits   
- ActionsPer doubleSecond Limit 
- 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.
- ActionsPer float64Second Limit 
- 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.
- actionsPer DoubleSecond Limit 
- 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.
- actionsPer numberSecond Limit 
- 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_ floatsecond_ limit 
- 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.
- actionsPer NumberSecond Limit 
- 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    
- AwsPrivate GetLink Info Namespaces Namespace Private Connectivity Aws Private Link Info 
- The AWS PrivateLink info. This will only be set for namespaces whose cloud provider is AWS.
- Region string
- The id of the region where the private connectivity applies.
- AwsPrivate GetLink Info Namespaces Namespace Private Connectivity Aws Private Link Info 
- The AWS PrivateLink info. This will only be set for namespaces whose cloud provider is AWS.
- Region string
- The id of the region where the private connectivity applies.
- awsPrivate GetLink Info Namespaces Namespace Private Connectivity Aws Private Link Info 
- The AWS PrivateLink info. This will only be set for namespaces whose cloud provider is AWS.
- region String
- The id of the region where the private connectivity applies.
- awsPrivate GetLink Info Namespaces Namespace Private Connectivity Aws Private Link Info 
- The AWS PrivateLink info. This will only be set for namespaces whose cloud provider is AWS.
- region string
- The id of the region where the private connectivity applies.
- aws_private_ Getlink_ info Namespaces Namespace Private Connectivity Aws Private Link Info 
- The AWS PrivateLink info. This will only be set for namespaces whose cloud provider is AWS.
- region str
- The id of the region where the private connectivity applies.
- awsPrivate Property MapLink Info 
- The AWS PrivateLink info. This will only be set for namespaces whose cloud provider is AWS.
- region String
- The id of the region where the private connectivity applies.
GetNamespacesNamespacePrivateConnectivityAwsPrivateLinkInfo        
- AllowedPrincipal List<string>Arns 
- The list of principal arns that are allowed to access the namespace on the private link.
- VpcEndpoint List<string>Service Names 
- The list of vpc endpoint service names that are associated with the namespace.
- AllowedPrincipal []stringArns 
- The list of principal arns that are allowed to access the namespace on the private link.
- VpcEndpoint []stringService Names 
- The list of vpc endpoint service names that are associated with the namespace.
- allowedPrincipal List<String>Arns 
- The list of principal arns that are allowed to access the namespace on the private link.
- vpcEndpoint List<String>Service Names 
- The list of vpc endpoint service names that are associated with the namespace.
- allowedPrincipal string[]Arns 
- The list of principal arns that are allowed to access the namespace on the private link.
- vpcEndpoint string[]Service Names 
- The list of vpc endpoint service names that are associated with the namespace.
- allowed_principal_ Sequence[str]arns 
- The list of principal arns that are allowed to access the namespace on the private link.
- vpc_endpoint_ Sequence[str]service_ names 
- The list of vpc endpoint service names that are associated with the namespace.
- allowedPrincipal List<String>Arns 
- The list of principal arns that are allowed to access the namespace on the private link.
- vpcEndpoint List<String>Service Names 
- 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 temporalcloudTerraform Provider.
temporalcloud 0.6.1 published on Friday, Mar 7, 2025 by temporalio