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
GET https://{dms_endpoint}/v1.0/instances/maintain-windows
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.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot