共用方式為


az dataprotection restorable-time-range

Note

This reference is part of the dataprotection extension for the Azure CLI (version 2.67.0 or higher). 當您第一次 執行 az dataprotection restorable-time-range 命令時,擴充功能會自動安裝。 Learn more about extensions.

使用數據保護管理可還原的時間範圍。

命令

名稱 Description 類型 狀態
az dataprotection restorable-time-range find

尋找還原的有效恢復點時間點。

Extension 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

選擇性參數

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--backup-instance-name

備份實例的名稱。

屬性
Parameter group: Resource Id Arguments
--end-time

清單還原範圍要求的結束時間。 ISO 8601 格式。

--ids

一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。

屬性
Parameter group: Resource Id Arguments
--resource-group -g

資源組名。 您可以使用 az configure --defaults group=<name>來設定預設群組。

屬性
Parameter group: Resource Id Arguments
--start-time

清單還原範圍要求的開始時間。 ISO 8601 格式。

--subscription

訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。

屬性
Parameter group: Resource Id Arguments
--vault-name -v

備份保存庫的名稱。

屬性
Parameter group: Resource Id Arguments
全域參數
--debug

提高日誌詳細程度以顯示所有調試日誌。

屬性
預設值: False
--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

屬性
預設值: False
--output -o

Output format.

屬性
預設值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--verbose

增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。

屬性
預設值: False