ncloud_list_maintenances
Retrieves paged planned maintenance schedules from Cloud Insight, filtered by a time range (up to 31 days) or by resource, with a default 30-day window when no filter is provided.
Instructions
Get the list of planned maintenance schedules in Cloud Insight (paged). The API requires a filter: either a time range (from/to/timeType, at most 31 days) OR a resource (resourceId+productKey). If none is given, a default 30-day window (now-15d..now+15d) by startTime is applied.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ncloud_list_maintenances"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Filter end (epoch ms); at most 31 days after 'from' | |
| from | No | Filter start (epoch ms), used with 'to' and 'timeType'; the range to-from must not exceed 31 days | |
| pageNum | No | Page number (>= 1) | |
| pageSize | No | Page size (>= 1) | |
| timeType | No | Which time the from/to filter applies to (default startTime) | |
| productKey | No | Filter by product key (use together with resourceId) | |
| resourceId | No | Filter by resource ID (use together with productKey instead of a time range) |