ApplicationInsightsComponentProperties interface

Properties that define an Application Insights component resource.

Properties

appId

Application Insights Unique ID for your Application.

applicationId

The unique ID of your application. This field mirrors the 'Name' field and cannot be changed.

applicationType

Type of application being monitored.

connectionString

Application Insights component connection string.

creationDate

Creation Date for the Application Insights component, in ISO 8601 format.

disableIpMasking

Disable IP masking.

disableLocalAuth

Disable Non-AAD based Auth.

flowType

Used by the Application Insights system to determine what kind of flow this component was created by. This is to be set to 'Bluefield' when creating/updating a component via the REST API.

forceCustomerStorageForProfiler

Force users to create their own storage account for profiler and debugger.

hockeyAppId

The unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp.

hockeyAppToken

Token used to authenticate communications with between Application Insights and HockeyApp.

immediatePurgeDataOn30Days

Purge data immediately after 30 days.

ingestionMode

Indicates the flow of the ingestion.

instrumentationKey

Application Insights Instrumentation key. A read-only value that applications can use to identify the destination for all telemetry sent to Azure Application Insights. This value will be supplied upon construction of each new Application Insights component.

laMigrationDate

The date which the component got migrated to LA, in ISO 8601 format.

name

Application name.

privateLinkScopedResources

List of linked private link scope resources.

provisioningState

Current state of this component: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Succeeded, Deploying, Canceled, and Failed.

publicNetworkAccessForIngestion

The network access type for accessing Application Insights ingestion.

publicNetworkAccessForQuery

The network access type for accessing Application Insights query.

requestSource

Describes what tool created this Application Insights component. Customers using this API should set this to the default 'rest'.

retentionInDays

Retention period in days.

samplingPercentage

Percentage of the data produced by the application being monitored that is being sampled for Application Insights telemetry.

tenantId

Azure Tenant Id.

workspaceResourceId

Resource Id of the log analytics workspace which the data will be ingested to. This property is required to create an application with this API version. Applications from older versions will not have this property.

Property Details

appId

Application Insights Unique ID for your Application.

appId?: string

Property Value

string

applicationId

The unique ID of your application. This field mirrors the 'Name' field and cannot be changed.

applicationId?: string

Property Value

string

applicationType

Type of application being monitored.

applicationType: string

Property Value

string

connectionString

Application Insights component connection string.

connectionString?: string

Property Value

string

creationDate

Creation Date for the Application Insights component, in ISO 8601 format.

creationDate?: Date

Property Value

Date

disableIpMasking

Disable IP masking.

disableIpMasking?: boolean

Property Value

boolean

disableLocalAuth

Disable Non-AAD based Auth.

disableLocalAuth?: boolean

Property Value

boolean

flowType

Used by the Application Insights system to determine what kind of flow this component was created by. This is to be set to 'Bluefield' when creating/updating a component via the REST API.

flowType?: string

Property Value

string

forceCustomerStorageForProfiler

Force users to create their own storage account for profiler and debugger.

forceCustomerStorageForProfiler?: boolean

Property Value

boolean

hockeyAppId

The unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp.

hockeyAppId?: string

Property Value

string

hockeyAppToken

Token used to authenticate communications with between Application Insights and HockeyApp.

hockeyAppToken?: string

Property Value

string

immediatePurgeDataOn30Days

Purge data immediately after 30 days.

immediatePurgeDataOn30Days?: boolean

Property Value

boolean

ingestionMode

Indicates the flow of the ingestion.

ingestionMode?: string

Property Value

string

instrumentationKey

Application Insights Instrumentation key. A read-only value that applications can use to identify the destination for all telemetry sent to Azure Application Insights. This value will be supplied upon construction of each new Application Insights component.

instrumentationKey?: string

Property Value

string

laMigrationDate

The date which the component got migrated to LA, in ISO 8601 format.

laMigrationDate?: Date

Property Value

Date

name

Application name.

name?: string

Property Value

string

privateLinkScopedResources

List of linked private link scope resources.

privateLinkScopedResources?: PrivateLinkScopedResource[]

Property Value

provisioningState

Current state of this component: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Succeeded, Deploying, Canceled, and Failed.

provisioningState?: string

Property Value

string

publicNetworkAccessForIngestion

The network access type for accessing Application Insights ingestion.

publicNetworkAccessForIngestion?: string

Property Value

string

publicNetworkAccessForQuery

The network access type for accessing Application Insights query.

publicNetworkAccessForQuery?: string

Property Value

string

requestSource

Describes what tool created this Application Insights component. Customers using this API should set this to the default 'rest'.

requestSource?: string

Property Value

string

retentionInDays

Retention period in days.

retentionInDays?: number

Property Value

number

samplingPercentage

Percentage of the data produced by the application being monitored that is being sampled for Application Insights telemetry.

samplingPercentage?: number

Property Value

number

tenantId

Azure Tenant Id.

tenantId?: string

Property Value

string

workspaceResourceId

Resource Id of the log analytics workspace which the data will be ingested to. This property is required to create an application with this API version. Applications from older versions will not have this property.

workspaceResourceId?: string

Property Value

string