JobOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new Job with a user-provided job id, or updates an existing job, replacing its definition with that specified.
public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Scheduler.Models.JobCreateOrUpdateResponse> CreateOrUpdateAsync (this Microsoft.WindowsAzure.Scheduler.IJobOperations operations, string jobId, Microsoft.WindowsAzure.Scheduler.Models.JobCreateOrUpdateParameters parameters);
static member CreateOrUpdateAsync : Microsoft.WindowsAzure.Scheduler.IJobOperations * string * Microsoft.WindowsAzure.Scheduler.Models.JobCreateOrUpdateParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Scheduler.Models.JobCreateOrUpdateResponse>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IJobOperations, jobId As String, parameters As JobCreateOrUpdateParameters) As Task(Of 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
Azure SDK for .NET