简体   繁体   English

在manage.windowsazure.com中找不到从资源管理器模板创建的VM

[英]Can't find the VM created from Resource Manager Template in manage.windowsazure.com

I create a VM from resource manager template in powershell. 我从Powershell中的资源管理器模板创建VM。 And it returns successfully. 并且它成功返回。 I can see it in https://portal.azure.com , but can not find it in https://manage.windowsazure.com . 我可以在https://portal.azure.com中看到它,但在https://manage.windowsazure.com中找不到它。 in https://portal.azure.com , the VM is Virtual Machine(V2). https://portal.azure.com中 ,VM是虚拟机(V2)。

My question is: 1. why the VM created by resource template is Virtural Machine(V2)? 我的问题是:1.为什么资源模板创建的虚拟机是虚拟机(V2)? 2. why this kind of VM can not be showed in https://manage.windowsazure.com ? 2.为什么无法在https://manage.windowsazure.com中显示这种VM?

Here is part of the resource template: 这是资源模板的一部分:

    {
    "apiVersion": "2015-05-01-preview",
    "type": "Microsoft.Compute/virtualMachines",
    "name": "[variables('vmName')]",
    "location": "[variables('location')]",
    "dependsOn": [
        "[concat('Microsoft.Storage/storageAccounts/', parameters('newStorageAccountName'))]",
        "[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]"
    ],
    "properties": {
        "hardwareProfile": {
            "vmSize": "[variables('vmSize')]"
        },
        "osProfile": {
            "computername": "[variables('vmName')]",
            "adminUsername": "[parameters('adminUsername')]",
            "adminPassword": "[parameters('adminPassword')]"
        },
        "storageProfile": {
            "imageReference": {
                "publisher": "[variables('imagePublisher')]",
                "offer": "[variables('imageOffer')]",
                "sku" : "[parameters('windowsOSVersion')]",
                "version":"latest"
            },
           "osDisk" : {
                "name": "osdisk",
                "vhd": {
                    "uri": "[concat('http://',parameters('newStorageAccountName'),'.blob.core.windows.net/',variables('vmStorageAccountContainerName'),'/',variables('OSDiskName'),'.vhd')]"
                },
                "caching": "ReadWrite",
                "createOption": "FromImage"
            }
        },
        "networkProfile": {
            "networkInterfaces": [
                {
                    "id": "[resourceId('Microsoft.Network/networkInterfaces',variables('nicName'))]"
                }
            ]
        }
    }
}

ARM模板创建仅在预览门户或ARM模式PowerShell cmdlet中可见的IaaS v2 VM

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM