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

ApplicationInsightsComponent interface

Application Insights 组件定义。

扩展

属性

appId

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

applicationId

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

applicationType

正在监视的应用程序的类型。

connectionString

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

creationDate

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

disableIpMasking

禁用 IP 掩码。

disableLocalAuth

禁用基于非 AAD 的身份验证。

etag

资源 etag

flowType

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

forceCustomerStorageForProfiler

强制用户为探查器和调试器创建自己的存储帐户。

hockeyAppId

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

hockeyAppToken

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

immediatePurgeDataOn30Days

在 30 天后立即清除数据。

ingestionMode

指示引入的流。

instrumentationKey

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

kind

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

laMigrationDate

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

namePropertiesName

应用程序名称。 注意:此属性不会序列化。 它只能由服务器填充。

privateLinkScopedResources

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

provisioningState

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

publicNetworkAccessForIngestion

用于访问 Application Insights 引入的网络访问类型。

publicNetworkAccessForQuery

用于访问 Application Insights 查询的网络访问类型。

requestSource

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

retentionInDays

保留期(以天为单位)。

samplingPercentage

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

tenantId

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

workspaceResourceId

要将数据引入到的 Log Analytics 工作区的资源 ID。 使用此 API 版本创建应用程序需要此属性。 来自较旧版本的应用程序将不具有此属性。

继承属性

id

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

location

资源位置

name

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

tags

资源标记

type

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

属性详细信息

appId

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

appId?: string

属性值

string

applicationId

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

applicationId?: string

属性值

string

applicationType

正在监视的应用程序的类型。

applicationType?: string

属性值

string

connectionString

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

connectionString?: string

属性值

string

creationDate

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

creationDate?: Date

属性值

Date

disableIpMasking

禁用 IP 掩码。

disableIpMasking?: boolean

属性值

boolean

disableLocalAuth

禁用基于非 AAD 的身份验证。

disableLocalAuth?: boolean

属性值

boolean

etag

资源 etag

etag?: string

属性值

string

flowType

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

flowType?: string

属性值

string

forceCustomerStorageForProfiler

强制用户为探查器和调试器创建自己的存储帐户。

forceCustomerStorageForProfiler?: boolean

属性值

boolean

hockeyAppId

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

hockeyAppId?: string

属性值

string

hockeyAppToken

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

hockeyAppToken?: string

属性值

string

immediatePurgeDataOn30Days

在 30 天后立即清除数据。

immediatePurgeDataOn30Days?: boolean

属性值

boolean

ingestionMode

指示引入的流。

ingestionMode?: string

属性值

string

instrumentationKey

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

instrumentationKey?: string

属性值

string

kind

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

kind: string

属性值

string

laMigrationDate

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

laMigrationDate?: Date

属性值

Date

namePropertiesName

应用程序名称。 注意:此属性不会序列化。 它只能由服务器填充。

namePropertiesName?: string

属性值

string

privateLinkScopedResources

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

privateLinkScopedResources?: PrivateLinkScopedResource[]

属性值

provisioningState

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

provisioningState?: string

属性值

string

publicNetworkAccessForIngestion

用于访问 Application Insights 引入的网络访问类型。

publicNetworkAccessForIngestion?: string

属性值

string

publicNetworkAccessForQuery

用于访问 Application Insights 查询的网络访问类型。

publicNetworkAccessForQuery?: string

属性值

string

requestSource

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

requestSource?: string

属性值

string

retentionInDays

保留期(以天为单位)。

retentionInDays?: number

属性值

number

samplingPercentage

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

samplingPercentage?: number

属性值

number

tenantId

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

tenantId?: string

属性值

string

workspaceResourceId

要将数据引入到的 Log Analytics 工作区的资源 ID。 使用此 API 版本创建应用程序需要此属性。 来自较旧版本的应用程序将不具有此属性。

workspaceResourceId?: 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