deployment-plan
Manage deployment plan items (ordered CI/CD orchestration)
Authentication scope: fabric
validate
Section titled “validate”Validate plan YAML or a definition envelope offline (does not execute actions)
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
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
fabio deployment-plan list --workspace $WS --root-folder-id $FOLDERRead-only · Returns list
Show a deployment plan
fabio deployment-plan show --workspace <value> --id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | Workspace ID |
--id |
string |
Yes | Deployment plan ID |
Examples
fabio deployment-plan show --workspace $WS --id $PLANRead-only · Returns object
create
Section titled “create”Create a deployment plan
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
fabio deployment-plan create --workspace $WS --name "Ordered Deploy" --file plan.ymlMutates state · Long-running operation · Returns object
update
Section titled “update”Update deployment plan properties
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
fabio deployment-plan update --workspace $WS --id $PLAN --name "Production Deploy"Mutates state · Returns object
delete
Section titled “delete”Delete a deployment plan
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
fabio deployment-plan delete --workspace $WS --id $PLAN --dry-runMutates state · Destructive · Returns object
get-definition
Section titled “get-definition”Get a deployment plan definition
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
fabio deployment-plan get-definition --workspace $WS --id $PLAN --decodeRead-only · Long-running operation · Returns object
update-definition
Section titled “update-definition”Replace a deployment plan definition
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
fabio deployment-plan update-definition --workspace $WS --id $PLAN --file plan.yml --dry-runMutates state · Destructive · Long-running operation · Returns object
