共用方式為


MonitoredResource interface

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

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.

Property Details

id

The ARM id of the resource.

id?: string

Property Value

string

reasonForLogsStatus

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

reasonForLogsStatus?: string

Property Value

string

reasonForMetricsStatus

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

reasonForMetricsStatus?: string

Property Value

string

sendingLogs

Flag indicating if resource is sending logs to Datadog.

sendingLogs?: boolean

Property Value

boolean

sendingMetrics

Flag indicating if resource is sending metrics to Datadog.

sendingMetrics?: boolean

Property Value

boolean