alert_rule_templates
Creates, updates, deletes, gets or lists a alert_rule_templates
resource.
Overview
Name | alert_rule_templates |
Type | Resource |
Id | azure.sentinel.alert_rule_templates |
Fields
Name | Datatype | Description |
---|---|---|
id | string | Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
name | string | The name of the resource |
kind | string | The kind of the alert rule |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | alertRuleTemplateId, resourceGroupName, subscriptionId, workspaceName | Gets the alert rule template. |
list | SELECT | resourceGroupName, subscriptionId, workspaceName | Gets all alert rule templates. |
SELECT
examples
Gets all alert rule templates.
SELECT
id,
name,
kind,
systemData,
type
FROM azure.sentinel.alert_rule_templates
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';