Skip to main content

alerts

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

Overview

Namealerts
TypeResource
Idazure_extras.storsimple_1200_series.alerts

Fields

NameDatatypeDescription
idstringThe identifier.
namestringThe name.
propertiesobjectProperties of alert
typestringThe type.

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,
properties,
type
FROM azure_extras.storsimple_1200_series.alerts
WHERE managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';