JSON

JSON is an alternative to YAML and support for this format has been included due to the popularity of the format The following is an example of a JSON file to deploy a simple Resource Group and Keyvault in Azure.

{
  "azResourceGroup": [
    {
      "Name": "rg-jdex-keyvault",
      "ConnectionName": "az-jd-sub1",
      "Location": "uksouth",
      "Tag": {
        "ProjectManager": "FredSmith",
        "CostCenter": 666
      }
    }
  ],
  "azKeyVault": [
    {
      "Name": "vlt-jdex-keyvault",
      "ConnectionName": "az-jd-sub1",
      "ResourceGroupName": "rg-jdex-keyvault",
      "Location": "uksouth",
      "Sku": "Standard",
      "Tag": {
        "ProjectManager": "FredSmith",
        "CostCenter": 666
      },
      "Lock": [
        {
          "Name": "lock-vault",
          "Level": "CanNotDelete",
          "Notes": "stop accidental deletion"
        }
      ]
    }
  ]
}