你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ApplicationInsightsComponent interface

Application Insights 组件定义。

扩展

属性

appId

应用程序的 Application Insights 唯一 ID。 注意:此属性不会序列化。 它只能由服务器填充。

applicationId

应用程序的唯一 ID。 此字段镜像“名称”字段,无法更改。 注意:此属性不会序列化。 它只能由服务器填充。

applicationType

正在监视的应用程序的类型。 可能的值包括:“web”、“other”。 默认值:“web”。

connectionString

Application Insights 组件连接字符串。 注意:此属性不会序列化。 它只能由服务器填充。

creationDate

Application Insights 组件的创建日期(采用 ISO 8601 格式)。 注意:此属性不会序列化。 它只能由服务器填充。

disableIpMasking

禁用 IP 掩码。

flowType

Application Insights 系统用于确定此组件创建的流类型。 这是在通过 REST API 创建/更新组件时设置为“Bluefield”。 可能的值包括:“Bluefield”。 默认值:“Bluefield”。

hockeyAppId

将新应用程序添加到 HockeyApp 时创建的唯一应用程序 ID,用于与 HockeyApp 通信。

hockeyAppToken

用于对 Application Insights 和 HockeyApp 之间的通信进行身份验证的令牌。 注意:此属性不会序列化。 它只能由服务器填充。

immediatePurgeDataOn30Days

在 30 天后立即清除数据。

ingestionMode

指示引入的流。 可能的值包括:“ApplicationInsights”、“ApplicationInsightsWithDiagnosticSettings”、“LogAnalytics”。 默认值:“ApplicationInsights”。

instrumentationKey

Application Insights 检测密钥。 应用程序可用于标识发送到 Azure Application Insights 的所有遥测的目标的只读值。 在构造每个新的 Application Insights 组件时,将提供此值。 注意:此属性不会序列化。 它只能由服务器填充。

kind

此组件引用的应用程序类型,用于自定义 UI。 此值是任意多边形字符串,值通常应为以下值之一:Web、ios、其他、存储、java、手机。

privateLinkScopedResources

链接的专用链接范围资源列表。 注意:此属性不会序列化。 它只能由服务器填充。

provisioningState

此组件的当前状态:是否已在已定义的资源组中预配。 用户无法更改此值,但可以从中读取此值。 值将包括 Succeeded、Deploying、Canceled 和 Failed。 注意:此属性不会序列化。 它只能由服务器填充。

publicNetworkAccessForIngestion

用于访问 Application Insights 引入的网络访问类型。 可能的值包括:“Enabled”、“Disabled”。 默认值:“Enabled”。

publicNetworkAccessForQuery

用于访问 Application Insights 查询的网络访问类型。 可能的值包括:“Enabled”、“Disabled”。 默认值:“Enabled”。

requestSource

介绍创建此 Application Insights 组件的工具。 使用此 API 的客户应将此设置为默认的“rest”。 可能的值包括:“rest”。 默认值:“rest”。

retentionInDays

保留期(以天为单位)。 默认值:90。

samplingPercentage

正在为 Application Insights 遥测采样的应用程序生成的数据的百分比。

tenantId

Azure 租户 ID。注意:此属性不会序列化。它只能由服务器填充。

继承属性

id

Azure 资源 ID 注意:此属性不会序列化。它只能由服务器填充。

location

资源位置

name

Azure 资源名称 注意:此属性不会序列化。它只能由服务器填充。

tags

资源标记

type

Azure 资源类型 注意:此属性不会序列化。它只能由服务器填充。

属性详细信息

appId

应用程序的 Application Insights 唯一 ID。 注意:此属性不会序列化。 它只能由服务器填充。

appId?: string

属性值

string

applicationId

应用程序的唯一 ID。 此字段镜像“名称”字段,无法更改。 注意:此属性不会序列化。 它只能由服务器填充。

applicationId?: string

属性值

string

applicationType

正在监视的应用程序的类型。 可能的值包括:“web”、“other”。 默认值:“web”。

applicationType: ApplicationType

属性值

connectionString

Application Insights 组件连接字符串。 注意:此属性不会序列化。 它只能由服务器填充。

connectionString?: string

属性值

string

creationDate

Application Insights 组件的创建日期(采用 ISO 8601 格式)。 注意:此属性不会序列化。 它只能由服务器填充。

creationDate?: Date

属性值

Date

disableIpMasking

禁用 IP 掩码。

disableIpMasking?: boolean

属性值

boolean

flowType

Application Insights 系统用于确定此组件创建的流类型。 这是在通过 REST API 创建/更新组件时设置为“Bluefield”。 可能的值包括:“Bluefield”。 默认值:“Bluefield”。

flowType?: "Bluefield"

属性值

"Bluefield"

hockeyAppId

将新应用程序添加到 HockeyApp 时创建的唯一应用程序 ID,用于与 HockeyApp 通信。

hockeyAppId?: string

属性值

string

hockeyAppToken

用于对 Application Insights 和 HockeyApp 之间的通信进行身份验证的令牌。 注意:此属性不会序列化。 它只能由服务器填充。

hockeyAppToken?: string

属性值

string

immediatePurgeDataOn30Days

在 30 天后立即清除数据。

immediatePurgeDataOn30Days?: boolean

属性值

boolean

ingestionMode

指示引入的流。 可能的值包括:“ApplicationInsights”、“ApplicationInsightsWithDiagnosticSettings”、“LogAnalytics”。 默认值:“ApplicationInsights”。

ingestionMode?: IngestionMode

属性值

instrumentationKey

Application Insights 检测密钥。 应用程序可用于标识发送到 Azure Application Insights 的所有遥测的目标的只读值。 在构造每个新的 Application Insights 组件时,将提供此值。 注意:此属性不会序列化。 它只能由服务器填充。

instrumentationKey?: string

属性值

string

kind

此组件引用的应用程序类型,用于自定义 UI。 此值是任意多边形字符串,值通常应为以下值之一:Web、ios、其他、存储、java、手机。

kind: string

属性值

string

privateLinkScopedResources

链接的专用链接范围资源列表。 注意:此属性不会序列化。 它只能由服务器填充。

privateLinkScopedResources?: PrivateLinkScopedResource[]

属性值

provisioningState

此组件的当前状态:是否已在已定义的资源组中预配。 用户无法更改此值,但可以从中读取此值。 值将包括 Succeeded、Deploying、Canceled 和 Failed。 注意:此属性不会序列化。 它只能由服务器填充。

provisioningState?: string

属性值

string

publicNetworkAccessForIngestion

用于访问 Application Insights 引入的网络访问类型。 可能的值包括:“Enabled”、“Disabled”。 默认值:“Enabled”。

publicNetworkAccessForIngestion?: PublicNetworkAccessType

属性值

publicNetworkAccessForQuery

用于访问 Application Insights 查询的网络访问类型。 可能的值包括:“Enabled”、“Disabled”。 默认值:“Enabled”。

publicNetworkAccessForQuery?: PublicNetworkAccessType

属性值

requestSource

介绍创建此 Application Insights 组件的工具。 使用此 API 的客户应将此设置为默认的“rest”。 可能的值包括:“rest”。 默认值:“rest”。

requestSource?: "rest"

属性值

"rest"

retentionInDays

保留期(以天为单位)。 默认值:90。

retentionInDays?: number

属性值

number

samplingPercentage

正在为 Application Insights 遥测采样的应用程序生成的数据的百分比。

samplingPercentage?: number

属性值

number

tenantId

Azure 租户 ID。注意:此属性不会序列化。它只能由服务器填充。

tenantId?: string

属性值

string

继承属性详细信息

id

Azure 资源 ID 注意:此属性不会序列化。它只能由服务器填充。

id?: string

属性值

string

继承自 ComponentsResource.id

location

资源位置

location: string

属性值

string

继承自ComponentsResource.location

name

Azure 资源名称 注意:此属性不会序列化。它只能由服务器填充。

name?: string

属性值

string

继承自 ComponentsResource.name

tags

资源标记

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

属性值

{[propertyName: string]: string}

继承自ComponentsResource.tags

type

Azure 资源类型 注意:此属性不会序列化。它只能由服务器填充。

type?: string

属性值

string

继承自ComponentsResource.type