Skip to main content

monitors_hosts

Creates, updates, deletes, gets or lists a monitors_hosts resource.

Overview

Namemonitors_hosts
TypeResource
Idazure_isv.newrelic.monitors_hosts

Fields

NameDatatypeDescription
agentStatusstringStatus of the NewRelic agent installed on the VM.
agentVersionstringVersion of the NewRelic agent installed on the VM.
vmIdstringAzure VM resource ID

Methods

NameAccessible byRequired ParamsDescription
listSELECTmonitorName, resourceGroupName, subscriptionId, data__userEmailList 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 }}';