Partager via


ServiceBusTopicAuthorizationRuleResource.RegenerateKeysAsync Méthode

Définition

Régénère les chaînes de connexion primaires ou secondaires pour la rubrique.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/authorizationRules/{authorizationRuleName}/regenerateKeys
  • IdTopicAuthorizationRules_RegenerateKeys d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceBus.Models.ServiceBusAccessKeys>> RegenerateKeysAsync (Azure.ResourceManager.ServiceBus.Models.ServiceBusRegenerateAccessKeyContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateKeysAsync : Azure.ResourceManager.ServiceBus.Models.ServiceBusRegenerateAccessKeyContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceBus.Models.ServiceBusAccessKeys>>
override this.RegenerateKeysAsync : Azure.ResourceManager.ServiceBus.Models.ServiceBusRegenerateAccessKeyContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceBus.Models.ServiceBusAccessKeys>>
Public Overridable Function RegenerateKeysAsync (content As ServiceBusRegenerateAccessKeyContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ServiceBusAccessKeys))

Paramètres

content
ServiceBusRegenerateAccessKeyContent

Paramètres fournis pour régénérer la règle d’autorisation.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à