Udostępnij za pośrednictwem


IStorageAccount.GetKeysAsync(CancellationToken) Method

Definition

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

Returns

Applies to