WebTest interface
Application Insights WebTest 定義。
- Extends
屬性
| configuration | WebTest 的 XML 組態規格。 |
| description | 此 WebTest 的使用者定義描述。 |
| enabled | 是否正在主動監視測試。 |
| frequency | 此 WebTest 的測試回合之間以秒為單位的間隔。 預設值為 300。 |
| kind | 此 Web 測試所監看的 WebTest 種類。 選項為 ping、multistep 和 standard。 |
| locations | 實際執行測試的來源清單,以提供應用程式輔助功能的全域涵蓋範圍。 |
| provisioning |
此元件目前的狀態,不論是否已在已定義的資源群組內布建。 使用者無法變更此值,但能夠從中讀取。 值包括 [成功]、[部署]、[已取消] 和 [失敗]。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
| request | 要求屬性的集合 |
| retry |
如果此 WebTest 失敗,請允許重試。 |
| synthetic |
此 WebTest 的唯一標識碼。 這通常與 [名稱] 欄位的值相同。 |
| timeout | 此 WebTest 逾時並失敗的秒數。 預設值為 30。 |
| validation |
驗證規則屬性的集合 |
| web |
這是 Web 測試的類型,有效的選擇是 ping、multistep 和 standard。 |
| web |
如果這個 WebTest,則為使用者定義的名稱。 |
繼承的屬性
| id | Azure 資源識別碼注意:此屬性將不會串行化。 它只能由伺服器填入。 |
| location | 資源位置 |
| name | Azure 資源名稱注意:此屬性不會串行化。 它只能由伺服器填入。 |
| tags | 資源標籤 |
| type | Azure 資源類型注意:此屬性將不會串行化。 它只能由伺服器填入。 |
屬性詳細資料
configuration
WebTest 的 XML 組態規格。
configuration?: WebTestPropertiesConfiguration
屬性值
description
此 WebTest 的使用者定義描述。
description?: string
屬性值
string
enabled
是否正在主動監視測試。
enabled?: boolean
屬性值
boolean
frequency
此 WebTest 的測試回合之間以秒為單位的間隔。 預設值為 300。
frequency?: number
屬性值
number
kind
locations
provisioningState
此元件目前的狀態,不論是否已在已定義的資源群組內布建。 使用者無法變更此值,但能夠從中讀取。 值包括 [成功]、[部署]、[已取消] 和 [失敗]。 注意:這個屬性不會串行化。 它只能由伺服器填入。
provisioningState?: string
屬性值
string
request
retryEnabled
如果此 WebTest 失敗,請允許重試。
retryEnabled?: boolean
屬性值
boolean
syntheticMonitorId
此 WebTest 的唯一標識碼。 這通常與 [名稱] 欄位的值相同。
syntheticMonitorId?: string
屬性值
string
timeout
此 WebTest 逾時並失敗的秒數。 預設值為 30。
timeout?: number
屬性值
number
validationRules
webTestKind
webTestName
如果這個 WebTest,則為使用者定義的名稱。
webTestName?: string
屬性值
string
繼承的屬性詳細資料
id
location
name
tags
資源標籤
tags?: {[propertyName: string]: string}
屬性值
{[propertyName: string]: string}