ApplicationInsightsComponent interface

An Application Insights component definition.

Extends

Properties

appId

Application Insights Unique ID for your Application. NOTE: This property will not be serialized. It can only be populated by the server.

applicationId

The unique ID of your application. This field mirrors the 'Name' field and cannot be changed. NOTE: This property will not be serialized. It can only be populated by the server.

applicationType

Type of application being monitored. Possible values include: 'web', 'other'. Default value: 'web'.

connectionString

Application Insights component connection string. NOTE: This property will not be serialized. It can only be populated by the server.

creationDate

Creation Date for the Application Insights component, in ISO 8601 format. NOTE: This property will not be serialized. It can only be populated by the server.

disableIpMasking

Disable IP masking.

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. Possible values include: 'Bluefield'. Default value: 'Bluefield'.

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. NOTE: This property will not be serialized. It can only be populated by the server.

immediatePurgeDataOn30Days

Purge data immediately after 30 days.

ingestionMode

Indicates the flow of the ingestion. Possible values include: 'ApplicationInsights', 'ApplicationInsightsWithDiagnosticSettings', 'LogAnalytics'. Default value: 'ApplicationInsights'.

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. NOTE: This property will not be serialized. It can only be populated by the server.

kind

The 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.

privateLinkScopedResources

List of linked private link scope resources. NOTE: This property will not be serialized. It can only be populated by the server.

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. NOTE: This property will not be serialized. It can only be populated by the server.

publicNetworkAccessForIngestion

The network access type for accessing Application Insights ingestion. Possible values include: 'Enabled', 'Disabled'. Default value: 'Enabled'.

publicNetworkAccessForQuery

The network access type for accessing Application Insights query. Possible values include: 'Enabled', 'Disabled'. Default value: 'Enabled'.

requestSource

Describes what tool created this Application Insights component. Customers using this API should set this to the default 'rest'. Possible values include: 'rest'. Default value: 'rest'.

retentionInDays

Retention period in days. Default value: 90.

samplingPercentage

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

tenantId

Azure Tenant Id. NOTE: This property will not be serialized. It can only be populated by the server.

Inherited Properties

id

Azure resource Id NOTE: This property will not be serialized. It can only be populated by the server.

location

Resource location

name

Azure resource name NOTE: This property will not be serialized. It can only be populated by the server.

tags

Resource tags

type

Azure resource type NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

appId

Application Insights Unique ID for your Application. NOTE: This property will not be serialized. It can only be populated by the server.

appId?: string

Property Value

string

applicationId

The unique ID of your application. This field mirrors the 'Name' field and cannot be changed. NOTE: This property will not be serialized. It can only be populated by the server.

applicationId?: string

Property Value

string

applicationType

Type of application being monitored. Possible values include: 'web', 'other'. Default value: 'web'.

applicationType: ApplicationType

Property Value

connectionString

Application Insights component connection string. NOTE: This property will not be serialized. It can only be populated by the server.

connectionString?: string

Property Value

string

creationDate

Creation Date for the Application Insights component, in ISO 8601 format. NOTE: This property will not be serialized. It can only be populated by the server.

creationDate?: Date

Property Value

Date

disableIpMasking

Disable IP masking.

disableIpMasking?: 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. Possible values include: 'Bluefield'. Default value: 'Bluefield'.

flowType?: "Bluefield"

Property Value

"Bluefield"

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. NOTE: This property will not be serialized. It can only be populated by the server.

hockeyAppToken?: string

Property Value

string

immediatePurgeDataOn30Days

Purge data immediately after 30 days.

immediatePurgeDataOn30Days?: boolean

Property Value

boolean

ingestionMode

Indicates the flow of the ingestion. Possible values include: 'ApplicationInsights', 'ApplicationInsightsWithDiagnosticSettings', 'LogAnalytics'. Default value: 'ApplicationInsights'.

ingestionMode?: IngestionMode

Property Value

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. NOTE: This property will not be serialized. It can only be populated by the server.

instrumentationKey?: string

Property Value

string

kind

The 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.

kind: string

Property Value

string

privateLinkScopedResources

List of linked private link scope resources. NOTE: This property will not be serialized. It can only be populated by the server.

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. NOTE: This property will not be serialized. It can only be populated by the server.

provisioningState?: string

Property Value

string

publicNetworkAccessForIngestion

The network access type for accessing Application Insights ingestion. Possible values include: 'Enabled', 'Disabled'. Default value: 'Enabled'.

publicNetworkAccessForIngestion?: PublicNetworkAccessType

Property Value

publicNetworkAccessForQuery

The network access type for accessing Application Insights query. Possible values include: 'Enabled', 'Disabled'. Default value: 'Enabled'.

publicNetworkAccessForQuery?: PublicNetworkAccessType

Property Value

requestSource

Describes what tool created this Application Insights component. Customers using this API should set this to the default 'rest'. Possible values include: 'rest'. Default value: 'rest'.

requestSource?: "rest"

Property Value

"rest"

retentionInDays

Retention period in days. Default value: 90.

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. NOTE: This property will not be serialized. It can only be populated by the server.

tenantId?: string

Property Value

string

Inherited Property Details

id

Azure resource Id NOTE: This property will not be serialized. It can only be populated by the server.

id?: string

Property Value

string

Inherited From ComponentsResource.id

location

Resource location

location: string

Property Value

string

Inherited From ComponentsResource.location

name

Azure resource name NOTE: This property will not be serialized. It can only be populated by the server.

name?: string

Property Value

string

Inherited From ComponentsResource.name

tags

Resource tags

tags?: {[propertyName: string]: string}

Property Value

{[propertyName: string]: string}

Inherited From ComponentsResource.tags

type

Azure resource type NOTE: This property will not be serialized. It can only be populated by the server.

type?: string

Property Value

string

Inherited From ComponentsResource.type