accounts
Creates, updates, deletes, gets or lists an accounts resource.
Overview
| Name | accounts |
| Type | Resource |
| Id | azure_isv.newrelicobservability.accounts |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
accountId | string | account id. |
accountName | string | account name. |
organizationId | string | organization id. |
region | string | Region where New Relic account is present. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | subscription_id, userEmail, location | Lists all the New Relic accounts linked to your email address, helping you understand the existing accounts that have been created. |
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 |
|---|---|---|
location | string | Location for NewRelic. Required. |
subscription_id | string | |
userEmail | string | User Email. Required. |
SELECT examples
- list
Lists all the New Relic accounts linked to your email address, helping you understand the existing accounts that have been created.
SELECT
id,
name,
accountId,
accountName,
organizationId,
region,
systemData,
type
FROM azure_isv.newrelicobservability.accounts
WHERE subscription_id = '{{ subscription_id }}' -- required
AND userEmail = '{{ userEmail }}' -- required
AND location = '{{ location }}' -- required
;