StorageAccountOperationsExtensions.UpdateAsync Method (IStorageAccountOperations, String, StorageAccountUpdateParameters)
Asynchronously updates attributes of a storage account.
Namespace: Microsoft.WindowsAzure.Management.Storage
Assembly: Microsoft.WindowsAzure.Management.Storage (in Microsoft.WindowsAzure.Management.Storage.dll)
Syntax
public static Task<AzureOperationResponse> UpdateAsync(
this IStorageAccountOperations operations,
string accountName,
StorageAccountUpdateParameters parameters
)
public:
[ExtensionAttribute]
static Task<AzureOperationResponse^>^ UpdateAsync(
IStorageAccountOperations^ operations,
String^ accountName,
StorageAccountUpdateParameters^ parameters
)
static member UpdateAsync :
operations:IStorageAccountOperations *
accountName:string *
parameters:StorageAccountUpdateParameters -> Task<AzureOperationResponse>
<ExtensionAttribute>
Public Shared Function UpdateAsync (
operations As IStorageAccountOperations,
accountName As String,
parameters As StorageAccountUpdateParameters
) As Task(Of AzureOperationResponse)
Parameters
operations
Type: Microsoft.WindowsAzure.Management.Storage.IStorageAccountOperationsThe IStorageAccountOperations object that specifies the storage account operations.
- serviceName
Name of the storage account to update.
parameters
Type: Microsoft.WindowsAzure.Management.Storage.Models.StorageAccountUpdateParametersThe 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.
Remarks
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:
See Also
StorageAccountOperationsExtensions Class
Microsoft.WindowsAzure.Management.Storage Namespace
Return to top