monitors_monitored_resources
Creates, updates, deletes, gets or lists a monitors_monitored_resources resource.
Overview
| Name | monitors_monitored_resources |
| Type | Resource |
| Id | azure_isv.dynatrace.monitors_monitored_resources |
Fields
The following fields are returned by SELECT queries:
- list
ARM operation completed successfully.
| 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 | Flag indicating if resource is sending logs to Dynatrace. |
sendingMetrics | string | Flag indicating if resource is sending metrics to Dynatrace. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | subscriptionId, resourceGroupName, monitorName |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
monitorName | string | Monitor resource name |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string | The ID of the target subscription. |
SELECT examples
- list
ARM operation completed successfully.
SELECT
id,
reasonForLogsStatus,
reasonForMetricsStatus,
sendingLogs,
sendingMetrics
FROM azure_isv.dynatrace.monitors_monitored_resources
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND monitorName = '{{ monitorName }}' -- required
;