AlertPropertiesDetails 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.
Alert details.
public class AlertPropertiesDetails : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CostManagement.Models.AlertPropertiesDetails>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CostManagement.Models.AlertPropertiesDetails>
type AlertPropertiesDetails = class
interface IJsonModel<AlertPropertiesDetails>
interface IPersistableModel<AlertPropertiesDetails>
Public Class AlertPropertiesDetails
Implements IJsonModel(Of AlertPropertiesDetails), IPersistableModel(Of AlertPropertiesDetails)
- Inheritance
-
AlertPropertiesDetails
- Implements
Constructors
AlertPropertiesDetails() |
Initializes a new instance of AlertPropertiesDetails. |
Properties
Amount |
budget threshold amount. |
CompanyName |
company name. |
ContactEmails |
list of emails to contact. |
ContactGroups |
list of action groups to broadcast to. |
ContactRoles |
list of contact roles. |
CurrentSpend |
current spend. |
DepartmentName |
department name. |
EnrollmentEndDate |
datetime of enrollmentEndDate. |
EnrollmentNumber |
enrollment number. |
EnrollmentStartDate |
datetime of enrollmentStartDate. |
InvoicingThreshold |
invoicing threshold. |
MeterFilter |
array of meters to filter by To assign an object to the element of this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
Operator |
operator used to compare currentSpend with amount. |
OverridingAlert |
overriding alert. |
PeriodStartDate |
datetime of periodStartDate. |
ResourceFilter |
array of resources to filter by To assign an object to the element of this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
ResourceGroupFilter |
array of resourceGroups to filter by To assign an object to the element of this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
TagFilter |
tags to filter by To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
Threshold |
notification threshold percentage as a decimal which activated this alert. |
TimeGrainType |
Type of timegrain cadence. |
TriggeredBy |
notificationId that triggered this alert. |
Unit |
unit of currency being used. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<AlertPropertiesDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<AlertPropertiesDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<AlertPropertiesDetails>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<AlertPropertiesDetails>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<AlertPropertiesDetails>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |