Skip to main content

connected_partner_resources

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

Overview

Nameconnected_partner_resources
TypeResource
Idazure_isv.new_relic_observability.connected_partner_resources

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
accountIdstringNewRelic Account Id.
accountNamestringNewRelic account name.
azureResourceIdstringThe azure resource Id of the deployment.
locationstringThe location of the deployment.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectresource_group_name, monitor_name, subscription_idList of all active deployments that are associated with the marketplace subscription linked to the given monitor. List of all active deployments that are associated with the marketplace subscription linked to the given monitor.

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
monitor_namestringName of the Monitors resource. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

List of all active deployments that are associated with the marketplace subscription linked to the given monitor. List of all active deployments that are associated with the marketplace subscription linked to the given monitor.

SELECT
accountId,
accountName,
azureResourceId,
location
FROM azure_isv.new_relic_observability.connected_partner_resources
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND monitor_name = '{{ monitor_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;