Microsoft.NotificationHubs namespaces/notificationHubs/AuthorizationRules 2014-09-01
Bicep resource definition
The namespaces/notificationHubs/AuthorizationRules resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.NotificationHubs/namespaces/notificationHubs/AuthorizationRules resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.NotificationHubs/namespaces/notificationHubs/AuthorizationRules@2014-09-01' = {
name: 'string'
location: 'string'
parent: resourceSymbolicName
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 |
---|---|---|
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 | Gets or sets Namespace data center location. | string |
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: notificationHubs |
properties | Gets or sets properties of the Namespace AuthorizationRules. | 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 |
ARM template resource definition
The namespaces/notificationHubs/AuthorizationRules resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.NotificationHubs/namespaces/notificationHubs/AuthorizationRules resource, add the following JSON to your template.
{
"type": "Microsoft.NotificationHubs/namespaces/notificationHubs/AuthorizationRules",
"apiVersion": "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 | 'Microsoft.NotificationHubs/namespaces/notificationHubs/AuthorizationRules' |
apiVersion | The resource api version | '2014-09-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 | Gets or sets Namespace data center location. | string |
properties | Gets or sets properties of the Namespace AuthorizationRules. | 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 |
Terraform (AzAPI provider) resource definition
The namespaces/notificationHubs/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/notificationHubs/AuthorizationRules resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.NotificationHubs/namespaces/notificationHubs/AuthorizationRules@2014-09-01"
name = "string"
location = "string"
parent_id = "string"
body = jsonencode({
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 | "Microsoft.NotificationHubs/namespaces/notificationHubs/AuthorizationRules@2014-09-01" |
name | The resource name | string (required) Character limit: 1-256 Valid characters: Alphanumerics, periods, hyphens, and underscores. Start alphanumeric. |
location | Gets or sets Namespace data center location. | string |
parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: notificationHubs |
properties | Gets or sets properties of the Namespace AuthorizationRules. | 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 |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for