CostControlNotificationPatch interface
Edits to an existing named notification. New notifications require all fields after merging; supplied fields cannot be null.
Properties
| enabled | Whether this notification is enabled. Disabled notifications remain configured but do not publish alerts. |
| event |
The full resource ID of the Cognitive Services Event Grid connection used to publish this notification. |
| operator | The threshold comparison. Only |
| threshold | The positive threshold. Percentages cannot exceed 100; absolute thresholds cannot exceed amount and must be whole numbers for Tokens budgets. |
| threshold |
Whether threshold is a percentage of amount or an absolute value in the budget's unit. |
Property Details
enabled
Whether this notification is enabled. Disabled notifications remain configured but do not publish alerts.
enabled?: boolean
Property Value
boolean
eventGridConnectionId
The full resource ID of the Cognitive Services Event Grid connection used to publish this notification.
eventGridConnectionId?: string
Property Value
string
operator
The threshold comparison. Only GreaterThanOrEqualTo is supported.
operator?: "GreaterThanOrEqualTo"
Property Value
"GreaterThanOrEqualTo"
threshold
The positive threshold. Percentages cannot exceed 100; absolute thresholds cannot exceed amount and must be whole numbers for Tokens budgets.
threshold?: number
Property Value
number
thresholdType
Whether threshold is a percentage of amount or an absolute value in the budget's unit.
thresholdType?: string
Property Value
string