Skip to content
Proud to collaborate with Microsoft for Startups

deploy.rollout-static-bluegreen ​

Prepare a candidate slot and switch traffic for a static target

Prepare candidate slot, health-gate cutover, and complete static blue/green rollout.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-deployments
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
rollout_uuiduuidYes——
organization_uuiduuidYes——

Output Schema ​

FieldTypeRequiredDefaultDescription
rollout_uuiduuidNo——
organization_uuiduuidNo——
release_uuiduuidNo——
deployment_target_uuiduuidNo——
health_wait_retry_countintegerNo——
candidate_slot_namestringNo——
active_slot_namestringNo——
copied_countintegerNo——
deleted_countintegerNo——
health_phasestringNo——
auto_advancestringNo——
health_statusstringNo——
health_decisionstringNo——
health_checksjsonNo——
health_retry_after_secondsintegerNo——
health_resume_actionstringNo——
approval_resume_actionstringNo——
approval_phasestringNo——
approval_requiredbooleanNo——
previous_slot_namestringNo——
origin_pathstringNo——
invalidation_refstringNo——
distribution_poll_countintegerNo——
distribution_statusstringNo——
invalidation_statusstringNo——
scheduled_next_actionstringNo——
distribution_poll_scheduled_atstringNo——
health_wait_scheduled_atstringNo——
completed_atstringNo——
failed_atstringNo——
failed_at_statestringNo——
aborted_atstringNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—prepareBlue/green rollout request accepted
awaiting_approvalNoNo——Manual approval required to continue rollout
health_checking_postNoNo——Evaluate health after traffic switch
health_checking_preNoNo——Evaluate health before traffic switch
preparingNoNo—prepare_candidatePrepare candidate slot for rollout
switchingNoNo—switch_trafficSwitch primary traffic to candidate slot
waitingNoNo——Wait for provider distribution propagation
completedNoYesYes—Blue/green rollout completed successfully
failedNoYesNo—Blue/green rollout failed

State Diagram ​

Transitions ​

FromActionToDescription
initiatedpreparepreparingInitialize rollout metadata
preparingprepare_candidatehealth_checking_preCandidate slot prepared
health_checking_preevaluate_pre_switch_healthhealth_checking_preRun pre-switch health checks
health_checking_prehealth_advance_pre_switchswitchingPre-switch health approved
health_checking_prehealth_waithealth_checking_preHealth inconclusive; wait and retry
health_checking_preapproval_waitawaiting_approvalPause for operator pre-switch approval
health_checking_prehealth_abortfailedAbort rollout due to health decision
switchingswitch_trafficwaitingTraffic switch initiated; await propagation
waitingpoll_distributionwaitingPoll provider distribution status
waitingdistribution_readyhealth_checking_postDistribution propagated; run post-switch checks
health_checking_postevaluate_post_switch_healthhealth_checking_postRun post-switch health checks
health_checking_posthealth_advance_post_switchcompletedPost-switch health approved
health_checking_posthealth_waithealth_checking_postHealth inconclusive; wait and retry
health_checking_postapproval_waitawaiting_approvalPause for operator post-switch approval
health_checking_posthealth_abortfailedAbort rollout due to health decision
awaiting_approvalapprove_pre_switchswitchingOperator approved pre-switch continuation
awaiting_approvalapprove_post_switchcompletedOperator approved rollout completion
awaiting_approvalreject_approvalfailedOperator rejected rollout
* (any state)abortfailedAbort workflow
* (any state)failfailedMark workflow as failed

API Usage ​

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

{
  "workflow_type": "deploy.rollout-static-bluegreen",
  "initial_data": {
    "rollout_uuid": "value",
    "organization_uuid": "value"
  }
}