Sdílet prostřednictvím


JobsOperationsExtensions.BeginUpdateAsync Method

Definition

Updates the properties of an existing job.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBox.Models.JobResource> BeginUpdateAsync (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 BeginUpdateAsync : 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 BeginUpdateAsync (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