Skip to content
Proud to collaborate with Microsoft for Startups

storage.coding-artifact-bucket.migrate ​

Rotate a runner group's coding-artifact storage onto a different CloudConnection: provision the destination, rebind, and retain the superseded binding as history

Move a runner group's coding-artifact storage to another connection.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-storage
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
runner_group_uuiduuidYes——
storage_connection_uuiduuidYes—Destination CloudConnection for artifact storage.
retention_daysintegerNo—Noncurrent version retention, 7-90 days. Defaults to the superseded binding's value.
capacity_bytesintegerNo—Live-byte ceiling at the destination. Defaults to the superseded binding's value.
storage_usd_per_gb_monthstringNo—Destination storage price in USD per decimal GB-month. Defaults to the superseded binding's value -- supply this when the destination is a different provider, whose rate differs.
pricing_revisionstringNo—Identifier for the supplied price. Required whenever storage_usd_per_gb_month is supplied.

Output Schema ​

FieldTypeRequiredDefaultDescription
runner_group_uuiduuidNo——
migratedbooleanNo——
createdbooleanNo——
providerstringNo——
source_connection_uuiduuidNo——
source_bucketstringNo——
target_connection_uuiduuidNo——
target_bucketstringNo——
objects_left_behindjsonNo——
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—migrate—
migratingNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingmigratemigrating—
migratingcompletecompleted—
* (any state)failfailed—

API Usage ​

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

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