Skip to main content

components

Overview

Namecomponents
TypeResource
Idazure.application_insights.components

Fields

NameDatatypeDescription
idstringAzure resource Id
namestringAzure resource name
etagstringResource etag
kindstringThe kind of application that this component refers to, used to customize UI. This value is a freeform string, values should typically be one of the following: web, ios, other, store, java, phone.
locationstringResource location
propertiesobjectProperties that define an Application Insights component resource.
tags``Resource tags
typestringAzure resource type

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, resourceName, subscriptionIdReturns an Application Insights component.
listSELECTsubscriptionIdGets a list of all Application Insights components within a subscription.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdGets a list of Application Insights components within a resource group.
create_or_updateINSERTresourceGroupName, resourceName, subscriptionId, data__kindCreates (or updates) an Application Insights component. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.
deleteDELETEresourceGroupName, resourceName, subscriptionIdDeletes an Application Insights component.
_listEXECsubscriptionIdGets a list of all Application Insights components within a subscription.
_list_by_resource_groupEXECresourceGroupName, subscriptionIdGets a list of Application Insights components within a resource group.
purgeEXECresourceGroupName, resourceName, subscriptionId, data__filters, data__tablePurges data in an Application Insights component by a set of user-defined filters.

In order to manage system resources, purge requests are throttled at 50 requests per hour. You should batch the execution of purge requests by sending a single command whose predicate includes all user identities that require purging. Use the in operator to specify multiple identities. You should run the query prior to using for a purge request to verify that the results are expected.
Note: this operation is intended for Classic resources, for workspace-based Application Insights resource please run purge operation (directly on the workspace)(https://docs.microsoft.com/en-us/rest/api/loganalytics/workspace-purge/purge) , scoped to specific resource id.