StorageAccountOperationsExtensions.RegenerateKeysAsync Method (IStorageAccountOperations, StorageAccountRegenerateKeysParameters)
Asynchronously regenerates the primary or secondary access key for a storage account.
Namespace: Microsoft.WindowsAzure.Management.Storage
Assembly: Microsoft.WindowsAzure.Management.Storage (in Microsoft.WindowsAzure.Management.Storage.dll)
Syntax
public static Task<StorageAccountRegenerateKeysResponse> RegenerateKeysAsync(
this IStorageAccountOperations operations,
StorageAccountRegenerateKeysParameters parameters
)
public:
[ExtensionAttribute]
static Task<StorageAccountRegenerateKeysResponse^>^ RegenerateKeysAsync(
IStorageAccountOperations^ operations,
StorageAccountRegenerateKeysParameters^ parameters
)
static member RegenerateKeysAsync :
operations:IStorageAccountOperations *
parameters:StorageAccountRegenerateKeysParameters -> Task<StorageAccountRegenerateKeysResponse>
<ExtensionAttribute>
Public Shared Function RegenerateKeysAsync (
operations As IStorageAccountOperations,
parameters As StorageAccountRegenerateKeysParameters
) As Task(Of StorageAccountRegenerateKeysResponse)
Parameters
operations
Type: Microsoft.WindowsAzure.Management.Storage.IStorageAccountOperationsThe IStorageAccountOperations object that specifies the storage account operations.
parameters
Type: Microsoft.WindowsAzure.Management.Storage.Models.StorageAccountRegenerateKeysParametersThe StorageAccountRegenerateKeysParameters object that contains the parameters that are used to regenerate a key.
Return Value
Type: System.Threading.Tasks.Task<StorageAccountRegenerateKeysResponse>
The StorageAccountRegenerateKeysResponse object that contains the primary and secondary access keys for a storage account.
Remarks
For more information about regenerating keys, see the following resources:
See Also
StorageAccountOperationsExtensions Class
Microsoft.WindowsAzure.Management.Storage Namespace
Return to top