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

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
主站蜘蛛池模板: 汝城县| 马山县| 苏尼特左旗| 合川市| 祁连县| 勐海县| 海口市| 崇仁县| 凤城市| 白沙| 宣汉县| 长春市| 台江县| 灌云县| 千阳县| 莱西市| 无为县| 黄陵县| 抚松县| 宣汉县| 加查县| 鄂尔多斯市| 开远市| 霍州市| 洛宁县| 海口市| 柳州市| 大足县| 吉水县| 蒙阴县| 东安县| 鄱阳县| 集安市| 沽源县| 甘德县| 大关县| 贡觉县| 尼木县| 栖霞市| 杨浦区| 电白县|