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

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
主站蜘蛛池模板: 吕梁市| 汉中市| 搜索| 门头沟区| 子长县| 舞阳县| 德昌县| 清新县| 江津市| 乌什县| 通榆县| 贵阳市| 丹寨县| 南部县| 平武县| 唐河县| 庆元县| 合江县| 轮台县| 宁夏| 荥阳市| 利辛县| 新郑市| 托克逊县| 虞城县| 平安县| 鹿泉市| 柳州市| 富民县| 浦北县| 丰原市| 安新县| 吉木萨尔县| 普安县| 扶沟县| 东丰县| 资溪县| 西乌珠穆沁旗| 龙泉市| 潼南县| 巍山|