共用方式為


IAuthorizationRule<RuleT>.RegenerateKeyAsync Method

Definition

Regenerates primary or secondary keys.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceBus.Fluent.IAuthorizationKeys> RegenerateKeyAsync (Microsoft.Azure.Management.ServiceBus.Fluent.Models.Policykey policykey, System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateKeyAsync : Microsoft.Azure.Management.ServiceBus.Fluent.Models.Policykey * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceBus.Fluent.IAuthorizationKeys>
Public Function RegenerateKeyAsync (policykey As Policykey, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IAuthorizationKeys)

Parameters

policykey
Policykey

The key to regenerate.

cancellationToken
CancellationToken

Returns

Applies to