Freigeben über


NotificationHubNamespaceAuthorizationRuleResource.RegenerateKeys Methode

Definition

Regeneriert die primären/sekundären Schlüssel zur Namespaceautorisierungsregel

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/AuthorizationRules/{authorizationRuleName}/regenerateKeys
  • Vorgang IdNamespaces_RegenerateKeys
public virtual Azure.Response<Azure.ResourceManager.NotificationHubs.Models.NotificationHubResourceKeys> RegenerateKeys (Azure.ResourceManager.NotificationHubs.Models.NotificationHubPolicyKey notificationHubPolicyKey, System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateKeys : Azure.ResourceManager.NotificationHubs.Models.NotificationHubPolicyKey * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NotificationHubs.Models.NotificationHubResourceKeys>
override this.RegenerateKeys : Azure.ResourceManager.NotificationHubs.Models.NotificationHubPolicyKey * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NotificationHubs.Models.NotificationHubResourceKeys>
Public Overridable Function RegenerateKeys (notificationHubPolicyKey As NotificationHubPolicyKey, Optional cancellationToken As CancellationToken = Nothing) As Response(Of NotificationHubResourceKeys)

Parameter

notificationHubPolicyKey
NotificationHubPolicyKey

Parameter, die angegeben werden, um den Namespaceautorisierungsregelschlüssel neu zu generieren.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

notificationHubPolicyKey ist NULL.

Gilt für: