WebTests interface
Interface representing a WebTests.
Methods
create |
Creates or updates an Application Insights web test definition. |
delete(string, string, Web |
Deletes an Application Insights web test. |
get(string, string, Web |
Get a specific Application Insights web test definition. |
list(Web |
Get all Application Insights web test definitions for the specified subscription. |
list |
Get all Application Insights web tests defined for the specified component. |
list |
Get all Application Insights web tests defined for the specified resource group. |
update |
Updates the tags associated with an Application Insights web test. |
Method Details
createOrUpdate(string, string, WebTest, WebTestsCreateOrUpdateOptionalParams)
Creates or updates an Application Insights web test definition.
function createOrUpdate(resourceGroupName: string, webTestName: string, webTestDefinition: WebTest, options?: WebTestsCreateOrUpdateOptionalParams): Promise<WebTest>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- webTestName
-
string
The name of the Application Insights WebTest resource.
- webTestDefinition
- WebTest
Properties that need to be specified to create or update an Application Insights web test definition.
The options parameters.
Returns
Promise<WebTest>
delete(string, string, WebTestsDeleteOptionalParams)
Deletes an Application Insights web test.
function delete(resourceGroupName: string, webTestName: string, options?: WebTestsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- webTestName
-
string
The name of the Application Insights WebTest resource.
- options
- WebTestsDeleteOptionalParams
The options parameters.
Returns
Promise<void>
get(string, string, WebTestsGetOptionalParams)
Get a specific Application Insights web test definition.
function get(resourceGroupName: string, webTestName: string, options?: WebTestsGetOptionalParams): Promise<WebTest>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- webTestName
-
string
The name of the Application Insights WebTest resource.
- options
- WebTestsGetOptionalParams
The options parameters.
Returns
Promise<WebTest>
list(WebTestsListOptionalParams)
Get all Application Insights web test definitions for the specified subscription.
function list(options?: WebTestsListOptionalParams): PagedAsyncIterableIterator<WebTest, WebTest[], PageSettings>
Parameters
- options
- WebTestsListOptionalParams
The options parameters.
Returns
listByComponent(string, string, WebTestsListByComponentOptionalParams)
Get all Application Insights web tests defined for the specified component.
function listByComponent(componentName: string, resourceGroupName: string, options?: WebTestsListByComponentOptionalParams): PagedAsyncIterableIterator<WebTest, WebTest[], PageSettings>
Parameters
- componentName
-
string
The name of the Application Insights component resource.
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
The options parameters.
Returns
listByResourceGroup(string, WebTestsListByResourceGroupOptionalParams)
Get all Application Insights web tests defined for the specified resource group.
function listByResourceGroup(resourceGroupName: string, options?: WebTestsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<WebTest, WebTest[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
The options parameters.
Returns
updateTags(string, string, TagsResource, WebTestsUpdateTagsOptionalParams)
Updates the tags associated with an Application Insights web test.
function updateTags(resourceGroupName: string, webTestName: string, webTestTags: TagsResource, options?: WebTestsUpdateTagsOptionalParams): Promise<WebTest>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- webTestName
-
string
The name of the Application Insights WebTest resource.
- webTestTags
- TagsResource
Updated tag information to associate with the web test resource.
- options
- WebTestsUpdateTagsOptionalParams
The options parameters.
Returns
Promise<WebTest>