Partager via


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.Synapse.Models.Auditing.StorageKeyKind,string>> GetStorageKeysAsync (string resourceGroupName, string storageAccountName);
member this.GetStorageKeysAsync : string * string -> System.Threading.Tasks.Task<System.Collections.Generic.Dictionary<Microsoft.Azure.Commands.Synapse.Models.Auditing.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