CostControlNotificationPatch Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Edits to an existing named notification. New notifications require all fields after merging; supplied fields cannot be null.
public class CostControlNotificationPatch : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CognitiveServices.Models.CostControlNotificationPatch>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CognitiveServices.Models.CostControlNotificationPatch>
type CostControlNotificationPatch = class
interface IJsonModel<CostControlNotificationPatch>
interface IPersistableModel<CostControlNotificationPatch>
Public Class CostControlNotificationPatch
Implements IJsonModel(Of CostControlNotificationPatch), IPersistableModel(Of CostControlNotificationPatch)
- Inheritance
-
CostControlNotificationPatch
- Implements
Constructors
| Name | Description |
|---|---|
| CostControlNotificationPatch() |
Initializes a new instance of CostControlNotificationPatch. |
Properties
| Name | Description |
|---|---|
| Enabled |
Whether this notification is enabled. Disabled notifications remain configured but do not publish alerts. |
| EventGridConnectionId |
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. |
| ThresholdType |
Whether threshold is a percentage of amount or an absolute value in the budget's unit. |