JobOperationsExtensions::CreateOrUpdate Method (IJobOperations^, String^, JobCreateOrUpdateParameters^)

 

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)

public:
[ExtensionAttribute]
static JobCreateOrUpdateResponse^ CreateOrUpdate(
	IJobOperations^ operations,
	String^ jobId,
	JobCreateOrUpdateParameters^ parameters
)

Parameters

operations
Type: Microsoft.WindowsAzure.Scheduler::IJobOperations^

Reference to the Microsoft.WindowsAzure.Scheduler.IJobOperations.

jobId
Type: System::String^

Required. Id of the job to create or update.

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

Required. Parameters specifying the job definition for a CreateOrUpdate Job operation.

Return Value

Type: Microsoft.WindowsAzure.Scheduler.Models::JobCreateOrUpdateResponse^

The CreateOrUpdate Job operation response.

Return to top
Show: