schedule
Schedule represents the meta information required by the server to set resources in maintenance mode at the right interval/time. To construct specific schedules, please see some of the static helper utilities in this class.
{
"hour": 0,
"minuteOfTheHour": 0,
"duration": 0,
"scheduleType": "string",
"recurrence": 0,
"dayOfTheMonth": 0,
"daysOfTheMonth": [
"string"
],
"weeksOfTheMonth": [
"string"
],
"daysOfTheWeek": [
"string"
],
"month": 0,
"months": [
0
],
"startDate": "string",
"expirationDate": "string",
"timeZone": "string",
"expireRuns": 0
}
The beginning hour of the schedule.
The beginning minutes of the schedule.
Duration of the schedule in minutes.
Schedule type
Configures how the schedule is repeated within the provided interval, e.g. if scheduleType = DAILY
then setting recurrence = 2
would trigger the job every 2 days.
Applicable only when scheduleType = DAILY
or scheduleType = WEEKLY
.
Deprecated, will be removed after couple of releases.
Day of the month on which the job should be triggered. Must be specified only when scheduleType = MONTHLY
. Mutually exclusive with daysOfTheMonth and weeksOfTheMonth.
The list of the days of the month on which the job should be triggered. Applicable values are {1,2,...,31,LAST}. Must be specified only when scheduleType = MONTHLY
. Mutually exclusive with dayOfTheMonth and weeksOfTheMonth.
The list of the week indices of the month on which the job should be triggered. Must be specified only when scheduleType = MONTHLY
. Mutually exclusive with dayOfTheMonth and daysOfTheMonth, should be specified together with daysOfTheWeek.
Days of the week on which the job should be triggered. Must be specified only when scheduleType = WEEKLY
or scheduleType = MONTHLY
.
When scheduleType = MONTHLY
this parameter is mutually exclusive with dayOfTheMonth and daysOfTheMonth, should be specified together with daysOfTheWeek.
Deprecated, will be removed after couple of releases.
Month of the year on which the job should be triggered. Must be specified only when scheduleType = MONTHLY
. Mutually exclusive with months.
Months of the year on which the job should be triggered. Must be specified only when scheduleType = MONTHLY
. Mutually exclusive with month.
Start date for the schedule. Should be in format MM/DD/YYYY and if not specified current date is used.
The expiration date of the schedule. Should be in format MM/DD/YYYY. Mutually exclusive with expireRuns and either of them should be always defined when scheduleType != ONCE
.
Time Zone of the schedule.
If not provided, defaults to the time of the VMware Cloud Foundation Operations server.
The number of run after which the schedule should expire. Mutually exclusive with expirationDate and either of them should be always defined when scheduleType != ONCE
.