JobOperationsExtensions.CreateOrUpdate Method

Definition

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

public static Microsoft.WindowsAzure.Scheduler.Models.JobCreateOrUpdateResponse CreateOrUpdate (this Microsoft.WindowsAzure.Scheduler.IJobOperations operations, string jobId, Microsoft.WindowsAzure.Scheduler.Models.JobCreateOrUpdateParameters parameters);
static member CreateOrUpdate : Microsoft.WindowsAzure.Scheduler.IJobOperations * string * Microsoft.WindowsAzure.Scheduler.Models.JobCreateOrUpdateParameters -> Microsoft.WindowsAzure.Scheduler.Models.JobCreateOrUpdateResponse
<Extension()>
Public Function CreateOrUpdate (operations As IJobOperations, jobId As String, parameters As JobCreateOrUpdateParameters) As JobCreateOrUpdateResponse

Parameters

operations
IJobOperations

Reference to the Microsoft.WindowsAzure.Scheduler.IJobOperations.

jobId
String

Required. Id of the job to create or update.

parameters
JobCreateOrUpdateParameters

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

Returns

The CreateOrUpdate Job operation response.

Applies to