Skip to main content

monitors_monitored_resources

Creates, updates, deletes, gets or lists a monitors_monitored_resources resource.

Overview

Namemonitors_monitored_resources
TypeResource
Idazure_isv.logz.monitors_monitored_resources

Fields

NameDatatypeDescription
idstringThe ARM id of the resource.
reasonForLogsStatusstringReason for why the resource is sending logs (or why it is not sending).
reasonForMetricsStatusstringReason for why the resource is sending metrics (or why it is not sending).
sendingLogsbooleanFlag indicating if resource is sending logs to Logz.
sendingMetricsbooleanFlag indicating if resource is sending metrics to Logz.
systemDataobjectMetadata pertaining to creation and last modification of the resource.

Methods

NameAccessible byRequired ParamsDescription
listSELECTmonitorName, resourceGroupName, subscriptionId

SELECT examples

SELECT
id,
reasonForLogsStatus,
reasonForMetricsStatus,
sendingLogs,
sendingMetrics,
systemData
FROM azure_isv.logz.monitors_monitored_resources
WHERE monitorName = '{{ monitorName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';