capacity
List and inspect Fabric capacities
Authentication scope: fabric
List capacities available to the caller (Fabric API)
fabio capacity listOutput fields: id, displayName, sku, region, state
Read-only · Returns list
Show details of a specific capacity (Fabric API)
fabio capacity show --id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--id |
string |
Yes | Capacity ID |
Output fields: id, displayName, sku, region, state
Read-only · Returns object
suspend
Section titled “suspend”Suspend (pause) a capacity (ARM API)
fabio capacity suspend --subscription <value> --resource-group <value> --name <value>| Flag | Type | Required | Description |
|---|---|---|---|
--subscription |
string |
Yes | Azure subscription ID |
--resource-group |
string |
Yes | Resource group name |
--name |
string |
Yes | Capacity name (lowercase, 3-63 chars) |
Mutates state · Long-running operation · Returns void
resume
Section titled “resume”Resume a suspended capacity (ARM API)
fabio capacity resume --subscription <value> --resource-group <value> --name <value>| Flag | Type | Required | Description |
|---|---|---|---|
--subscription |
string |
Yes | Azure subscription ID |
--resource-group |
string |
Yes | Resource group name |
--name |
string |
Yes | Capacity name (lowercase, 3-63 chars) |
Mutates state · Long-running operation · Returns void
create
Section titled “create”Create a new Fabric capacity (ARM API)
fabio capacity create --subscription <value> --resource-group <value> --name <value> --location <value> --sku <value> --admin <value>| Flag | Type | Required | Description |
|---|---|---|---|
--subscription |
string |
Yes | Azure subscription ID |
--resource-group |
string |
Yes | Resource group name |
--name |
string |
Yes | Capacity name (lowercase, 3-63 chars, pattern: ^[a-z][a-z0-9]*$) |
--location |
string |
Yes | Azure region (e.g., eastus, westeurope) |
--sku |
string |
Yes | SKU name (e.g., F2, F4, F8, F16, F32, F64, F128, F256, F512, F1024, F2048) |
--admin |
string |
Yes | Fabric capacity admin (user principal name or object ID) |
Mutates state · Long-running operation · Returns object
update
Section titled “update”Update an existing Fabric capacity (ARM API)
fabio capacity update --subscription <value> --resource-group <value> --name <value>| Flag | Type | Required | Description |
|---|---|---|---|
--subscription |
string |
Yes | Azure subscription ID |
--resource-group |
string |
Yes | Resource group name |
--name |
string |
Yes | Capacity name |
--sku |
string |
No | New SKU name |
--admin |
string |
No | New admin (user principal name or object ID) |
--tags |
string |
No | Tags as JSON object (e.g., ‘{“env”:“prod”}’) |
Mutates state · Long-running operation · Returns object
delete
Section titled “delete”Delete a Fabric capacity (ARM API)
fabio capacity delete --subscription <value> --resource-group <value> --name <value>| Flag | Type | Required | Description |
|---|---|---|---|
--subscription |
string |
Yes | Azure subscription ID |
--resource-group |
string |
Yes | Resource group name |
--name |
string |
Yes | Capacity name |
Mutates state · Destructive · Long-running operation · Returns void
list-skus
Section titled “list-skus”List available SKUs for Fabric capacities (ARM API)
fabio capacity list-skus --subscription <value>| Flag | Type | Required | Description |
|---|---|---|---|
--subscription |
string |
Yes | Azure subscription ID |
Read-only · Returns list
check-name
Section titled “check-name”Check if a capacity name is available (ARM API)
fabio capacity check-name --subscription <value> --name <value> --location <value>| Flag | Type | Required | Description |
|---|---|---|---|
--subscription |
string |
Yes | Azure subscription ID |
--name |
string |
Yes | Capacity name to check |
--location |
string |
Yes | Azure region to check availability in (e.g., eastus, westeurope) |
--type |
string |
No | Resource type (default: Microsoft.Fabric/capacities) |
Output fields: nameAvailable
Read-only · Returns object
get-surge-protection
Section titled “get-surge-protection”Get a capacity’s background-operation surge protection configuration
fabio capacity get-surge-protection --id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--id |
string |
Yes | Capacity ID |
Examples
fabio capacity get-surge-protection --id $CAPACITY_IDRead-only · Returns object
update-surge-protection
Section titled “update-surge-protection”Update a capacity’s background-operation surge protection configuration
fabio capacity update-surge-protection --id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--id |
string |
Yes | Capacity ID |
--state |
enum |
No | Enable or disable surge protection; disabling clears persisted thresholds One of: Enabled, Disabled. |
--rejection-threshold |
integer |
No | Background utilization percentage that rejects operations (15-100) |
--recovery-threshold |
integer |
No | Background utilization percentage that ends protection (6-99 and lower than rejection) |
Examples
fabio capacity update-surge-protection --id $CAPACITY_ID --state Enabled --rejection-threshold 70 --recovery-threshold 50fabio capacity update-surge-protection --id $CAPACITY_ID --state Disabled --dry-runMutates state · Destructive · Returns object
get-overage-configuration
Section titled “get-overage-configuration”Get a capacity’s overage configuration
fabio capacity get-overage-configuration --id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--id |
string |
Yes | Capacity ID |
Examples
fabio capacity get-overage-configuration --id $CAPACITY_IDRead-only · Returns object
update-overage-configuration
Section titled “update-overage-configuration”Update a capacity’s overage configuration
fabio capacity update-overage-configuration --id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--id |
string |
Yes | Capacity ID |
--state |
enum |
No | Enable or disable overage; disabling resets the threshold to 0 One of: Enabled, Disabled. |
--threshold-capacity-unit-hours |
integer |
No | Capacity-unit-hours threshold (0-240000); 0 disables overage |
Examples
fabio capacity update-overage-configuration --id $CAPACITY_ID --state Enabled --threshold-capacity-unit-hours 1000 --dry-runfabio capacity update-overage-configuration --id $CAPACITY_ID --state Disabled --dry-runMutates state · Returns object
create-blocked-actor
Section titled “create-blocked-actor”Create or update a blocked workspace actor on a capacity
fabio capacity create-blocked-actor --id <value> --workspace <value> --expiration-policy <value>| Flag | Type | Required | Description |
|---|---|---|---|
--id |
string |
Yes | Capacity ID |
--workspace |
string |
Yes | Workspace ID to block |
--expiration-policy |
enum |
Yes | Expiration policy One of: NeverExpire, ExpireAfterDate. |
--expire-after |
string |
No | UTC expiration timestamp (required for ExpireAfterDate) |
Examples
fabio capacity create-blocked-actor --id $CAPACITY --workspace $WS --expiration-policy NeverExpireMutates state · Returns object
list-blocked-actors
Section titled “list-blocked-actors”List blocked actors on a capacity
fabio capacity list-blocked-actors --id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--id |
string |
Yes | Capacity ID |
Examples
fabio capacity list-blocked-actors --id $CAPACITYRead-only · Returns list
show-blocked-actor
Section titled “show-blocked-actor”Show a blocked actor
fabio capacity show-blocked-actor --id <value> --actor-id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--id |
string |
Yes | Capacity ID |
--actor-id |
string |
Yes | Blocked actor ID |
Examples
fabio capacity show-blocked-actor --id $CAPACITY --actor-id $ACTORRead-only · Returns object
update-blocked-actor
Section titled “update-blocked-actor”Update a blocked actor expiration policy
fabio capacity update-blocked-actor --id <value> --actor-id <value> --expiration-policy <value>| Flag | Type | Required | Description |
|---|---|---|---|
--id |
string |
Yes | Capacity ID |
--actor-id |
string |
Yes | Blocked actor ID |
--expiration-policy |
enum |
Yes | Expiration policy One of: NeverExpire, ExpireAfterDate. |
--expire-after |
string |
No | UTC expiration timestamp (required for ExpireAfterDate) |
Examples
fabio capacity update-blocked-actor --id $CAPACITY --actor-id $ACTOR --expiration-policy ExpireAfterDate --expire-after 2027-01-01T00:00:00ZMutates state · Returns object
delete-blocked-actor
Section titled “delete-blocked-actor”Delete a blocked actor
fabio capacity delete-blocked-actor --id <value> --actor-id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--id |
string |
Yes | Capacity ID |
--actor-id |
string |
Yes | Blocked actor ID |
Examples
fabio capacity delete-blocked-actor --id $CAPACITY --actor-id $ACTOR --dry-runMutates state · Destructive · Returns object
create-mission-critical-actor
Section titled “create-mission-critical-actor”Create a mission-critical workspace actor on a capacity
fabio capacity create-mission-critical-actor --id <value> --workspace <value>| Flag | Type | Required | Description |
|---|---|---|---|
--id |
string |
Yes | Capacity ID |
--workspace |
string |
Yes | Workspace ID to shield |
Examples
fabio capacity create-mission-critical-actor --id $CAPACITY --workspace $WSMutates state · Returns object
list-mission-critical-actors
Section titled “list-mission-critical-actors”List mission-critical actors on a capacity
fabio capacity list-mission-critical-actors --id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--id |
string |
Yes | Capacity ID |
Examples
fabio capacity list-mission-critical-actors --id $CAPACITYRead-only · Returns list
show-mission-critical-actor
Section titled “show-mission-critical-actor”Show a mission-critical actor
fabio capacity show-mission-critical-actor --id <value> --actor-id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--id |
string |
Yes | Capacity ID |
--actor-id |
string |
Yes | Mission-critical actor ID |
Examples
fabio capacity show-mission-critical-actor --id $CAPACITY --actor-id $ACTORRead-only · Returns object
delete-mission-critical-actor
Section titled “delete-mission-critical-actor”Delete a mission-critical actor
fabio capacity delete-mission-critical-actor --id <value> --actor-id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--id |
string |
Yes | Capacity ID |
--actor-id |
string |
Yes | Mission-critical actor ID |
Examples
fabio capacity delete-mission-critical-actor --id $CAPACITY --actor-id $ACTOR --dry-runMutates state · Destructive · Returns object
create-actor-auto-detection-rule
Section titled “create-actor-auto-detection-rule”Create an all-workspaces actor auto-detection rule
fabio capacity create-actor-auto-detection-rule --id <value> --threshold-percentage <value> --block-duration <value>| Flag | Type | Required | Description |
|---|---|---|---|
--id |
string |
Yes | Capacity ID |
--threshold-percentage |
integer |
Yes | Per-actor capacity-unit consumption threshold over a rolling 24-hour window (1-100) |
--block-duration |
enum |
Yes | How long automatically blocked actors remain blocked One of: Hours, Indefinite. |
--hours |
integer |
No | Block duration in hours; required with Hours |
Examples
fabio capacity create-actor-auto-detection-rule --id $CAPACITY --threshold-percentage 80 --block-duration Hours --hours 4Mutates state · Returns object
list-actor-auto-detection-rules
Section titled “list-actor-auto-detection-rules”List actor auto-detection rules
fabio capacity list-actor-auto-detection-rules --id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--id |
string |
Yes | Capacity ID |
Examples
fabio capacity list-actor-auto-detection-rules --id $CAPACITYRead-only · Returns list
show-actor-auto-detection-rule
Section titled “show-actor-auto-detection-rule”Show an actor auto-detection rule
fabio capacity show-actor-auto-detection-rule --id <value> --rule-id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--id |
string |
Yes | Capacity ID |
--rule-id |
string |
Yes | Actor auto-detection rule ID |
Examples
fabio capacity show-actor-auto-detection-rule --id $CAPACITY --rule-id $RULERead-only · Returns object
update-actor-auto-detection-rule
Section titled “update-actor-auto-detection-rule”Update an actor auto-detection rule
fabio capacity update-actor-auto-detection-rule --id <value> --rule-id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--id |
string |
Yes | Capacity ID |
--rule-id |
string |
Yes | Actor auto-detection rule ID |
--threshold-percentage |
integer |
No | New per-actor capacity-unit consumption threshold (1-100) |
--block-duration |
enum |
No | Replacement block duration One of: Hours, Indefinite. |
--hours |
integer |
No | Block duration in hours; required with Hours |
Examples
fabio capacity update-actor-auto-detection-rule --id $CAPACITY --rule-id $RULE --threshold-percentage 90Mutates state · Returns object
delete-actor-auto-detection-rule
Section titled “delete-actor-auto-detection-rule”Delete an actor auto-detection rule
fabio capacity delete-actor-auto-detection-rule --id <value> --rule-id <value>| Flag | Type | Required | Description |
|---|---|---|---|
--id |
string |
Yes | Capacity ID |
--rule-id |
string |
Yes | Actor auto-detection rule ID |
Examples
fabio capacity delete-actor-auto-detection-rule --id $CAPACITY --rule-id $RULEMutates state · Destructive · Returns object
