All Products
Search
Document Center

Application Real-Time Monitoring Service:ListIpOrHosts

Last Updated:Jul 24, 2024

Queries IP addresses or hostnames in trace data. You can obtain all IP addresses of an application or in a region.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The ID of the region.

cn-beijing
ServiceNamestringNo

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
StartTimelongNo

The timestamp of the start time of the time range to query. The timestamp is accurate to milliseconds.

1583683200000
EndTimelongNo

The timestamp of the end time of the time range to query. The timestamp is accurate to milliseconds.

1583723776974

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

1E2B6A4C-6B83-4062-8B6F-AEEC1FC4****
IpNamesarray

The IP addresses.

string

The IP addresses.

[ "172.19.XXX.XXX", "10.0.X.X" ]

Examples

Sample success responses

JSONformat

{
  "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 timeSummary of changesOperation
No change history