StorageAccountOperationsExtensions.RegenerateKeysAsync 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 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
Azure SDK for .NET