Share via


StorageAccountOperationsExtensions.Update Method

Updates attributes of a storage account.

Namespace: Microsoft.WindowsAzure.Management.Storage
Assembly: Microsoft.WindowsAzure.Management.Storage (in Microsoft.WindowsAzure.Management.Storage.dll)

Usage

'Usage
Dim operations As IStorageAccountOperations
Dim accountName As String
Dim parameters As StorageAccountUpdateParameters
Dim returnValue As AzureOperationResponse

returnValue = StorageAccountOperationsExtensions.Update(operations, accountName, parameters)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Update ( _
    operations As IStorageAccountOperations, _
    accountName As String, _
    parameters As StorageAccountUpdateParameters _
) As AzureOperationResponse
[ExtensionAttribute] 
public static AzureOperationResponse Update (
    IStorageAccountOperations operations,
    string accountName,
    StorageAccountUpdateParameters parameters
)
[ExtensionAttribute] 
public:
static AzureOperationResponse^ Update (
    IStorageAccountOperations^ operations, 
    String^ accountName, 
    StorageAccountUpdateParameters^ parameters
)
/** @attribute ExtensionAttribute() */ 
public static AzureOperationResponse Update (
    IStorageAccountOperations operations, 
    String accountName, 
    StorageAccountUpdateParameters parameters
)
ExtensionAttribute 
public static function Update (
    operations : IStorageAccountOperations, 
    accountName : String, 
    parameters : StorageAccountUpdateParameters
) : AzureOperationResponse

Parameters

  • serviceName
    Name of the storage account to update.

Return Value

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:

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

StorageAccountOperationsExtensions Class
StorageAccountOperationsExtensions Members
Microsoft.WindowsAzure.Management.Storage Namespace