Skip to content
Proud to collaborate with Microsoft for Startups

storage.coding-artifact-bucket.ensure ​

Create or reconcile private customer-owned coding-artifact storage through the selected CloudConnection and bind it to a runner group

Ensure customer storage exists and bind it to one coding runner group.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-storage
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
workflow_run_idstringNo—DAG-stamped parent run identifier; ignored by the Storage-owned provisioning action.
organization_uuiduuidYes——
runner_group_uuiduuidYes——
storage_connection_uuiduuidYes——
retention_daysintegerNo—Noncurrent recovery version retention, 7-90 days.
capacity_bytesintegerYes—Hard audited live-byte ceiling for this runner group's customer-owned coding-artifact bucket.
storage_usd_per_gb_monthstringYes—Versioned customer storage price in USD per decimal GB-month, with at most 8 decimal places.
pricing_revisionstringYes—Immutable identifier for the supplied storage price.

Output Schema ​

FieldTypeRequiredDefaultDescription
runner_group_uuiduuidNo——
configuredbooleanNo——
createdbooleanNo——
providerstringNo——
binding_versionintegerNo——
binding_digeststringNo——
retention_daysintegerNo——
capacity_bytesintegerNo——
storage_usd_per_gb_monthstringNo——
pricing_revisionstringNo——
failure_reasonstringNo——
failed_stepstringNo——
failed_layerstringNo——
failed_at_statestringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—ensure—
ensuringNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingensureensuring—
ensuringcompletecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "storage.coding-artifact-bucket.ensure",
  "initial_data": {
    "organization_uuid": "value",
    "runner_group_uuid": "value",
    "storage_connection_uuid": "value",
    "capacity_bytes": 123
  }
}