{
   "properties": {
      "displayName": "Allowed SKUs for Storage Accounts and Virtual Machines",
      "description": "This policy allows you to specify what skus are allowed for storage accounts and virtual machines",
      "parameters": {
         "LISTOFALLOWEDSKUS_1": {
            "type": "Array",
            "metadata": {
               "displayName": "VM SKUs",
               "strongType": "vmSKUs"
            }
         },
         "LISTOFALLOWEDSKUS_2": {
            "type": "Array",
            "metadata": {
               "displayName": "Storage Account SKUs",
               "strongType": "storageSkus"
            }
         }
      },
      "policyDefinitions": [
         {
            "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/cccc23c7-8427-4f53-ad12-b6a63eb452b3",
            "parameters": {
               "listOfAllowedSKUs": {
                  "value": "[parameters('LISTOFALLOWEDSKUS_1')]"
               }
            }
         },
         {
            "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7433c107-6db4-4ad1-b57a-a76dce0154a1",
            "parameters": {
               "listOfAllowedSKUs": {
                  "value": "[parameters('LISTOFALLOWEDSKUS_2')]"
               }
            }
         }
      ],
      "metadata": {
         "category": "Cost Control"
      }
   }
}