Microsoft.NotificationHubs namespaces/notificationHubs/AuthorizationRules 2014-09-01

The namespaces/notificationHubs/AuthorizationRules 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/notificationHubs/AuthorizationRules resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.NotificationHubs/namespaces/notificationHubs/AuthorizationRules@2014-09-01' = {
  name: 'string'
  location: 'string'
  properties: {
    claimType: 'string'
    claimValue: 'string'
    createdTime: 'string'
    keyName: 'string'
    modifiedTime: 'string'
    primaryKey: 'string'
    revision: int
    rights: [ 'string' ]
    secondaryKey: 'string'
  }
}

Property values

namespaces/notificationHubs/AuthorizationRules

Name Description Value
type The resource type

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

For Bicep, set this value in the resource declaration.
'2014-09-01'
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
string (required)
location Gets or sets Namespace data center location. string
properties SharedAccessAuthorizationRule properties. SharedAccessAuthorizationRuleProperties (required)

SharedAccessAuthorizationRuleProperties

Name Description Value
claimType The type of the claim. string
claimValue The value of the claim. string
createdTime The time at which the authorization rule was created. string
keyName The name of the key that was used. string
modifiedTime The most recent time the rule was updated. string
primaryKey The primary key that was used. string
revision The revision number for the rule. int
rights The rights associated with the rule. String array containing any of:
'Listen'
'Manage'
'Send'
secondaryKey The secondary key that was used. string