你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

az dataprotection restorable-time-range

注意

此参考是 Azure CLI(版本 2.51.0 或更高版本)的数据保护扩展的一部分。 该扩展将在首次运行 az dataprotection restorable-time-range 命令时自动安装。 详细了解扩展。

使用数据保护管理可还原的时间范围。

命令

名称 说明 类型 状态
az dataprotection restorable-time-range find

查找还原的有效恢复点时间点。

扩展 GA

az dataprotection restorable-time-range find

查找还原的有效恢复点时间点。

az dataprotection restorable-time-range find --source-data-store-type {ArchiveStore, OperationalStore, VaultStore}
                                             [--backup-instance-name]
                                             [--end-time]
                                             [--ids]
                                             [--resource-group]
                                             [--start-time]
                                             [--subscription]
                                             [--vault-name]

示例

查找可还原的时间范围

az dataprotection restorable-time-range find --backup-instance-name "zblobbackuptestsa58" --end-time "2021-02-24T00:35:17.6829685Z" --source-data-store-type "OperationalStore" --start-time "2020-10-17T23:28:17.6829685Z" --resource-group "Blob-Backup" --vault-name "ZBlobBackupVaultBVTD3"

必需参数

--source-data-store-type

获取或设置源数据存储的类型。

接受的值: ArchiveStore, OperationalStore, VaultStore

可选参数

--backup-instance-name

备份实例的名称。

--end-time

用于列出还原范围请求的结束时间。 采用 ISO 8601 格式。

--ids

一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。

--resource-group -g

资源组的名称。 可以使用 az configure --defaults group=<name> 配置默认组。

--start-time

用于列出还原范围请求的开始时间。 采用 ISO 8601 格式。

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--vault-name -v

备份保管库的名称。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

--help -h

显示此帮助消息并退出。

--only-show-errors

只显示错误,取消显示警告。

--output -o

输出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

提高日志记录详细程度。 使用 --debug 获取完整的调试日志。