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

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
主站蜘蛛池模板: 平度市| 茶陵县| 拉孜县| 宜都市| 嘉祥县| 平顺县| 张家界市| 积石山| 枝江市| 双桥区| 潼南县| 鲁甸县| 镶黄旗| 大连市| 巨鹿县| 和平区| 眉山市| 昌图县| 鸡东县| 微博| 天气| 万荣县| 呈贡县| 玉环县| 错那县| 广河县| 安阳市| 贵州省| 义乌市| 平潭县| 彭山县| 峨眉山市| 漯河市| 乐安县| 石渠县| 筠连县| 莒南县| 徐闻县| 丽江市| 南雄市| 吉林省|