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
operations
Type: Microsoft.WindowsAzure.Scheduler.IJobOperationsReference to the Microsoft.WindowsAzure.Scheduler.IJobOperations.
jobId
Type: System.StringRequired. Id of the job to create or update.
parameters
Type: Microsoft.WindowsAzure.Scheduler.Models.JobCreateOrUpdateParametersRequired. Parameters specifying the job definition for a CreateOrUpdate Job operation.
Return Value
Type: Microsoft.WindowsAzure.Scheduler.Models.JobCreateOrUpdateResponse
The CreateOrUpdate Job operation response.
See Also
JobOperationsExtensions Class
Microsoft.WindowsAzure.Scheduler Namespace
Return to top