alerts_enrichments
Creates, updates, deletes, gets or lists an alerts_enrichments resource.
Overview
| Name | alerts_enrichments |
| Type | Resource |
| Id | azure.alerts_management.alerts_enrichments |
Fields
The following fields are returned by SELECT queries:
- list
- get
OK. Returns the enrichments of the specified alert.
| Name | Datatype | Description |
|---|---|---|
id | string | Azure resource Id |
name | string | Azure resource name |
properties | object | Properties of the alert enrichment item. |
type | string | Azure resource type |
OK. Returns the enrichments of the specified alert.
| Name | Datatype | Description |
|---|---|---|
id | string | Azure resource Id |
name | string | Azure resource name |
properties | object | Properties of the alert enrichment item. |
type | string | Azure resource type |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | scope, alertId | List the enrichments of an alert. It returns a collection of one object named default. | |
get | select | scope, alertId | Get the enrichments of an alert. |
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 |
|---|---|---|
alertId | string | Unique ID of an alert instance. |
scope | string | scope here is resourceId for which alert is created. |
SELECT examples
- list
- get
List the enrichments of an alert. It returns a collection of one object named default.
SELECT
id,
name,
properties,
type
FROM azure.alerts_management.alerts_enrichments
WHERE scope = '{{ scope }}' -- required
AND alertId = '{{ alertId }}' -- required
;
Get the enrichments of an alert.
SELECT
id,
name,
properties,
type
FROM azure.alerts_management.alerts_enrichments
WHERE scope = '{{ scope }}' -- required
AND alertId = '{{ alertId }}' -- required
;