temporalcloud 0.7.0 published on Friday, Apr 4, 2025 by temporalio
temporalcloud.getNamespaces
Explore with Pulumi AI
temporalcloud 0.7.0 published on Friday, Apr 4, 2025 by temporalio
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);
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 dictionary
getNamespaces Result
The following output properties are available:
- Id string
- The ID of this resource.
- Namespaces
List<Get
Namespaces Namespace>
- Id string
- The ID of this resource.
- Namespaces
[]Get
Namespaces Namespace
- id String
- The ID of this resource.
- namespaces
List<Get
Namespaces Namespace>
- id string
- The ID of this resource.
- namespaces
Get
Namespaces Namespace[]
- id str
- The ID of this resource.
- namespaces
Sequence[Get
Namespaces Namespace]
- id String
- The ID of this resource.
- namespaces List<Property Map>
Supporting Types
GetNamespacesNamespace
- Accepted
Client stringCa - The Base64-encoded CA cert in PEM format that clients use when authenticating with Temporal Cloud.
- Active
Region string - The currently active region for the namespace.
- Certificate
Filters 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.
- 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 string - The date and time when the namespace was created.
- Custom
Search Dictionary<string, string>Attributes - The custom search attributes to use for the namespace.
- Endpoints
Get
Namespaces Namespace Endpoints - The endpoints for the namespace.
- Id string
- The unique identifier of the namespace across all Temporal Cloud tenants.
- Last
Modified stringTime - The date and time when the namespace was last modified. Will not be set if the namespace has never been modified.
- Limits
Get
Namespaces Namespace Limits - The limits set on the namespace currently.
- Name string
- The name of the namespace.
- Private
Connectivities List<GetNamespaces Namespace Private Connectivity> - The private connectivities for the namespace, if any.
- Regions List<string>
- Retention
Days 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.
- Api
Key boolAuth - If true, Temporal Cloud will use API key authentication for this namespace. If false, mutual TLS (mTLS) authentication will be used.
- Accepted
Client stringCa - The Base64-encoded CA cert in PEM format that clients use when authenticating with Temporal Cloud.
- Active
Region string - The currently active region for the namespace.
- Certificate
Filters []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 string - The date and time when the namespace was created.
- Custom
Search map[string]stringAttributes - The custom search attributes to use for the namespace.
- Endpoints
Get
Namespaces Namespace Endpoints - The endpoints for the namespace.
- Id string
- The unique identifier of the namespace across all Temporal Cloud tenants.
- Last
Modified stringTime - The date and time when the namespace was last modified. Will not be set if the namespace has never been modified.
- Limits
Get
Namespaces Namespace Limits - The limits set on the namespace currently.
- Name string
- The name of the namespace.
- Private
Connectivities []GetNamespaces Namespace Private Connectivity - The private connectivities for the namespace, if any.
- Regions []string
- Retention
Days 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.
- Api
Key boolAuth - If true, Temporal Cloud will use API key authentication for this namespace. If false, mutual TLS (mTLS) authentication will be used.
- accepted
Client StringCa - The Base64-encoded CA cert in PEM format that clients use when authenticating with Temporal Cloud.
- active
Region String - The currently active region for the namespace.
- certificate
Filters 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.
- 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 String - The date and time when the namespace was created.
- custom
Search Map<String,String>Attributes - The custom search attributes to use for the namespace.
- endpoints
Get
Namespaces Namespace Endpoints - The endpoints for the namespace.
- id String
- The unique identifier of the namespace across all Temporal Cloud tenants.
- last
Modified StringTime - The date and time when the namespace was last modified. Will not be set if the namespace has never been modified.
- limits
Get
Namespaces Namespace Limits - The limits set on the namespace currently.
- name String
- The name of the namespace.
- private
Connectivities List<GetNamespaces Namespace Private Connectivity> - The private connectivities for the namespace, if any.
- regions List<String>
- retention
Days 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.
- api
Key BooleanAuth - If true, Temporal Cloud will use API key authentication for this namespace. If false, mutual TLS (mTLS) authentication will be used.
- accepted
Client stringCa - The Base64-encoded CA cert in PEM format that clients use when authenticating with Temporal Cloud.
- active
Region string - The currently active region for the namespace.
- certificate
Filters 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 string - The date and time when the namespace was created.
- custom
Search {[key: string]: string}Attributes - The custom search attributes to use for the namespace.
- endpoints
Get
Namespaces Namespace Endpoints - The endpoints for the namespace.
- id string
- The unique identifier of the namespace across all Temporal Cloud tenants.
- last
Modified stringTime - The date and time when the namespace was last modified. Will not be set if the namespace has never been modified.
- limits
Get
Namespaces Namespace Limits - The limits set on the namespace currently.
- name string
- The name of the namespace.
- private
Connectivities GetNamespaces Namespace Private Connectivity[] - The private connectivities for the namespace, if any.
- regions string[]
- retention
Days 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.
- api
Key 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
Get
Namespaces 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
Get
Namespaces 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.
- accepted
Client StringCa - The Base64-encoded CA cert in PEM format that clients use when authenticating with Temporal Cloud.
- active
Region String - The currently active region for the namespace.
- certificate
Filters 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.
- codec
Server 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.
- created
Time String - The date and time when the namespace was created.
- custom
Search 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.
- last
Modified 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.
- private
Connectivities List<Property Map> - The private connectivities for the namespace, if any.
- regions List<String>
- retention
Days 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.
- api
Key BooleanAuth - If true, Temporal Cloud will use API key authentication for this namespace. If false, mutual TLS (mTLS) authentication will be used.
GetNamespacesNamespaceCertificateFilter
- Common
Name string - The certificate's common name.
- Organization string
- The certificate's organization.
- Organizational
Unit string - The certificate's organizational unit.
- Subject
Alternative stringName - The certificate's subject alternative name (or SAN).
- Common
Name string - The certificate's common name.
- Organization string
- The certificate's organization.
- Organizational
Unit string - The certificate's organizational unit.
- Subject
Alternative stringName - The certificate's subject alternative name (or SAN).
- common
Name String - The certificate's common name.
- organization String
- The certificate's organization.
- organizational
Unit String - The certificate's organizational unit.
- subject
Alternative StringName - The certificate's subject alternative name (or SAN).
- common
Name string - The certificate's common name.
- organization string
- The certificate's organization.
- organizational
Unit string - The certificate's organizational unit.
- subject
Alternative 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).
- common
Name String - The certificate's common name.
- organization String
- The certificate's organization.
- organizational
Unit String - The certificate's organizational unit.
- subject
Alternative StringName - The certificate's subject alternative name (or SAN).
GetNamespacesNamespaceCodecServer
- Endpoint string
- 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.
- 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.
- include
Cross BooleanOrigin Credentials - If true, Temporal Cloud will include cross-origin credentials in requests to the codec server.
- pass
Access 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.
- include
Cross booleanOrigin Credentials - If true, Temporal Cloud will include cross-origin credentials in requests to the codec server.
- pass
Access 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.
- include
Cross BooleanOrigin Credentials - If true, Temporal Cloud will include cross-origin credentials in requests to the codec server.
- pass
Access BooleanToken - If true, Temporal Cloud will pass the access token to the codec server upon each request.
GetNamespacesNamespaceEndpoints
- Grpc
Address string - The gRPC hostport address that the temporal workers, clients and tctl connect to.
- Web
Address string - The web UI address.
- Grpc
Address string - The gRPC hostport address that the temporal workers, clients and tctl connect to.
- Web
Address string - The web UI address.
- grpc
Address String - The gRPC hostport address that the temporal workers, clients and tctl connect to.
- web
Address String - The web UI address.
- grpc
Address string - The gRPC hostport address that the temporal workers, clients and tctl connect to.
- web
Address 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.
- grpc
Address String - The gRPC hostport address that the temporal workers, clients and tctl connect to.
- web
Address String - The web UI address.
GetNamespacesNamespaceLimits
- Actions
Per 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.
- Actions
Per 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.
- actions
Per 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.
- actions
Per 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.
- actions
Per 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
- 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 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 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 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 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.
- aws
Private 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
- Allowed
Principal List<string>Arns - The list of principal arns that are allowed to access the namespace on the private link.
- Vpc
Endpoint List<string>Service Names - The list of vpc endpoint service names that are associated with the namespace.
- Allowed
Principal []stringArns - The list of principal arns that are allowed to access the namespace on the private link.
- Vpc
Endpoint []stringService Names - The list of vpc endpoint service names that are associated with the namespace.
- allowed
Principal List<String>Arns - The list of principal arns that are allowed to access the namespace on the private link.
- vpc
Endpoint List<String>Service Names - The list of vpc endpoint service names that are associated with the namespace.
- allowed
Principal string[]Arns - The list of principal arns that are allowed to access the namespace on the private link.
- vpc
Endpoint 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.
- allowed
Principal List<String>Arns - The list of principal arns that are allowed to access the namespace on the private link.
- vpc
Endpoint 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
temporalcloud
Terraform Provider.
temporalcloud 0.7.0 published on Friday, Apr 4, 2025 by temporalio