alert_operations
Creates, updates, deletes, gets or lists an alert_operations resource.
Overview
| Name | alert_operations |
| Type | Resource |
| Id | azure.authorization.alert_operations |
Fields
The following fields are returned by SELECT queries:
- get
OK - Returns information about the status of the operation.
| Name | Datatype | Description |
|---|---|---|
id | string | The id of the alert operation. |
createdDateTime | string (date-time) | The created date of the alert operation. |
lastActionDateTime | string (date-time) | The last action date of the alert operation. |
resourceLocation | string | The location of the alert associated with the operation. |
status | string | The status of the alert operation. |
statusDetail | string | The status detail of the alert operation. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | scope, operationId | Get 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.
| Name | Datatype | Description |
|---|---|---|
operationId | string | The id of the alert operation. |
scope | string | The scope of the alert operation. |
SELECT examples
- get
Get the specified alert operation.
SELECT
id,
createdDateTime,
lastActionDateTime,
resourceLocation,
status,
statusDetail
FROM azure.authorization.alert_operations
WHERE scope = '{{ scope }}' -- required
AND operationId = '{{ operationId }}' -- required
;