Udostępnij za pośrednictwem


IStorageAccountOperations.UpdateAsync Method

Definition

The Update Storage Account operation updates the label and the description, and enables or disables the geo-replication status for a storage account in Azure. (see http://msdn.microsoft.com/en-us/library/windowsazure/hh264516.aspx for more information)

public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> UpdateAsync (string accountName, Microsoft.WindowsAzure.Management.Storage.Models.StorageAccountUpdateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member UpdateAsync : string * Microsoft.WindowsAzure.Management.Storage.Models.StorageAccountUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function UpdateAsync (accountName As String, parameters As StorageAccountUpdateParameters, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)

Parameters

accountName
String

Name of the storage account to update.

parameters
StorageAccountUpdateParameters

Parameters supplied to the Update Storage Account operation.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

Applies to