IJobOperations::CreateOrUpdateAsync Method (String^, JobCreateOrUpdateParameters^, CancellationToken)

 

Creates a new Job with a user-provided job id, or updates an existing job, replacing its definition with that specified.

Namespace:   Microsoft.WindowsAzure.Scheduler
Assembly:  Microsoft.WindowsAzure.Management.Scheduler (in Microsoft.WindowsAzure.Management.Scheduler.dll)

Task<JobCreateOrUpdateResponse^>^ CreateOrUpdateAsync(
	String^ jobId,
	JobCreateOrUpdateParameters^ parameters,
	CancellationToken cancellationToken
)

Parameters

jobId
Type: System::String^

Id of the job to create or update.

parameters
Type: Microsoft.WindowsAzure.Scheduler.Models::JobCreateOrUpdateParameters^

Parameters specifying the job definition for a CreateOrUpdate Job operation.

cancellationToken
Type: System.Threading::CancellationToken

Cancellation token.

Return Value

Type: System.Threading.Tasks::Task<JobCreateOrUpdateResponse^>^

The CreateOrUpdate Job operation response.

Return to top
Show: