StorageAccountOperationsExtensions.UpdateAsync Method (IStorageAccountOperations, String, StorageAccountUpdateParameters)
Asynchronously updates attributes of a storage account.
Assembly: Microsoft.WindowsAzure.Management.Storage (in Microsoft.WindowsAzure.Management.Storage.dll)
public static Task<AzureOperationResponse> UpdateAsync( this IStorageAccountOperations operations, string accountName, StorageAccountUpdateParameters parameters )
Parameters
- operations
-
Type:
Microsoft.WindowsAzure.Management.Storage.IStorageAccountOperations
The IStorageAccountOperations object that specifies the storage account operations.
- 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.
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: