Microsoft.NotificationHubs namespaces/AuthorizationRules 2016-03-01

Bicep resource definition

The namespaces/AuthorizationRules resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.NotificationHubs/namespaces/AuthorizationRules resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.NotificationHubs/namespaces/AuthorizationRules@2016-03-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  sku: {
    capacity: int
    family: 'string'
    name: 'string'
    size: 'string'
    tier: 'string'
  }
  parent: resourceSymbolicName
  properties: {
    rights: [
      'string'
    ]
  }
}

Property values

namespaces/AuthorizationRules

Name Description Value
name The resource name

See how to set names and types for child resources in Bicep.
string (required)

Character limit: 1-256

Valid characters:
Alphanumerics, periods, hyphens, and underscores.

Start alphanumeric.
location Resource location string (required)
tags Resource tags Dictionary of tag names and values. See Tags in templates
sku The sku of the created namespace Sku
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: namespaces
properties Properties of the Namespace AuthorizationRules. SharedAccessAuthorizationRuleProperties (required)

SharedAccessAuthorizationRuleProperties

Name Description Value
rights The rights associated with the rule. String array containing any of:
'Listen'
'Manage'
'Send'

Sku

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

ARM template resource definition

The namespaces/AuthorizationRules resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.NotificationHubs/namespaces/AuthorizationRules resource, add the following JSON to your template.

{
  "type": "Microsoft.NotificationHubs/namespaces/AuthorizationRules",
  "apiVersion": "2016-03-01",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "sku": {
    "capacity": "int",
    "family": "string",
    "name": "string",
    "size": "string",
    "tier": "string"
  },
  "properties": {
    "rights": [ "string" ]
  }
}

Property values

namespaces/AuthorizationRules

Name Description Value
type The resource type 'Microsoft.NotificationHubs/namespaces/AuthorizationRules'
apiVersion The resource api version '2016-03-01'
name The resource name

See how to set names and types for child resources in JSON ARM templates.
string (required)

Character limit: 1-256

Valid characters:
Alphanumerics, periods, hyphens, and underscores.

Start alphanumeric.
location Resource location string (required)
tags Resource tags Dictionary of tag names and values. See Tags in templates
sku The sku of the created namespace Sku
properties Properties of the Namespace AuthorizationRules. SharedAccessAuthorizationRuleProperties (required)

SharedAccessAuthorizationRuleProperties

Name Description Value
rights The rights associated with the rule. String array containing any of:
'Listen'
'Manage'
'Send'

Sku

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

Terraform (AzAPI provider) resource definition

The namespaces/AuthorizationRules resource type can be deployed with operations that target:

  • Resource groups

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.NotificationHubs/namespaces/AuthorizationRules resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.NotificationHubs/namespaces/AuthorizationRules@2016-03-01"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  body = jsonencode({
    properties = {
      rights = [
        "string"
      ]
    }
    sku = {
      capacity = int
      family = "string"
      name = "string"
      size = "string"
      tier = "string"
    }
  })
}

Property values

namespaces/AuthorizationRules

Name Description Value
type The resource type "Microsoft.NotificationHubs/namespaces/AuthorizationRules@2016-03-01"
name The resource name string (required)

Character limit: 1-256

Valid characters:
Alphanumerics, periods, hyphens, and underscores.

Start alphanumeric.
location Resource location string (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: namespaces
tags Resource tags Dictionary of tag names and values.
sku The sku of the created namespace Sku
properties Properties of the Namespace AuthorizationRules. SharedAccessAuthorizationRuleProperties (required)

SharedAccessAuthorizationRuleProperties

Name Description Value
rights The rights associated with the rule. String array containing any of:
"Listen"
"Manage"
"Send"

Sku

Name Description Value
capacity The capacity of the resource int
family The Sku Family string
name Name of the notification hub sku "Basic"
"Free"
"Standard" (required)
size The Sku size string
tier The tier of particular sku string