playbook
Manage Fabric Playbooks
Authentication scope: fabric
List Playbooks in a workspace
fabio playbook list --workspace <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes |
Read-only · Returns list
Show a Playbook
fabio playbook show --workspace <value> --id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | |
--id |
string |
Yes |
Read-only · Returns object
create
Section titled “create”Create a Playbook
fabio playbook create --workspace <value> --name <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | |
--name |
string |
Yes | |
--description |
string |
No | |
--folder-id |
string |
No | |
--sensitivity-label |
string |
No | |
--definition |
string |
No | PlaybookV1 definition content (inline or @file) |
Mutates state · Returns object
update
Section titled “update”Update Playbook metadata
fabio playbook update --workspace <value> --id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | |
--id |
string |
Yes | |
--name |
string |
No | |
--description |
string |
No |
Mutates state · Returns void
delete
Section titled “delete”Delete a Playbook
fabio playbook delete --workspace <value> --id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | |
--id |
string |
Yes |
Mutates state · Destructive · Returns void
get-definition
Section titled “get-definition”Get a Playbook definition
fabio playbook get-definition --workspace <value> --id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | |
--id |
string |
Yes | |
--decode |
bool |
No |
Read-only · Returns object
update-definition
Section titled “update-definition”Replace a Playbook definition
fabio playbook update-definition --workspace <value> --id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | |
--id |
string |
Yes | |
--file |
string |
No | |
--content |
string |
No |
Mutates state · Destructive · Returns void
put-section
Section titled “put-section”Create, update, or rename a section
fabio playbook put-section --workspace <value> --id <value> --path <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | |
--id |
string |
Yes | |
--path |
string |
Yes | Complete logical resource path rooted at the Playbook display name |
--description |
string |
No | Description; omission resets it to an empty string |
--rename-source |
string |
No | Existing logical path when renaming |
Mutates state · Returns object
get-section
Section titled “get-section”Get a section
fabio playbook get-section --workspace <value> --id <value> --path <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | |
--id |
string |
Yes | |
--path |
string |
Yes | Complete logical resource path rooted at the Playbook display name |
Read-only · Returns object
delete-section
Section titled “delete-section”Delete a section
fabio playbook delete-section --workspace <value> --id <value> --path <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | |
--id |
string |
Yes | |
--path |
string |
Yes | Complete logical resource path rooted at the Playbook display name |
--recursive |
bool |
No | Delete all descendants |
Mutates state · Destructive · Returns void
list-groups
Section titled “list-groups”List groups in a section context root
fabio playbook list-groups --workspace <value> --id <value> --path <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | |
--id |
string |
Yes | |
--path |
string |
Yes | Complete logical resource path rooted at the Playbook display name |
Read-only · Returns list
put-group
Section titled “put-group”Create, update, or rename a group
fabio playbook put-group --workspace <value> --id <value> --path <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | |
--id |
string |
Yes | |
--path |
string |
Yes | Complete logical resource path rooted at the Playbook display name |
--description |
string |
No | Description; omission resets it to an empty string |
--rename-source |
string |
No | Existing logical path when renaming |
Mutates state · Returns object
get-group
Section titled “get-group”Get a group
fabio playbook get-group --workspace <value> --id <value> --path <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | |
--id |
string |
Yes | |
--path |
string |
Yes | Complete logical resource path rooted at the Playbook display name |
Read-only · Returns object
delete-group
Section titled “delete-group”Delete a group
fabio playbook delete-group --workspace <value> --id <value> --path <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | |
--id |
string |
Yes | |
--path |
string |
Yes | Complete logical resource path rooted at the Playbook display name |
--recursive |
bool |
No | Delete all descendants |
Mutates state · Destructive · Returns void
list-section-role-assignments
Section titled “list-section-role-assignments”List direct section role assignments
fabio playbook list-section-role-assignments --workspace <value> --id <value> --path <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | |
--id |
string |
Yes | |
--path |
string |
Yes | Complete logical resource path rooted at the Playbook display name |
Read-only · Returns list
add-section-role-assignment
Section titled “add-section-role-assignment”Add a direct section role assignment
fabio playbook add-section-role-assignment --workspace <value> --id <value> --path <value> --principal-id <value> --principal-type <value> --role <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | |
--id |
string |
Yes | |
--path |
string |
Yes | Complete logical resource path rooted at the Playbook display name |
--principal-id |
string |
Yes | |
--principal-type |
enum |
Yes | One of: User, Group, ServicePrincipal. |
--role |
enum |
Yes | One of: user, curator. |
Mutates state · Returns object
update-section-role-assignment
Section titled “update-section-role-assignment”Update a direct section role assignment
fabio playbook update-section-role-assignment --workspace <value> --id <value> --path <value> --principal-id <value> --role <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | |
--id |
string |
Yes | |
--path |
string |
Yes | Complete logical resource path rooted at the Playbook display name |
--principal-id |
string |
Yes | |
--role |
enum |
Yes | One of: user, curator. |
Mutates state · Returns void
delete-section-role-assignment
Section titled “delete-section-role-assignment”Delete a direct section role assignment
fabio playbook delete-section-role-assignment --workspace <value> --id <value> --path <value> --principal-id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | |
--id |
string |
Yes | |
--path |
string |
Yes | Complete logical resource path rooted at the Playbook display name |
--principal-id |
string |
Yes |
Mutates state · Destructive · Returns void
put-context
Section titled “put-context”Create or replace a context
fabio playbook put-context --workspace <value> --id <value> --path <value> --summary <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | |
--id |
string |
Yes | |
--path |
string |
Yes | Complete logical resource path rooted at the Playbook display name |
--summary |
string |
Yes | Non-empty summary, maximum 2,048 UTF-8 bytes |
--content-type |
enum |
No | One of: application/zip, text/markdown, text/plain. |
--data |
string |
No | Base64-encoded content |
--reference |
string |
No | Polymorphic ContextReference JSON (inline or @file) |
Mutates state · Destructive · Returns object
get-context
Section titled “get-context”Get a context
fabio playbook get-context --workspace <value> --id <value> --path <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | |
--id |
string |
Yes | |
--path |
string |
Yes | Complete logical resource path rooted at the Playbook display name |
--include-content |
bool |
No |
Read-only · Returns object
update-context
Section titled “update-context”Update only a context summary
fabio playbook update-context --workspace <value> --id <value> --path <value> --summary <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | |
--id |
string |
Yes | |
--path |
string |
Yes | Complete logical resource path rooted at the Playbook display name |
--summary |
string |
Yes |
Mutates state · Returns void
delete-context
Section titled “delete-context”Delete a context
fabio playbook delete-context --workspace <value> --id <value> --path <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | |
--id |
string |
Yes | |
--path |
string |
Yes | Complete logical resource path rooted at the Playbook display name |
Mutates state · Destructive · Returns void
get-context-content
Section titled “get-context-content”Download a context’s stored ZIP package
fabio playbook get-context-content --workspace <value> --id <value> --path <value> --output-file <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | |
--id |
string |
Yes | |
--path |
string |
Yes | Complete logical resource path rooted at the Playbook display name |
--output-file |
string |
Yes |
Read-only · Returns object
get-user-preference
Section titled “get-user-preference”Get the calling identity’s Playbook preference
fabio playbook get-user-preference --workspace <value> --id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | |
--id |
string |
Yes |
Read-only · Returns object
update-user-preference
Section titled “update-user-preference”Update the calling identity’s Playbook preference
fabio playbook update-user-preference --workspace <value> --id <value> --active <value>| Flag | Type | Required | Description |
|---|---|---|---|
--workspace |
string |
Yes | |
--id |
string |
Yes | |
--active |
enum |
Yes | One of: true, false. |
Mutates state · Returns void
