Compartilhar via


BatchClient.UpdateAccount(String, String, Hashtable, String) Method

Definition

Updates an existing Batch account

public virtual Microsoft.Azure.Commands.Batch.BatchAccountContext UpdateAccount (string resourceGroupName, string accountName, System.Collections.Hashtable tags, string autoStorageAccountId);
abstract member UpdateAccount : string * string * System.Collections.Hashtable * string -> Microsoft.Azure.Commands.Batch.BatchAccountContext
override this.UpdateAccount : string * string * System.Collections.Hashtable * string -> Microsoft.Azure.Commands.Batch.BatchAccountContext
Public Overridable Function UpdateAccount (resourceGroupName As String, accountName As String, tags As Hashtable, autoStorageAccountId As String) As BatchAccountContext

Parameters

resourceGroupName
String

The name of the resource group the account is under. If unspecified, it will be looked up.

accountName
String

The account name

tags
Hashtable

New tags to associate with the account

autoStorageAccountId
String

The resource id of the storage account to be used for auto storage.

Returns

A BatchAccountContext object representing the updated account

Applies to