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 Ca This property is required. string - The Base64-encoded CA cert in PEM format that clients use when authenticating with Temporal Cloud.
- Active
Region This property is required. string - The currently active region for the namespace.
- Certificate
Filters This property is required. 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 This property is required. 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 This property is required. string - The date and time when the namespace was created.
- Custom
Search Attributes This property is required. Dictionary<string, string> - The custom search attributes to use for the namespace.
- Endpoints
This property is required. GetNamespaces Namespace Endpoints - The endpoints for the namespace.
- Id
This property is required. string - The unique identifier of the namespace across all Temporal Cloud tenants.
- Last
Modified Time 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. GetNamespaces Namespace Limits - The limits set on the namespace currently.
- Name
This property is required. string - The name of the namespace.
- Private
Connectivities This property is required. List<GetNamespaces Namespace Private Connectivity> - The private connectivities for the namespace, if any.
- Regions
This property is required. List<string> - Retention
Days 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.
- 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 Ca This property is required. string - The Base64-encoded CA cert in PEM format that clients use when authenticating with Temporal Cloud.
- Active
Region This property is required. string - The currently active region for the namespace.
- Certificate
Filters This property is required. []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 This property is required. 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 This property is required. string - The date and time when the namespace was created.
- Custom
Search Attributes This property is required. map[string]string - The custom search attributes to use for the namespace.
- Endpoints
This property is required. GetNamespaces Namespace Endpoints - The endpoints for the namespace.
- Id
This property is required. string - The unique identifier of the namespace across all Temporal Cloud tenants.
- Last
Modified Time 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. GetNamespaces Namespace Limits - The limits set on the namespace currently.
- Name
This property is required. string - The name of the namespace.
- Private
Connectivities This property is required. []GetNamespaces Namespace Private Connectivity - The private connectivities for the namespace, if any.
- Regions
This property is required. []string - Retention
Days 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.
- 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 Ca This property is required. String - The Base64-encoded CA cert in PEM format that clients use when authenticating with Temporal Cloud.
- active
Region This property is required. String - The currently active region for the namespace.
- certificate
Filters This property is required. 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 This property is required. 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 This property is required. String - The date and time when the namespace was created.
- custom
Search Attributes This property is required. Map<String,String> - The custom search attributes to use for the namespace.
- endpoints
This property is required. GetNamespaces Namespace Endpoints - The endpoints for the namespace.
- id
This property is required. String - The unique identifier of the namespace across all Temporal Cloud tenants.
- last
Modified Time 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. GetNamespaces Namespace Limits - The limits set on the namespace currently.
- name
This property is required. String - The name of the namespace.
- private
Connectivities This property is required. List<GetNamespaces Namespace Private Connectivity> - The private connectivities for the namespace, if any.
- regions
This property is required. List<String> - retention
Days 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.
- 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 Ca This property is required. string - The Base64-encoded CA cert in PEM format that clients use when authenticating with Temporal Cloud.
- active
Region This property is required. string - The currently active region for the namespace.
- certificate
Filters This property is required. 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 This property is required. 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 This property is required. string - The date and time when the namespace was created.
- custom
Search Attributes This property is required. {[key: string]: string} - The custom search attributes to use for the namespace.
- endpoints
This property is required. GetNamespaces Namespace Endpoints - The endpoints for the namespace.
- id
This property is required. string - The unique identifier of the namespace across all Temporal Cloud tenants.
- last
Modified Time 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. GetNamespaces Namespace Limits - The limits set on the namespace currently.
- name
This property is required. string - The name of the namespace.
- private
Connectivities This property is required. GetNamespaces Namespace Private Connectivity[] - The private connectivities for the namespace, if any.
- regions
This property is required. string[] - retention
Days 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.
- 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_ 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[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 This property is required. 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 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. GetNamespaces Namespace Endpoints - 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. GetNamespaces Namespace Limits - 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[GetNamespaces Namespace Private Connectivity] - 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_ boolauth - 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. String - The Base64-encoded CA cert in PEM format that clients use when authenticating with Temporal Cloud.
- active
Region This property is required. String - The currently active region for the namespace.
- certificate
Filters 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.
- codec
Server 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.
- created
Time This property is required. String - The date and time when the namespace was created.
- custom
Search Attributes 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.
- last
Modified Time 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.
- private
Connectivities This property is required. List<Property Map> - The private connectivities for the namespace, if any.
- regions
This property is required. List<String> - retention
Days 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.
- 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 This property is required. string - The certificate's common name.
- Organization
This property is required. string - The certificate's organization.
- Organizational
Unit This property is required. string - The certificate's organizational unit.
- Subject
Alternative Name This property is required. string - The certificate's subject alternative name (or SAN).
- Common
Name This property is required. string - The certificate's common name.
- Organization
This property is required. string - The certificate's organization.
- Organizational
Unit This property is required. string - The certificate's organizational unit.
- Subject
Alternative Name This property is required. string - The certificate's subject alternative name (or SAN).
- common
Name This property is required. String - The certificate's common name.
- organization
This property is required. String - The certificate's organization.
- organizational
Unit This property is required. String - The certificate's organizational unit.
- subject
Alternative Name This property is required. String - The certificate's subject alternative name (or SAN).
- common
Name This property is required. string - The certificate's common name.
- organization
This property is required. string - The certificate's organization.
- organizational
Unit This property is required. string - The certificate's organizational unit.
- subject
Alternative Name 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).
- common
Name This property is required. String - The certificate's common name.
- organization
This property is required. String - The certificate's organization.
- organizational
Unit This property is required. String - The certificate's organizational unit.
- subject
Alternative Name 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.
- 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.
- 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.
- include
Cross Origin Credentials This property is required. Boolean - If true, Temporal Cloud will include cross-origin credentials in requests to the codec server.
- pass
Access Token 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.
- include
Cross Origin Credentials This property is required. boolean - If true, Temporal Cloud will include cross-origin credentials in requests to the codec server.
- pass
Access Token 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.
- include
Cross Origin Credentials This property is required. Boolean - If true, Temporal Cloud will include cross-origin credentials in requests to the codec server.
- pass
Access Token This property is required. Boolean - If true, Temporal Cloud will pass the access token to the codec server upon each request.
GetNamespacesNamespaceEndpoints
- Grpc
Address This property is required. string - The gRPC hostport address that the temporal workers, clients and tctl connect to.
- Web
Address This property is required. string - The web UI address.
- Grpc
Address This property is required. string - The gRPC hostport address that the temporal workers, clients and tctl connect to.
- Web
Address This property is required. string - The web UI address.
- grpc
Address This property is required. String - The gRPC hostport address that the temporal workers, clients and tctl connect to.
- web
Address This property is required. String - The web UI address.
- grpc
Address This property is required. string - The gRPC hostport address that the temporal workers, clients and tctl connect to.
- web
Address 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.
- grpc
Address This property is required. String - The gRPC hostport address that the temporal workers, clients and tctl connect to.
- web
Address This property is required. String - The web UI address.
GetNamespacesNamespaceLimits
- Actions
Per Second Limit 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.
- Actions
Per Second Limit 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.
- actions
Per Second Limit 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.
- actions
Per Second Limit 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.
- actions
Per Second Limit 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
- Aws
Private Link Info This property is required. GetNamespaces Namespace Private Connectivity Aws Private Link Info - 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. GetNamespaces Namespace Private Connectivity Aws Private Link Info - 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. GetNamespaces Namespace Private Connectivity Aws Private Link Info - 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. GetNamespaces Namespace Private Connectivity Aws Private Link Info - 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. GetNamespaces Namespace Private Connectivity Aws Private Link Info - 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.
- aws
Private Link Info 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
- Allowed
Principal Arns This property is required. List<string> - The list of principal arns that are allowed to access the namespace on the private link.
- Vpc
Endpoint Service Names This property is required. List<string> - The list of vpc endpoint service names that are associated with the namespace.
- Allowed
Principal Arns This property is required. []string - The list of principal arns that are allowed to access the namespace on the private link.
- Vpc
Endpoint Service Names 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. List<String> - The list of principal arns that are allowed to access the namespace on the private link.
- vpc
Endpoint Service Names This property is required. List<String> - The list of vpc endpoint service names that are associated with the namespace.
- allowed
Principal Arns This property is required. string[] - The list of principal arns that are allowed to access the namespace on the private link.
- vpc
Endpoint Service Names 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.
- allowed
Principal Arns This property is required. List<String> - The list of principal arns that are allowed to access the namespace on the private link.
- vpc
Endpoint Service Names 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.
temporalcloud 0.7.0 published on Friday, Apr 4, 2025 by temporalio