runner.azure-managed-environment-sync ​
Validate and store an Azure Container Apps managed environment on a runner group
Validate an existing Azure managed environment and store it on the runner group.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | App-runners-azure |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
runner_group_uuid | uuid | Yes | — | RunnerGroup.uuid whose Azure config should be synced |
resource_group | string | Yes | — | Azure resource group hosting the existing managed environment |
environment_name | string | Yes | — | Name of the existing Container Apps 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 | — | UUID of the caller's organization, echoed onto workflow state; injected server-side from the authenticated request. |
runner_group_uuid | string | No | — | UUID of the RunnerGroup this action operates on, echoed onto workflow state; picked from the organization's list of runner groups. |
group_uuid | string | No | — | Duplicate alias of runner_group_uuid carried on this workflow's internal state; not a separate entity and never a caller input. |
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 | — | validate_environment | — |
persisting | No | No | — | complete | — |
validating | No | No | — | persist_group | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
initiated | validate_environment | validating | — |
validating | persist_group | persisting | — |
persisting | complete | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "runner.azure-managed-environment-sync",
"initial_data": {
"runner_group_uuid": "value",
"resource_group": "value",
"environment_name": "value"
}
}