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

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
主站蜘蛛池模板: 万载县| 湟源县| 平江县| 新密市| 应用必备| 晋江市| 阿勒泰市| 屏山县| 吴堡县| 晋江市| 穆棱市| 蒙城县| 新兴县| 长沙市| 辉县市| 黄浦区| 邵武市| 宁南县| 库车县| 瓮安县| 陕西省| 灌阳县| 清远市| 太仆寺旗| 呼和浩特市| 夏河县| 安阳市| 洪洞县| 泸州市| 裕民县| 白朗县| 任丘市| 云龙县| 甘谷县| 兴城市| 长岭县| 扎兰屯市| 安西县| 陇南市| 西宁市| 绥滨县|