Skip to main content

devices_alert_settings

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

Overview

Namedevices_alert_settings
TypeResource
Idazure_extras.storsimple_1200_series.devices_alert_settings

Fields

NameDatatypeDescription
idtextThe identifier.
nametextThe name.
additional_recipient_email_listtextfield from the properties object
alert_notification_culturetextfield from the properties object
deviceNametextfield from the properties object
email_notificationtextfield from the properties object
managerNametextfield from the properties object
notification_to_service_ownerstextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
typetextThe type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTdeviceName, managerName, resourceGroupName, subscriptionIdReturns the alert settings of the specified device name.
create_or_updateINSERTdeviceName, managerName, resourceGroupName, subscriptionId, data__propertiesCreates or updates the alert settings

SELECT examples

Returns the alert settings of the specified device name.

SELECT
id,
name,
additional_recipient_email_list,
alert_notification_culture,
deviceName,
email_notification,
managerName,
notification_to_service_owners,
resourceGroupName,
subscriptionId,
type
FROM azure_extras.storsimple_1200_series.vw_devices_alert_settings
WHERE deviceName = '{{ deviceName }}'
AND managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new devices_alert_settings resource.

/*+ create */
INSERT INTO azure_extras.storsimple_1200_series.devices_alert_settings (
deviceName,
managerName,
resourceGroupName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ deviceName }}',
'{{ managerName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;