Querying 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 |
List of supported maintenance time windows. |
Parameter |
Type |
Description |
---|---|---|
seq |
Integer |
Sequence number. |
begin |
String |
Start time of the maintenance time window. |
end |
String |
End time of the maintenance time window. |
default |
Boolean |
Whether a maintenance time window is set to the default time segment. |
Example response
{ "maintain_windows": [{ "default": false, "seq": 1, "begin": "22:00:00", "end": "02:00:00" }, { "default": true, "seq": 2, "begin": "02:00:00", "end": "06:00:00" }, { "default": false, "seq": 3, "begin": "06:00:00", "end": "10:00:00" }, { "default": false, "seq": 4, "begin": "10:00:00", "end": "14:00:00" }, { "default": false, "seq": 5, "begin": "14:00:00", "end": "18:00:00" }, { "default": false, "seq": 6, "begin": "18:00:00", "end": "22:00:00" }] }
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.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot