[{"label":"Latest (8.6.3)","version":"latest"}]
vrealize-operations

Mark Resources As Being Maintained

Description

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 execute DELETE /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

Request

URL

URL


put
https://localhost/suite-api/api/resources/maintained
Copy

Query Parameters

Query Parameters

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)


array
id Required

The Resource identifiers


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

200 OK

The resource is put in maintenance successfully

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl -X PUT https://localhost/suite-api/api/resources/maintained?id=string


Feedback

Was this page helpful?