Compartilhar via


NotificationHubAuthorizationRuleResource.RegenerateKeys Método

Definição

Regenera as chaves primárias/secundárias para a regra de autorização do NotificationHub

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/notificationHubs/{notificationHubName}/AuthorizationRules/{authorizationRuleName}/regenerateKeys
  • Operação IdNotificationHubs_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)

Parâmetros

notificationHubPolicyKey
NotificationHubPolicyKey

Parâmetros fornecidos para regenerar a chave de regra de autorização do NotificationHub.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

notificationHubPolicyKey é nulo.

Aplica-se a