Create Maintenance Schedules Using POST
Using this method, you can create a particular maintenance schedules
The maintenance schedule to be created
Show optional properties
{
"key": "string",
"schedule": {
"duration": 0,
"hour": 0,
"minuteOfTheHour": 0,
"scheduleType": "string"
}
}
{
"id": "string",
"key": "string",
"schedule": {
"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"
]
}
}
Identifier generated by the server for this schedule.
Schedule key provided by user. Cannot be null during creation.
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.
The maintenance schedule created
{
"id": "string",
"key": "string",
"schedule": {
"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"
]
}
}
Identifier generated by the server for this schedule.
Schedule key provided by user. Cannot be null during creation.
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.
Invalid request parameters or request body
A maintenance schedule with the same key already exists