Udostępnij za pośrednictwem


MonitoredResourceContent Class

Definition

The properties of a resource currently being monitored by the Datadog monitor resource.

public class MonitoredResourceContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Datadog.Models.MonitoredResourceContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Datadog.Models.MonitoredResourceContent>
type MonitoredResourceContent = class
    interface IJsonModel<MonitoredResourceContent>
    interface IPersistableModel<MonitoredResourceContent>
Public Class MonitoredResourceContent
Implements IJsonModel(Of MonitoredResourceContent), IPersistableModel(Of MonitoredResourceContent)
Inheritance
MonitoredResourceContent
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 Datadog.

SendingMetrics

Flag indicating if resource is sending metrics to Datadog.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MonitoredResourceContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MonitoredResourceContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MonitoredResourceContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MonitoredResourceContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MonitoredResourceContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to