Udostępnij za pośrednictwem


StorageAccountOperationsExtensions.RegenerateKeysAsync Method

Definition

The Regenerate Keys operation regenerates the primary or secondary access key for the specified storage account. (see http://msdn.microsoft.com/en-us/library/windowsazure/ee460795.aspx for more information)

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Storage.Models.StorageAccountRegenerateKeysResponse> RegenerateKeysAsync (this Microsoft.WindowsAzure.Management.Storage.IStorageAccountOperations operations, Microsoft.WindowsAzure.Management.Storage.Models.StorageAccountRegenerateKeysParameters parameters);
static member RegenerateKeysAsync : Microsoft.WindowsAzure.Management.Storage.IStorageAccountOperations * Microsoft.WindowsAzure.Management.Storage.Models.StorageAccountRegenerateKeysParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Storage.Models.StorageAccountRegenerateKeysResponse>
<Extension()>
Public Function RegenerateKeysAsync (operations As IStorageAccountOperations, parameters As StorageAccountRegenerateKeysParameters) As Task(Of StorageAccountRegenerateKeysResponse)

Parameters

operations
IStorageAccountOperations

Reference to the Microsoft.WindowsAzure.Management.Storage.IStorageAccountOperations.

parameters
StorageAccountRegenerateKeysParameters

Required. Parameters supplied to the Regenerate Keys operation.

Returns

The primary and secondary access keys for a storage account.

Applies to