共用方式為


az cosmosdb postgres

管理適用于 PostgreSQL 資源的 Azure Cosmos DB。

命令

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

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

核心 GA
az cosmosdb postgres cluster

管理適用于 PostgreSQL 叢集的 Azure Cosmos DB。

核心 GA
az cosmosdb postgres cluster create

使用節點建立新的叢集。

核心 GA
az cosmosdb postgres cluster delete

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

核心 GA
az cosmosdb postgres cluster list

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

核心 GA
az cosmosdb postgres cluster promote

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

核心 GA
az cosmosdb postgres cluster restart

重新開機叢集中的所有節點。

核心 GA
az cosmosdb postgres cluster server

管理適用于 PostgreSQL 叢集伺服器的 Azure Cosmos DB。

核心 GA
az cosmosdb postgres cluster server list

列出叢集的節點。

核心 GA
az cosmosdb postgres cluster server show

取得叢集中節點的相關資訊。

核心 GA
az cosmosdb postgres cluster show

取得叢集的相關資訊,例如計算和儲存體組態,以及叢集生命週期中繼資料,例如叢集建立日期和時間。

核心 GA
az cosmosdb postgres cluster start

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

核心 GA
az cosmosdb postgres cluster stop

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

核心 GA
az cosmosdb postgres cluster update

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

核心 GA
az cosmosdb postgres cluster wait

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

核心 GA
az cosmosdb postgres configuration

管理適用于 PostgreSQL 設定的 Azure Cosmos DB。

核心 GA
az cosmosdb postgres configuration coordinator

管理適用于 PostgreSQL 的 Azure Cosmos DB 協調器設定。

核心 GA
az cosmosdb postgres configuration coordinator show

取得協調器設定的資訊。

核心 GA
az cosmosdb postgres configuration coordinator update

更新叢集中協調器設定。

核心 GA
az cosmosdb postgres configuration coordinator wait

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

核心 GA
az cosmosdb postgres configuration list

列出叢集的所有組態。

核心 GA
az cosmosdb postgres configuration node

管理適用于 PostgreSQL 的 Azure Cosmos DB 節點組態。

核心 GA
az cosmosdb postgres configuration node show

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

核心 GA
az cosmosdb postgres configuration node update

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

核心 GA
az cosmosdb postgres configuration node wait

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

核心 GA
az cosmosdb postgres configuration server

管理適用于 PostgreSQL 的 Azure Cosmos DB 伺服器組態。

核心 GA
az cosmosdb postgres configuration server list

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

核心 GA
az cosmosdb postgres configuration show

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

核心 GA
az cosmosdb postgres firewall-rule

管理適用于 PostgreSQL 的 Azure Cosmos DB 防火牆規則。

核心 GA
az cosmosdb postgres firewall-rule create

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

核心 GA
az cosmosdb postgres firewall-rule delete

刪除叢集防火牆規則。

核心 GA
az cosmosdb postgres firewall-rule list

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

核心 GA
az cosmosdb postgres firewall-rule show

取得叢集防火牆規則的相關資訊。

核心 GA
az cosmosdb postgres firewall-rule update

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

核心 GA
az cosmosdb postgres firewall-rule wait

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

核心 GA
az cosmosdb postgres role

管理適用于 PostgreSQL 角色的 Azure Cosmos DB。

核心 GA
az cosmosdb postgres role create

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

核心 GA
az cosmosdb postgres role delete

刪除叢集角色。

核心 GA
az cosmosdb postgres role list

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

核心 GA
az cosmosdb postgres role show

取得叢集角色的相關資訊。

核心 GA
az cosmosdb postgres role update

更新現有的角色。

核心 GA
az cosmosdb postgres role wait

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

核心 GA

az cosmosdb postgres check-name-availability

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

az cosmosdb postgres check-name-availability --name
                                             --type {Microsoft.DBforPostgreSQL/serverGroupsv2}

必要參數

--name

要驗證的叢集名稱。

--type

用於驗證的資源類型。

接受的值: Microsoft.DBforPostgreSQL/serverGroupsv2
全域參數
--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 來取得完整偵錯記錄。