Replication Alert Settings - Get
Gets an email notification(alert) configuration.
Gets the details of the specified email notification(alert) configuration.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationAlertSettings/{alertSettingName}?api-version=2023-02-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
alert
|
path | True |
string |
The name of the email notification configuration. |
resource
|
path | True |
string |
The name of the resource group where the recovery services vault is present. |
resource
|
path | True |
string |
The name of the recovery services vault. |
subscription
|
path | True |
string |
The subscription Id. |
api-version
|
query | True |
string |
Client Api Version. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account. |
Examples
Gets an email notification(alert) configuration.
Sample Request
GET https://management.azure.com/subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationAlertSettings/defaultAlertSetting?api-version=2023-02-01
Sample Response
Azure-AsyncOperation: https://management.azure.com/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationOperationStatus/a93f3cd5-9035-4b1e-a2c9-b16df6d5d34b?api-version=2023-02-01
{
"type": "Microsoft.RecoveryServices/vaults/replicationAlertSettings",
"id": "/Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationAlertSettings/defaultAlertSetting",
"name": "defaultAlertSetting",
"properties": {
"sendToOwners": "false",
"customEmailAddresses": [
"ronehr@microsoft.com"
],
"locale": "en-US"
}
}
Definitions
Name | Description |
---|---|
Alert |
Implements the Alert class. |
Alert |
The properties of an alert. |
Alert
Implements the Alert class.
Name | Type | Description |
---|---|---|
id |
string |
Resource Id |
location |
string |
Resource Location |
name |
string |
Resource Name |
properties |
Alert related data. |
|
type |
string |
Resource Type |
AlertProperties
The properties of an alert.
Name | Type | Description |
---|---|---|
customEmailAddresses |
string[] |
The custom email address for sending emails. |
locale |
string |
The locale for the email notification. |
sendToOwners |
string |
A value indicating whether to send email to subscription administrator. |