Share via


Annotation Class

Definition

Annotation associated with an application insights resource.

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

Constructors

Annotation()

Initializes a new instance of Annotation.

Properties

AnnotationName

Name of annotation.

Category

Category of annotation, free form.

EventOn

Time when event occurred.

Id

Unique Id for annotation.

Properties

Serialized JSON object for detailed properties.

RelatedAnnotation

Related parent annotation if any.

Explicit Interface Implementations

IJsonModel<Annotation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<Annotation>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<Annotation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<Annotation>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<Annotation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to