latestOpenAPI 3.0.02026-08-2045003.8 MB
72813baf8d47
Notification Center Service
Create Notification Policy
Creates a notification policy. Only for Compute policies.
post/notificationCenter/policy
Parameters
#/paths/~1azure~1costs/get/parameters/0 — unresolved $ref
Request body
Example request
{
"name": "Test Notification Policy",
"description": "A description of the notification policy.",
"privacyLevel": "public",
"subscriptions": [
{
"type": "email",
"endpoint": "endpoint@example.com"
}
],
"registeredUsers": [
{
"userEmail": "user@example.com"
}
],
"isActive": true,
"computePolicyConfig": {
"events": [
{
"event": "Event Name",
"type": "INFO"
}
],
"resourceIds": [
"act-123456789",
"act-987654321"
],
"dynamicRules": [
{
"filterConditions": [
{
"identifier": "resource_name",
"operator": "equals",
"expression": "value"
}
]
}
]
}
}