IStorageAccountOperations.UpdateAsync Method (String, StorageAccountUpdateParameters, CancellationToken)
Asynchronously updates attributes of a storage account.
Assembly: Microsoft.WindowsAzure.Management.Storage (in Microsoft.WindowsAzure.Management.Storage.dll)
Task<AzureOperationResponse> UpdateAsync(
string accountName,
StorageAccountUpdateParameters parameters,
CancellationToken cancellationToken
)
Parameters
- serviceName
Name of the storage account to update.
- parameters
-
Type:
Microsoft.WindowsAzure.Management.Storage.Models.StorageAccountUpdateParameters
The StorageAccountUpdateParameters object that contains the parameters that are used to the update a storage account.
- cancellationToken
-
Type:
System.Threading.CancellationToken
The cancellation token.
Return Value
Type: System.Threading.Tasks.Task<AzureOperationResponse>An OperationResponse object that includes an HTTP status code and request ID.
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:
Show: