Mark Resource As Being Maintained Using PUT

Mark Resource As Being Maintained Using PUT

The Resource can end up in two maintenance states - MAINTAINED OR MAINTAINED_MANUAL - depending upon the inputs specified.

  • If duration/end time is specified, the resource will be placed in MAINTAINED state and after the duration/end time expires, the resource state is automatically set to the state it was in before entering the maintenance window.
  • If duration/end time is not specified, the resource will be placed in MAINTAINED_MANUAL state. Callers have to execute DELETE /suite-api/api/resources/{id}/maintained API to set the Resource back to whatever state it was in.
  • If both duration and end time are specified, end time takes preference over duration.
Request
URI
PUT
https://{api_host}/api/resources/{id}/maintained
COPY
Path Parameters
string
id
Required

The Resource identifier

Query Parameters
integer
duration
Optional

Duration for which this resource will be in maintenance (In Minutes)

integer
end
Optional

End time of the maintenance window as a long value (Epoch time)


Authentication
This operation uses the following authentication methods.
Responses
200

The resource is put in maintenance successfully

Operation doesn't return any data structure