Método StorageAccountOperationsExtensions.UpdateAsync
Asynchronously updates attributes of 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 accountName As String
Dim parameters As StorageAccountUpdateParameters
Dim returnValue As Task(Of AzureOperationResponse)
returnValue = StorageAccountOperationsExtensions.UpdateAsync(operations, accountName, parameters)
Sintaxe
'Declaração
<ExtensionAttribute> _
Public Shared Function UpdateAsync ( _
operations As IStorageAccountOperations, _
accountName As String, _
parameters As StorageAccountUpdateParameters _
) As Task(Of AzureOperationResponse)
[ExtensionAttribute]
public static Task<AzureOperationResponse> UpdateAsync (
IStorageAccountOperations operations,
string accountName,
StorageAccountUpdateParameters parameters
)
[ExtensionAttribute]
public:
static Task<AzureOperationResponse^>^ UpdateAsync (
IStorageAccountOperations^ operations,
String^ accountName,
StorageAccountUpdateParameters^ parameters
)
/** @attribute ExtensionAttribute() */
public static Task<AzureOperationResponse> UpdateAsync (
IStorageAccountOperations operations,
String accountName,
StorageAccountUpdateParameters parameters
)
ExtensionAttribute
public static function UpdateAsync (
operations : IStorageAccountOperations,
accountName : String,
parameters : StorageAccountUpdateParameters
) : Task<AzureOperationResponse>
Parâmetros
- operations
The IStorageAccountOperations object that specifies the storage account operations.
- serviceName
Name of the storage account to update.
- parameters
The StorageAccountUpdateParameters object that contains the parameters that are used to the update a storage account.
Valor de retorno
An OperationResponse object that includes an HTTP status code and request ID.
Comentários
The label, description, and whether geo-replication status is enabled or disabled are attributes that can be updated.
For more information about updating a storage account, 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