Create Maintenance Schedules
Using this method, you can create a particular maintenance schedules
The maintenance schedule to be created
Show optional properties
{
"key": "string",
"schedule": {
"hour": 0,
"minuteOfTheHour": 0,
"duration": 0,
"scheduleType": "string"
}
}
"{\n \"key\" : \"daily-ms1\",\n \"schedule\" : {\n \"hour\" : 2,\n \"minuteOfTheHour\" : 0,\n \"duration\" : 120,\n \"scheduleType\" : \"DAILY\",\n \"recurrence\" : 1,\n \"timeZone\" : \"Asia/Yerevan\",\n \"expireRuns\" : 3\n }\n}"
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
"No Custom Example is Available"
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
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"key:"string","schedule:"object"}' https://{api_host}/suite-api/api/maintenanceschedules