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.
{
"dayOfTheMonth": 0,
"daysOfTheMonth": [
"string"
],
"daysOfTheWeek": [
"string"
],
"duration": 0,
"expirationDate": "string",
"expireRuns": 0,
"hour": 0,
"minuteOfTheHour": 0,
"month": 0,
"months": [
0
],
"recurrence": 0,
"scheduleType": "string",
"startDate": "string",
"timeZone": "string",
"weeksOfTheMonth": [
"string"
]
}
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.
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.
Duration of the schedule in minutes.
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
.
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
.
The beginning hour of the schedule.
The beginning minutes of the schedule.
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.
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
.
Type of the schedule. NOTE: Currently schedule type 'YEARLY' is not supported.
Start date for the schedule. Should be in format MM/DD/YYYY and if not specified current date is used.
Time Zone of the schedule.
If not provided, defaults to the time of the vRealize Operations Manager server.
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.