CloudJobOperationsExtensions.UpdateAsync Method (ICloudJobOperations, String, CloudJobUpdateParameters)

 

Updates the properties of a job.

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

Syntax

public static Task<CloudJobUpdateResponse> UpdateAsync(
    this ICloudJobOperations operations,
    string jobId,
    CloudJobUpdateParameters parameters
)
public:
[ExtensionAttribute]
static Task<CloudJobUpdateResponse^>^ UpdateAsync(
    ICloudJobOperations^ operations,
    String^ jobId,
    CloudJobUpdateParameters^ parameters
)
static member UpdateAsync : 
        operations:ICloudJobOperations *
        jobId:string *
        parameters:CloudJobUpdateParameters -> Task<CloudJobUpdateResponse>
<ExtensionAttribute>
Public Shared Function UpdateAsync (
    operations As ICloudJobOperations,
    jobId As String,
    parameters As CloudJobUpdateParameters
) As Task(Of CloudJobUpdateResponse)

Parameters

  • jobId
    Type: System.String

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

Return Value

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

Response to a CloudJobOperations.Update request.

See Also

CloudJobOperationsExtensions Class
Microsoft.Azure.Batch.Protocol Namespace

Return to top