StorageAccountOperationsExtensions.RegenerateKeysAsync Method (IStorageAccountOperations, StorageAccountRegenerateKeysParameters)
Asynchronously regenerates the primary or secondary access key for a storage account.
Assembly: Microsoft.WindowsAzure.Management.Storage (in Microsoft.WindowsAzure.Management.Storage.dll)
<ExtensionAttribute> Public Shared Function RegenerateKeysAsync ( operations As IStorageAccountOperations, parameters As StorageAccountRegenerateKeysParameters ) As Task(Of StorageAccountRegenerateKeysResponse)
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: System.Threading.Tasks.Task(Of StorageAccountRegenerateKeysResponse)The 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: