Dela via


MonitoredResource Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20200701.MonitoredResourceTypeConverter))]
public class MonitoredResource : Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20200701.IMonitoredResource
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20200701.MonitoredResourceTypeConverter))>]
type MonitoredResource = class
    interface IMonitoredResource
    interface IJsonSerializable
Public Class MonitoredResource
Implements IMonitoredResource
Inheritance
MonitoredResource
Attributes
Implements

Constructors

MonitoredResource()

Creates an new MonitoredResource instance.

Properties

Id

The ARM id of the resource.

ReasonForLogsStatus

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

SendingLog

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of MonitoredResource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MonitoredResource.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Elastic.Models.Api20200701.IMonitoredResource.

FromJsonString(String)

Creates a new instance of MonitoredResource, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of MonitoredResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to