Framework/Configurations/SVT/SampleARMTemplates/NotificationHubTemplate_ARM.json
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { "namespace_name": { "type": "string", "metadata": { "description": "Name of the Name Space" } }, "notificationHub_name": { "type": "string", "metadata": { "description": "Name of the NotificationHub" } }, "location": { "defaultValue": "East US", "type": "String" } }, "variables": { }, "resources": [ { "type": "Microsoft.NotificationHubs/namespaces", "sku": { "name": "Basic" }, "kind": "NotificationHub", "name": "[parameters('namespace_name')]", "apiVersion": "2014-09-01", "location": "[parameters('location')]", "tags": { }, "scale": null, "properties": { "namespaceType": "NotificationHub" }, "dependsOn": [ ] }, { "type": "Microsoft.NotificationHubs/namespaces/notificationHubs", "name": "[concat(parameters('namespace_name'), '/', parameters('notificationHub_name'))]", "apiVersion": "2014-09-01", "location": "[parameters('location')]", "scale": null, "properties": { "authorizationRules": [ ] }, "resources": [ { "name": "DefaultFullSharedAccessSignature",//[Azure_NotificationHub_AuthZ_Dont_Use_Manage_Access_Permission] don't use manage access policies "type": "authorizationRules", "apiVersion": "2016-03-01", "properties": { "rights": [ "Listen", "Send" ] }, "dependsOn": [ "[concat('Microsoft.NotificationHubs/namespaces/', parameters('namespace_name'),'/notificationHubs/',parameters('notificationHub_name'))]" ] } ], "dependsOn": [ "[resourceId('Microsoft.NotificationHubs/namespaces', parameters('namespace_name'))]" ] } ] } |