monitors_metric_rules
Creates, updates, deletes, gets or lists a monitors_metric_rules
resource.
Overview
Name | monitors_metric_rules |
Type | Resource |
Id | azure_isv.newrelic.monitors_metric_rules |
Fields
Name | Datatype | Description |
---|---|---|
filteringTags | array | List of filtering tags to be used for capturing metrics. |
sendMetrics | string | Indicates whether metrics are being sent. |
userEmail | string | Reusable representation of an email address |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | monitorName, resourceGroupName, subscriptionId, data__userEmail | Get metric rules |
SELECT
examples
Get metric rules
SELECT
filteringTags,
sendMetrics,
userEmail
FROM azure_isv.newrelic.monitors_metric_rules
WHERE monitorName = '{{ monitorName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND data__userEmail = '{{ data__userEmail }}';