runner.azure-managed-environment-create ​
Create an Azure Container Apps managed environment
Create one Azure Container Apps managed environment and persist workflow state for polling.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | App-runners-azure |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
cloud_connection_uuid | uuid | Yes | — | CloudConnection.uuid of the Azure connection to use |
resource_group | string | Yes | — | Azure resource group that will host the managed environment |
environment_name | string | Yes | — | Name of the Container Apps managed environment to create |
region | string | Yes | — | Azure region (location) for the managed environment |
organization_uuid | uuid | No | — | Organization that owns the connection (verified when supplied) |
subscription_ref | string | No | — | Azure subscription reference; falls back to the connection's account info when omitted |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | string | No | — | — |
cloud_connection_uuid | string | No | — | — |
subscription_ref | string | No | — | — |
resource_group | string | No | — | — |
environment_name | string | No | — | — |
environment_ref | string | No | — | — |
location | string | No | — | — |
provisioning_state | string | No | — | — |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_at_state | string | No | — | — |
failed_step | string | No | — | — |
failed_layer | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
initiated | Yes | No | — | create_environment | — |
creating | No | No | — | complete | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
initiated | create_environment | creating | — |
creating | complete | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "runner.azure-managed-environment-create",
"initial_data": {
"cloud_connection_uuid": "value",
"resource_group": "value",
"environment_name": "value",
"region": "value"
}
}