IAuthorizationRule<RuleT>.RegenerateKeyAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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