The list of O\\\&M tasks.
Operation Description
Specifies whether to return the historical tasks. Valid values:
- 0: returns the current task. This is the default value.
- 1: returns the historical tasks.
debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Region | string | Yes | The ID of the O&M task. | all |
TaskType | string | Yes | The ID of the region. | all |
IsHistory | integer | No | The time when the O&M task was created. The time in UTC is displayed in the yyyy-MM-ddTHH:mm:ssZ format. | 1 |
PageSize | integer | No | The number of entries to return on each page. Specify a value greater than 10. Default value: 30. | 30 |
PageNumber | integer | No | The number of the page to return. The value must be an integer that is greater than 0. Default value: 1. | 1 |
Response parameters
Examples
Sample success responses
JSON
format
{
"PageNumber": 1,
"RequestId": "2E1FF0CC-F42A-4B6F-A1F4-A17B1451****",
"PageSize": 30,
"TotalRecordCount": 1,
"Items": [
{
"Status": 5,
"Deadline": "2018-07-19 23:59:59",
"PrepareInterval": "14:00:00",
"TaskType": "rds_apsaradb_upgrade",
"StartTime": "2018-07-19 10:00:00",
"ModifiedTime": "2018-07-19 14:00:00",
"InsName": "r-bp1lgal1sdvxrz****",
"DbType": "redis",
"Region": "cn-hanghzou",
"CreatedTime": "2018-07-15 23:59:59",
"Id": 114111,
"SwitchTime": "2018-07-19 14:00:00"
}
]
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
400 | RequiredParam.NotFound | Required input param is not found. |
For a list of error codes, visit the Service error codes.