WebTests interface
代表 WebTests 的介面。
方法
| create |
建立或更新 Application Insights Web 測試定義。 |
| delete(string, string, Web |
刪除 Application Insights Web 測試。 |
| get(string, string, Web |
取得特定的 Application Insights Web 測試定義。 |
| list(Web |
取得指定訂用帳戶的所有 Application Insights Web 測試定義。 |
| list |
取得針對指定元件定義的所有 Application Insights Web 測試。 |
| list |
取得針對指定資源群組定義的所有 Application Insights Web 測試。 |
| update |
更新與 Application Insights Web 測試相關聯的標記。 |
方法詳細資料
createOrUpdate(string, string, WebTest, WebTestsCreateOrUpdateOptionalParams)
建立或更新 Application Insights Web 測試定義。
function createOrUpdate(resourceGroupName: string, webTestName: string, webTestDefinition: WebTest, options?: WebTestsCreateOrUpdateOptionalParams): Promise<WebTest>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- webTestName
-
string
Application Insights WebTest 資源的名稱。
- webTestDefinition
- WebTest
需要指定才能建立或更新 Application Insights Web 測試定義的屬性。
選項參數。
傳回
Promise<WebTest>
delete(string, string, WebTestsDeleteOptionalParams)
刪除 Application Insights Web 測試。
function delete(resourceGroupName: string, webTestName: string, options?: WebTestsDeleteOptionalParams): Promise<void>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- webTestName
-
string
Application Insights WebTest 資源的名稱。
- options
- WebTestsDeleteOptionalParams
選項參數。
傳回
Promise<void>
get(string, string, WebTestsGetOptionalParams)
取得特定的 Application Insights Web 測試定義。
function get(resourceGroupName: string, webTestName: string, options?: WebTestsGetOptionalParams): Promise<WebTest>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- webTestName
-
string
Application Insights WebTest 資源的名稱。
- options
- WebTestsGetOptionalParams
選項參數。
傳回
Promise<WebTest>
list(WebTestsListOptionalParams)
取得指定訂用帳戶的所有 Application Insights Web 測試定義。
function list(options?: WebTestsListOptionalParams): PagedAsyncIterableIterator<WebTest, WebTest[], PageSettings>
參數
- options
- WebTestsListOptionalParams
選項參數。
傳回
listByComponent(string, string, WebTestsListByComponentOptionalParams)
取得針對指定元件定義的所有 Application Insights Web 測試。
function listByComponent(componentName: string, resourceGroupName: string, options?: WebTestsListByComponentOptionalParams): PagedAsyncIterableIterator<WebTest, WebTest[], PageSettings>
參數
- componentName
-
string
Application Insights 元件資源的名稱。
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
選項參數。
傳回
listByResourceGroup(string, WebTestsListByResourceGroupOptionalParams)
取得針對指定資源群組定義的所有 Application Insights Web 測試。
function listByResourceGroup(resourceGroupName: string, options?: WebTestsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<WebTest, WebTest[], PageSettings>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
選項參數。
傳回
updateTags(string, string, TagsResource, WebTestsUpdateTagsOptionalParams)
更新與 Application Insights Web 測試相關聯的標記。
function updateTags(resourceGroupName: string, webTestName: string, webTestTags: TagsResource, options?: WebTestsUpdateTagsOptionalParams): Promise<WebTest>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- webTestName
-
string
Application Insights WebTest 資源的名稱。
- webTestTags
- TagsResource
更新了標記資訊以與 Web 測試資源相關聯。
- options
- WebTestsUpdateTagsOptionalParams
選項參數。
傳回
Promise<WebTest>