共用方式為


az sf cluster node-type

管理叢集的節點類型。

命令

名稱 Description 類型 狀態
az sf cluster node-type add

將新的節點類型新增至叢集。

Core GA

az sf cluster node-type add

將新的節點類型新增至叢集。

az sf cluster node-type add --capacity
                            --cluster-name
                            --node-type
                            --resource-group
                            --vm-password
                            --vm-user-name
                            [--durability-level {Bronze, Gold, Silver}]
                            [--vm-sku]
                            [--vm-tier]

範例

將新的節點類型新增至叢集。

az sf cluster node-type add -g group-name -c cluster1 --node-type 'n2' --capacity 5 --vm-user-name 'adminName' --vm-password testPassword0

必要參數

--capacity

套用至節點類型中節點的容量標籤。 叢集資源管理員會使用這些標籤來了解節點擁有多少容量。

--cluster-name -c

如果未指定,請指定叢集的名稱會與資源組名相同。

--node-type

節點類型名稱。

--resource-group -g

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

--vm-password

Vm 的密碼。

--vm-user-name

用於登入 Vm 的用戶名稱。 預設值為 adminuser。

選擇性參數

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

--durability-level

Durability level.

屬性
預設值: Bronze
接受的值: Bronze, Gold, Silver
--vm-sku

VM Sku.

屬性
預設值: Standard_D2_V2
--vm-tier

VM tier.

屬性
預設值: Standard
全域參數
--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/

--subscription

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

--verbose

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

屬性
預設值: False