Skip to main content

email_configurations

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

Overview

Nameemail_configurations
TypeResource
Idazure.data_replication.email_configurations

Fields

The following fields are returned by SELECT queries:

Returns EmailConfiguration Model on success.

NameDatatypeDescription
idstringGets or sets the Id of the resource.
namestringGets or sets the name of the resource.
propertiesobjectEmail configuration model properties.
systemDataobjectSystem data required to be defined for Azure resources.
typestringGets or sets the type of the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, vaultName, emailConfigurationNameGets the details of the alert configuration setting.
listselectsubscriptionId, resourceGroupName, vaultNameGets the list of alert configuration settings for the given vault.
createinsertsubscriptionId, resourceGroupName, vaultName, emailConfigurationName, data__propertiesCreates an alert configuration setting for the given vault.

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
emailConfigurationNamestringThe email configuration name.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.
vaultNamestringThe vault name.

SELECT examples

Gets the details of the alert configuration setting.

SELECT
id,
name,
properties,
systemData,
type
FROM azure.data_replication.email_configurations
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND vaultName = '{{ vaultName }}' -- required
AND emailConfigurationName = '{{ emailConfigurationName }}' -- required
;

INSERT examples

Creates an alert configuration setting for the given vault.

INSERT INTO azure.data_replication.email_configurations (
data__properties,
subscriptionId,
resourceGroupName,
vaultName,
emailConfigurationName
)
SELECT
'{{ properties }}' /* required */,
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ vaultName }}',
'{{ emailConfigurationName }}'
RETURNING
id,
name,
properties,
systemData,
type
;