Skip to content

deployment-plan

Manage deployment plan items (ordered CI/CD orchestration)

Authentication scope: fabric

Validate plan YAML or a definition envelope offline (does not execute actions)

Terminal window
fabio deployment-plan validate
Flag Type Required Description
--file string No Raw plan.yml or definition-envelope file
--content string No Inline plan YAML or definition envelope
--source string No Optional local .platform source directory for item/type reference checks
--strict bool No Treat warnings (including references absent from source) as failures

Read-only · Returns object

List deployment plans in a workspace

Terminal window
fabio deployment-plan list --workspace <value>
Flag Type Required Description
--workspace string Yes Workspace ID
--no-recursive bool No Only list plans directly in the root folder
--root-folder-id string No Filter plans to a specific root folder ID

Examples

Terminal window
fabio deployment-plan list --workspace $WS --root-folder-id $FOLDER

Read-only · Returns list

Show a deployment plan

Terminal window
fabio deployment-plan show --workspace <value> --id <value>
Flag Type Required Description
--workspace string Yes Workspace ID
--id string Yes Deployment plan ID

Examples

Terminal window
fabio deployment-plan show --workspace $WS --id $PLAN

Read-only · Returns object

Create a deployment plan

Terminal window
fabio deployment-plan create --workspace <value> --name <value>
Flag Type Required Description
--workspace string Yes Workspace ID
--name string Yes Deployment plan display name
--description string No Optional description (maximum 256 characters)
--folder-id string No Folder ID to create the deployment plan in
--sensitivity-label string No Sensitivity label ID to apply on creation
--file string No Path to a deployment plan definition or definition envelope
--content string No Inline deployment plan definition or definition envelope

Examples

Terminal window
fabio deployment-plan create --workspace $WS --name "Ordered Deploy" --file plan.yml

Mutates state · Long-running operation · Returns object

Update deployment plan properties

Terminal window
fabio deployment-plan update --workspace <value> --id <value>
Flag Type Required Description
--workspace string Yes Workspace ID
--id string Yes Deployment plan ID
--name string No New display name
--description string No New description (maximum 256 characters)

Examples

Terminal window
fabio deployment-plan update --workspace $WS --id $PLAN --name "Production Deploy"

Mutates state · Returns object

Delete a deployment plan

Terminal window
fabio deployment-plan delete --workspace <value> --id <value>
Flag Type Required Description
--workspace string Yes Workspace ID
--id string Yes Deployment plan ID
--hard-delete bool No Permanently delete the deployment plan

Examples

Terminal window
fabio deployment-plan delete --workspace $WS --id $PLAN --dry-run

Mutates state · Destructive · Returns object

Get a deployment plan definition

Terminal window
fabio deployment-plan get-definition --workspace <value> --id <value>
Flag Type Required Description
--workspace string Yes Workspace ID
--id string Yes Deployment plan ID
--format enum No Definition format One of: DeploymentPlanFormat.
--decode bool No Decode base64 payloads inline

Examples

Terminal window
fabio deployment-plan get-definition --workspace $WS --id $PLAN --decode

Read-only · Long-running operation · Returns object

Replace a deployment plan definition

Terminal window
fabio deployment-plan update-definition --workspace <value> --id <value>
Flag Type Required Description
--workspace string Yes Workspace ID
--id string Yes Deployment plan ID
--file string No Path to a deployment plan definition or definition envelope
--content string No Inline deployment plan definition or definition envelope
--update-metadata bool No Update item metadata from the definition

Examples

Terminal window
fabio deployment-plan update-definition --workspace $WS --id $PLAN --file plan.yml --dry-run

Mutates state · Destructive · Long-running operation · Returns object