Freigeben über


ReplicationAlertSettings interface

Interface representing a ReplicationAlertSettings.

Methods

create(string, string, string, ConfigureAlertRequest, ReplicationAlertSettingsCreateOptionalParams)

Create or update an email notification(alert) configuration.

get(string, string, string, ReplicationAlertSettingsGetOptionalParams)

Gets the details of the specified email notification(alert) configuration.

list(string, string, ReplicationAlertSettingsListOptionalParams)

Gets the list of email notification(alert) configurations for the vault.

Method Details

create(string, string, string, ConfigureAlertRequest, ReplicationAlertSettingsCreateOptionalParams)

Create or update an email notification(alert) configuration.

function create(resourceName: string, resourceGroupName: string, alertSettingName: string, request: ConfigureAlertRequest, options?: ReplicationAlertSettingsCreateOptionalParams): Promise<Alert>

Parameters

resourceName

string

The name of the recovery services vault.

resourceGroupName

string

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

alertSettingName

string

The name of the email notification(alert) configuration.

request
ConfigureAlertRequest

The input to configure the email notification(alert).

options
ReplicationAlertSettingsCreateOptionalParams

The options parameters.

Returns

Promise<Alert>

get(string, string, string, ReplicationAlertSettingsGetOptionalParams)

Gets the details of the specified email notification(alert) configuration.

function get(resourceName: string, resourceGroupName: string, alertSettingName: string, options?: ReplicationAlertSettingsGetOptionalParams): Promise<Alert>

Parameters

resourceName

string

The name of the recovery services vault.

resourceGroupName

string

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

alertSettingName

string

The name of the email notification configuration.

options
ReplicationAlertSettingsGetOptionalParams

The options parameters.

Returns

Promise<Alert>

list(string, string, ReplicationAlertSettingsListOptionalParams)

Gets the list of email notification(alert) configurations for the vault.

function list(resourceName: string, resourceGroupName: string, options?: ReplicationAlertSettingsListOptionalParams): PagedAsyncIterableIterator<Alert, Alert[], PageSettings>

Parameters

resourceName

string

The name of the recovery services vault.

resourceGroupName

string

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

options
ReplicationAlertSettingsListOptionalParams

The options parameters.

Returns