Mark Resources As Being Maintained
The Resources can end up in two maintenance states - MAINTAINED OR MAINTAINED_MANUAL -
depending upon the inputs specified.
- If duration/end time is specified, the Resources will be placed in MAINTAINED
state and after the duration/end time expires, the state of the Resources would be automatically
set to the state they were in before entering the maintenance window. - If duration/end time is not specified, the Resources will be placed in MAINTAINED_MANUAL state.
Callers have to executeDELETE /suite-api/api/resources/maintained?id=ID1&id=ID2
API
to set the Resources back to whatever state they were in. - If both duration and end time are specified, end time takes preference over duration.
Request
URI
PUT
https://{api_host}/suite-api/api/resources/maintained
COPY
Query Parameters
string of
array
id
Required
The Resource identifiers
integer
duration
Optional
The Duration for which this resource will be in maintenance (In Minutes)
integer
end
Optional
The 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
Code Samples
COPY
curl -X PUT -H 'Authorization: <value>' https://{api_host}/suite-api/api/resources/maintained
Resources Operations
GET
Get Resources
PUT
Update Resource
GET
Get Custom Profiles
PUT
Modify Custom Profile
POST
Create Custom Profile
PUT
Stop Monitoring Resources
Deprecated
PUT
Start Monitoring Resources
Deprecated
PUT
Mark Resources As Being Maintained
DELETE
Unmark Resources As Being Maintained
GET
Get Custom Groups
PUT
Modify Custom Group
POST
Create Custom Group
GET
Get Custom Datacenters
PUT
Update Custom Datacenter
POST
Create Custom Datacenter
DELETE
Delete Custom Datacenters
GET
Get Stats Of Resources
POST
Add Stats For Resources
POST
Get Stats For Resources
POST
Query Latest Stats Of Resources
POST
Get Stats And DT For Resources
POST
Add Stats For Resources Using Push Adapter Kind
POST
Get Matching Resources
GET
Get Resource Properties List
POST
Add Resources Properties
POST
Query Latest Properties Of Resources
POST
Add Resources Properties Using Adapter Kind
GET
Get Group Types
POST
Add Group Type
POST
Get Resources Relationships
POST
Create Resource Using Adapter Instance
POST
Create Resource Using Adapter Kind
GET
Get Top N Stats Of Resources
GET
Get Latest Stats Of Resources
GET
Get Stat Keys Of Resources
GET
Get Custom Profile
DELETE
Delete Custom Profile
GET
Get Custom Group
DELETE
Delete Custom Group
GET
Get Custom Group Members
GET
Get Custom Datacenter
DELETE
Delete Group Type
DELETE
Delete Resources