[{"label":"Latest (8.10.0)","version":"latest"},{"version":"8.6.3"}]
vrealize-operations
Create Maintenance Schedules
DescriptionUsing this method, you can create a particular maintenance schedules
Request
URLURL
https://localhost/suite-api/api/maintenanceschedules
Request Body
Request Body
maintenance-schedule
of type(s) application/json, application/xml
Required
The maintenance schedule to be created
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
201 Created
Returns
MaintenanceSchedule
of type(s) application/json, application/xml
The maintenance schedule created
Errors
400
Invalid request parameters or request body
422
A maintenance schedule with the same key already exists
Code Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"id":"string","key":"string","schedule":{"dayOfTheMonth":0,"daysOfTheMonth":["string"],"daysOfTheWeek":["UNKNOWN"],"duration":0,"expirationDate":"string","expireRuns":0,"hour":0,"minuteOfTheHour":0,"month":0,"months":[0],"recurrence":0,"scheduleType":"UNKNOWN","startDate":"string","timeZone":"string","weeksOfTheMonth":["UNKNOWNN"]}}' https://localhost/suite-api/api/maintenanceschedules
[{"label":"Latest (8.10.0)","version":"latest"},{"version":"8.6.3"}]
vrealize-operations