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

ApplicationInsightsComponentData 类

定义

表示 ApplicationInsightsComponent 数据模型的类。 Application Insights 组件定义。

public class ApplicationInsightsComponentData : Azure.ResourceManager.Models.TrackedResourceData
type ApplicationInsightsComponentData = class
    inherit TrackedResourceData
Public Class ApplicationInsightsComponentData
Inherits TrackedResourceData
继承
ApplicationInsightsComponentData

构造函数

ApplicationInsightsComponentData(AzureLocation, String)

初始化 ApplicationInsightsComponentData 的新实例。

属性

AppId

Application Insights 应用程序的唯一 ID。

ApplicationId

应用程序的唯一 ID。 此字段镜像“名称”字段,无法更改。

ApplicationType

要监视的应用程序的类型。

ConnectionString

Application Insights 组件连接字符串。

CreatedOn

Application Insights 组件的创建日期,采用 ISO 8601 格式。

ETag

资源 etag。

FlowType

由 Application Insights 系统用来确定创建此组件的流类型。 通过 REST API 创建/更新组件时,应将其设置为“Bluefield”。

HockeyAppId

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

HockeyAppToken

用于对 Application Insights 和 HockeyApp 之间的通信进行身份验证的令牌。

Id

资源的完全限定的资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}。

(继承自 ResourceData)
IngestionMode

指示引入的流。

InstrumentationKey

Application Insights 检测密钥。 一个只读值,应用程序可以使用该值标识发送到 Azure 应用程序 Insights 的所有遥测的目标。 在构造每个新的 Application Insights 组件时,将提供此值。

IsDisableIPMasking

禁用 IP 掩码。

IsDisableLocalAuth

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

IsForceCustomerStorageForProfiler

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

IsImmediatePurgeDataOn30Days

30 天后立即清除数据。

Kind

此组件引用的应用程序类型,用于自定义 UI。 此值是任意格式字符串,值通常应为以下值之一:web、ios、other、store、java、phone。

LaMigrationOn

组件迁移到 LA 的日期,采用 ISO 8601 格式。

Location

资源所在的地理位置。

(继承自 TrackedResourceData)
Name

资源的名称。

(继承自 ResourceData)
NamePropertiesName

应用程序名称。

PrivateLinkScopedResources

链接的专用链接范围资源的列表。

ProvisioningState

此组件的当前状态:是否已在定义的资源组中预配 。 用户无法更改此值,但可以从中读取此值。 值将包括 Succeeded、Deploying、Canceled 和 Failed。

PublicNetworkAccessForIngestion

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

PublicNetworkAccessForQuery

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

RequestSource

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

ResourceType

资源类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”。

(继承自 ResourceData)
RetentionInDays

保留期(以天为单位)。

SamplingPercentage

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

SystemData

包含 createdBy 和 modifiedBy 信息的 Azure 资源管理器元数据。

(继承自 ResourceData)
Tags

资源标记。

(继承自 TrackedResourceData)
TenantId

Azure 租户 ID。

WorkspaceResourceId

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

适用于