organizations
Creates, updates, deletes, gets or lists an organizations resource.
Overview
| Name | organizations |
| Type | Resource |
| Id | azure_isv.newrelicobservability.organizations |
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. |
billingSource | string | Billing source. Known values are: "AZURE" and "NEWRELIC". |
organizationId | string | organization id. |
organizationName | string | organization name. |
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 organizations linked to your email address, helping you understand the existing organizations 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 organizations linked to your email address, helping you understand the existing organizations that have been created.
SELECT
id,
name,
billingSource,
organizationId,
organizationName,
systemData,
type
FROM azure_isv.newrelicobservability.organizations
WHERE subscription_id = '{{ subscription_id }}' -- required
AND userEmail = '{{ userEmail }}' -- required
AND location = '{{ location }}' -- required
;