Compartilhar via


BatchClient.UpdateTask Method

Definition

Commits changes to a PSCloudTask object to the Batch Service.

public void UpdateTask (Microsoft.Azure.Commands.Batch.BatchAccountContext context, Microsoft.Azure.Commands.Batch.Models.PSCloudTask task, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionBehaviors = default);
member this.UpdateTask : Microsoft.Azure.Commands.Batch.BatchAccountContext * Microsoft.Azure.Commands.Batch.Models.PSCloudTask * seq<Microsoft.Azure.Batch.BatchClientBehavior> -> unit
Public Sub UpdateTask (context As BatchAccountContext, task As PSCloudTask, Optional additionBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing)

Parameters

context
BatchAccountContext

The account to use.

task
PSCloudTask

The PSCloudTask object representing the task to update.

additionBehaviors
IEnumerable<BatchClientBehavior>

Additional client behaviors to perform.

Applies to