Threshold List

Threshold List

Returns the threshold attributes with values and descriptions.

Request
URI
POST
https://{api_host}/tcsa/api/notification-management/v1/notifications/threshold-list
COPY
Request Body

Request to fetch threshold attributes.

ThresholdRequest of type(s) application/json
Required
{
    "source": "INCHARGE-SA-PRES",
    "domains": [
        "INCHARGE-AM"
    ],
    "arguments": {
        "notificationName": "NOTIFICATION-FileSystem__Performance__HostResources_I-FileSystem__Performance__HostResources-FS-192.168.7.12/11_HighUtilization",
        "serverName": " ",
        "className": "FileSystem_Performance_HostResources",
        "instanceName": " ",
        "eventName": " ",
        "property": "SOURCE",
        "synchronousResponse": "TRUE",
        "format": "XML"
    }
}
string
source
Optional

sam-name from which notification is notified.

array of string
domains
Optional

There is possiblility that same event can be notified from multiple domains. we have to provice all the domains to fetch thresholds.

object
arguments
Optional

Request to get threshold attributes.

Authentication
This operation uses the following authentication methods.
Responses
200

list of threshold attributes with values and descriptions

Returns Array of ThresholdAttributes of type(s) application/json
[
    {
        "attribute_label": "MaxUtilizationPct",
        "description": "Threshold for percentage of total size currently in use.",
        "attribute_type": "MaxUtilizationPct",
        "attribute_value": {
            "dt": "STRING",
            "content": "95%"
        }
    },
    {
        "attribute_label": "StorageSize",
        "description": "Total size in KB.",
        "attribute_type": "StorageSize",
        "attribute_value": {
            "dt": "STRING",
            "content": "209712124KB"
        }
    }
]

401

Client must authenticate itself to get the requested response.

Operation doesn't return any data structure

403

The client does not have access rights to the content.

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}/tcsa/api/notification-management/v1/notifications/threshold-list