Dela via


MonitoredResourceContent Class

Definition

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

public class MonitoredResourceContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Elastic.Models.MonitoredResourceContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Elastic.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).

SendingLogs

Flag indicating the status of the resource for sending logs operation to Elastic.

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