POST /inventoryfaultconfig

POST /inventoryfaultconfig

/inventoryfaultconfig

Request
URI
POST
https://{api_host}/api/inventoryfaultconfig
COPY
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.


Request Body

InventoryFaultConfig object creation

InventoryFaultConfig of type(s) application/json
Optional
{
    "_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
    }
}
Responses
200

OK

Returns InventoryFaultConfig of type(s) application/json
"InventoryFaultConfig Object"
string
_last_modified
Optional

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

object
configpb_attributes
Optional

configpb_attributes

object
controller_faults
Optional

controller_faults

string
name
Optional

Name. Field introduced in 20.1.6. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

object
serviceengine_faults
Optional

serviceengine_faults

string
tenant_ref
Optional

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.

string
url
Optional

url

string
uuid
Optional

UUID Auto generated. Field introduced in 20.1.6. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

object
virtualservice_faults
Optional

virtualservice_faults


401

log in failed

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/api/inventoryfaultconfig