AlertPropertiesDefinition 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.
defines the type of alert.
public class AlertPropertiesDefinition : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CostManagement.Models.AlertPropertiesDefinition>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CostManagement.Models.AlertPropertiesDefinition>
type AlertPropertiesDefinition = class
interface IJsonModel<AlertPropertiesDefinition>
interface IPersistableModel<AlertPropertiesDefinition>
Public Class AlertPropertiesDefinition
Implements IJsonModel(Of AlertPropertiesDefinition), IPersistableModel(Of AlertPropertiesDefinition)
- Inheritance
-
AlertPropertiesDefinition
- Implements
Constructors
AlertPropertiesDefinition() |
Initializes a new instance of AlertPropertiesDefinition. |
Properties
AlertType |
type of alert. |
Category |
Alert category. |
Criteria |
Criteria that triggered alert. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<AlertPropertiesDefinition>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<AlertPropertiesDefinition>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<AlertPropertiesDefinition>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<AlertPropertiesDefinition>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<AlertPropertiesDefinition>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET