List Alerts
Gets a list of existing alerts.
External Documentation
To learn more, visit the Nutanix Hypervisor documentation.
Basic Parameters
Parameter | Description |
---|---|
Kind | The kind name. |
Sort Attribute | The attribute to perform sort on. |
Sort Order | The sort order in which results are returned. |
Advanced Parameters
Parameter | Description |
---|---|
Length | The amount of records to retrieve relative to the offset. |
Offset | Offset from the start of the list. |
Example Output
{
"entities": [
{
"status": {
"state": "string",
"message_list": [
{
"message": "string",
"reason": "string",
"details": {
"property1": "string",
"property2": "string"
}
}
],
"resources": {
"last_update_time": "2019-08-24T14:15:22Z",
"source_entity": {
"cluster_uuid": "string",
"entity": {
"type": "string",
"name": "string",
"uuid": "string"
}
},
"rca_metadata_list": [
{
"title": "string",
"actions": "string",
"parent_cause_id": "string",
"details": "string",
"cause": "string",
"id": "string"
}
],
"affected_entity_list": [
{
"type": "string",
"name": "string",
"uuid": "string"
}
],
"severity": "string",
"title": "string",
"default_message": "string",
"creation_time": "2019-08-24T14:15:22Z",
"resolution_status": {
"is_true": true,
"is_auto_resolved": true,
"user": "string",
"time": "2019-08-24T14:15:22Z"
},
"indicator_list": [
{
"metric_display_name": "string",
"metric_name": "string",
"trigger_time": "2019-08-24T14:15:22Z",
"condition_type": "string",
"threshold": {
"int_value": 0,
"double_value": 0,
"bool_value": true,
"string_value": "string"
},
"last_value": {
"int_value": 0,
"double_value": 0,
"bool_value": true,
"string_value": "string"
},
"comparison_operator": "string",
"unit": "string",
"wait_time_in_usecs": 0
}
],
"acknowledged_status": {
"is_true": true,
"is_auto_resolved": true,
"user": "string",
"time": "2019-08-24T14:15:22Z"
},
"is_user_defined": true,
"severity_trail_list": [
{
"severity_change_time": "2019-08-24T14:15:22Z",
"severity": "string"
}
],
"classification_list": [
"string"
],
"possible_cause_list": [
{
"resolution_list": [
"string"
],
"cause_list": [
"string"
]
}
],
"impact_type_list": [
"string"
],
"parameters": {
"property1": {
"int_value": 0,
"double_value": 0,
"bool_value": true,
"string_value": "string"
},
"property2": {
"int_value": 0,
"double_value": 0,
"bool_value": true,
"string_value": "string"
}
},
"type": "string",
"impact_list": [
"string"
],
"latest_occurrence_time": "2019-08-24T14:15:22Z"
}
},
"spec": {
"resources": {
"last_update_time": "2019-08-24T14:15:22Z",
"source_entity": {
"cluster_uuid": "string",
"entity": {
"type": "string",
"name": "string",
"uuid": "string"
}
},
"rca_metadata_list": [
{
"title": "string",
"actions": "string",
"parent_cause_id": "string",
"details": "string",
"cause": "string",
"id": "string"
}
],
"affected_entity_list": [
{
"type": "string",
"name": "string",
"uuid": "string"
}
],
"severity": "string",
"title": "string",
"default_message": "string",
"creation_time": "2019-08-24T14:15:22Z",
"resolution_status": {
"is_true": true,
"is_auto_resolved": true,
"user": "string",
"time": "2019-08-24T14:15:22Z"
},
"indicator_list": [
{
"metric_display_name": "string",
"metric_name": "string",
"trigger_time": "2019-08-24T14:15:22Z",
"condition_type": "string",
"threshold": {
"int_value": 0,
"double_value": 0,
"bool_value": true,
"string_value": "string"
},
"last_value": {
"int_value": 0,
"double_value": 0,
"bool_value": true,
"string_value": "string"
},
"comparison_operator": "string",
"unit": "string",
"wait_time_in_usecs": 0
}
],
"acknowledged_status": {
"is_true": true,
"is_auto_resolved": true,
"user": "string",
"time": "2019-08-24T14:15:22Z"
},
"is_user_defined": true,
"severity_trail_list": [
{
"severity_change_time": "2019-08-24T14:15:22Z",
"severity": "string"
}
],
"classification_list": [
"string"
],
"possible_cause_list": [
{
"resolution_list": [
"string"
],
"cause_list": [
"string"
]
}
],
"impact_type_list": [
"string"
],
"parameters": {
"property1": {
"int_value": 0,
"double_value": 0,
"bool_value": true,
"string_value": "string"
},
"property2": {
"int_value": 0,
"double_value": 0,
"bool_value": true,
"string_value": "string"
}
},
"type": "string",
"impact_list": [
"string"
],
"latest_occurrence_time": "2019-08-24T14:15:22Z"
}
},
"api_version": "3.1.0",
"metadata": {
"last_update_time": "2019-08-24T14:15:22Z",
"use_categories_mapping": false,
"kind": "alert",
"uuid": "string",
"project_reference": {
"kind": "project",
"name": "string",
"uuid": "string"
},
"creation_time": "2019-08-24T14:15:22Z",
"spec_version": 0,
"spec_hash": "string",
"categories_mapping": {
"property1": [
"string"
],
"property2": [
"string"
]
},
"should_force_translate": true,
"entity_version": "string",
"owner_reference": {
"kind": "user",
"name": "string",
"uuid": "string"
},
"categories": {
"property1": "string",
"property2": "string"
},
"name": "string"
}
}
],
"api_version": "3.1.0",
"metadata": {
"kind": "alert",
"total_matches": 0,
"sort_attribute": "string",
"filter": "string",
"length": 0,
"sort_order": "string",
"offset": 0
}
}
Workflow Library Example
List Alerts with Nutanix Hypervisor and Send Results Via Email
Preview this Workflow on desktop