Get All Alert Instances
DescriptionGets all alert instances. You can view the alerts that have been triggered in the last hour, day, or week. You can also view details for the last 100 alerts triggered
Request
URLURL
Request Body
{
"endTime": 0,
"namespace": "string",
"resultLimit": 0,
"startTime": 0
}
Returns alert instances that were created/updated before this time in milliseconds
Returns alert instances that were created/updated after this time in milliseconds
Maximum number of results to be returned per page.
Namespace of the alert instance query state, e.g., com.vmware.li
Configuration link associated with the alert instance query state
Metadata key associated with the alert instance query state
Metadata value associated with the alert instance query state
Type of alert
Possible values are: per-event/windowed
Query responses are returned in several pages and you can fetch one page at a time. This field represents the link to the next page.
Collection of alert histogram instances.
Set of tenant links
Authentication
Response
Response BodyResponse Body
200 OK
{
"alertConfigurationLink": "string",
"alertGroupColl": {},
"alertInstanceColl": [
{
"alertConfigurationLink": "string",
"alertDefinitionLink": "string",
"alertDescription": "string",
"alertName": "string",
"alertSeverity": "string",
"alertTriggerTimeMillis": 0,
"alertType": "string",
"logRcaInvestigationId": "string",
"metadata": {
"key": {}
},
"namespace": "string",
"selfLink": "string",
"tagIds": [
"string"
],
"tags": [
"string"
],
"tenantLinks": [
"string"
]
}
],
"alertType": "per-event/windowed",
"endTime": 0,
"metadataKey": "string",
"metadataValue": "string",
"namespace": "string",
"nextPageLink": "string",
"queryCriteria": {
"constraints": {
"constraints": "QueryConstraint Object",
"fieldName": "string",
"operator": "AND",
"tags": [
"string"
],
"value": "string"
},
"groupByTerms": [
{
"fieldName": "string",
"groupByType": "EACH_VALUE"
}
]
},
"resultLimit": 0,
"startTime": 0,
"tenantLinks": [
"string"
]
}
Returns alert instances that were created/updated before this time in milliseconds
Returns alert instances that were created/updated after this time in milliseconds
Maximum number of results to be returned per page.
Namespace of the alert instance query state, e.g., com.vmware.li
Configuration link associated with the alert instance query state
Metadata key associated with the alert instance query state
Metadata value associated with the alert instance query state
Type of alert
Possible values are: per-event/windowed
Query responses are returned in several pages and you can fetch one page at a time. This field represents the link to the next page.
Collection of alert histogram instances.
Set of tenant links