我正在尝试使用自定义映像和现有的VNET / SUBNET部署VM规模集,遗憾的是它无法运行可以对此有任何帮助吗?
我有两个模板:
我尝试将模板一加入模板二,以便模板三可以在现有的vnett中创建Windows VMSS,遗憾的是它无法运行,有什么帮助吗?
>>> "virtualMachineProfile": {
"storageProfile": {
"osDisk": {
"name": "vmssosdisk",
"caching": "ReadOnly",
"createOption": "FromImage",
"osType": "Windows",
"image": {
"uri": "[parameters('sourceImageVhdUri')]"
以下是错误消息
"target": "vmss.properties.osProfile",
"message": "Could not find member 'osProfile' on object of type
'Properties'. Path 'properties.osProfile', line 1, position
"target": "vmss.properties.networkProfile",
"message": "Could not find member 'networkProfile' on object of
'Properties'. Path 'properties.networkProfile', line 1, position
"code": "BadRequest",
"message": "The request message is invalid.">