Querying Maintenance Time Windows
This API is an out-of-date version and may not be maintained in the future. Please use the API described in Listing Maintenance Time Windows.
Function
This API is used to query the start and end time of the maintenance window.
URI
GET /v1.0/instances/maintain-windows
Request
Request parameters
None.
Example Request
None.
Response
Response parameters
Table 1 and Table 2 describe the response parameters.
Parameter |
Type |
Description |
---|---|---|
maintain_windows |
Array |
Indicates a list of supported maintenance time windows. |
Parameter |
Type |
Description |
---|---|---|
seq |
Integer |
Indicates the sequential number of a maintenance time window. |
begin |
String |
Indicates the time at which a maintenance time window starts. |
end |
String |
Indicates the time at which a maintenance time window ends. |
default |
Boolean |
Indicates whether a maintenance time window is set to the default time segment. |
Example response
{ "maintain_windows": [ { "seq": 1, "begin": "22", "end": "02", "default": false }, { "seq": 2, "begin": "02", "end": "06", "default": true }, { "seq": 3, "begin": "06", "end": "10", "default": false }, { "seq": 4, "begin": "10", "end": "14", "default": false }, { "seq": 5, "begin": "14", "end": "18", "default": false }, { "seq": 6, "begin": "18", "end": "22", "default": false } ] }
Status Code
Table 3 describes the status code of successful operations. For details about other status codes, see Status Code.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.