在 Auto Scaling 规模集中添加现有 VM
Add an existing VM in Autoscaling Sclae Set
是否可以在 Azure Autoscaling 规模集(即将生成)中添加现有虚拟机(已经生成)?是否有任何可用的 ARM 模板?
如果您有 VM 的 syspreped VHD 映像,则可以使用它:
Q. How do you create a VM scale set using a custom image?
A. Leave the vhdContainers property blank, for example:
"storageProfile": {
"osDisk": {
"name": "vmssosdisk",
"caching": "ReadOnly",
"createOption": "FromImage",
"image": {
"uri": "https://mycustomimage.blob.core.windows.net/system/Microsoft.Compute/Images/mytemplates/template-osDisk.vhd"
},
"osType": "Windows"
}
},
是否可以在 Azure Autoscaling 规模集(即将生成)中添加现有虚拟机(已经生成)?是否有任何可用的 ARM 模板?
如果您有 VM 的 syspreped VHD 映像,则可以使用它:
Q. How do you create a VM scale set using a custom image?
A. Leave the vhdContainers property blank, for example:
"storageProfile": { "osDisk": { "name": "vmssosdisk", "caching": "ReadOnly", "createOption": "FromImage", "image": { "uri": "https://mycustomimage.blob.core.windows.net/system/Microsoft.Compute/Images/mytemplates/template-osDisk.vhd" }, "osType": "Windows" } },