Share via


JobsOperationsExtensions.UpdateAsync Method

Definition

Updates the properties of an existing job.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBox.Models.JobResource> UpdateAsync (this Microsoft.Azure.Management.DataBox.IJobsOperations operations, string resourceGroupName, string jobName, Microsoft.Azure.Management.DataBox.Models.JobResourceUpdateParameter jobResourceUpdateParameter, string ifMatch = default, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.DataBox.IJobsOperations * string * string * Microsoft.Azure.Management.DataBox.Models.JobResourceUpdateParameter * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBox.Models.JobResource>
<Extension()>
Public Function UpdateAsync (operations As IJobsOperations, resourceGroupName As String, jobName As String, jobResourceUpdateParameter As JobResourceUpdateParameter, Optional ifMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of JobResource)

Parameters

operations
IJobsOperations

The operations group for this extension method.

resourceGroupName
String

The Resource Group Name

jobName
String

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

jobResourceUpdateParameter
JobResourceUpdateParameter

Job update parameters from request body.

ifMatch
String

Defines the If-Match condition. The patch will be performed only if the ETag of the job on the server matches this value.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to