AzureEndpointsCommunicator.GetStorageKeysAsync(String, String) 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.
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