Compartilhar via


Método StorageAccountOperationsExtensions.RegenerateKeys

Regenerates the primary or secondary access key for a storage account.

Namespace: Microsoft.WindowsAzure.Management.Storage
Assembly: Microsoft.WindowsAzure.Management.Storage (em Microsoft.WindowsAzure.Management.Storage.dll)

Uso

'Uso
Dim operations As IStorageAccountOperations
Dim parameters As StorageAccountRegenerateKeysParameters
Dim returnValue As StorageAccountRegenerateKeysResponse

returnValue = StorageAccountOperationsExtensions.RegenerateKeys(operations, parameters)

Sintaxe

'Declaração
<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

Parâmetros

Valor de retorno

The StorageAccountRegenerateKeysResponse object that contains the primary and secondary access keys for a storage account.

Comentários

For more information about regenerating keys, see the following resources:

Segurança de thread

Qualquer membro estático público (compartilhado no Visual Basic) desse tipo é thread-safe. Não há garantia de que qualquer membro de instância seja seguro para threads.

Plataformas

Plataformas de desenvolvimento

Windows Vista, Windows 7 e Windows Server 2008

Plataformas de destino

Consulte também

Referência

Classe StorageAccountOperationsExtensions
Membros StorageAccountOperationsExtensions
Namespace Microsoft.WindowsAzure.Management.Storage