Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WebTests

Package version

Class representing a WebTests.

Hierarchy

  • WebTests

Index

Constructors

constructor

Methods

createOrUpdate

  • createOrUpdate(resourceGroupName: string, webTestName: string, webTestDefinition: WebTest, options?: msRest.RequestOptionsBase): Promise<Models.WebTestsCreateOrUpdateResponse>
  • createOrUpdate(resourceGroupName: string, webTestName: string, webTestDefinition: WebTest, callback: msRest.ServiceCallback<WebTest>): void
  • createOrUpdate(resourceGroupName: string, webTestName: string, webTestDefinition: WebTest, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<WebTest>): void
  • Creates or updates an Application Insights web test definition.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • 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.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.WebTestsCreateOrUpdateResponse>

    Promise<Models.WebTestsCreateOrUpdateResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • 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.

    • callback: msRest.ServiceCallback<WebTest>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • 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.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<WebTest>

      The callback

    Returns void

deleteMethod

  • deleteMethod(resourceGroupName: string, webTestName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>
  • deleteMethod(resourceGroupName: string, webTestName: string, callback: msRest.ServiceCallback<void>): void
  • deleteMethod(resourceGroupName: string, webTestName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void
  • Deletes an Application Insights web test.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • webTestName: string

      The name of the Application Insights webtest resource.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRest.RestResponse>

    Promise<msRest.RestResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • webTestName: string

      The name of the Application Insights webtest resource.

    • callback: msRest.ServiceCallback<void>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • webTestName: string

      The name of the Application Insights webtest resource.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<void>

      The callback

    Returns void

get

  • get(resourceGroupName: string, webTestName: string, options?: msRest.RequestOptionsBase): Promise<Models.WebTestsGetResponse>
  • get(resourceGroupName: string, webTestName: string, callback: msRest.ServiceCallback<WebTest>): void
  • get(resourceGroupName: string, webTestName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<WebTest>): void
  • Get a specific Application Insights web test definition.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • webTestName: string

      The name of the Application Insights webtest resource.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.WebTestsGetResponse>

    Promise<Models.WebTestsGetResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • webTestName: string

      The name of the Application Insights webtest resource.

    • callback: msRest.ServiceCallback<WebTest>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • webTestName: string

      The name of the Application Insights webtest resource.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<WebTest>

      The callback

    Returns void

list

  • list(options?: msRest.RequestOptionsBase): Promise<Models.WebTestsListResponse>
  • list(callback: msRest.ServiceCallback<WebTestListResult>): void
  • list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<WebTestListResult>): void
  • Get all Application Insights web test alerts definitioned within a subscription.

    Parameters

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.WebTestsListResponse>

    Promise<Models.WebTestsListResponse>

  • Parameters

    Returns void

  • Parameters

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<WebTestListResult>

      The callback

    Returns void

listByComponent

  • listByComponent(componentName: string, resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.WebTestsListByComponentResponse>
  • listByComponent(componentName: string, resourceGroupName: string, callback: msRest.ServiceCallback<WebTestListResult>): void
  • listByComponent(componentName: string, resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<WebTestListResult>): void
  • Get all Application Insights web tests defined for the specified component.

    Parameters

    • componentName: string

      The name of the Application Insights component resource.

    • resourceGroupName: string

      The name of the resource group.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.WebTestsListByComponentResponse>

    Promise<Models.WebTestsListByComponentResponse>

  • Parameters

    • componentName: string

      The name of the Application Insights component resource.

    • resourceGroupName: string

      The name of the resource group.

    • callback: msRest.ServiceCallback<WebTestListResult>

      The callback

    Returns void

  • Parameters

    • componentName: string

      The name of the Application Insights component resource.

    • resourceGroupName: string

      The name of the resource group.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<WebTestListResult>

      The callback

    Returns void

listByComponentNext

  • listByComponentNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.WebTestsListByComponentNextResponse>
  • listByComponentNext(nextPageLink: string, callback: msRest.ServiceCallback<WebTestListResult>): void
  • listByComponentNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<WebTestListResult>): void
  • Get all Application Insights web tests defined for the specified component.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.WebTestsListByComponentNextResponse>

    Promise<Models.WebTestsListByComponentNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<WebTestListResult>

      The callback

    Returns void

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<WebTestListResult>

      The callback

    Returns void

listByResourceGroup

  • listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.WebTestsListByResourceGroupResponse>
  • listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<WebTestListResult>): void
  • listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<WebTestListResult>): void
  • Get all Application Insights web tests defined within a specified resource group.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.WebTestsListByResourceGroupResponse>

    Promise<Models.WebTestsListByResourceGroupResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • callback: msRest.ServiceCallback<WebTestListResult>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<WebTestListResult>

      The callback

    Returns void

listByResourceGroupNext

  • listByResourceGroupNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.WebTestsListByResourceGroupNextResponse>
  • listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<WebTestListResult>): void
  • listByResourceGroupNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<WebTestListResult>): void
  • Get all Application Insights web tests defined within a specified resource group.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.WebTestsListByResourceGroupNextResponse>

    Promise<Models.WebTestsListByResourceGroupNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<WebTestListResult>

      The callback

    Returns void

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<WebTestListResult>

      The callback

    Returns void

listNext

  • listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.WebTestsListNextResponse>
  • listNext(nextPageLink: string, callback: msRest.ServiceCallback<WebTestListResult>): void
  • listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<WebTestListResult>): void
  • Get all Application Insights web test alerts definitioned within a subscription.

    Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.WebTestsListNextResponse>

    Promise<Models.WebTestsListNextResponse>

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • callback: msRest.ServiceCallback<WebTestListResult>

      The callback

    Returns void

  • Parameters

    • nextPageLink: string

      The NextLink from the previous successful call to List operation.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<WebTestListResult>

      The callback

    Returns void

updateTags

  • updateTags(resourceGroupName: string, webTestName: string, webTestTags: TagsResource, options?: msRest.RequestOptionsBase): Promise<Models.WebTestsUpdateTagsResponse>
  • updateTags(resourceGroupName: string, webTestName: string, webTestTags: TagsResource, callback: msRest.ServiceCallback<WebTest>): void
  • updateTags(resourceGroupName: string, webTestName: string, webTestTags: TagsResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<WebTest>): void
  • Creates or updates an Application Insights web test definition.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • webTestName: string

      The name of the Application Insights webtest resource.

    • webTestTags: TagsResource

      Updated tag information to set into the web test instance.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.WebTestsUpdateTagsResponse>

    Promise<Models.WebTestsUpdateTagsResponse>

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • webTestName: string

      The name of the Application Insights webtest resource.

    • webTestTags: TagsResource

      Updated tag information to set into the web test instance.

    • callback: msRest.ServiceCallback<WebTest>

      The callback

    Returns void

  • Parameters

    • resourceGroupName: string

      The name of the resource group.

    • webTestName: string

      The name of the Application Insights webtest resource.

    • webTestTags: TagsResource

      Updated tag information to set into the web test instance.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<WebTest>

      The callback

    Returns void

Generated using TypeDoc