monitors_monitored_resources
Creates, updates, deletes, gets or lists a monitors_monitored_resources
resource.
Overview
Name | monitors_monitored_resources |
Type | Resource |
Id | azure_isv.datadog.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 | boolean | Flag indicating if resource is sending logs to Datadog. |
sendingMetrics | boolean | Flag indicating if resource is sending metrics to Datadog. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | monitorName, resourceGroupName, subscriptionId |
SELECT
examples
SELECT
id,
reasonForLogsStatus,
reasonForMetricsStatus,
sendingLogs,
sendingMetrics
FROM azure_isv.datadog.monitors_monitored_resources
WHERE monitorName = '{{ monitorName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';