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
必要參數
套用至節點類型中節點的容量標籤。 叢集資源管理員會使用這些標籤來了解節點擁有多少容量。
如果未指定,請指定叢集的名稱會與資源組名相同。
節點類型名稱。
指定資源組名。 您可以使用 az configure --defaults group=<name>
來設定預設群組。
Vm 的密碼。
用於登入 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.
屬性 | 值 |
---|---|
預設值: | Bronze |
接受的值: | Bronze, Gold, Silver |
VM Sku.
屬性 | 值 |
---|---|
預設值: | Standard_D2_V2 |
VM tier.
屬性 | 值 |
---|---|
預設值: | Standard |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
屬性 | 值 |
---|---|
預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
屬性 | 值 |
---|---|
預設值: | False |
Output format.
屬性 | 值 |
---|---|
預設值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID
來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
屬性 | 值 |
---|---|
預設值: | False |