PUT /applicationinsightspolicy/{uuid}

PUT /applicationinsightspolicy/{uuid}

/applicationinsightspolicy/{uuid}/{uuid}

Request
URI
PUT
https://{api_host}/api/applicationinsightspolicy/{uuid}
COPY
Path Parameters
string
uuid
Required

UUID of the object to fetch

Query Parameters
string
name
Optional

object name

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

ApplicationInsightsPolicy object creation

ApplicationInsightsPolicy of type(s) application/json
Optional

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"
}
Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns ApplicationInsightsPolicy of type(s) application/json
{
    "_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"
}
string
_last_modified
Optional

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

object
application_insights_params
Optional

application_insights_params

object
application_sampling_config
Optional

application_sampling_config

string
description
Optional

Details of the Application Insights Configuration. Field introduced in 31.2.1. Allowed with any value in Enterprise, Enterprise with Cloud Services edition.

boolean
enable_application_insights
Optional

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.

string
name
Required

The name of the Application Insights Configuration. Field introduced in 31.2.1. Allowed with any value in Enterprise, Enterprise with Cloud Services edition.

string
tenant_ref
Optional

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.

string
url
Optional

url

string
uuid
Optional

UUID of the Application Insights Configuration. Field introduced in 31.2.1. Allowed with any value in Enterprise, Enterprise with Cloud Services edition.


401

log in failed

Operation doesn't return any data structure

404

object not found

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"name":"string"}' https://{api_host}/api/applicationinsightspolicy/{uuid}