Skip to main content

analytics_items

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

Overview

Nameanalytics_items
TypeResource
Idazure.application_insights.analytics_items

Fields

NameDatatypeDescription
ContentstringThe content of this item
IdstringInternally assigned unique id of the item definition.
NamestringThe user-defined name of the item.
PropertiesobjectA set of properties that can be defined in the context of a specific item type. Each type may have its own properties.
ScopestringEnum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.
TimeCreatedstringDate and time in UTC when this item was created.
TimeModifiedstringDate and time in UTC of the last modification that was made to this item.
TypestringEnum indicating the type of the Analytics item.
VersionstringThis instance's version of the data model. This can change as new features are added.

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, resourceName, scopePath, subscriptionIdGets a specific Analytics Items defined within an Application Insights component.
listSELECTresourceGroupName, resourceName, scopePath, subscriptionIdGets a list of Analytics Items defined within an Application Insights component.
deleteDELETEresourceGroupName, resourceName, scopePath, subscriptionIdDeletes a specific Analytics Items defined within an Application Insights component.
putREPLACEresourceGroupName, resourceName, scopePath, subscriptionIdAdds or Updates a specific Analytics Item within an Application Insights component.

SELECT examples

Gets a specific Analytics Items defined within an Application Insights component.

SELECT
Content,
Id,
Name,
Properties,
Scope,
TimeCreated,
TimeModified,
Type,
Version
FROM azure.application_insights.analytics_items
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND scopePath = '{{ scopePath }}'
AND subscriptionId = '{{ subscriptionId }}';

REPLACE example

Replaces all fields in the specified analytics_items resource.

/*+ update */
REPLACE azure.application_insights.analytics_items
SET
Id = '{{ Id }}',
Name = '{{ Name }}',
Content = '{{ Content }}',
Scope = '{{ Scope }}',
Type = '{{ Type }}',
Properties = '{{ Properties }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND scopePath = '{{ scopePath }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified analytics_items resource.

/*+ delete */
DELETE FROM azure.application_insights.analytics_items
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND scopePath = '{{ scopePath }}'
AND subscriptionId = '{{ subscriptionId }}';