你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Alerts interface

Interface representing a Alerts.

Methods

get(string, string, string, AlertsGetOptionalParams)

Gets an alert by name.

listByDataBoxEdgeDevice(string, string, AlertsListByDataBoxEdgeDeviceOptionalParams)

Gets all the alerts for a Data Box Edge/Data Box Gateway device.

Method Details

get(string, string, string, AlertsGetOptionalParams)

Gets an alert by name.

function get(deviceName: string, name: string, resourceGroupName: string, options?: AlertsGetOptionalParams): Promise<Alert>

Parameters

deviceName

string

The device name.

name

string

The alert name.

resourceGroupName

string

The resource group name.

options
AlertsGetOptionalParams

The options parameters.

Returns

Promise<Alert>

listByDataBoxEdgeDevice(string, string, AlertsListByDataBoxEdgeDeviceOptionalParams)

Gets all the alerts for a Data Box Edge/Data Box Gateway device.

function listByDataBoxEdgeDevice(deviceName: string, resourceGroupName: string, options?: AlertsListByDataBoxEdgeDeviceOptionalParams): PagedAsyncIterableIterator<Alert, Alert[], PageSettings>

Parameters

deviceName

string

The device name.

resourceGroupName

string

The resource group name.

options
AlertsListByDataBoxEdgeDeviceOptionalParams

The options parameters.

Returns