다음을 통해 공유


ServiceAlertMetadata Class

Definition

alert meta data information.

public class ServiceAlertMetadata : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AlertsManagement.Models.ServiceAlertMetadata>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AlertsManagement.Models.ServiceAlertMetadata>
public class ServiceAlertMetadata
type ServiceAlertMetadata = class
    interface IJsonModel<ServiceAlertMetadata>
    interface IPersistableModel<ServiceAlertMetadata>
type ServiceAlertMetadata = class
Public Class ServiceAlertMetadata
Implements IJsonModel(Of ServiceAlertMetadata), IPersistableModel(Of ServiceAlertMetadata)
Public Class ServiceAlertMetadata
Inheritance
ServiceAlertMetadata
Implements

Properties

Properties

alert meta data property bag Please note ServiceAlertMetadataProperties is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include MonitorServiceList.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ServiceAlertMetadata>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ServiceAlertMetadata>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ServiceAlertMetadata>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ServiceAlertMetadata>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ServiceAlertMetadata>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to