email_configurations
Creates, updates, deletes, gets or lists a email_configurations
resource.
Overview
Name | email_configurations |
Type | Resource |
Id | azure.data_replication.email_configurations |
Fields
- vw_email_configurations
- email_configurations
Name | Datatype | Description |
---|---|---|
id | text | Gets or sets the Id of the resource. |
name | text | Gets or sets the name of the resource. |
custom_email_addresses | text | field from the properties object |
emailConfigurationName | text | field from the properties object |
locale | text | field from the properties object |
resourceGroupName | text | field from the properties object |
send_to_owners | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
type | text | Gets or sets the type of the resource. |
vaultName | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | Gets or sets the Id of the resource. |
name | string | Gets or sets the name of the resource. |
properties | object | Email configuration model properties. |
systemData | object | System data required to be defined for Azure resources. |
type | string | Gets or sets the type of the resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | emailConfigurationName, resourceGroupName, subscriptionId, vaultName | Gets the details of the alert configuration setting. |
list | SELECT | resourceGroupName, subscriptionId, vaultName | Gets the list of alert configuration settings for the given vault. |
create | INSERT | emailConfigurationName, resourceGroupName, subscriptionId, vaultName, data__properties | Creates an alert configuration setting for the given vault. |
SELECT
examples
Gets the list of alert configuration settings for the given vault.
- vw_email_configurations
- email_configurations
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 }}';
SELECT
id,
name,
properties,
systemData,
type
FROM azure.data_replication.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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.data_replication.email_configurations (
emailConfigurationName,
resourceGroupName,
subscriptionId,
vaultName,
data__properties,
properties
)
SELECT
'{{ emailConfigurationName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ vaultName }}',
'{{ data__properties }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: sendToOwners
value: boolean
- name: customEmailAddresses
value:
- string
- name: locale
value: string
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: systemData
value: string