PUT /debugcontroller/{uuid}

PUT /debugcontroller/{uuid}

/debugcontroller/{uuid}

Request
URI
PUT
https://{api_host}/api/debugcontroller/{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

DebugController object creation

DebugController of type(s) application/json
Optional

Show optional properties

{
    "log_level": "string",
    "name": "string",
    "sub_module": "string",
    "trace_level": "string"
}
{
    "_last_modified": "string",
    "filters": {
        "alert_debug_filter": {
            "alert_objid": "string",
            "alert_uuid": "string",
            "cfg_uuid": "string"
        },
        "autoscale_mgr_debug_filter": {
            "enable_aws_autoscale_integration": false,
            "intelligent_autoscale_period": 0,
            "pool_ref": "string"
        },
        "cloud_connector_debug_filter": {
            "app_id": "string",
            "disable_se_reboot": false,
            "se_id": "string"
        },
        "hs_debug_filter": {
            "entity": "string",
            "metric_entity": "string",
            "period": 0,
            "pool": "string",
            "server": "string",
            "skip_hs_db_writes": false
        },
        "logmanager_debug_filter": {
            "entity_ref": "string"
        },
        "mesos_metrics_debug_filter": {
            "mesos_master": "string",
            "mesos_slave": "string",
            "metric_entity": "string",
            "metrics_collection_frq": 0
        },
        "metrics_debug_filter": {
            "debug_skip_eval_period": "string",
            "disable_hw_training": "string",
            "entity": "string",
            "license_grace_period": "string",
            "log_first_n": "string",
            "logging_freq": "string",
            "metric_instance_id": "string",
            "min_db_queries_each_conn": "string",
            "obj": "string",
            "skip_cluster_map_check": "string",
            "skip_metrics_db_writes": "string"
        },
        "metricsapi_srv_debug_filter": {
            "entity_ref": "string"
        },
        "se_mgr_debug_filter": {
            "name": "string"
        },
        "se_rpc_proxy_filter": {
            "method_name": "string",
            "queue": "string",
            "se_uuid": "string"
        },
        "securitymgr_debug_filter": {
            "enable_adaptive_config": false,
            "entity_ref": "string",
            "psm_rule_id_multiplier": 0
        },
        "state_cache_mgr_debug_filter": {
            "pool_ref": "string",
            "vs_ref": "string"
        },
        "type": "string",
        "vs_debug_filter": {
            "name": "string",
            "se_uuid": "string"
        }
    },
    "log_level": "string",
    "name": "string",
    "sub_module": "string",
    "tenant_ref": "string",
    "trace_level": "string",
    "url": "string",
    "uuid": "string"
}
Responses
200

OK

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

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

object
filters
Optional

filters

string
log_level
Required

Enum options - LOG_LEVEL_DISABLED, LOG_LEVEL_INFO, LOG_LEVEL_WARNING, LOG_LEVEL_ERROR. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
name
Required

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
sub_module
Required

Enum options - TASK_QUEUE_DEBUG, RPC_INFRA_DEBUG, JOB_MGR_DEBUG, TRANSACTION_DEBUG, SE_AGENT_DEBUG, SE_AGENT_METRICS_DEBUG, VIRTUALSERVICE_DEBUG, RES_MGR_DEBUG, SE_MGR_DEBUG, VI_MGR_DEBUG, METRICS_MANAGER_DEBUG, METRICS_MGR_DEBUG, EVENT_API_DEBUG, HS_MGR_DEBUG, ALERT_MGR_DEBUG, AUTOSCALE_MGR_DEBUG, APIC_AGENT_DEBUG, REDIS_INFRA_DEBUG, CLOUD_CONNECTOR_DEBUG, MESOS_METRICS_DEBUG, STATECACHE_MGR_DEBUG, NSX_AGENT_DEBUG, SE_AGENT_CPU_UTIL_DEBUG, SE_AGENT_MEM_UTIL_DEBUG, SE_RPC_PROXY_DEBUG, SE_AGENT_GSLB_DEBUG, METRICSAPI_SRV_DEBUG, SECURITYMGR_DEBUG, RES_MGR_READ_DEBUG, LICENSE_VMWSRVR_DEBUG, SE_AGENT_RESOLVERDB_DEBUG, LOGMANAGER_DEBUG, OSYNC_DEBUG, EVENTMANAGER_DEBUG. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
tenant_ref
Optional

It is a reference to an object of type Tenant. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
trace_level
Required

Enum options - TRACE_LEVEL_DISABLED, TRACE_LEVEL_ERROR, TRACE_LEVEL_DEBUG, TRACE_LEVEL_DEBUG_DETAIL. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
url
Optional

url

string
uuid
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.


401

log in failed

Operation doesn't return any data structure

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