官术网_书友最值得收藏!

PowerShell and ARM Template

Before we get started on this section, make sure that you have installed the Azure Development Workload, as shown in the following screenshot:

Azure Development Workload in Visual Studio

Let's take a look at the basic structure of the template system used to deploy resources to Azure:

{ 
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "",
"parameters": { },
"variables": { },
"functions": { },
"resources": [ ],
"outputs": { }
}

Let's look at what the elements in the schema mean and whether some of them are required:

Now that we have seen how the template is structured, let's look at how a vanilla virtual machine is deployed to put it all together.  You can create an ARM template project in Visual Studio by selecting the Azure Resource Group project under New Projects, as shown in the following screenshot:

Visual Studio  Azure Resource Group
主站蜘蛛池模板: 长子县| 辽宁省| 台江县| 葵青区| 黑龙江省| 理塘县| 盐山县| 什邡市| 堆龙德庆县| 分宜县| 绩溪县| 松原市| 穆棱市| 安徽省| 景宁| 剑河县| 龙南县| 宜章县| 陕西省| 石城县| 阜康市| 河南省| 本溪| 兴宁市| 长丰县| 大名县| 米脂县| 阳朔县| 永吉县| 台前县| 伊金霍洛旗| 百色市| 澎湖县| 汶川县| 建德市| 阳信县| 宝山区| 岑巩县| 江西省| 北宁市| 罗甸县|