Obtaining Link Information
Function
This API is used to query data link information. You can filter links based on multiple filter criteria and obtain link details for data flow analysis and troubleshooting. The parameters include the database name, instance ID, ECS name, outbound type, end time, public IP address, label, ADG instance ID, sensitivity level, and start time.
Calling Method
For details, see Calling APIs.
URI
POST /v1/{project_id}/logtrace/data-links
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Project ID, which is used to identify a specific project. |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
db_name |
No |
String |
Database name. |
|
dbss_instance_id |
No |
String |
DBSS instance ID. |
|
ecs_name |
No |
String |
ECS instance name. |
|
egress_type |
No |
String |
Outbound type. |
|
end_time |
No |
Long |
End time. |
|
internet_ip |
No |
String |
Public IP address. |
|
labels |
No |
Array of strings |
Label list. |
|
oem_instance_id |
No |
String |
ADG instance ID. |
|
sensitive_level |
No |
Integer |
Sensitivity level. |
|
start_time |
No |
Long |
Start time. |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
links |
Array of LogTraceLink objects |
Connection information list. |
|
nodes |
Array of LogTraceNode objects |
Node information list. |
|
Parameter |
Type |
Description |
|---|---|---|
|
access_times |
Integer |
Access times. |
|
encrypt_status |
String |
Encryption status. |
|
source_node_id |
String |
ID of the source node. |
|
ssl_access_times |
Integer |
SSL access times. |
|
target_node_id |
String |
Destination node ID. |
|
Parameter |
Type |
Description |
|---|---|---|
|
encrypt_status |
String |
Encryption status. |
|
fixed_ip |
String |
Fixed IP address. |
|
floating_ip |
String |
Floating IP address. |
|
id |
String |
Node ID. |
|
name |
String |
Node name. |
|
node_type |
String |
Node type. |
|
sensitive_infos |
Array of SensitiveInfo objects |
List of sensitive data. |
|
Parameter |
Type |
Description |
|---|---|---|
|
label_name |
String |
Label name. |
|
sensitive_level |
Integer |
Sensitivity level. |
Status code: 201
Created
Example Requests
POST /v1/{project_id}/logtrace/data-links
{
"db_name" : "string",
"dbss_instance_id" : "string",
"ecs_name" : "string",
"egress_type" : "string",
"end_time" : 0,
"internet_ip" : "string",
"labels" : [ "string" ],
"oem_instance_id" : "string",
"sensitive_level" : 0,
"start_time" : 0
}
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
OK |
|
201 |
Created |
|
401 |
Unauthorized. The user is not logged in or the token is invalid. |
|
403 |
Unauthorized to access the resource. |
|
404 |
The specified project does not exist. |
Error Codes
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