| Description | : Create a new Tenant Activity Log Alert rule or update an existing one. |
| Reference | : Link ¶ |
⚼ Request
PUT:
/providers/Microsoft.Management/managementGroups/{managementGroupName}/providers/Microsoft.AlertsManagement/tenantActivityLogAlerts/{alertRuleName}
{
managementGroupName:
string
,
alertRuleName:
string
,
api-version:
string
,
tenantActivityLogAlertRule:
}
{
,
properties:
}
{
,
tenantScope:
string
,
scopes:
[
,
string
,
]
condition:
{
,
allOf:
}
[
]
,
{
,
anyOf:
}
[
]
,
{
,
field:
string
,
equals:
string
,
containsAny:
}
[
,
string
,
]
actions:
{
,
actionGroups:
}
[
]
,
{
,
actionGroupId:
string
,
webhookProperties:
object
,
actionProperties:
object
,
}
enabled:
boolean
,
description:
string
,
}
⚐ Response (200)
{
properties:
}
{
,
tenantScope:
string
,
scopes:
[
,
string
,
]
condition:
{
,
allOf:
}
[
]
,
{
,
anyOf:
}
[
]
,
{
,
field:
string
,
equals:
string
,
containsAny:
}
[
,
string
,
]
actions:
{
,
actionGroups:
}
[
]
,
{
,
actionGroupId:
string
,
webhookProperties:
object
,
actionProperties:
object
,
}
enabled:
boolean
,
description:
string
,
}
⚐ Response (201)
{
properties:
}
{
,
tenantScope:
string
,
scopes:
[
,
string
,
]
condition:
{
,
allOf:
}
[
]
,
{
,
anyOf:
}
[
]
,
{
,
field:
string
,
equals:
string
,
containsAny:
}
[
,
string
,
]
actions:
{
,
actionGroups:
}
[
]
,
{
,
actionGroupId:
string
,
webhookProperties:
object
,
actionProperties:
object
,
}
enabled:
boolean
,
description:
string
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}