StorageAccountOperationsExtensions.GetKeysAsync 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.
The Get Storage Keys operation returns the primary and secondary access keys for the specified storage account. (see http://msdn.microsoft.com/en-us/library/windowsazure/ee460785.aspx for more information)
public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Storage.Models.StorageAccountGetKeysResponse> GetKeysAsync (this Microsoft.WindowsAzure.Management.Storage.IStorageAccountOperations operations, string accountName);
static member GetKeysAsync : Microsoft.WindowsAzure.Management.Storage.IStorageAccountOperations * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Storage.Models.StorageAccountGetKeysResponse>
<Extension()>
Public Function GetKeysAsync (operations As IStorageAccountOperations, accountName As String) As Task(Of StorageAccountGetKeysResponse)
Parameters
- operations
- IStorageAccountOperations
Reference to the Microsoft.WindowsAzure.Management.Storage.IStorageAccountOperations.
- accountName
- String
Required. The name of the desired storage account.
Returns
The primary and secondary access keys for a storage account.
Applies to
Azure SDK for .NET