Skip to main content

email_configurations

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

Overview

Nameemail_configurations
TypeResource
Idazure.data_replication.email_configurations

Fields

NameDatatypeDescription
idtextGets or sets the Id of the resource.
nametextGets or sets the name of the resource.
custom_email_addressestextfield from the properties object
emailConfigurationNametextfield from the properties object
localetextfield from the properties object
resourceGroupNametextfield from the properties object
send_to_ownerstextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
typetextGets or sets the type of the resource.
vaultNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTemailConfigurationName, resourceGroupName, subscriptionId, vaultNameGets the details of the alert configuration setting.
listSELECTresourceGroupName, subscriptionId, vaultNameGets the list of alert configuration settings for the given vault.
createINSERTemailConfigurationName, resourceGroupName, subscriptionId, vaultName, data__propertiesCreates an alert configuration setting for the given vault.

SELECT examples

Gets the list of alert configuration settings for the given vault.

SELECT
id,
name,
custom_email_addresses,
emailConfigurationName,
locale,
resourceGroupName,
send_to_owners,
subscriptionId,
system_data,
type,
vaultName
FROM azure.data_replication.vw_email_configurations
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';

INSERT example

Use the following StackQL query and manifest file to create a new email_configurations resource.

/*+ create */
INSERT INTO azure.data_replication.email_configurations (
emailConfigurationName,
resourceGroupName,
subscriptionId,
vaultName,
data__properties,
properties
)
SELECT
'{{ emailConfigurationName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ vaultName }}',
'{{ data__properties }}',
'{{ properties }}'
;