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=2018-07-10

URI Parameters

Name In Required Type Description
alertSettingName
path True
  • string

The name of the email notification configuration.

resourceGroupName
path True
  • string

The name of the resource group where the recovery services vault is present.

resourceName
path True
  • string

The name of the recovery services vault.

subscriptionId
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=2018-07-10

Sample Response

{
  "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

Alert

Implements the Alert class.

AlertProperties

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.