-
Notifications
You must be signed in to change notification settings - Fork 180
/
BatchServiceModels.Schedule.yml
139 lines (114 loc) · 4.27 KB
/
BatchServiceModels.Schedule.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
### YamlMime:TSType
name: Schedule
uid: '@azure/batch.BatchServiceModels.Schedule'
package: '@azure/batch'
summary: An interface representing Schedule.
fullName: Schedule
remarks: ''
isDeprecated: false
type: interface
properties:
- name: doNotRunAfter
uid: '@azure/batch.BatchServiceModels.Schedule.doNotRunAfter'
package: '@azure/batch'
summary: >-
A time after which no Job will be created under this Job Schedule. The
schedule will move to
the completed state as soon as this deadline is past and there is no
active Job under this Job
Schedule. If you do not specify a doNotRunAfter time, and you are creating
a recurring Job
Schedule, the Job Schedule will remain active until you explicitly
terminate it.
fullName: doNotRunAfter
remarks: ''
isDeprecated: false
syntax:
content: 'doNotRunAfter?: Date'
return:
description: ''
type: Date
- name: doNotRunUntil
uid: '@azure/batch.BatchServiceModels.Schedule.doNotRunUntil'
package: '@azure/batch'
summary: >-
The earliest time at which any Job may be created under this Job Schedule.
If you do not
specify a doNotRunUntil time, the schedule becomes ready to create Jobs
immediately.
fullName: doNotRunUntil
remarks: ''
isDeprecated: false
syntax:
content: 'doNotRunUntil?: Date'
return:
description: ''
type: Date
- name: recurrenceInterval
uid: '@azure/batch.BatchServiceModels.Schedule.recurrenceInterval'
package: '@azure/batch'
summary: >-
The time interval between the start times of two successive Jobs under the
Job Schedule. A Job
Schedule can have at most one active Job under it at any given time.
Because a Job Schedule
can have at most one active Job under it at any given time, if it is time
to create a new Job
under a Job Schedule, but the previous Job is still running, the Batch
service will not create
the new Job until the previous Job finishes. If the previous Job does not
finish within the
startWindow period of the new recurrenceInterval, then no new Job will be
scheduled for that
interval. For recurring Jobs, you should normally specify a jobManagerTask
in the
jobSpecification. If you do not use jobManagerTask, you will need an
external process to
monitor when Jobs are created, add Tasks to the Jobs and terminate the
Jobs ready for the next
recurrence. The default is that the schedule does not recur: one Job is
created, within the
startWindow after the doNotRunUntil time, and the schedule is complete as
soon as that Job
finishes. The minimum value is 1 minute. If you specify a lower value, the
Batch service
rejects the schedule with an error; if you are calling the REST API
directly, the HTTP status
code is 400 (Bad Request).
fullName: recurrenceInterval
remarks: ''
isDeprecated: false
syntax:
content: 'recurrenceInterval?: string'
return:
description: ''
type: string
- name: startWindow
uid: '@azure/batch.BatchServiceModels.Schedule.startWindow'
package: '@azure/batch'
summary: >-
The time interval, starting from the time at which the schedule indicates
a Job should be
created, within which a Job must be created. If a Job is not created
within the startWindow
interval, then the 'opportunity' is lost; no Job will be created until the
next recurrence of
the schedule. If the schedule is recurring, and the startWindow is longer
than the recurrence
interval, then this is equivalent to an infinite startWindow, because the
Job that is 'due' in
one recurrenceInterval is not carried forward into the next recurrence
interval. The default
is infinite. The minimum value is 1 minute. If you specify a lower value,
the Batch service
rejects the schedule with an error; if you are calling the REST API
directly, the HTTP status
code is 400 (Bad Request).
fullName: startWindow
remarks: ''
isDeprecated: false
syntax:
content: 'startWindow?: string'
return:
description: ''
type: string