Skip to main content

alerts

Creates, updates, deletes, gets or lists a alerts resource.

Overview

Namealerts
TypeResource
Idazure_extras.storsimple_8000_series.alerts

Fields

NameDatatypeDescription
idstringThe path ID that uniquely identifies the object.
namestringThe name of the object.
kindstringThe Kind of the object. Currently only Series8000 is supported
propertiesobjectThe properties of alert
typestringThe hierarchical type of the object.

Methods

NameAccessible byRequired ParamsDescription
list_by_managerSELECTmanagerName, resourceGroupName, subscriptionIdRetrieves all the alerts in a manager.
clearEXECmanagerName, resourceGroupName, subscriptionId, data__alertsClear the alerts.
send_test_emailEXECdeviceName, managerName, resourceGroupName, subscriptionId, data__emailListSends a test alert email.

SELECT examples

Retrieves all the alerts in a manager.

SELECT
id,
name,
kind,
properties,
type
FROM azure_extras.storsimple_8000_series.alerts
WHERE managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';