Queries IP addresses or hostnames in trace data. You can obtain all IP addresses of an application or in a region.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The ID of the region. | cn-beijing |
ServiceName | string | No | The name of the application. If you do not set this parameter, the IP addresses of all applications in the specified region are returned. | service1 |
StartTime | long | No | The timestamp of the start time of the time range to query. The timestamp is accurate to milliseconds. | 1583683200000 |
EndTime | long | No | The timestamp of the end time of the time range to query. The timestamp is accurate to milliseconds. | 1583723776974 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "1E2B6A4C-6B83-4062-8B6F-AEEC1FC4****",
"IpNames": {
"IpName": [
"[ \"172.19.XXX.XXX\", \"10.0.X.X\" ]"
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history