ComputeBatchModelFactory.BatchJobScheduleUpdateOptions 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.
Parameters for updating an Azure Batch Job Schedule.
public static Azure.Compute.Batch.BatchJobScheduleUpdateOptions BatchJobScheduleUpdateOptions(Azure.Compute.Batch.BatchJobScheduleConfiguration schedule = default, Azure.Compute.Batch.BatchJobSpecification jobSpecification = default, System.Collections.Generic.IEnumerable<Azure.Compute.Batch.BatchMetadataItem> metadata = default);
static member BatchJobScheduleUpdateOptions : Azure.Compute.Batch.BatchJobScheduleConfiguration * Azure.Compute.Batch.BatchJobSpecification * seq<Azure.Compute.Batch.BatchMetadataItem> -> Azure.Compute.Batch.BatchJobScheduleUpdateOptions
Public Shared Function BatchJobScheduleUpdateOptions (Optional schedule As BatchJobScheduleConfiguration = Nothing, Optional jobSpecification As BatchJobSpecification = Nothing, Optional metadata As IEnumerable(Of BatchMetadataItem) = Nothing) As BatchJobScheduleUpdateOptions
Parameters
- schedule
- BatchJobScheduleConfiguration
The schedule according to which Jobs will be created. All times are fixed respective to UTC and are not impacted by daylight saving time. If you do not specify this element, the existing schedule is left unchanged.
- jobSpecification
- BatchJobSpecification
The details of the Jobs to be created on this schedule. Updates affect only Jobs that are started after the update has taken place. Any currently active Job continues with the older specification.
- metadata
- IEnumerable<BatchMetadataItem>
A list of name-value pairs associated with the Job Schedule as metadata. If you do not specify this element, existing metadata is left unchanged.
Returns
A new BatchJobScheduleUpdateOptions instance for mocking.