Skip to main content

device_settings_alert_settings

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

Overview

Namedevice_settings_alert_settings
TypeResource
Idazure_extras.storsimple_8000_series.device_settings_alert_settings

Fields

NameDatatypeDescription
idtextThe path ID that uniquely identifies the object.
nametextThe name of the object.
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
kindtextThe Kind of the object. Currently only Series8000 is supported
managerNametextfield from the properties object
notification_to_service_ownerstextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
typetextThe hierarchical type of the object.

Methods

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

SELECT examples

Gets the alert settings of the specified device.

SELECT
id,
name,
additional_recipient_email_list,
alert_notification_culture,
deviceName,
email_notification,
kind,
managerName,
notification_to_service_owners,
resourceGroupName,
subscriptionId,
type
FROM azure_extras.storsimple_8000_series.vw_device_settings_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 device_settings_alert_settings resource.

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