Skip to main content

alert_operation

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

Overview

Namealert_operation
TypeResource
Idazure.authorization.alert_operation

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe id of the alert operation.
createdDateTimestring (date-time)The created date of the alert operation.
lastActionDateTimestring (date-time)The last action date of the alert operation.
resourceLocationstringThe location of the alert associated with the operation.
statusstringThe status of the alert operation.
statusDetailstringThe status detail of the alert operation.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectscope, operation_idGet the specified alert operation.

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
operation_idstringThe id of the alert operation. Required.
scopestringThe scope of the alert operation. Required.

SELECT examples

Get the specified alert operation.

SELECT
id,
createdDateTime,
lastActionDateTime,
resourceLocation,
status,
statusDetail
FROM azure.authorization.alert_operation
WHERE scope = '{{ scope }}' -- required
AND operation_id = '{{ operation_id }}' -- required
;