az cosmosdb sql restorable-container
Note
此命令组具有在 Azure CLI 和至少一个扩展中定义的命令。 安装每个扩展,使其受益于其扩展功能。 Learn more about extensions.
管理 Azure Cosmos DB 帐户数据库中可还原的不同版本的 sql 容器。
命令
名称 | 说明 | 类型 | Status |
---|---|---|---|
az cosmosdb sql restorable-container list |
列出在给定数据库和可还原帐户中创建/修改/删除的所有 SQL 容器的所有版本。 |
Core | GA |
az cosmosdb sql restorable-container list (cosmosdb-preview 扩展) |
列出在给定数据库和可还原帐户中创建/修改/删除的所有 SQL 容器的所有版本。 |
Extension | Preview |
az cosmosdb sql restorable-container list
列出在给定数据库和可还原帐户中创建/修改/删除的所有 SQL 容器的所有版本。
az cosmosdb sql restorable-container list --database-rid
--instance-id
--location
[--end-time]
[--start-time]
必需参数
删除数据库。
帐户的 InstanceId。
Location.
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
可还原的 Sql 容器事件源的结束时间。
可还原的 Sql 容器事件源的开始时间。
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |
az cosmosdb sql restorable-container list (cosmosdb-preview 扩展)
命令组“cosmosdb sql restorable-container”处于预览状态,正在开发中。 参考和支持级别:https://aka.ms/CLI_refstatus
列出在给定数据库和可还原帐户中创建/修改/删除的所有 SQL 容器的所有版本。
az cosmosdb sql restorable-container list --database-rid
--instance-id
--location
[--end-time]
[--start-time]
必需参数
删除数据库。
帐户的 InstanceId。
Location.
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
可还原的 Sql 容器事件源的结束时间。
可还原的 Sql 容器事件源的开始时间。
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |