monitors_monitored_resources
Creates, updates, deletes, gets or lists a monitors_monitored_resources
resource.
Overview
Name | monitors_monitored_resources |
Type | Resource |
Id | azure_isv.newrelic.monitors_monitored_resources |
Fields
Name | Datatype | Description |
---|---|---|
id | string | The ARM id of the resource. |
reasonForLogsStatus | string | Reason for why the resource is sending logs (or why it is not sending). |
reasonForMetricsStatus | string | Reason for why the resource is sending metrics (or why it is not sending). |
sendingLogs | string | Indicates whether logs are being sent. |
sendingMetrics | string | Indicates whether metrics are being sent. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | monitorName, resourceGroupName, subscriptionId | List the resources currently being monitored by the NewRelic monitor resource. |
SELECT
examples
List the resources currently being monitored by the NewRelic monitor resource.
SELECT
id,
reasonForLogsStatus,
reasonForMetricsStatus,
sendingLogs,
sendingMetrics
FROM azure_isv.newrelic.monitors_monitored_resources
WHERE monitorName = '{{ monitorName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';