共用方式為


MonitoringSettingProperties interface

監視設定屬性承載

屬性

appInsightsAgentVersions

指出 Application Insight 代理程式的版本

appInsightsInstrumentationKey

目標 Application Insight 檢測金鑰、Null 或空格符包含空白將會停用 monitoringSettings

appInsightsSamplingRate

指出 Application Insight 代理程式的取樣率,應該在 [0.0, 100.0] 範圍內

error

套用監視設定變更時發生錯誤。

provisioningState

監視設定的狀態。 注意:這個屬性不會串行化。 它只能由伺服器填入。

traceEnabled

指出是否啟用追蹤功能,因為 API 版本 2020-11-01-preview 將會淘汰此功能。 請利用 appInsightsInstrumentationKey 來指出是否啟用 monitoringSettings

屬性詳細資料

appInsightsAgentVersions

指出 Application Insight 代理程式的版本

appInsightsAgentVersions?: ApplicationInsightsAgentVersions

屬性值

appInsightsInstrumentationKey

目標 Application Insight 檢測金鑰、Null 或空格符包含空白將會停用 monitoringSettings

appInsightsInstrumentationKey?: string

屬性值

string

appInsightsSamplingRate

指出 Application Insight 代理程式的取樣率,應該在 [0.0, 100.0] 範圍內

appInsightsSamplingRate?: number

屬性值

number

error

套用監視設定變更時發生錯誤。

error?: ErrorModel

屬性值

provisioningState

監視設定的狀態。 注意:這個屬性不會串行化。 它只能由伺服器填入。

provisioningState?: string

屬性值

string

traceEnabled

指出是否啟用追蹤功能,因為 API 版本 2020-11-01-preview 將會淘汰此功能。 請利用 appInsightsInstrumentationKey 來指出是否啟用 monitoringSettings

traceEnabled?: boolean

屬性值

boolean