Skip to main content

monitors_app_services

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

Overview

Namemonitors_app_services
TypeResource
Idazure_isv.newrelic.monitors_app_services

Fields

The following fields are returned by SELECT queries:

ARM operation completed successfully.

NameDatatypeDescription
agentStatusstringStatus of the NewRelic agent installed on the App service.
agentVersionstringVersion of the NewRelic agent installed on the App service.
azureResourceIdstringAzure App service resource ID

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, monitorNameList the app service resources currently being monitored by the NewRelic resource.

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.

NameDatatypeDescription
monitorNamestringName of the Monitors resource
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

List the app service resources currently being monitored by the NewRelic resource.

SELECT
agentStatus,
agentVersion,
azureResourceId
FROM azure_isv.newrelic.monitors_app_services
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND monitorName = '{{ monitorName }}' -- required
;