/// <summary> /// Updates the properties of an existing job. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The Resource Group Name /// </param> /// <param name='jobName'> /// The name of the job Resource within the specified resource group. job names /// must be between 3 and 24 characters in length and use any alphanumeric and /// underscore only /// </param> /// <param name='jobResourceUpdateParameter'> /// Job update parameters from request body. /// </param> /// <param name='ifMatch'> /// Defines the If-Match condition. The patch will be performed only if the /// ETag of the job on the server matches this value. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <JobResource> BeginUpdateAsync(this IJobsOperations operations, string resourceGroupName, string jobName, JobResourceUpdateParameter jobResourceUpdateParameter, string ifMatch = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.BeginUpdateWithHttpMessagesAsync(resourceGroupName, jobName, jobResourceUpdateParameter, ifMatch, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }