Queries the network topology between containerized applications.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
StartTime | long | No | The start timestamp of the query. Unit: milliseconds. Note
The days between the start timestamp and the end timestamp cannot exceed seven days.
| 1649260800000 |
EndTime | long | No | The end timestamp of the query. Unit: milliseconds. Note
The days between the start timestamp and the end timestamp cannot exceed seven days.
| 1650470399999 |
ClusterId | string | No | The ID of the cluster to which the container belongs. Note
You can call the DescribeGroupedContainerInstances operation to query the IDs of container clusters.
| cf77xxx |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "7D46EDB0-xxx",
"AppNetwork": {
"Node": [
{
"RiskLevel": 0,
"Id": 1274,
"NamespaceId": 1,
"ContainerIds": [
"10a6c3fbaaxxx"
],
"Type": "app",
"Name": "console"
}
],
"Edge": [
{
"Id": 3534,
"SrcNodeId": 101,
"SrcNodeType": "app",
"DstNodeId": 102,
"DstNodeType": "app",
"Port": 8080
}
],
"Namespace": [
{
"Id": 1,
"Name": "default"
}
]
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.