IStorageAccount.GetKeysAsync(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.
Fetch the up-to-date access keys from Azure for this storage account asynchronously.
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.Azure.Management.Storage.Fluent.Models.StorageAccountKey>> GetKeysAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetKeysAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.Azure.Management.Storage.Fluent.Models.StorageAccountKey>>
Public Function GetKeysAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of IReadOnlyList(Of StorageAccountKey))
Parameters
- cancellationToken
- CancellationToken