共用方式為


CloudJobSchedule Constructors

Definition

Overloads

CloudJobSchedule()

Initializes a new instance of the CloudJobSchedule class.

CloudJobSchedule(String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<JobScheduleState>, Nullable<DateTime>, Nullable<JobScheduleState>, Nullable<DateTime>, Schedule, JobSpecification, JobScheduleExecutionInformation, IList<MetadataItem>, JobScheduleStatistics)

Initializes a new instance of the CloudJobSchedule class.

CloudJobSchedule()

Source:
CloudJobSchedule.cs

Initializes a new instance of the CloudJobSchedule class.

public CloudJobSchedule ();
Public Sub New ()

Applies to

CloudJobSchedule(String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<JobScheduleState>, Nullable<DateTime>, Nullable<JobScheduleState>, Nullable<DateTime>, Schedule, JobSpecification, JobScheduleExecutionInformation, IList<MetadataItem>, JobScheduleStatistics)

Source:
CloudJobSchedule.cs

Initializes a new instance of the CloudJobSchedule class.

public CloudJobSchedule (string id = default, string displayName = default, string url = default, string eTag = default, DateTime? lastModified = default, DateTime? creationTime = default, Microsoft.Azure.Batch.Protocol.Models.JobScheduleState? state = default, DateTime? stateTransitionTime = default, Microsoft.Azure.Batch.Protocol.Models.JobScheduleState? previousState = default, DateTime? previousStateTransitionTime = default, Microsoft.Azure.Batch.Protocol.Models.Schedule schedule = default, Microsoft.Azure.Batch.Protocol.Models.JobSpecification jobSpecification = default, Microsoft.Azure.Batch.Protocol.Models.JobScheduleExecutionInformation executionInfo = default, System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.MetadataItem> metadata = default, Microsoft.Azure.Batch.Protocol.Models.JobScheduleStatistics stats = default);
new Microsoft.Azure.Batch.Protocol.Models.CloudJobSchedule : string * string * string * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<Microsoft.Azure.Batch.Protocol.Models.JobScheduleState> * Nullable<DateTime> * Nullable<Microsoft.Azure.Batch.Protocol.Models.JobScheduleState> * Nullable<DateTime> * Microsoft.Azure.Batch.Protocol.Models.Schedule * Microsoft.Azure.Batch.Protocol.Models.JobSpecification * Microsoft.Azure.Batch.Protocol.Models.JobScheduleExecutionInformation * System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.MetadataItem> * Microsoft.Azure.Batch.Protocol.Models.JobScheduleStatistics -> Microsoft.Azure.Batch.Protocol.Models.CloudJobSchedule
Public Sub New (Optional id As String = Nothing, Optional displayName As String = Nothing, Optional url As String = Nothing, Optional eTag As String = Nothing, Optional lastModified As Nullable(Of DateTime) = Nothing, Optional creationTime As Nullable(Of DateTime) = Nothing, Optional state As Nullable(Of JobScheduleState) = Nothing, Optional stateTransitionTime As Nullable(Of DateTime) = Nothing, Optional previousState As Nullable(Of JobScheduleState) = Nothing, Optional previousStateTransitionTime As Nullable(Of DateTime) = Nothing, Optional schedule As Schedule = Nothing, Optional jobSpecification As JobSpecification = Nothing, Optional executionInfo As JobScheduleExecutionInformation = Nothing, Optional metadata As IList(Of MetadataItem) = Nothing, Optional stats As JobScheduleStatistics = Nothing)

Parameters

id
String

A string that uniquely identifies the schedule within the Account.

displayName
String

The display name for the schedule.

url
String

The URL of the Job Schedule.

eTag
String

The ETag of the Job Schedule.

lastModified
Nullable<DateTime>

The last modified time of the Job Schedule.

creationTime
Nullable<DateTime>

The creation time of the Job Schedule.

state
Nullable<JobScheduleState>

The current state of the Job Schedule.

stateTransitionTime
Nullable<DateTime>

The time at which the Job Schedule entered the current state.

previousState
Nullable<JobScheduleState>

The previous state of the Job Schedule.

previousStateTransitionTime
Nullable<DateTime>

The time at which the Job Schedule entered its previous state.

schedule
Schedule

The schedule according to which Jobs will be created.

jobSpecification
JobSpecification

The details of the Jobs to be created on this schedule.

executionInfo
JobScheduleExecutionInformation

Information about Jobs that have been and will be run under this schedule.

metadata
IList<MetadataItem>

A list of name-value pairs associated with the schedule as metadata.

stats
JobScheduleStatistics

The lifetime resource usage statistics for the Job Schedule. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.

Applies to