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 alerts definitions within a subscription. |
list |
Get all Application Insights web tests defined for the specified component. |
list |
Get all Application Insights web tests defined within a specified resource group. |
update |
Creates or updates an Application Insights web test definition. |
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 alerts definitions within a 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 within a 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)
Creates or updates an Application Insights web test definition.
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 set into the web test instance.
- options
- WebTestsUpdateTagsOptionalParams
The options parameters.
Returns
Promise<WebTest>
Azure SDK for JavaScript