replication_alert_settings
Creates, updates, deletes, gets or lists a replication_alert_settings
resource.
Overview
Name | replication_alert_settings |
Type | Resource |
Id | azure.recovery_services_site_recovery.replication_alert_settings |
Fields
- vw_replication_alert_settings
- replication_alert_settings
Name | Datatype | Description |
---|---|---|
id | text | Resource Id |
name | text | Resource Name |
alertSettingName | text | field from the properties object |
custom_email_addresses | text | field from the properties object |
locale | text | field from the properties object |
location | text | Resource Location |
resourceGroupName | text | field from the properties object |
resourceName | text | field from the properties object |
send_to_owners | text | field from the properties object |
subscriptionId | text | field from the properties object |
type | text | Resource Type |
Name | Datatype | Description |
---|---|---|
id | string | Resource Id |
name | string | Resource Name |
location | string | Resource Location |
properties | object | The properties of an alert. |
type | string | Resource Type |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | alertSettingName, resourceGroupName, resourceName, subscriptionId | Gets the details of the specified email notification(alert) configuration. |
list | SELECT | resourceGroupName, resourceName, subscriptionId | Gets the list of email notification(alert) configurations for the vault. |
create | INSERT | alertSettingName, resourceGroupName, resourceName, subscriptionId | Create or update an email notification(alert) configuration. |
SELECT
examples
Gets the list of email notification(alert) configurations for the vault.
- vw_replication_alert_settings
- replication_alert_settings
SELECT
id,
name,
alertSettingName,
custom_email_addresses,
locale,
location,
resourceGroupName,
resourceName,
send_to_owners,
subscriptionId,
type
FROM azure.recovery_services_site_recovery.vw_replication_alert_settings
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
location,
properties,
type
FROM azure.recovery_services_site_recovery.replication_alert_settings
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new replication_alert_settings
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.recovery_services_site_recovery.replication_alert_settings (
alertSettingName,
resourceGroupName,
resourceName,
subscriptionId,
properties
)
SELECT
'{{ alertSettingName }}',
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: sendToOwners
value: string
- name: customEmailAddresses
value:
- string
- name: locale
value: string