Capacity Examples¶
This page demonstrates how to manage Microsoft Fabric capacities using the CLI.
Resource Type
Type: .Capacity
To explore all capacity commands and their parameters, run:
Navigation¶
Navigate to the capacities collection using absolute path:
Navigate to a specific capacity using relative path:
Capacity Management¶
Create Capacity¶
Create a capacity using default settings from CLI configuration¶
Default values come from configuration:
- Capacity Admin:
default_az_admin
- Capacity Location:
default_az_location
- Resource Group:
default_az_resource_group
- Subscription:
default_az_subscription_id
Create a capacity with a specified SKU size¶
Create a capacity with complete inline configuration¶
fab create .capacities/capac4.Capacity -P sku=F2,admin=fabcli@microsoft.com,location=westeurope,resourceGroup=rg-fab-cli,subscriptionId=b1cd297b-e573-483f-ae53-1b8a08014120
Check if a specific capacity exists and is accessible¶
Get Capacity¶
Get Capacity Details¶
Export Capacity Details to a local directory¶
List Capacities¶
Display existing capacities in a simple format.¶
Show capacities detailed information.¶
Update Capacity¶
Change the SKU of an existing capacity to scale compute resources
Remove Capacity¶
Removing a capacity is irreversible and will affect all assigned workspaces and items