Microsoft.EventHub namespaces 2015-08-01

Template format

To create a Microsoft.EventHub/namespaces resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.EventHub/namespaces",
  "apiVersion": "2015-08-01",
  "location": "string",
  "sku": {
    "name": "string",
    "tier": "string",
    "capacity": "integer"
  },
  "tags": {},
  "properties": {
    "status": "string",
    "serviceBusEndpoint": "string",
    "enabled": "boolean"
  },
  "resources": []
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.EventHub/namespaces object

Name Type Required Value
name string Yes The Namespace name
type enum Yes Microsoft.EventHub/namespaces
apiVersion enum Yes 2015-08-01
location string Yes Namespace location.
sku object No Sku object
tags object No Namespace tags.
properties object Yes NamespaceProperties object
resources array No eventhubs AuthorizationRules

Sku object

Name Type Required Value
name enum No Name of this SKU. - Basic or Standard
tier enum Yes The billing tier of this particular SKU. - Basic, Standard, Premium
capacity integer No The Event Hubs throughput units.

NamespaceProperties object

Name Type Required Value
status enum No State of the Namespace. - Unknown, Creating, Created, Activating, Enabling, Active, Disabling, Disabled, SoftDeleting, SoftDeleted, Removing, Removed, Failed
serviceBusEndpoint string No Endpoint you can use to perform Service Bus operations.
enabled boolean No Specifies whether this instance is enabled.

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Create Event Grid custom topic and event hub handler.

Deploy to Azure
Creates an Azure Event Grid custom topic and event hub to handle the events.
Create an event hub

Deploy to Azure
This template enables you to deploy a EventHubs namespace with an event hub.
Create a Eventhub namespace and geo-recovery configuration

Deploy to Azure
This template enables you to deploy a Service Bus namespace with a Basic/Standard SKU.
Creates Event Hub cluster & namesapce in cluster

Deploy to Azure
This template enables you to create EventHubs Cluster and a namespace in cluster
Creates Eventhub cluster, namesapce & eventhub

Deploy to Azure
This template enables you to create EventHubs Cluster, namespace and eventhub in cluster
Create an EventHubs namespace, Event Hub, & consumer group

Deploy to Azure
This template enables you to deploy an Event Hubs Standard namespace, an Event Hub, and a consumer group.
Create EventHubs with Capture enabled

Deploy to Azure
This template enables you to deploy a EventHubs namespace with an event hub and enabling Capture on it
Create EventHubs with Capture enabled

Deploy to Azure
This template enables you to deploy a EventHubs namespace with an event hub and enabling Capture on it
Create an EventHubs namespace and enable auto-inflate

Deploy to Azure
This template enables you to deploy an Event Hubs Standard namespace, an Event Hub, and a consumer group.This template also turns on the auto-inflate feature on your namespace.
Connect to a Event Hubs namespace via private endpoint

Deploy to Azure
This sample shows how to use configure a virtual network and private DNS zone to access a Event Hubs namespace via a private endpoint.
Azure SQL Server with Auditing written to Event Hub

Deploy to Azure
This template allows you to deploy an Azure SQL server with Auditing enabled to write audit logs to Event Hub
Create an Environment with an Event Hub Event Source

Deploy to Azure
This template enables you to deploy a Time Series Insights environment that is configured to consume events from an Event Hub.
Create EventHubs authorizationRules

Deploy to Azure
This template enables you to deploy a EventHubs Standard namespace, an Event Hub, a consumer group and authorizationRules
Create a Service Bus namespace IP Filter rule

Deploy to Azure
This template enables you to deploy a Service Bus Premium namespace with IP Filter rule
Create a Event Hubs namespace Virtual Network rule

Deploy to Azure
This template enables you to deploy a Event Hubs Standard namespace with Virtual Network rule
PubNub Realtime Gateway for Azure Event Hubs

Deploy to Azure
The PubNub Realtime Gateway for Azure provides a realtime data stream bridge between the PubNub Data Stream Network and Azure Event Hubs. -- consider it a bi-directional bridge between PubNub and Azure!