TenantActivityLogAlertResource interface
A Tenant Activity Log Alert rule resource.
- Extends
Properties
| actions | The actions that will activate when the condition is met. |
| condition | The condition that will cause this alert to activate. |
| description | A description of this Activity Log Alert rule. |
| enabled | Indicates whether this Activity Log Alert rule is enabled. If an Activity Log Alert rule is not enabled, then none of its actions will be activated. |
| location | The geo-location where the resource lives |
| scopes | A list of resource IDs that will be used as prefixes. The alert will only apply to Activity Log events with resource IDs that fall under one of these prefixes. This list must include at least one item. |
| tags | Resource tags. |
| tenant |
The tenant GUID. Must be provided for tenant-level and management group events rules. |
Inherited Properties
| id | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
| name | The name of the resource |
| system |
Azure Resource Manager metadata containing createdBy and modifiedBy information. |
| type | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Property Details
actions
The actions that will activate when the condition is met.
actions: ActionList
Property Value
condition
The condition that will cause this alert to activate.
condition: AlertRuleAllOfCondition
Property Value
description
A description of this Activity Log Alert rule.
description?: string
Property Value
string
enabled
Indicates whether this Activity Log Alert rule is enabled. If an Activity Log Alert rule is not enabled, then none of its actions will be activated.
enabled?: boolean
Property Value
boolean
location
The geo-location where the resource lives
location?: string
Property Value
string
scopes
A list of resource IDs that will be used as prefixes. The alert will only apply to Activity Log events with resource IDs that fall under one of these prefixes. This list must include at least one item.
scopes?: string[]
Property Value
string[]
tags
Resource tags.
tags?: Record<string, string>
Property Value
Record<string, string>
tenantScope
The tenant GUID. Must be provided for tenant-level and management group events rules.
tenantScope?: string
Property Value
string
Inherited Property Details
id
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
id?: string
Property Value
string
Inherited From Resource.id
name
systemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
systemData?: SystemData
Property Value
Inherited From Resource.systemData
type
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
type?: string
Property Value
string
Inherited From Resource.type