0
我需要加载可以在用于创建HDInsight群集的模板中为headnode和workernode设置的可能值的列表。有没有可用于此的Java API?或者以其他方式获取列表。此外,我无法找到任何描述模板参数列表或详细信息的文档。使用资源管理器模板创建HDInsight群集时,列出headnode和workernode的允许值
e.g模板:
"computeProfile": {
"roles": [
{
"name": "headnode",
"targetInstanceCount": "2",
"hardwareProfile": {
"vmSize": "Standard_D3"
},
"osProfile": {
"linuxOperatingSystemProfile": {
"username": "[parameters('sshUserName')]",
"password": "[parameters('sshPassword')]"
}
}
},
{
"name": "workernode",
"targetInstanceCount": "[parameters('clusterWorkerNodeCount')]",
"hardwareProfile": {
"vmSize": "Standard_D3"
},
"osProfile": {
"linuxOperatingSystemProfile": {
"username": "[parameters('sshUserName')]",
"password": "[parameters('sshPassword')]"
}
}
}
]
}
}
}
],