maintenance-schedule

maintenance-schedule
maintenance-schedule

Represents a maintenance schedule during which resources are set to 'maintained' state. The server inturn informs the adapters that monitor these resources to stop monitoring until specified otherwise.Each maintenance schedule has an id, key and schedule. Both id and key have to be unique within the system. While id is automatically assigned by the server, key must be specified by the user.

JSON Example
{
    "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"
        ]
    }
}
string As uuid As uuid
id
Optional

Identifier generated by the server for this schedule.

string
key
Required

Schedule key provided by user. Cannot be null during creation.

schedule
Required

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.