- Hands-On Cloud Solutions with Azure
- Greg Leonardo
- 148字
- 2021-06-10 19:44:40
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
推薦閱讀
- 后稀缺:自動化與未來工作
- 大數據項目管理:從規劃到實現
- VMware Performance and Capacity Management(Second Edition)
- 21天學通Java Web開發
- Statistics for Data Science
- 工業自動化技術實訓指導
- Mastering Ceph
- 寒江獨釣:Windows內核安全編程
- 貫通開源Web圖形與報表技術全集
- 智能控制技術及其應用
- 運動控制系統應用及實例解析
- OSGi原理與最佳實踐
- Windows Server 2012 Automation with PowerShell Cookbook
- R:Predictive Analysis
- 光電檢測技術與系統