Skip to content

A collection of flexible ARM templates for building availabilitySets in Azure

License

Notifications You must be signed in to change notification settings

ArmReference/compute-availabilitySets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

compute-availabilitySets

Reference Template

{
  "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "StorageAccountName": {
      "type": "string"
    },
    "ContainerName": {
      "type": "string"
    },
    "SasToken": {
      "type": "string"
    }
  },
  "variables": {
    "Provider": "/Microsoft.Compute",
    "Resource": "/availabilitySets",
    "templateUri": "[concat('https://',parameters('StorageAccountName'),'.blob.core.windows.net/',parameters('ContainerName'),variables('Provider'),variables('Resource'))]"
  },
  "resources": [
    {
      "name": "DeployAvailabilitySet",
      "type": "Microsoft.Resources/deployments",
      "apiVersion": "2016-09-01",
      "dependsOn": [ ],
      "properties": {
        "mode": "Incremental",
        "templateLink": {
          "uri": "[concat(variables('templateUri'), '/availabilitySets.json', parameters('SasToken'))]",
          "contentVersion": "2017.09.01.0"
        },
        "parameters": {
          "name": {
            "value": "avSet"
          },
          "skuName": {
            "value": "Aligned"
          },
          "tags": {
            "value": "[json('{\"TagName\": \"TagValue\"}')]"
          }
        }
      }
    }
  ],
  "outputs": {
    "availabilitySets": {
      "type": "object",
      "value": "[reference('DeployAvailabilitySet').outputs.availabilitySets.value]"
    }
  }
}

About

A collection of flexible ARM templates for building availabilitySets in Azure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published