POST /inventoryfaultconfig
/inventoryfaultconfig
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.
InventoryFaultConfig object creation
{
"_last_modified": "string",
"configpb_attributes": {
"version": 0
},
"controller_faults": {
"backup_scheduler_faults": false,
"cluster_faults": false,
"deprecated_api_version_faults": false,
"license_faults": false,
"migration_faults": false,
"sslprofile_faults": false
},
"name": "string",
"serviceengine_faults": {
"debug_faults": false
},
"tenant_ref": "string",
"url": "string",
"uuid": "string",
"virtualservice_faults": {
"debug_faults": false,
"pool_server_faults": false,
"scaleout_faults": false,
"shared_vip_faults": false,
"ssl_cert_expiry_faults": false,
"ssl_cert_status_faults": false
}
}
OK
"InventoryFaultConfig Object"
UNIX time since epoch in microseconds. Units(MICROSECONDS).
configpb_attributes
controller_faults
Name. Field introduced in 20.1.6. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
serviceengine_faults
Tenant. It is a reference to an object of type Tenant. Field introduced in 20.1.6. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
url
UUID Auto generated. Field introduced in 20.1.6. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
virtualservice_faults
log in failed
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/api/inventoryfaultconfig