az cosmosdb postgres

Manage Azure Cosmos DB for PostgreSQL resources.

命令

名稱 Description 類型 狀態
az cosmosdb postgres check-name-availability

檢查叢集名稱的可用性。 叢集名稱應該是全域唯一的;至少 3 個字元,最多 40 個字元;它們只能包含小寫字母、數位和連字元;和不得以連字元開頭或結尾。

Core GA
az cosmosdb postgres cluster

Manage Azure Cosmos DB for PostgreSQL clusters.

Core GA
az cosmosdb postgres cluster create

使用節點建立新的叢集。

Core GA
az cosmosdb postgres cluster delete

將叢集與其中節點一起刪除。

Core GA
az cosmosdb postgres cluster list

列出訂用帳戶或資源群組中的所有叢集。

Core GA
az cosmosdb postgres cluster promote

將讀取複本叢集升階為獨立的讀寫叢集。

Core GA
az cosmosdb postgres cluster restart

重新啟動叢集中的所有節點。

Core GA
az cosmosdb postgres cluster server

Manage Azure Cosmos DB for PostgreSQL cluster servers.

Core GA
az cosmosdb postgres cluster server list

列出叢集的節點。

Core GA
az cosmosdb postgres cluster server show

取得叢集中節點的相關信息。

Core GA
az cosmosdb postgres cluster show

取得叢集的相關信息,例如計算和記憶體組態,以及叢集生命週期元數據,例如叢集建立日期和時間。

Core GA
az cosmosdb postgres cluster start

在所有叢集節點上啟動已停止的計算。

Core GA
az cosmosdb postgres cluster stop

停止所有叢集節點上的計算。

Core GA
az cosmosdb postgres cluster update

更新現有的叢集。 要求主體可以包含叢集定義的一或多個屬性。

Core GA
az cosmosdb postgres cluster wait

將 CLI 置於等候狀態,直到符合條件為止。

Core GA
az cosmosdb postgres configuration

Manage Azure Cosmos DB for PostgreSQL configurations.

Core GA
az cosmosdb postgres configuration coordinator

Manage Azure Cosmos DB for PostgreSQL coordinator configurations.

Core GA
az cosmosdb postgres configuration coordinator show

取得協調器設定的資訊。

Core GA
az cosmosdb postgres configuration coordinator update

更新叢集中協調器設定。

Core GA
az cosmosdb postgres configuration coordinator wait

將 CLI 置於等候狀態,直到符合條件為止。

Core GA
az cosmosdb postgres configuration list

列出叢集的所有組態。

Core GA
az cosmosdb postgres configuration node

Manage Azure Cosmos DB for PostgreSQL node configurations.

Core GA
az cosmosdb postgres configuration node show

取得背景工作節點的組態資訊。

Core GA
az cosmosdb postgres configuration node update

更新叢集中背景工作節點的設定。

Core GA
az cosmosdb postgres configuration node wait

將 CLI 置於等候狀態,直到符合條件為止。

Core GA
az cosmosdb postgres configuration server

Manage Azure Cosmos DB for PostgreSQL server configurations.

Core GA
az cosmosdb postgres configuration server list

列出叢集中伺服器的所有組態。

Core GA
az cosmosdb postgres configuration show

取得協調器和節點的組態資訊。

Core GA
az cosmosdb postgres firewall-rule

Manage Azure Cosmos DB for PostgreSQL firewall rules.

Core GA
az cosmosdb postgres firewall-rule create

建立新的叢集防火牆規則,或更新現有的叢集防火牆規則。

Core GA
az cosmosdb postgres firewall-rule delete

刪除叢集防火牆規則。

Core GA
az cosmosdb postgres firewall-rule list

列出叢集上的所有防火牆規則。

Core GA
az cosmosdb postgres firewall-rule show

取得叢集防火牆規則的相關信息。

Core GA
az cosmosdb postgres firewall-rule update

更新現有的叢集防火牆規則。

Core GA
az cosmosdb postgres firewall-rule wait

將 CLI 置於等候狀態,直到符合條件為止。

Core GA
az cosmosdb postgres role

Manage Azure Cosmos DB for PostgreSQL roles.

Core GA
az cosmosdb postgres role create

建立新的角色或更新現有的角色。

Core GA
az cosmosdb postgres role delete

刪除叢集角色。

Core GA
az cosmosdb postgres role list

列出指定叢集中的所有角色。

Core GA
az cosmosdb postgres role show

取得叢集角色的相關信息。

Core GA
az cosmosdb postgres role update

更新現有的角色。

Core GA
az cosmosdb postgres role wait

將 CLI 置於等候狀態,直到符合條件為止。

Core GA

az cosmosdb postgres check-name-availability

檢查叢集名稱的可用性。 叢集名稱應該是全域唯一的;至少 3 個字元,最多 40 個字元;它們只能包含小寫字母、數位和連字元;和不得以連字元開頭或結尾。

az cosmosdb postgres check-name-availability --name
                                             --type {Microsoft.DBforPostgreSQL/serverGroupsv2}
                                             [--acquire-policy-token]
                                             [--change-reference]

必要參數

--name

要驗證的叢集名稱。

屬性 值
參數群組: NameAvailabilityRequest Arguments
--type

用於驗證的資源類型。

屬性 值
參數群組: NameAvailabilityRequest Arguments
接受的值: Microsoft.DBforPostgreSQL/serverGroupsv2

選擇性參數

下列參數是選擇性參數,但視內容而定,命令可能需要一或多個參數才能成功執行。

--acquire-policy-token

自動取得 Azure 原則 令牌以進行此資源操作。

屬性 值
參數群組: Global Policy Arguments
--change-reference

相關變更的 ID 是為此資源操作所參考的。

屬性 值
參數群組: Global Policy Arguments
全域參數
--debug

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

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

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

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

輸出格式。

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

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

--subscription

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

--verbose

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

屬性 值
預設值: False