Compartilhar via


Método IStorageAccountOperations.RegenerateKeysAsync

Asynchronously 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 instance As IStorageAccountOperations
Dim parameters As StorageAccountRegenerateKeysParameters
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of StorageAccountRegenerateKeysResponse)

returnValue = instance.RegenerateKeysAsync(parameters, cancellationToken)

Sintaxe

'Declaração
Function RegenerateKeysAsync ( _
    parameters As StorageAccountRegenerateKeysParameters, _
    cancellationToken As CancellationToken _
) As Task(Of StorageAccountRegenerateKeysResponse)
Task<StorageAccountRegenerateKeysResponse> RegenerateKeysAsync (
    StorageAccountRegenerateKeysParameters parameters,
    CancellationToken cancellationToken
)
Task<StorageAccountRegenerateKeysResponse^>^ RegenerateKeysAsync (
    StorageAccountRegenerateKeysParameters^ parameters, 
    CancellationToken cancellationToken
)
Task<StorageAccountRegenerateKeysResponse> RegenerateKeysAsync (
    StorageAccountRegenerateKeysParameters parameters, 
    CancellationToken cancellationToken
)
function RegenerateKeysAsync (
    parameters : StorageAccountRegenerateKeysParameters, 
    cancellationToken : CancellationToken
) : Task<StorageAccountRegenerateKeysResponse>

Parâmetros

  • cancellationToken
    The cancellation token.

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

Interface IStorageAccountOperations
Membros IStorageAccountOperations
Namespace Microsoft.WindowsAzure.Management.Storage