StorageAccountOperationsExtensions.RegenerateKeys Method
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)
Usage
'Usage
Dim operations As IStorageAccountOperations
Dim parameters As StorageAccountRegenerateKeysParameters
Dim returnValue As StorageAccountRegenerateKeysResponse
returnValue = StorageAccountOperationsExtensions.RegenerateKeys(operations, parameters)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function RegenerateKeys ( _
operations As IStorageAccountOperations, _
parameters As StorageAccountRegenerateKeysParameters _
) As StorageAccountRegenerateKeysResponse
[ExtensionAttribute]
public static StorageAccountRegenerateKeysResponse RegenerateKeys (
IStorageAccountOperations operations,
StorageAccountRegenerateKeysParameters parameters
)
[ExtensionAttribute]
public:
static StorageAccountRegenerateKeysResponse^ RegenerateKeys (
IStorageAccountOperations^ operations,
StorageAccountRegenerateKeysParameters^ parameters
)
/** @attribute ExtensionAttribute() */
public static StorageAccountRegenerateKeysResponse RegenerateKeys (
IStorageAccountOperations operations,
StorageAccountRegenerateKeysParameters parameters
)
ExtensionAttribute
public static function RegenerateKeys (
operations : IStorageAccountOperations,
parameters : StorageAccountRegenerateKeysParameters
) : StorageAccountRegenerateKeysResponse
Parameters
- operations
The IStorageAccountOperations object that specifies the storage account operations.
- parameters
The StorageAccountRegenerateKeysParameters object that contains the parameters that are used to regenerate a key.
Return Value
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:
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012
Target Platforms
See Also
Reference
StorageAccountOperationsExtensions Class
StorageAccountOperationsExtensions Members
Microsoft.WindowsAzure.Management.Storage Namespace