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

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
主站蜘蛛池模板: 浦城县| 金阳县| 南丰县| 泰和县| 黔南| 神木县| 嘉禾县| 明溪县| 辽阳市| 阿拉尔市| 河北省| 巢湖市| 福海县| 万安县| 澄迈县| 长治市| 阳江市| 澎湖县| 平顺县| 治县。| 廊坊市| 桂平市| 长丰县| 沙洋县| 宜州市| 贵港市| 蒲城县| 花莲县| 辽阳市| 陵川县| 乐东| 阿合奇县| 城步| 邵东县| 渑池县| 宝兴县| 札达县| 介休市| 密云县| 同德县| 壤塘县|