Partager via


EventHubAuthorizationRuleResource.RegenerateKeys Méthode

Définition

Régénère les chaînes de connexion ACS et SAS pour Event Hub.

  • Chemin de la requête/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}/authorizationRules/{authorizationRuleName}/regenerateKeys
  • IdEventHubs_RegenerateKeys d’opération
public virtual Azure.Response<Azure.ResourceManager.EventHubs.Models.EventHubsAccessKeys> RegenerateKeys (Azure.ResourceManager.EventHubs.Models.EventHubsRegenerateAccessKeyContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateKeys : Azure.ResourceManager.EventHubs.Models.EventHubsRegenerateAccessKeyContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.EventHubs.Models.EventHubsAccessKeys>
override this.RegenerateKeys : Azure.ResourceManager.EventHubs.Models.EventHubsRegenerateAccessKeyContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.EventHubs.Models.EventHubsAccessKeys>
Public Overridable Function RegenerateKeys (content As EventHubsRegenerateAccessKeyContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of EventHubsAccessKeys)

Paramètres

content
EventHubsRegenerateAccessKeyContent

Paramètres fournis pour régénérer les clés AuthorizationRule (PrimaryKey/SecondaryKey).

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à