EntitiesService_GetEntityByIPAddress
EntitiesService_GetEntityByIPAddress
Path Parameters
- ip_address string required
- 200
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
- ip_address string required
Possible values: Value must match regular expression
^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
IP address of the entity.
- name string
Name of the entity. For example, pod name.
- namespace string
Namespace of the entity. For example, pod namespace.
- node_name string
Node name of the entity. For example, hostname.
- services string[]
Possible values:
>= 1
Services of the entity.
- uid string required
Unique identifier of the entity.
{
"ip_address": "string",
"name": "string",
"namespace": "string",
"node_name": "string",
"services": [
"string"
],
"uid": "string"
}
An unexpected error response.
- application/json
- Schema
- Example (from schema)
Schema
- code int32
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
details object[]
- message string
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
GET /v1/discovery/entities/ip-address/:ip_address
Request
Request
curl -L -X GET 'https://aperture-agent/v1/discovery/entities/ip-address/:ip_address' \
-H 'Accept: application/json'
curl -L -X GET 'https://aperture-agent/v1/discovery/entities/ip-address/:ip_address' \
-H 'Accept: application/json'
curl -L -X GET 'https://aperture-agent/v1/discovery/entities/ip-address/:ip_address' \
-H 'Accept: application/json'