Querying the Killing History
Function
This API is used to query the session killing history of a DB instance.
- Before calling this API, learn how to authenticate it.
- Before calling this API, learn about request header parameters.
Authorization Information
- If you are using role/policy-based authorization, see Permissions and Supported Actions for details on the required permissions.
- If you are using identity policy-based authorization, the following identity policy-based permissions are required.
|
Action |
Access Level |
Resource Type (*: required) |
Condition Key |
Alias |
Dependencies |
|---|---|---|---|---|---|
|
rds:instance:listAll |
read |
- |
- |
rds:instance:list |
- |
URI
- URI format
GET /v3/{project_id}/instances/{instance_id}/ops/intelligent-kill-session/history
- Parameter description
Table 1 Parameters Parameter
Type
Mandatory
Description
project_id
String
Yes
Definition
Project ID of a tenant in a region.
To obtain the value, see Obtaining a Project ID.
Constraints
N/A
Range
N/A
Default Value
N/A
instance_id
String
Yes
Definition
Instance ID.
Constraints
N/A
Range
N/A
Default Value
N/A
start_time
String
No
Definition
Query start time.
Constraints
N/A
Range
N/A
Default Value
N/A
end_time
String
No
Definition
Query end time.
Constraints
N/A
Range
N/A
Default Value
N/A
page_num
Integer
No
Range
Page number.
Constraints
N/A
Range
N/A
Default Value
1
page_size
Integer
No
Range
Page size.
Constraints
N/A
Range
N/A
Default Value
10
Request Parameters
None
Response
- Normal response
Table 2 db_upgrade_precheck field description Parameter
Type
Description
instance_id
String
Definition
Instance ID.
Range
N/A
history
Array of objects
Definition
List of throttling information. For details, see Table 3.
total_count
Integer
Definition
Number of historical records.
Range
N/A
Table 3 history field description Parameter
Type
Description
task_id
String
Definition
Task ID.
Range
N/A
start_time
Long
Definition
Start time for the killing operation.
Range
N/A
end_time
Long
Definition
End time for the killing operation.
Range
N/A
download_link
String
Definition
Link for downloading the operation history.
Range
N/A
- Example normal response
{ "history": [ { "task_id": "1753061903381", "start_time": 1753061905, "end_time": 1753061905, "download_link": "https://downloadlink1" }, { "task_id": "1753104595497", "start_time": 1753104597, "end_time": 1753104597, "download_link": "https://downloadlink2" } ], "total_count": 2 }
- Abnormal response
For details, see Abnormal Request Results.
Status Code
- Normal
- Abnormal
For details, see Status Codes.
Error Code
For details, see Error Codes.
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