Skip to content

Deploy ARM template

David Ebbo edited this page Feb 20, 2015 · 4 revisions
  • Deploy ARM template (more complete API documentation can be found here. Also, you can find more samples here)
ARMClient.exe put /subscriptions/{subscription}/resourceGroups/{resourceGroup}/deployments/{name}?api-version=2014-04-01 @template.json

Sample template.json to create empty site below.

{
  "properties": {
    "templateLink": {
      "uri": "https://dl.dropboxusercontent.com/u/2209341/EmptySite.json",
      "contentVersion": "1.0.0.0",
    },
    "mode": "Incremental",
    "parameters": {
      "siteName": { "value": "{site}" },
      "hostingPlanName": { "value": "{webhostingplan}" },
      "siteLocation": { "value": "{location}" },
    } 
  }
}
Clone this wiki locally