v9

latestSwagger 2.0raw.githubusercontent.com2022-03-02284173.6 KB
NotificationHubs

Regenerates the Primary/Secondary Keys to the NotificationHub Authorization Rule

post/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/AuthorizationRules/{authorizationRuleName}/regenerateKeys

Path parameters

resourceGroupNamestring required

The name of the resource group.

namespaceNamestring required

The namespace name.

notificationHubNamestring required

The notification hub name.

authorizationRuleNamestring required

The connection string of the NotificationHub for the specified authorizationRule.

subscriptionIdstring required

Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Query parameters

api-versionstring required

Client Api Version.

Request body

policyKeystring

Name of the key that has to be regenerated for the Namespace/Notification Hub Authorization Rule. The value can be Primary Key/Secondary Key.

Response

Regenerate the Primary/Secondary Key and returns the Keys and the connection string

primaryConnectionStringstring

PrimaryConnectionString of the AuthorizationRule.

secondaryConnectionStringstring

SecondaryConnectionString of the created AuthorizationRule

primaryKeystring

PrimaryKey of the created AuthorizationRule.

secondaryKeystring

SecondaryKey of the created AuthorizationRule

keyNamestring

KeyName of the created AuthorizationRule