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)
Responses
200
The resource is put in maintenance successfully
Operation doesn't return any data structure
On This Page
Resource Operations
POST
Add Properties Using POST
POST
Add Properties Using Push Adapter Kind Using POST
POST
Add Relationship Using POST
POST
Add Stats Using POST
POST
Add Stats Using Push Adapter Kind Using POST
DELETE
Delete Relationship Using DELETE
DELETE
Delete Resource Using DELETE
GET
Get DT Stats Of Resource Using GET
GET
Get Latest Stats Using GET
GET
Get Relationships Using GET
GET
Get Relationship Using GET
GET
Get Resource Properties Using GET
GET
Get Resource Using GET
GET
Get Stat Keys Using GET
POST
Get Stats For Resource Using POST
GET
Get Stats Of Resource Using GET
GET
Get Top N Stats Of Resource Using GET
PUT
Mark Resource As Being Maintained Using PUT
PUT
Set Relationship Using PUT
PUT
Start Monitoring Resource Using PUT
PUT
Stop Monitoring Resource Using PUT
DELETE
Unmark Resource As Being Maintained Using DELETE
PUT
Update Geo Location Of Resource Using PUT