Share via


az cosmosdb restorable-database-account

注意

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

管理可還原的 Azure Cosmos DB 帳戶。

命令

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

列出可以還原的所有資料庫帳戶。

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

列出可以還原的所有資料庫帳戶。

擴充 GA
az cosmosdb restorable-database-account show

顯示可還原之資料庫帳戶的詳細資料。

核心 GA
az cosmosdb restorable-database-account show (cosmosdb-preview 擴充功能)

顯示可還原之資料庫帳戶的詳細資料。

擴充 GA

az cosmosdb restorable-database-account list

列出可以還原的所有資料庫帳戶。

az cosmosdb restorable-database-account list [--account-name]
                                             [--location]

選擇性參數

--account-name -n

帳戶的名稱。

--location -l

位置。​​

全域參數
--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 restorable-database-account list (cosmosdb-preview 擴充功能)

列出可以還原的所有資料庫帳戶。

az cosmosdb restorable-database-account list [--account-name]
                                             [--location]

選擇性參數

--account-name -n

帳戶的名稱。

--location -l

位置。​​

全域參數
--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 restorable-database-account show

顯示可還原之資料庫帳戶的詳細資料。

az cosmosdb restorable-database-account show [--instance-id]
                                             [--location]

選擇性參數

--instance-id -i

帳戶的 InstanceId。

--location -l

位置。​​

全域參數
--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 restorable-database-account show (cosmosdb-preview 擴充功能)

顯示可還原之資料庫帳戶的詳細資料。

az cosmosdb restorable-database-account show [--instance-id]
                                             [--location]

選擇性參數

--instance-id -i

帳戶的 InstanceId。

--location -l

位置。​​

全域參數
--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 來取得完整偵錯記錄。