Skip to content

Instantly share code, notes, and snippets.

@JanneMattila
Last active February 5, 2021 14:53
Show Gist options
  • Save JanneMattila/127ce1c7614a90e7351fb57dc11779c0 to your computer and use it in GitHub Desktop.
Save JanneMattila/127ce1c7614a90e7351fb57dc11779c0 to your computer and use it in GitHub Desktop.
{
"sku": {
"name": "Standard",
"tier": "Standard",
"capacity": 1
},
"id": "/subscriptions/<subid>/resourceGroups/<rgname>/providers/Microsoft.EventHub/namespaces/demo",
"name": "demo",
"type": "Microsoft.EventHub/Namespaces",
"location": "North Europe",
"tags": {},
"properties": {
"isAutoInflateEnabled": false,
"maximumThroughputUnits": 0,
"kafkaEnabled": true,
"provisioningState": "Succeeded",
"metricId": "fe96af56-d420-480f-b114-c5212e584456:demo",
"createdAt": "2021-01-26T08:53:25.74Z",
"updatedAt": "2021-01-26T08:56:48.807Z",
"serviceBusEndpoint": "https://demo.servicebus.windows.net:443/",
"status": "Active"
}
},
{
"type": "Microsoft.EventHub/namespaces/networkRuleSets",
"apiVersion": "2018-01-01-preview",
"name": "demo/default'",
"location": "North Europe",
"dependsOn": [
"[resourceId('Microsoft.EventHub/namespaces', 'demo')]"
],
"properties": {
"defaultAction": "Deny",
"virtualNetworkRules": [
{
"subnet": {
"id": "/subscriptions/<subid>/resourcegroups/<rgname>/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet"
},
"ignoreMissingVnetServiceEndpoint": false
}
],
"ipRules": []
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment