POST /applicationinsightspolicy
/applicationinsightspolicy
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.
ApplicationInsightsPolicy object creation
Show optional properties
{
"name": "string"
}
{
"_last_modified": "string",
"application_insights_params": {
"enable_learn_from_bots": false,
"enable_per_uri_learning": false,
"learn_from_authenticated_clients_only": false,
"learn_from_bots": {
"classifications": [
{
"type": "string",
"user_defined_type": "string"
}
],
"match_operation": "string"
},
"learn_from_urls_without_args": false,
"max_params": 0,
"max_uris": 0,
"trusted_ipgroup_ref": "string"
},
"application_sampling_config": {
"max_sampling_percent": 0,
"min_update_interval": 0
},
"description": "string",
"enable_application_insights": false,
"name": "string",
"tenant_ref": "string",
"url": "string",
"uuid": "string"
}
OK
{
"_last_modified": "string",
"application_insights_params": {
"enable_learn_from_bots": false,
"enable_per_uri_learning": false,
"learn_from_authenticated_clients_only": false,
"learn_from_bots": {
"classifications": [
{
"type": "string",
"user_defined_type": "string"
}
],
"match_operation": "string"
},
"learn_from_urls_without_args": false,
"max_params": 0,
"max_uris": 0,
"trusted_ipgroup_ref": "string"
},
"application_sampling_config": {
"max_sampling_percent": 0,
"min_update_interval": 0
},
"description": "string",
"enable_application_insights": false,
"name": "string",
"tenant_ref": "string",
"url": "string",
"uuid": "string"
}
UNIX time since epoch in microseconds. Units(MICROSECONDS).
application_insights_params
application_sampling_config
Details of the Application Insights Configuration. Field introduced in 31.2.1. Allowed with any value in Enterprise, Enterprise with Cloud Services edition.
Enable Application Insights, formerly called learning for this virtual service. Field introduced in 31.2.1. Allowed with any value in Enterprise, Enterprise with Cloud Services edition.
The name of the Application Insights Configuration. Field introduced in 31.2.1. Allowed with any value in Enterprise, Enterprise with Cloud Services edition.
Details of the Tenant for the Application Insights Configuration. It is a reference to an object of type Tenant. Field introduced in 31.2.1. Allowed with any value in Enterprise, Enterprise with Cloud Services edition.
url
UUID of the Application Insights Configuration. Field introduced in 31.2.1. Allowed with any value in Enterprise, Enterprise with Cloud Services edition.
log in failed
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"name":"string"}' https://{api_host}/api/applicationinsightspolicy