Author: Ravi C Kolandaiswamy/Wednesday, February 10, 2016/Categories: Windows Azure Pack, Microsoft Azure, VConnect, Azure Connect
Step 1: Install VConnect for Windows Azure Pack. You can download a free trail by registering here.
Step 2: Add a Azure Connection to a Azure Subscription. Follow steps mentioned here to prepare and add your subscription to VConnect from WAP Admin Portal.
Step 3: Create a new Azure Resource Manager template that deploys a single Virtual Machine or download from Azure Quick Start templates here.
In the ARM template:
- Configure dependent resources such as Storage Accounts, Public IP, VNets etc., to suit your needs
- Parameterize values you like to change in future youself as an admin or if you may want to expose those to end users.
All Parameters in ARM templates will be dynamically shown for administrators in VM Template creation wizard for further customization. Any parameters that the admin allows Tenant users to override will be shown to the end user in VM Creation Wizard.
Following is a sample template that ships with Azure Connect on VConnect: Show Hide
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"vmName": { "type": "string" },
"vmSize": {
"type": "string",
"defaultValue": "Standard_A1",
"allowedValues": [
"Basic_A0",
"Basic_A1",
"Basic_A2",
"Basic_A3",
"Basic_A4",
"Standard_A0",
"Standard_A1",
"Standard_A2",
"Standard_A3",
"Standard_A4",
"Standard_A5",
"Standard_A6",
"Standard_A7",
"Standard_A8",
"Standard_A9",
"Standard_A10",
"Standard_A11"
],
"metadata": {
"description": "Azure VM Sizes. If you dont see a size you want, please check with your administrator."
}
},
"location": {
"defaultValue": "West US",
"East Asia",
"Southeast Asia",
"Central US",
"East US",
"East US 2",
"West US",
"North Central US",
"South Central US",
"North Europe",
"West Europe",
"Japan West",
"Japan East",
"Brazil South",
"Australia East",
"Australia Southeast",
"Central India",
"West India",
"South India"
"description": "Azure Locations. If you dont see a location you want, please check with your administrator."
"storageAccountName": {
"description": "Storage Account Name."
"adminUsername": {
"description": "Username for the Virtual Machine."
"adminPassword": {
"type": "securestring",
"description": "Password for the Virtual Machine."
"windowsOSVersion": {
"defaultValue": "2012-R2-Datacenter",
"2008-R2-SP1",
"2012-Datacenter",
"2012-R2-Datacenter",
"2016-Technical-Preview-3-with-Containers",
"Windows-Server-Technical-Preview"
"description": "The Windows version for the VM. This will pick a fully patched image of this given Windows version. Allowed values: 2008-R2-SP1, 2012-Datacenter, 2012-R2-Datacenter."
"variables": {
"imagePublisher": "MicrosoftWindowsServer",
"imageOffer": "WindowsServer",
"addressPrefix": "10.0.0.0/16",
"subnetName": "Subnet",
"subnetPrefix": "10.0.0.0/24",
"storageAccountType": "Standard_LRS",
"publicIPAddressType": "Dynamic",
"vmStorageAccountContainerName": "vhds",
"subnetRef": "[concat(variables('vnetID'),'/subnets/',variables('subnetName'))]",
"nicName": "[concat('Nic', uniqueString(parameters('vmName'), resourceGroup().id))]",
"publicIPAddressName": "[concat('PIP',parameters('vmName'), uniqueString(resourceGroup().id))]",
"virtualNetworkName": "[concat('VNet',parameters('vmName'), uniqueString(resourceGroup().id))]",
"dnsNameForPublicIP": "[concat('DNS',parameters('vmName'), uniqueString(resourceGroup().id))]",
"vnetID": "[resourceId('Microsoft.Network/virtualNetworks',variables('virtualNetworkName'))]"
"resources": [
"apiVersion": "2015-05-01-preview",
"type": "Microsoft.Network/publicIPAddresses",
"name": "[variables('publicIPAddressName')]",
"location": "[parameters('location')]",
"tags": {
"displayName": "PublicIPAddress",
"associatedVM": "[parameters('vmName')]"
"properties": {
"publicIPAllocationMethod": "[variables('publicIPAddressType')]",
"dnsSettings": {
"domainNameLabel": "[toLower(variables('dnsNameForPublicIP'))]"
"type": "Microsoft.Network/virtualNetworks",
"name": "[variables('virtualNetworkName')]",
"displayName": "VirtualNetwork",
"addressSpace": {
"addressPrefixes": [
"[variables('addressPrefix')]"
]
"subnets": [
"name": "[variables('subnetName')]",
"addressPrefix": "[variables('subnetPrefix')]"
"type": "Microsoft.Network/networkInterfaces",
"name": "[variables('nicName')]",
"displayName": "NetworkInterface",
"dependsOn": [
"[concat('Microsoft.Network/publicIPAddresses/', variables('publicIPAddressName'))]",
"[concat('Microsoft.Network/virtualNetworks/', variables('virtualNetworkName'))]"
"ipConfigurations": [
"name": "ipconfig1",
"privateIPAllocationMethod": "Dynamic",
"publicIPAddress": {
"id": "[resourceId('Microsoft.Network/publicIPAddresses',variables('publicIPAddressName'))]"
"subnet": {
"id": "[variables('subnetRef')]"
"type": "Microsoft.Compute/virtualMachines",
"name": "[parameters('vmName')]",
"displayName": "VirtualMachine"
"[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]"
"hardwareProfile": {
"vmSize": "[parameters('vmSize')]"
"osProfile": {
"computerName": "[parameters('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('storageAccountName'),'.blob.core.windows.net/',variables('vmStorageAccountContainerName'),'/',parameters('vmName'),'.vhd')]"
"caching": "ReadWrite",
"createOption": "FromImage"
"networkProfile": {
"networkInterfaces": [
"id": "[resourceId('Microsoft.Network/networkInterfaces',variables('nicName'))]"
Step 4: After customizing the ARM template, you can drop it in VConnect install location at "%systemdrive%:\inetpub\MgmtSvc-CloudAssert-VConnect\bin\ArmTemplates\"
Step 5: Create a VM Template and choose the ARM template
Step 6: Customize the Parameters and provide admin defaults
Step 7: Login from Tenant Portal as a tenant user and Create new VM from VConnect
Select the subscription and appropriate Connection in which you have created the VM Template in previous steps:
If you have only one connection, you will not see a connection drop down, thats ok, click next to go to next step.
Choose a VM Template:
Input the values asked by the Wizard and click ok:
These are the parameters defined both in ARM Templates, which was later customized by administrator via VM Template creation process from WAP admin portal. Tenant users only sees the parameters that the administrator has allowed for end users to override.
Number of views (7824)/Comments (3)
ukbestessay
7/5/2018 10:16 AM
This article I have chosen for undrestanding their azure resources and manager templates for all the blogs followers. These all details we gathered for making better opportunities and manager templates for all of them.
assignment help
9/4/2018 4:41 AM
Few out of every odd kind of asset can be produced today, in spite of the fact that it appears as though Microsoft continue expanding the extent of the assets that they create ARM layouts for. It may be that you simply need to hold up few weeks.
C
10/29/2018 4:19 AM
Play Free mahjongg connect,such a great awesome mined based game,now use your skill and create the best new high score,i am sure you like and simple to control Mahjong connect free.