Partager via


IAuthorizationRule<RuleT>.RegenerateKeyAsync Méthode

Définition

Régénère les clés d’accès primaires ou secondaires.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Eventhub.Fluent.IEventHubAuthorizationKey> RegenerateKeyAsync (Microsoft.Azure.Management.EventHub.Fluent.Models.KeyType keyType, System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateKeyAsync : Microsoft.Azure.Management.EventHub.Fluent.Models.KeyType * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Eventhub.Fluent.IEventHubAuthorizationKey>
Public Function RegenerateKeyAsync (keyType As KeyType, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEventHubAuthorizationKey)

Paramètres

keyType
KeyType

Clé à regénérer.

cancellationToken
CancellationToken

Retours

S’applique à