共用方式為


az cosmosdb table restorable-table

備註

此命令群組具有 Azure CLI 和至少一個擴充功能中定義的命令。 安裝每個擴充功能以受益於其擴充功能。 深入瞭解擴充功能

管理可在 Azure Cosmos DB 帳戶中還原的不同數據表版本。

命令

名稱 Description 類型 狀態
az cosmosdb table restorable-table list

列出在指定可還原帳戶中建立/修改/刪除的所有數據表版本。

核心 GA
az cosmosdb table restorable-table list (cosmosdb-preview 擴充功能)

列出在指定可還原帳戶中建立/修改/刪除的所有數據表版本。

擴充套件 預覽

az cosmosdb table restorable-table list

列出在指定可還原帳戶中建立/修改/刪除的所有數據表版本。

az cosmosdb table restorable-table list --instance-id
                                        --location
                                        [--end-time]
                                        [--start-time]

必要參數

--instance-id -i

帳戶的 InstanceId。

--location -l

位置。

選擇性參數

--end-time -e

可還原數據表事件摘要的結束時間。

--start-time -s

可還原數據表事件摘要的開始時間。

全域參數
--debug

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

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

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

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

--subscription

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

--verbose

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

az cosmosdb table restorable-table list (cosmosdb-preview 擴充功能)

預覽

命令群組 『cosmosdb 數據表可還原數據表』 處於預覽狀態,且正在開發中。 參考和支援層級: https://aka.ms/CLI_refstatus

列出在指定可還原帳戶中建立/修改/刪除的所有數據表版本。

az cosmosdb table restorable-table list --instance-id
                                        --location
                                        [--end-time]
                                        [--start-time]

必要參數

--instance-id -i

帳戶的 InstanceId。

--location -l

位置。

選擇性參數

--end-time -e

可還原數據表事件摘要的結束時間。

--start-time -s

可還原數據表事件摘要的開始時間。

全域參數
--debug

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

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

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

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

--subscription

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

--verbose

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