Skip to main content

organizations

Creates, updates, deletes, gets or lists an organizations resource.

Overview​

Nameorganizations
TypeResource
Idazure_isv.new_relic_observability.organizations

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
billingSourcestringBilling source. Known values are: "AZURE" and "NEWRELIC".
organizationIdstringorganization id.
organizationNamestringorganization name.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscription_id, userEmail, locationLists 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.

NameDatatypeDescription
locationstringLocation for NewRelic. Required.
subscription_idstring
userEmailstringUser Email. Required.

SELECT examples​

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.new_relic_observability.organizations
WHERE subscription_id = '{{ subscription_id }}' -- required
AND userEmail = '{{ userEmail }}' -- required
AND location = '{{ location }}' -- required
;