GET /serviceengine-inventory/{uuid}

GET /serviceengine-inventory/{uuid}

/serviceengine-inventory/{uuid}

Request
URI
GET
https://{api_host}/api/serviceengine-inventory/{uuid}
COPY
Path Parameters
string
uuid
Required

UUID of the object to fetch

Query Parameters
string
name
Optional

object name

string
fields
Optional

List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.

boolean
include_name
Optional

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.

boolean
skip_default
Optional

Default values are not set.

string
join_subresources
Optional

It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.

Header Parameters
string
X-Avi-Tenant
Optional

Avi Tenant Header

string
X-Avi-Tenant-UUID
Optional

Avi Tenant Header UUID

string
X-Avi-Version
Required

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.

string
X-CSRFToken
Optional

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.


Responses
200

OK

Returns ServiceEngineInventory of type(s) application/json
{
    "_last_modified": "string",
    "alert": {
        "level": "string"
    },
    "config": {
        "cloud_ref": "string",
        "enable_state": "string",
        "host_ref": "string",
        "mgmt_ip6_address": {
            "addr": "string",
            "type": "string"
        },
        "mgmt_ip_address": {
            "addr": "string",
            "type": "string"
        },
        "name": "string",
        "se_group_ref": "string",
        "tenant_ref": "string",
        "url": "string",
        "uuid": "string",
        "vs_per_se_refs": [
            "string"
        ],
        "vs_refs": [
            "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
    },
    "runtime": {
        "active_tags": [
            "string"
        ],
        "at_curr_ver": false,
        "bgp_peers_up": false,
        "gateway_up": false,
        "hb_status": {
            "last_hb_req_sent": "string",
            "last_hb_resp_recv": "string",
            "num_hb_misses": 0,
            "num_outstanding_hb": 0
        },
        "inband_mgmt": false,
        "license_state": "string",
        "licensed_service_cores": "number",
        "migrate_state": "string",
        "online_since": "string",
        "oper_status": {
            "last_changed_time": {
                "secs": 0,
                "usecs": 0
            },
            "reason": [
                "string"
            ],
            "reason_code": 0,
            "reason_code_string": "string",
            "state": "string"
        },
        "power_state": "string",
        "se_connected": false,
        "se_grp_reboot_pending": false,
        "sufficient_memory": false,
        "version": "string",
        "vinfra_discovered": false,
        "vsphere_ha_enabled": false,
        "vsphere_ha_inprogress": false,
        "vsphere_ha_job_active": false
    },
    "url": "string",
    "uuid": "string"
}
string
_last_modified
Optional

UNIX time since epoch in microseconds. Units(MICROSECONDS).

object
alert
Optional

alert

object
config
Optional

config

object
health_score
Optional

health_score

object
runtime
Optional

runtime

string
url
Optional

url

string
uuid
Optional

UUID of the service engine. Field introduced in 22.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.


401

log in failed

Operation doesn't return any data structure

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/api/serviceengine-inventory/{uuid}