Compartir a través de


NotificationHubAuthorizationRuleResource.RegenerateKeys Método

Definición

Regenera las claves principales o secundarias en la regla de autorización de NotificationHub

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/AuthorizationRules/{authorizationRuleName}/regenerateKeys
  • IdNotificationHubs_RegenerateKeys de operaciones
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)

Parámetros

notificationHubPolicyKey
NotificationHubPolicyKey

Parámetros proporcionados para volver a generar la clave de regla de autorización de NotificationHub.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

notificationHubPolicyKey es null.

Se aplica a