Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
55 lines (55 sloc) 1.26 KB
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json",
"contentVersion": "1.0.0.0",
"parameters": {
"name": {
"type": "string"
},
"location": {
"type": "string",
"defaultValue": "northeurope"
},
"sku_name": {
"type": "string",
"defaultValue": "F1"
},
"sku_tier": {
"type": "string",
"defaultValue": "Free"
},
"sku_units": {
"type": "string",
"defaultValue": "1"
},
"d2c_partitions": {
"type": "string",
"defaultValue": "2"
},
"features": {
"type": "string",
"defaultValue": "DeviceManagement"
}
},
"resources": [
{
"apiVersion": "2016-02-03",
"type": "Microsoft.Devices/IotHubs",
"name": "[parameters('name')]",
"location": "[parameters('location')]",
"properties": {
"eventHubEndpoints": {
"events": {
"retentionTimeInDays": 1,
"partitionCount": "[parameters('d2c_partitions')]"
}
},
"features": "[parameters('features')]"
},
"sku": {
"name": "[parameters('sku_name')]",
"tier": "[parameters('sku_tier')]",
"capacity": "[parameters('sku_units')]"
}
}
]
}