Share via


Connected Partner Resources - List

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

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/listConnectedPartnerResources?api-version=2024-10-01

URI Parameters

Name In Required Type Description
monitorName
path True

string

pattern: ^.*$

Name of the Monitors resource

resourceGroupName
path True

string

minLength: 1
maxLength: 90

The name of the resource group. The name is case insensitive.

subscriptionId
path True

string

minLength: 1

The ID of the target subscription.

api-version
query True

string

minLength: 1

The API version to use for this operation.

Request Body

Name Type Description
body

string

pattern: ^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$

Email Id of the user

Responses

Name Type Description
200 OK

ConnectedPartnerResourcesListResponse

Success

Other Status Codes

ErrorResponse

An unexpected error response.

Security

azure_auth

Microsoft Entra ID OAuth2 Flow.

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

ConnectedPartnerResources_List

Sample request

POST https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor/listConnectedPartnerResources?api-version=2024-10-01

Sample response

{
  "value": [
    {
      "properties": {
        "accountName": "accountName",
        "accountId": "1156243",
        "azureResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/NewRelic.Observability/monitors/myMonitor",
        "location": "West US 2"
      }
    }
  ]
}

Definitions

Name Description
ConnectedPartnerResourceProperties

Connected Partner Resource Properties

ConnectedPartnerResourcesListFormat

Connected Partner Resources List Format

ConnectedPartnerResourcesListResponse

List of all active newrelic deployments.

ErrorAdditionalInfo

The resource management error additional info.

ErrorDetail

The error detail.

ErrorResponse

Error response

ConnectedPartnerResourceProperties

Connected Partner Resource Properties

Name Type Description
accountId

string

NewRelic Account Id

accountName

string

NewRelic account name

azureResourceId

string

The azure resource Id of the deployment.

location

string

The location of the deployment.

ConnectedPartnerResourcesListFormat

Connected Partner Resources List Format

Name Type Description
properties

ConnectedPartnerResourceProperties

Connected Partner Resource Properties

ConnectedPartnerResourcesListResponse

List of all active newrelic deployments.

Name Type Description
nextLink

string

Link to the next set of results, if any.

value

ConnectedPartnerResourcesListFormat[]

Results of a list operation.

ErrorAdditionalInfo

The resource management error additional info.

Name Type Description
info

object

The additional info.

type

string

The additional info type.

ErrorDetail

The error detail.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

The error additional info.

code

string

The error code.

details

ErrorDetail[]

The error details.

message

string

The error message.

target

string

The error target.

ErrorResponse

Error response

Name Type Description
error

ErrorDetail

The error object.