StorageAccountOperationsExtensions.RegenerateKeys Method (IStorageAccountOperations, StorageAccountRegenerateKeysParameters)
Regenerates the primary or secondary access key for a storage account.
Assembly: Microsoft.WindowsAzure.Management.Storage (in Microsoft.WindowsAzure.Management.Storage.dll)
public static StorageAccountRegenerateKeysResponse RegenerateKeys( this IStorageAccountOperations operations, StorageAccountRegenerateKeysParameters parameters )
Parameters
- operations
-
Type:
Microsoft.WindowsAzure.Management.Storage.IStorageAccountOperations
The IStorageAccountOperations object that specifies the storage account operations.
- parameters
-
Type:
Microsoft.WindowsAzure.Management.Storage.Models.StorageAccountRegenerateKeysParameters
The StorageAccountRegenerateKeysParameters object that contains the parameters that are used to regenerate a key.
Return Value
Type: Microsoft.WindowsAzure.Management.Storage.Models.StorageAccountRegenerateKeysResponseThe StorageAccountRegenerateKeysResponse object that contains the primary and secondary access keys for a storage account.
For more information about regenerating keys, see the following resources:
Show: