JobOperationsExtensions.CreateOrUpdateAsync 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.
Assembly: Microsoft.WindowsAzure.Management.Scheduler (in Microsoft.WindowsAzure.Management.Scheduler.dll)
<ExtensionAttribute> Public Shared Function CreateOrUpdateAsync ( operations As IJobOperations, jobId As String, parameters As JobCreateOrUpdateParameters ) As Task(Of JobCreateOrUpdateResponse)
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: System.Threading.Tasks.Task(Of JobCreateOrUpdateResponse)The CreateOrUpdate Job operation response.
Show: