monitored_resources
Creates, updates, deletes, gets or lists a monitored_resources resource.
Overview
| Name | monitored_resources |
| Type | Resource |
| Id | azure_isv.elastic.monitored_resources |
Fields
The following fields are returned by SELECT queries:
- list
| 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). |
sendingLogs | string | Flag indicating the status of the resource for sending logs operation to Elastic. Known values are: "True" and "False". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | resource_group_name, monitor_name, subscription_id | List all resources currently being monitored by the Elastic monitor resource, helping you manage observability. List all resources currently being monitored by the Elastic monitor resource, helping you manage observability. |
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 |
|---|---|---|
monitor_name | string | Monitor resource name. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string |
SELECT examples
- list
List all resources currently being monitored by the Elastic monitor resource, helping you manage observability. List all resources currently being monitored by the Elastic monitor resource, helping you manage observability.
SELECT
id,
reasonForLogsStatus,
sendingLogs
FROM azure_isv.elastic.monitored_resources
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND monitor_name = '{{ monitor_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;