Arm 使用自定义映像在现有VNET/子网中设置VM规模?

Arm 使用自定义映像在现有VNET/子网中设置VM规模?,arm,Arm,我正试图在现有的VNET/子网中部署带有自定义映像的VM规模集,不幸的是,它无法运行,对此有什么帮助吗 我有两个模板: templateone使用windows创建VM,使用自定义映像创建Vnet templatetwo使用linux和现有VNET创建虚拟机 我尝试将模板1合并到模板2,以便模板3可以在现有的vnett中创建windows虚拟机,不幸的是它无法运行,有什么帮助吗 >>> "virtualMachineProfile": { "sto

我正试图在现有的VNET/子网中部署带有自定义映像的VM规模集,不幸的是,它无法运行,对此有什么帮助吗

我有两个模板:

  • templateone使用windows创建VM,使用自定义映像创建Vnet
  • templatetwo使用linux和现有VNET创建虚拟机 我尝试将模板1合并到模板2,以便模板3可以在现有的vnett中创建windows虚拟机,不幸的是它无法运行,有什么帮助吗

          >>> "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.">
    

    您的问题和标签“arm”之间的联系是什么?我认为您可能会在其他标签上找到更多答案,如vmware或其他更准确的技术configure@Garf365这是我正在处理的Azure ARM模板…你的问题和标签“ARM”之间的链接是什么?我认为,如果使用其他标签,例如vmware或其他更准确的技术,您可能会得到更多答案configure@Garf365这是我正在处理的Azure ARM模板。。。