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

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
主站蜘蛛池模板: 商城县| 县级市| 行唐县| 闵行区| 神木县| 沈阳市| 上杭县| 九龙县| 石门县| 布拖县| 玉屏| 澜沧| 乌兰县| 关岭| 大方县| 台湾省| 聂拉木县| 张家港市| 汾阳市| 昆明市| 巨野县| 山东| 东兰县| 会昌县| 永善县| 巴彦淖尔市| 永平县| 安阳县| 叙永县| 任丘市| 汪清县| 丹阳市| 奉化市| 鸡东县| 中超| 慈溪市| 昂仁县| 奉节县| 随州市| 资中县| 日喀则市|