你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AzureEndpointsCommunicator.GetStorageKeysAsync(String, String) Method

Definition

Provides the storage keys for the storage account within the given resource group

public System.Threading.Tasks.Task<System.Collections.Generic.Dictionary<Microsoft.Azure.Commands.Sql.Auditing.Model.StorageKeyKind,string>> GetStorageKeysAsync (string resourceGroupName, string storageAccountName);
member this.GetStorageKeysAsync : string * string -> System.Threading.Tasks.Task<System.Collections.Generic.Dictionary<Microsoft.Azure.Commands.Sql.Auditing.Model.StorageKeyKind, string>>
Public Function GetStorageKeysAsync (resourceGroupName As String, storageAccountName As String) As Task(Of Dictionary(Of StorageKeyKind, String))

Parameters

resourceGroupName
String
storageAccountName
String

Returns

A dictionary with two entries, one for each possible key type with the appropriate key

Applies to