Skip to main content

alerts

Creates, updates, deletes, gets or lists an alerts resource.

Overview

Namealerts
TypeResource
Idazure.data_box_edge.alerts

Fields

The following fields are returned by SELECT queries:

The alert details.

NameDatatypeDescription
idstringThe path ID that uniquely identifies the object.
namestringThe object name.
propertiesobjectProperties of alert.
systemDataobjectMetadata pertaining to creation and last modification of Alert
typestringThe hierarchical type of the object.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectdeviceName, name, subscriptionId, resourceGroupName
list_by_data_box_edge_deviceselectdeviceName, subscriptionId, resourceGroupNameGets all the alerts for a Data Box Edge/Data Box Gateway device.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
deviceNamestringThe device name.
namestringThe alert name.
resourceGroupNamestringThe resource group name.
subscriptionIdstringThe subscription ID.

SELECT examples

The alert details.

SELECT
id,
name,
properties,
systemData,
type
FROM azure.data_box_edge.alerts
WHERE deviceName = '{{ deviceName }}' -- required
AND name = '{{ name }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
;