POST /serviceengine-inventory
/serviceengine-inventory
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.
ServiceEngineInventory object creation
{
"_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"
}
OK
"ServiceEngineInventory Object"
UNIX time since epoch in microseconds. Units(MICROSECONDS).
alert
config
health_score
runtime
url
UUID of the service engine. Field introduced in 22.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
log in failed
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/api/serviceengine-inventory