你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
az sf cluster node-type
管理群集的节点类型。
命令
名称 | 说明 | 类型 | 状态 |
---|---|---|---|
az sf cluster node-type add |
向群集添加新节点类型。 |
核心 | 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。
可选参数
--durability-level
持续性级别。
接受的值: Bronze, Gold, Silver
默认值: Bronze
--vm-sku
VM SKU。
默认值: Standard_D2_V2
--vm-tier
VM 层。
默认值: Standard
全局参数
--debug
提高日志记录详细程度以显示所有调试日志。
--help -h
显示此帮助消息并退出。
--only-show-errors
只显示错误,取消显示警告。
--output -o
输出格式。
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
默认值: json
--query
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
--subscription
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
--verbose
提高日志记录详细程度。 使用 --debug 获取完整的调试日志。
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈