Share via


NewRelicResourceMonitorResult Class

Definition

Details of resource being monitored by NewRelic monitor resource.

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

Properties

Id

The ARM id of the resource.

ReasonForLogsStatus

Reason for why the resource is sending logs (or why it is not sending).

ReasonForMetricsStatus

Reason for why the resource is sending metrics (or why it is not sending).

SendingLogs

Flag indicating if resource is sending logs to NewRelic.

SendingMetrics

Flag indicating if resource is sending metrics to NewRelic.

Explicit Interface Implementations

IJsonModel<NewRelicResourceMonitorResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NewRelicResourceMonitorResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NewRelicResourceMonitorResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NewRelicResourceMonitorResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NewRelicResourceMonitorResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to