monitors_hosts
Creates, updates, deletes, gets or lists a monitors_hosts
resource.
Overview
Name | monitors_hosts |
Type | Resource |
Id | azure_isv.newrelic.monitors_hosts |
Fields
Name | Datatype | Description |
---|---|---|
agentStatus | string | Status of the NewRelic agent installed on the VM. |
agentVersion | string | Version of the NewRelic agent installed on the VM. |
vmId | string | Azure VM resource ID |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | monitorName, resourceGroupName, subscriptionId, data__userEmail | List the compute vm resources currently being monitored by the NewRelic resource. |
SELECT
examples
List the compute vm resources currently being monitored by the NewRelic resource.
SELECT
agentStatus,
agentVersion,
vmId
FROM azure_isv.newrelic.monitors_hosts
WHERE monitorName = '{{ monitorName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND data__userEmail = '{{ data__userEmail }}';