monitors_app_services
Creates, updates, deletes, gets or lists a monitors_app_services resource.
Overview
| Name | monitors_app_services |
| Type | Resource |
| Id | azure_isv.newrelic.monitors_app_services |
Fields
The following fields are returned by SELECT queries:
- list
ARM operation completed successfully.
| Name | Datatype | Description |
|---|---|---|
agentStatus | string | Status of the NewRelic agent installed on the App service. |
agentVersion | string | Version of the NewRelic agent installed on the App service. |
azureResourceId | string | Azure App service resource ID |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | subscriptionId, resourceGroupName, monitorName | List 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.
| Name | Datatype | Description |
|---|---|---|
monitorName | string | Name of the Monitors resource |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string | The ID of the target subscription. |
SELECT examples
- list
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
;