IJobOperations.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new Job with a user-provided job id, or updates an existing job, replacing its definition with that specified.
public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Scheduler.Models.JobCreateOrUpdateResponse> CreateOrUpdateAsync (string jobId, Microsoft.WindowsAzure.Scheduler.Models.JobCreateOrUpdateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member CreateOrUpdateAsync : string * Microsoft.WindowsAzure.Scheduler.Models.JobCreateOrUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Scheduler.Models.JobCreateOrUpdateResponse>
Public Function CreateOrUpdateAsync (jobId As String, parameters As JobCreateOrUpdateParameters, cancellationToken As CancellationToken) As Task(Of JobCreateOrUpdateResponse)
Parameters
- jobId
- String
Id of the job to create or update.
- parameters
- JobCreateOrUpdateParameters
Parameters specifying the job definition for a CreateOrUpdate Job operation.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The CreateOrUpdate Job operation response.