Temporal · Arazzo Workflow
Temporal Provision a Namespace and Wait Until Ready
Version 1.0.0
Create a Temporal Cloud Namespace and poll its async operation until it finishes.
Provider
Workflows
provision-namespace
Create a Namespace and wait for its provisioning async operation to finish.
Mirrors the "start an execution then poll until completed" pattern using the Temporal Cloud control plane: createNamespace returns an asyncOperationId, which getAsyncOperation is polled against until its state is no longer pending, then getNamespace returns the final resource.
1
createNamespace
createNamespace
Create the Namespace from the supplied spec. The control plane returns the provisioned namespace identifier and an asyncOperationId to track progress.
2
pollOperation
getAsyncOperation
Poll the async operation status. The AsyncOperation.state field is checked; anything other than the in-flight pending value is treated as terminal.
3
getNamespace
getNamespace
Read the provisioned Namespace to return its current state and resource version once the async operation is no longer pending.