Replication Alert Settings - List

Pobiera listę skonfigurowanych konfiguracji powiadomień e-mail (alert).
Pobiera listę konfiguracji powiadomień e-mail (alertów) dla magazynu.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationAlertSettings?api-version=2023-02-01

Parametry identyfikatora URI

Nazwa W Wymagane Typ Opis
resourceGroupName
path True

string

Nazwa grupy zasobów, w której znajduje się magazyn usługi Recovery Services.

resourceName
path True

string

Nazwa magazynu usługi Recovery Services.

subscriptionId
path True

string

Identyfikator subskrypcji.

api-version
query True

string

Wersja interfejsu API klienta.

Odpowiedzi

Nazwa Typ Opis
200 OK

AlertCollection

OK

Zabezpieczenia

azure_auth

Przepływ OAuth2 usługi Azure Active Directory

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Nazwa Opis
user_impersonation personifikuj konto użytkownika.

Przykłady

Gets the list of configured email notification(alert) configurations.

Sample Request

GET https://management.azure.com/subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationAlertSettings?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
{
  "value": [
    {
      "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"
      }
    }
  ]
}

Definicje

Nazwa Opis
Alert

Implementuje klasę Alert.

AlertCollection

Kolekcja alertów.

AlertProperties

Właściwości alertu.

Alert

Implementuje klasę Alert.

Nazwa Typ Opis
id

string

Identyfikator zasobu

location

string

Resource Location

name

string

Nazwa zasobu

properties

AlertProperties

Dane powiązane z alertami.

type

string

Typ zasobu

AlertCollection

Kolekcja alertów.

Nazwa Typ Opis
nextLink

string

Wartość następnego linku.

value

Alert[]

Lista alertów.

AlertProperties

Właściwości alertu.

Nazwa Typ Opis
customEmailAddresses

string[]

Niestandardowy adres e-mail do wysyłania wiadomości e-mail.

locale

string

Ustawienia regionalne powiadomienia e-mail.

sendToOwners

string

Wartość wskazująca, czy wysłać wiadomość e-mail do administratora subskrypcji.