ncloud_list_maintenances
Retrieve planned maintenance schedules from Cloud Insight with optional filtering by time range or resource ID.
Instructions
Get the list of planned maintenance schedules in Cloud Insight (paged). The API requires a filter: either a time range (from/to/timeType) OR a resource (resourceId+productKey). If none is given, a default ±180-day window by startTime is applied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Filter end (epoch ms) | |
| from | No | Filter start (epoch ms), used with 'to' and 'timeType' | |
| 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) |