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

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
主站蜘蛛池模板: 河津市| 临清市| 甘孜| 邵武市| 乌兰察布市| 都昌县| 河西区| 陕西省| 岳阳县| 台北县| 淮南市| 清水县| 开鲁县| 宁都县| 安福县| 鹤壁市| 阿图什市| 萍乡市| 昭觉县| 阿瓦提县| 平泉县| 信丰县| 安福县| 盱眙县| 玉溪市| 隆德县| 香港 | 丹凤县| 外汇| 苍山县| 东兴市| 延川县| 贡嘎县| 孟村| 平塘县| 石阡县| 营山县| 张掖市| 石城县| 德惠市| 宁晋县|