Share via


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)

Syntax

public static JobCreateOrUpdateResponse CreateOrUpdate(
    this IJobOperations operations,
    string jobId,
    JobCreateOrUpdateParameters parameters
)
public:
[ExtensionAttribute]
static JobCreateOrUpdateResponse^ CreateOrUpdate(
    IJobOperations^ operations,
    String^ jobId,
    JobCreateOrUpdateParameters^ parameters
)
static member CreateOrUpdate : 
        operations:IJobOperations *
        jobId:string *
        parameters:JobCreateOrUpdateParameters -> JobCreateOrUpdateResponse
<ExtensionAttribute>
Public Shared Function CreateOrUpdate (
    operations As IJobOperations,
    jobId As String,
    parameters As JobCreateOrUpdateParameters
) As JobCreateOrUpdateResponse

Parameters

  • jobId
    Type: System.String

    Required. Id of the job to create or update.

Return Value

Type: Microsoft.WindowsAzure.Scheduler.Models.JobCreateOrUpdateResponse

The CreateOrUpdate Job operation response.

See Also

JobOperationsExtensions Class
Microsoft.WindowsAzure.Scheduler Namespace

Return to top