2021-11-15 12:25:50 +03:00
|
|
|
{
|
|
|
|
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
|
|
|
|
"contentVersion": "1.0.0.0",
|
|
|
|
"metadata": {
|
|
|
|
"_generator": {
|
|
|
|
"name": "bicep",
|
2024-01-17 06:39:09 +03:00
|
|
|
"version": "0.24.24.22086",
|
|
|
|
"templateHash": "15911896001062089949"
|
2021-11-15 12:25:50 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"parameters": {
|
2024-01-17 06:39:09 +03:00
|
|
|
"name": {
|
2021-11-15 12:25:50 +03:00
|
|
|
"type": "string",
|
|
|
|
"metadata": {
|
|
|
|
"description": "The name of the Event Grid Topic."
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"location": {
|
|
|
|
"type": "string",
|
|
|
|
"defaultValue": "[resourceGroup().location]",
|
|
|
|
"metadata": {
|
|
|
|
"description": "The location resources will be deployed."
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"resources": [
|
|
|
|
{
|
|
|
|
"type": "Microsoft.EventGrid/topics",
|
2024-01-17 06:39:09 +03:00
|
|
|
"apiVersion": "2022-06-15",
|
|
|
|
"name": "[parameters('name')]",
|
2021-11-15 12:25:50 +03:00
|
|
|
"location": "[parameters('location')]",
|
|
|
|
"identity": {
|
|
|
|
"type": "SystemAssigned"
|
|
|
|
},
|
|
|
|
"properties": {
|
|
|
|
"disableLocalAuth": true,
|
|
|
|
"publicNetworkAccess": "Disabled",
|
|
|
|
"inputSchema": "CloudEventSchemaV1_0"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|