Skip to content
Proud to collaborate with Microsoft for Startups

runner.acr-registry-mirror-teardown ​

Delete an ACR cache-rule mirror, its credential set and backing secrets (operator-only)

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-runners-azure
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
runner_group_uuiduuidYes—Runner group the mirror belongs to.
organization_uuiduuidNo—Organization UUID; resolved from the group when omitted.
delete_secretsbooleanNo—Also purge the Key Vault secrets. Defaults to True; set False to retain them for reuse.

Output Schema ​

FieldTypeRequiredDefaultDescription
runner_group_uuiduuidNo—Runner group echoed from input.
organization_uuiduuidNo—Organization UUID resolved for the group.
registry_namestringNo—Target Azure Container Registry.
resource_groupstringNo—Resource group holding the registry.
upstream_urlstringNo—Upstream registry the mirror fronts.
mirror_uuiduuidNo—AcrRegistryMirror row this run operates on.
cache_rule_deletedbooleanNo—True when the cache rule was removed or already absent.
credential_set_deletedbooleanNo—True when the credential set was removed or already absent.
secrets_deletedbooleanNo—True when the Key Vault secrets were removed.
completed_atstringNo—ISO timestamp when the operation finalised.
failure_typestringNo—Engine exception class.
failure_reasonstringNo—Human-readable failure reason.
failed_stepstringNo—Failed logical step.
failed_layerjsonNo—Failed DAG layer if engine supplies one.
failed_at_statestringNo—State where failure occurred.
errorstringNo—Error message.
error_typestringNo—Error class.
failed_atstringNo—ISO failure timestamp.

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—validate—
deleting_cache_ruleNoNo—delete_credential_set—
deleting_credential_setNoNo—delete_secrets—
deleting_secretsNoNo—finalize—
finalizingNoNo—complete—
validatingNoNo—delete_cache_rule—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
initiatedvalidatevalidating—
validatingdelete_cache_ruledeleting_cache_rule—
deleting_cache_ruledelete_credential_setdeleting_credential_set—
deleting_credential_setdelete_secretsdeleting_secrets—
deleting_secretsfinalizefinalizing—
finalizingcompletecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "runner.acr-registry-mirror-teardown",
  "initial_data": {
    "runner_group_uuid": "value"
  }
}