az cosmosdb fleetspace
Note
This reference is part of the cosmosdb-preview extension for the Azure CLI (version 2.17.1 or higher). The extension will automatically install the first time you run an az cosmosdb fleetspace command. Learn more about extensions.
This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Manage Cosmos DB Fleetspace resources.
Commands
Name | Description | Type | Status |
---|---|---|---|
az cosmosdb fleetspace account |
Manage database accounts within a Cosmos DB Fleetspace. |
Extension | Preview |
az cosmosdb fleetspace account create |
Register an existing Cosmos DB database account to a Fleetspace. |
Extension | Preview |
az cosmosdb fleetspace account delete |
Unregister a database account from a Fleetspace. |
Extension | Preview |
az cosmosdb fleetspace account list |
List all database accounts associated with a Fleetspace. |
Extension | Preview |
az cosmosdb fleetspace account show |
Show details of a registered database account in a Fleetspace. |
Extension | Preview |
az cosmosdb fleetspace create |
Create a new Fleetspace under a Cosmos DB Fleet. |
Extension | Preview |
az cosmosdb fleetspace delete |
Delete a Fleetspace from a Fleet. |
Extension | Preview |
az cosmosdb fleetspace list |
List all Fleetspaces under a Fleet. |
Extension | Preview |
az cosmosdb fleetspace show |
Show details of a specific Fleetspace. |
Extension | Preview |
az cosmosdb fleetspace update |
Update an existing Cosmos DB Fleetspace. |
Extension | Preview |
az cosmosdb fleetspace create
Command group 'cosmosdb fleetspace' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Create a new Fleetspace under a Cosmos DB Fleet.
az cosmosdb fleetspace create --body
--fleet-name
--fleetspace-name
--resource-group
Examples
Create a fleetspace
az cosmosdb fleetspace create \
--resource-group MyResourceGroup \
--fleet-name MyFleet \
--fleetspace-name MyFleetspace \
--body @fleetspace.json
Required Parameters
Fleetspace body with properties.throughputPoolConfiguration (fields: minThroughput, maxThroughput, serviceTier, dataRegions). You can enter it as a string or as a file, e.g., --body @fleetspace.json or --body "{ "properties": { "throughputPoolConfiguration": { "minThroughput": 100000, "maxThroughput": 300000, "serviceTier": "GeneralPurpose", "dataRegions": ["West US 2"] }, } }".
Name of the Cosmos DB Fleet.
Name of the Fleetspace resource.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az cosmosdb fleetspace delete
Command group 'cosmosdb fleetspace' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Delete a Fleetspace from a Fleet.
az cosmosdb fleetspace delete --fleet-name
--fleetspace-name
--resource-group
[--yes]
Required Parameters
Name of the Cosmos DB Fleet.
Name of the Fleetspace resource.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Do not prompt for confirmation.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az cosmosdb fleetspace list
Command group 'cosmosdb fleetspace' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
List all Fleetspaces under a Fleet.
az cosmosdb fleetspace list --fleet-name
--resource-group
Required Parameters
Name of the Cosmos DB Fleet.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az cosmosdb fleetspace show
Command group 'cosmosdb fleetspace' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Show details of a specific Fleetspace.
az cosmosdb fleetspace show --fleet-name
--fleetspace-name
--resource-group
Required Parameters
Name of the Cosmos DB Fleet.
Name of the Fleetspace resource.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az cosmosdb fleetspace update
Command group 'cosmosdb fleetspace' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Update an existing Cosmos DB Fleetspace.
az cosmosdb fleetspace update --body
--fleet-name
--fleetspace-name
--resource-group
Examples
Update fleetspace throughput settings
az cosmosdb fleetspace update \
--resource-group MyResourceGroup \
--fleet-name MyFleet \
--fleetspace-name MyFleetspace \
--body @fleetspace.json
Required Parameters
Fleetspace body with properties.throughputPoolConfiguration (fields: minThroughput, maxThroughput, serviceTier, dataRegions). You can enter it as a string or as a file, e.g., --body @fleetspace.json or --body "{ "properties": { "throughputPoolConfiguration": { "minThroughput": 100000, "maxThroughput": 300000, "serviceTier": "GeneralPurpose", "dataRegions": ["West US 2"] }, } }".
Name of the Cosmos DB Fleet.
Name of the Fleetspace resource.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.