spad.ltip.azure.create_front_door ​
Create Azure Front Door Standard profile for SPAD CDN delivery
Create Azure Front Door Standard profile stack for a SPAD site. Provisions: profile + AFD endpoint + origin group + origin + route.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | App-spad |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
site_uuid | string | Yes | — | SpadSite.id for context propagation |
slug | string | Yes | — | Used to derive the Front Door profile/endpoint name |
azure_storage_account_name | string | Yes | — | Origin storage account for the Front Door |
cloud_connection_uuid | string | Yes | — | Azure CloudConnection.id |
organization_uuid | string | No | — | Organization that owns the site |
azure_storage_region | string | No | eastus | Region of the origin storage account |
azure_storage_url | string | No | — | Static-website URL; reconstructed from account name when omitted |
workflow_run_id | string | No | — | — |
workflow_run_uuid | string | No | — | Parent workflow run ID stamped by the DAG engine (legacy alias) |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
azure_front_door_profile_name | string | Yes | — | Name of the created Front Door Standard profile (ltinteg-{slug}) |
azure_front_door_profile_ref | string | Yes | — | Provider resource id of the Front Door profile |
azure_front_door_endpoint_hostname | string | Yes | — | Default *.azurefd.net endpoint hostname for the profile |
completed_at | string | No | — | ISO8601 timestamp when the step reached COMPLETED |
failed_at | string | No | — | ISO8601 timestamp when the step reached FAILED |
failure_reason | string | No | — | Reason recorded on the failure path |
workflow_run_id | string | No | — | — |
site_uuid | string | No | — | SpadSite.id for context propagation |
slug | string | No | — | Used to derive the Front Door profile/endpoint name |
azure_storage_account_name | string | No | — | Origin storage account for the Front Door |
cloud_connection_uuid | string | No | — | Azure CloudConnection.id |
organization_uuid | string | No | — | Organization that owns the site |
azure_storage_region | string | No | — | Region of the origin storage account |
azure_storage_url | string | No | — | Static-website URL; reconstructed from account name when omitted |
workflow_run_uuid | string | No | — | Parent workflow run ID stamped by the DAG engine (legacy alias) |
error | string | No | — | Engine-stamped failure metadata |
error_type | string | No | — | Engine-stamped failure metadata |
failed_at_state | json | No | — | Engine-stamped failure metadata |
failed_layer | json | No | — | Engine-stamped failure metadata |
failed_step | json | No | — | Engine-stamped failure metadata |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
initiated | Yes | No | — | run | Step accepted |
run | No | No | — | complete | Provisioning Front Door profile stack |
completed | No | Yes | Yes | — | Front Door profile created |
failed | No | Yes | No | — | Front Door creation failed |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
initiated | run | run | Start Front Door creation |
run | complete | completed | Mark step completed |
* (any state) | fail | failed | Mark step failed |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "spad.ltip.azure.create_front_door",
"initial_data": {
"site_uuid": "value",
"slug": "value",
"azure_storage_account_name": "value",
"cloud_connection_uuid": "value"
}
}