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')]"
}
}
}
]
}
}
}
],