devices_alert_settings
Creates, updates, deletes, gets or lists a devices_alert_settings
resource.
Overview
Name | devices_alert_settings |
Type | Resource |
Id | azure_extras.storsimple_1200_series.devices_alert_settings |
Fields
- vw_devices_alert_settings
- devices_alert_settings
Name | Datatype | Description |
---|---|---|
id | text | The identifier. |
name | text | The name. |
additional_recipient_email_list | text | field from the properties object |
alert_notification_culture | text | field from the properties object |
deviceName | text | field from the properties object |
email_notification | text | field from the properties object |
managerName | text | field from the properties object |
notification_to_service_owners | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
type | text | The type. |
Name | Datatype | Description |
---|---|---|
id | string | The identifier. |
name | string | The name. |
properties | object | Class containing the properties of AlertSettings |
type | string | The type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | deviceName, managerName, resourceGroupName, subscriptionId | Returns the alert settings of the specified device name. |
create_or_update | INSERT | deviceName, managerName, resourceGroupName, subscriptionId, data__properties | Creates or updates the alert settings |
SELECT
examples
Returns the alert settings of the specified device name.
- vw_devices_alert_settings
- devices_alert_settings
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 }}';
SELECT
id,
name,
properties,
type
FROM azure_extras.storsimple_1200_series.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.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: properties
value:
- name: emailNotification
value: string
- name: notificationToServiceOwners
value: string
- name: alertNotificationCulture
value: string
- name: additionalRecipientEmailList
value:
- string