forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Chen, Junjie <chenjunjie@huawei.com> Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
8.0 KiB
8.0 KiB
Querying Maintenance Time Window
Function
The API is used to query the start time and end time of the maintenance time window.
URI
GET /v1.0/instances/maintain-windows
Request
Request parameters
None
Example request
None
Response
Response parameters
Table 1 describes the response parameters.
Parameter |
Type |
Description |
|---|---|---|
seq |
Integer |
Sequence number of the maintenance time window. |
begin |
String |
Start time of the maintenance time window. |
end |
String |
End time of the maintenance time window. |
default |
Boolean |
An indicator of whether the 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
}
]
}
Parent topic: Other APIs