analytics_items
Creates, updates, deletes, gets or lists a analytics_items
resource.
Overview
Name | analytics_items |
Type | Resource |
Id | azure.application_insights.analytics_items |
Fields
Name | Datatype | Description |
---|---|---|
Content | string | The content of this item |
Id | string | Internally assigned unique id of the item definition. |
Name | string | The user-defined name of the item. |
Properties | object | A set of properties that can be defined in the context of a specific item type. Each type may have its own properties. |
Scope | string | Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component. |
TimeCreated | string | Date and time in UTC when this item was created. |
TimeModified | string | Date and time in UTC of the last modification that was made to this item. |
Type | string | Enum indicating the type of the Analytics item. |
Version | string | This instance's version of the data model. This can change as new features are added. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, resourceName, scopePath, subscriptionId | Gets a specific Analytics Items defined within an Application Insights component. |
list | SELECT | resourceGroupName, resourceName, scopePath, subscriptionId | Gets a list of Analytics Items defined within an Application Insights component. |
delete | DELETE | resourceGroupName, resourceName, scopePath, subscriptionId | Deletes a specific Analytics Items defined within an Application Insights component. |
put | REPLACE | resourceGroupName, resourceName, scopePath, subscriptionId | Adds 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 }}';