BatchClient.UpdateTask Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.