Queries IP addresses or hostnames in trace data. You can obtain all IP addresses of an application or in a region.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
xtrace:SearchTrace |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-beijing |
| ServiceName |
string |
No |
The name of the service. If you do not specify this parameter, the IP addresses of all applications in the specified region are returned. |
service1 |
| StartTime |
integer |
No |
The beginning of the time range to query. The value is a timestamp that is accurate to milliseconds. |
1583683200000 |
| EndTime |
integer |
No |
The end of the time range to query. The value is a timestamp that is accurate to milliseconds. |
1583723776974 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
1E2B6A4C-6B83-4062-8B6F-AEEC1****** |
| IpNames |
object |
||
| IpName |
array |
The IP addresses. |
|
|
string |
The IP addresses. |
[ "172.19.XXX.XXX", "10.0.X.X" ] |
Examples
Success response
JSON format
{
"RequestId": "1E2B6A4C-6B83-4062-8B6F-AEEC1******",
"IpNames": {
"IpName": [
"[ \"172.19.XXX.XXX\", \"10.0.X.X\" ]"
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.