GET /pool-inventory/{uuid}
/pool-inventory/{uuid}
UUID of the object to fetch
object name
List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.
All the Avi REST reference URIs have a name suffix as URI#name. It is useful to get the referenced resource name without performing get on that object.
Default values are not set.
It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.
Avi Tenant Header
Avi Tenant Header UUID
The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
OK
{
"_last_modified": "string",
"alert": {
"level": "string"
},
"app_profile_type": "string",
"config": {
"cloud_ref": "string",
"created_by": "string",
"default_server_port": 0,
"enabled": false,
"gslb_sp_enabled": false,
"name": "string",
"ref": "string",
"tenant_ref": "string",
"url": "string",
"vrf_ref": "string"
},
"health_score": {
"anomaly_penalty": 0,
"health_score": "number",
"performance_score": {
"application_performance": {
"reason": "string",
"reason_attr": "string",
"ref": "string",
"virtualservice_performance_scores": [
{
"hs_entity": {
"entity_uuid": "string",
"metrics_entity": "string",
"pool_ref": "string",
"server": "string"
},
"reason": "string",
"score_data": {
"apdexc": "number",
"apdexr": "number",
"avg_pool_performance_score": "number",
"oper_state": "string",
"pool_performance_scores": [
{
"hs_entity": {
"entity_uuid": "string",
"metrics_entity": "string",
"pool_ref": "string",
"server": "string"
},
"reason": "string",
"score_data": {
"apdexc": "number",
"apdexr": "number",
"oper_state": "string",
"pool_ref": "string",
"reason": "string",
"reason_attr": "string",
"ref": "string",
"sum_finished_conns": "number"
},
"value": "number"
}
],
"reason": "string",
"reason_attr": "string",
"ref": "string",
"rum_apdexr": "number",
"sum_finished_conns": "number",
"vs_uptime": "number"
},
"value": "number"
}
]
},
"pool_performance": {
"apdexc": "number",
"apdexr": "number",
"oper_state": "string",
"pool_ref": "string",
"reason": "string",
"reason_attr": "string",
"ref": "string",
"sum_finished_conns": "number"
},
"reason": "string",
"reason_attr": "string",
"server_performance": {
"apdexc": "number",
"apdexr": "number",
"oper_state": "string",
"pool_uuid": "string",
"reason": "string",
"reason_attr": "string",
"ref": "string",
"server": "string",
"sum_finished_conns": "number"
},
"serviceengine_performance": {
"oper_state": "string",
"reason": "string",
"reason_attr": "string",
"ref": "string"
},
"value": "number",
"virtualservice_performance": {
"apdexc": "number",
"apdexr": "number",
"avg_pool_performance_score": "number",
"oper_state": "string",
"pool_performance_scores": [
{
"hs_entity": {
"entity_uuid": "string",
"metrics_entity": "string",
"pool_ref": "string",
"server": "string"
},
"reason": "string",
"score_data": {
"apdexc": "number",
"apdexr": "number",
"oper_state": "string",
"pool_ref": "string",
"reason": "string",
"reason_attr": "string",
"ref": "string",
"sum_finished_conns": "number"
},
"value": "number"
}
],
"reason": "string",
"reason_attr": "string",
"ref": "string",
"rum_apdexr": "number",
"sum_finished_conns": "number",
"vs_uptime": "number"
}
},
"resources_penalty": 0,
"security_penalty": 0
},
"metrics": {
"data": {
"value": "number"
},
"headers": {
"statistics": {
"max": "number",
"mean": "number",
"min": "number",
"num_samples": 0
}
}
},
"runtime": {
"num_servers": 0,
"num_servers_enabled": 0,
"num_servers_up": 0,
"oper_status": {
"last_changed_time": {
"secs": 0,
"usecs": 0
},
"reason": [
"string"
],
"reason_code": 0,
"reason_code_string": "string",
"state": "string"
},
"percent_servers_up_enabled": 0,
"percent_servers_up_total": 0
},
"url": "string",
"uuid": "string",
"virtualservices": [
{
"ref": "string"
}
]
}
UNIX time since epoch in microseconds. Units(MICROSECONDS).
alert
Application type of the VS. Enum options - APPLICATION_PROFILE_TYPE_L4, APPLICATION_PROFILE_TYPE_HTTP, APPLICATION_PROFILE_TYPE_SYSLOG, APPLICATION_PROFILE_TYPE_DNS, APPLICATION_PROFILE_TYPE_SSL, APPLICATION_PROFILE_TYPE_SIP. Field introduced in 22.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
config
health_score
metrics
runtime
url
UUID of the pool. Field introduced in 22.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
Virtual services the pool is assigned to. Field introduced in 22.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
log in failed
curl -H 'Authorization: <value>' https://{api_host}/api/pool-inventory/{uuid}