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

The following fields are returned by SELECT queries:

The Alert settings.

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 the alert notification settings.
typestringThe hierarchical type of the object.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectdeviceName, subscriptionId, resourceGroupName, managerNameGets the alert settings of the specified device.
create_or_updateinsertdeviceName, subscriptionId, resourceGroupName, managerName, data__propertiesCreates or updates the alert settings of the specified device.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
deviceNamestringThe device name
managerNamestringThe manager name
resourceGroupNamestringThe resource group name
subscriptionIdstringThe subscription id

SELECT examples

Gets the alert settings of the specified device.

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

INSERT examples

Creates or updates the alert settings of the specified device.

INSERT INTO azure_extras.storsimple_8000_series.device_settings_alert_settings (
data__kind,
data__properties,
deviceName,
subscriptionId,
resourceGroupName,
managerName
)
SELECT
'{{ kind }}',
'{{ properties }}' /* required */,
'{{ deviceName }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ managerName }}'
RETURNING
id,
name,
kind,
properties,
type
;