az cosmosdb mongodb restorable-collection
Note
This command group has commands that are defined in both Azure CLI and at least one extension. Install each extension to benefit from its extended capabilities. Learn more about extensions.
Manage different versions of mongodb collections that are restorable in a database of a Azure Cosmos DB account.
Commands
Name | Description | Type | Status |
---|---|---|---|
az cosmosdb mongodb restorable-collection list |
List all the versions of all the mongodb collections that were created / modified / deleted in the given database and restorable account. |
Core | GA |
az cosmosdb mongodb restorable-collection list (cosmosdb-preview extension) |
List all the versions of all the mongodb collections that were created / modified / deleted in the given database and restorable account. |
Extension | Preview |
az cosmosdb mongodb restorable-collection list
List all the versions of all the mongodb collections that were created / modified / deleted in the given database and restorable account.
az cosmosdb mongodb restorable-collection list --database-rid
--instance-id
--location
[--end-time]
[--start-time]
Required Parameters
Rid of the database.
InstanceId of the Account.
Location.
Optional Parameters
End time of restorable MongoDB collections event feed.
Start time of restorable MongoDB collections event feed.
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 mongodb restorable-collection list (cosmosdb-preview extension)
Command group 'cosmosdb mongodb restorable-collection' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
List all the versions of all the mongodb collections that were created / modified / deleted in the given database and restorable account.
az cosmosdb mongodb restorable-collection list --database-rid
--instance-id
--location
[--end-time]
[--start-time]
Required Parameters
Rid of the database.
InstanceId of the Account.
Location.
Optional Parameters
End time of restorable MongoDB collections event feed.
Start time of restorable MongoDB collections event feed.
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.