Microsoft.EventHub namespaces 2015-08-01

The namespaces resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Template format

To create a Microsoft.EventHub/namespaces resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.EventHub/namespaces@2015-08-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  sku: {
    capacity: int
    name: 'string'
    tier: 'string'
  }
  properties: {
    createdAt: 'string'
    enabled: bool
    provisioningState: 'string'
    serviceBusEndpoint: 'string'
    status: 'string'
    updatedAt: 'string'
  }
}

Property values

namespaces

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.EventHub/namespaces'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2015-08-01'
name The resource name string (required)
location Namespace location. string (required)
tags Namespace tags. Dictionary of tag names and values. See Tags in templates
sku SKU parameters supplied to the create Namespace operation Sku
properties Properties of the Namespace supplied for create or update Namespace operation NamespaceProperties

NamespaceProperties

Name Description Value
createdAt The time the Namespace was created. string
enabled Specifies whether this instance is enabled. bool
provisioningState Provisioning state of the Namespace. string
serviceBusEndpoint Endpoint you can use to perform Service Bus operations. string
status State of the Namespace. 'Activating'
'Active'
'Created'
'Creating'
'Disabled'
'Disabling'
'Enabling'
'Failed'
'Removed'
'Removing'
'SoftDeleted'
'SoftDeleting'
'Unknown'
updatedAt The time the Namespace was updated. string

Sku

Name Description Value
capacity The Event Hubs throughput units. int
name Name of this SKU. 'Basic'
'Standard'
tier The billing tier of this particular SKU. 'Basic'
'Premium'
'Standard'

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
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!
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 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 authorizationRules

Deploy to Azure
This template enables you to deploy a EventHubs Standard namespace, an Event Hub, a consumer group and authorizationRules
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.
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
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 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.
Create an event hub

Deploy to Azure
This template enables you to deploy a EventHubs namespace with an event hub.
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 SQL MI with configured sending of logs and metrics.

Deploy to Azure
This template allows you to deploy SQL MI and additional resources used for storing logs and metrics (diagnostic workspace, storage account, 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.