device_settings_alert_settings
Creates, updates, deletes, gets or lists a device_settings_alert_settings
resource.
Overview
Name | device_settings_alert_settings |
Type | Resource |
Id | azure_extras.storsimple_8000_series.device_settings_alert_settings |
Fields
- vw_device_settings_alert_settings
- device_settings_alert_settings
Name | Datatype | Description |
---|---|---|
id | text | The path ID that uniquely identifies the object. |
name | text | The name of the object. |
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 |
kind | text | The Kind of the object. Currently only Series8000 is supported |
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 hierarchical type of the object. |
Name | Datatype | Description |
---|---|---|
id | string | The path ID that uniquely identifies the object. |
name | string | The name of the object. |
kind | string | The Kind of the object. Currently only Series8000 is supported |
properties | object | The properties of the alert notification settings. |
type | string | The hierarchical type of the object. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | deviceName, managerName, resourceGroupName, subscriptionId | Gets the alert settings of the specified device. |
create_or_update | INSERT | deviceName, managerName, resourceGroupName, subscriptionId, data__properties | Creates or updates the alert settings of the specified device. |
SELECT
examples
Gets the alert settings of the specified device.
- vw_device_settings_alert_settings
- device_settings_alert_settings
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 }}';
SELECT
id,
name,
kind,
properties,
type
FROM azure_extras.storsimple_8000_series.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.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: kind
value: string
- name: properties
value:
- name: emailNotification
value: string
- name: alertNotificationCulture
value: string
- name: notificationToServiceOwners
value: string
- name: additionalRecipientEmailList
value:
- string