Share via


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

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