IStorageAccount.RegenerateKeyAsync(String, CancellationToken) 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 the access keys for this storage account asynchronously.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.Azure.Management.Storage.Fluent.Models.StorageAccountKey>> RegenerateKeyAsync (string keyName, System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateKeyAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.Azure.Management.Storage.Fluent.Models.StorageAccountKey>>
Public Function RegenerateKeyAsync (keyName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IReadOnlyList(Of StorageAccountKey))
Parameters
- keyName
- String
If the key name.
- cancellationToken
- CancellationToken