Microsoft.NotificationHubs namespaces 2017-04-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.NotificationHubs/namespaces resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.NotificationHubs/namespaces@2017-04-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  sku: {
    capacity: int
    family: 'string'
    name: 'string'
    size: 'string'
    tier: 'string'
  properties: {
    createdAt: 'string'
    critical: bool
    dataCenter: 'string'
    enabled: bool
    name: 'string'
    namespaceType: 'string'
    provisioningState: 'string'
    region: 'string'
    scaleUnit: 'string'
    serviceBusEndpoint: 'string'
    status: 'string'
    subscriptionId: 'string'
    updatedAt: 'string'

Property values


Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
name The resource name string (required)
location Resource location string
tags Resource tags Dictionary of tag names and values. See Tags in templates
sku The Sku description for a namespace Sku
properties Namespace properties. NamespaceProperties


Name Description Value
createdAt The time the namespace was created. string
critical Whether or not the namespace is set as Critical. bool
dataCenter Data center for the namespace string
enabled Whether or not the namespace is currently enabled. bool
name The name of the namespace. string
namespaceType The namespace type. 'Messaging'
provisioningState Provisioning state of the Namespace. string
region Specifies the targeted region in which the namespace should be created. It can be any of the following values: Australia East, Australia Southeast, Central US, East US, East US 2, West US, North Central US, South Central US, East Asia, Southeast Asia, Brazil South, Japan East, Japan West, North Europe, West Europe string
scaleUnit ScaleUnit where the namespace gets created string
serviceBusEndpoint Endpoint you can use to perform NotificationHub operations. string
status Status of the namespace. It can be any of these values:1 = Created/Active2 = Creating3 = Suspended4 = Deleting string
subscriptionId The Id of the Azure subscription associated with the namespace. string
updatedAt The time the namespace was updated. string


Name Description Value
capacity The capacity of the resource int
family The Sku Family string
name Name of the notification hub sku 'Basic'
size The Sku size string
tier The tier of particular sku string

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Create Azure Notification Hub

Deploy to Azure
Creates an Azure Notification Hub, Template originally authored by John Downs.
Provision a Mobile App with a SQL Database

Deploy to Azure
This template provisions a Mobile App, SQL Database, and Notification Hub. It configures a connection string in the mobile app for the database and notification hub.