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

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
主站蜘蛛池模板: 邳州市| 寻乌县| 炎陵县| 莎车县| 青浦区| 延川县| 桐乡市| 如皋市| 黔西县| 齐齐哈尔市| 阳曲县| 郑州市| 天台县| 隆林| 诏安县| 武山县| 敖汉旗| 西充县| 会泽县| 巍山| 正镶白旗| 平塘县| 博白县| 抚宁县| 大丰市| 江都市| 闽侯县| 班玛县| 康定县| 浦城县| 五指山市| 庆云县| 诸城市| 宽甸| 新龙县| 乌兰县| 福鼎市| 视频| 辽中县| 邓州市| 松原市|