Udostępnij za pośrednictwem


MonitoredResourceInfo Class

Definition

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

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

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

IJsonModel<MonitoredResourceInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MonitoredResourceInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MonitoredResourceInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MonitoredResourceInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to