Share via


AccountOperationsExtensions.UpdateAsync Method (IAccountOperations, String, String, BatchAccountUpdateParameters, CancellationToken)

 

Updates the properties of an existing Batch account.

Namespace:   Microsoft.Azure.Management.Batch
Assembly:  Microsoft.Azure.Management.Batch (in Microsoft.Azure.Management.Batch.dll)

Syntax

public static Task<AccountResource> UpdateAsync(
    this IAccountOperations operations,
    string resourceGroupName,
    string accountName,
    BatchAccountUpdateParameters parameters,
    CancellationToken cancellationToken = null
)
public:
[ExtensionAttribute]
static Task<AccountResource^>^ UpdateAsync(
    IAccountOperations^ operations,
    String^ resourceGroupName,
    String^ accountName,
    BatchAccountUpdateParameters^ parameters,
    CancellationToken cancellationToken = null
)
static member UpdateAsync : 
        operations:IAccountOperations *
        resourceGroupName:string *
        accountName:string *
        parameters:BatchAccountUpdateParameters *
        cancellationToken:CancellationToken = null -> Task<AccountResource>
<ExtensionAttribute>
Public Shared Function UpdateAsync (
    operations As IAccountOperations,
    resourceGroupName As String,
    accountName As String,
    parameters As BatchAccountUpdateParameters,
    cancellationToken As CancellationToken
) As Task(Of AccountResource)

Parameters

  • resourceGroupName
    Type: System.String

    The name of the resource group that contains the Batch account.

Return Value

Type: System.Threading.Tasks.Task<AccountResource>

See Also

AccountOperationsExtensions Class
Microsoft.Azure.Management.Batch Namespace

Return to top