Skip to main content

plans

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

Overview​

Nameplans
TypeResource
Idazure_isv.new_relic_observability.plans

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.
accountCreationSourcestringSource of account creation. Known values are: "LIFTR" and "NEWRELIC".
orgCreationSourcestringSource of org creation. Known values are: "LIFTR" and "NEWRELIC".
planDataobjectPlan details.
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_idaccountId, organizationIdLists the plans data linked to your organization, providing an overview of the available plans.

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
subscription_idstring
accountIdstringAccount Id. Default value is None.
organizationIdstringOrganization Id. Default value is None.

SELECT examples​

Lists the plans data linked to your organization, providing an overview of the available plans.

SELECT
id,
name,
accountCreationSource,
orgCreationSource,
planData,
systemData,
type
FROM azure_isv.new_relic_observability.plans
WHERE subscription_id = '{{ subscription_id }}' -- required
AND accountId = '{{ accountId }}'
AND organizationId = '{{ organizationId }}'
;