ComputeBatchModelFactory.BatchJobScheduleExecutionInfo 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.
Initializes a new instance of BatchJobScheduleExecutionInfo.
public static Azure.Compute.Batch.BatchJobScheduleExecutionInfo BatchJobScheduleExecutionInfo (DateTimeOffset? nextRunTime = default, Azure.Compute.Batch.RecentBatchJob recentJob = default, DateTimeOffset? endTime = default);
static member BatchJobScheduleExecutionInfo : Nullable<DateTimeOffset> * Azure.Compute.Batch.RecentBatchJob * Nullable<DateTimeOffset> -> Azure.Compute.Batch.BatchJobScheduleExecutionInfo
Public Shared Function BatchJobScheduleExecutionInfo (Optional nextRunTime As Nullable(Of DateTimeOffset) = Nothing, Optional recentJob As RecentBatchJob = Nothing, Optional endTime As Nullable(Of DateTimeOffset) = Nothing) As BatchJobScheduleExecutionInfo
Parameters
- nextRunTime
- Nullable<DateTimeOffset>
The next time at which a Job will be created under this schedule. This property is meaningful only if the schedule is in the active state when the time comes around. For example, if the schedule is disabled, no Job will be created at nextRunTime unless the Job is enabled before then.
- recentJob
- RecentBatchJob
Information about the most recent Job under the Job Schedule. This property is present only if the at least one Job has run under the schedule.
- endTime
- Nullable<DateTimeOffset>
The time at which the schedule ended. This property is set only if the Job Schedule is in the completed state.
Returns
A new BatchJobScheduleExecutionInfo instance for mocking.
Applies to
Azure SDK for .NET