ICloudJobOperations.PatchAsync Method (String, CloudJobPatchParameters, CancellationToken)

 

Updates the properties of a job.

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

Syntax

Task<CloudJobPatchResponse> PatchAsync(
    string jobId,
    CloudJobPatchParameters parameters,
    CancellationToken cancellationToken
)
Task<CloudJobPatchResponse^>^ PatchAsync(
    String^ jobId,
    CloudJobPatchParameters^ parameters,
    CancellationToken cancellationToken
)
abstract PatchAsync : 
        jobId:string *
        parameters:CloudJobPatchParameters *
        cancellationToken:CancellationToken -> Task<CloudJobPatchResponse>
Function PatchAsync (
    jobId As String,
    parameters As CloudJobPatchParameters,
    cancellationToken As CancellationToken
) As Task(Of CloudJobPatchResponse)

Parameters

  • jobId
    Type: System.String

    The id of the job whose properties you want to update.

Return Value

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

Response to a CloudJobOperations.Patch request.

See Also

ICloudJobOperations Interface
Microsoft.Azure.Batch.Protocol Namespace

Return to top