WebTests Interface

public interface WebTests

Resource collection API of WebTests.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new WebTest resource.

abstract void deleteById(String id)

Deletes an Application Insights web test.

abstract Response<Void> deleteByIdWithResponse(String id, Context context)

Deletes an Application Insights web test.

abstract void deleteByResourceGroup(String resourceGroupName, String webTestName)

Deletes an Application Insights web test.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String webTestName, Context context)

Deletes an Application Insights web test.

abstract WebTest getById(String id)

Get a specific Application Insights web test definition.

abstract Response<WebTest> getByIdWithResponse(String id, Context context)

Get a specific Application Insights web test definition.

abstract WebTest getByResourceGroup(String resourceGroupName, String webTestName)

Get a specific Application Insights web test definition.

abstract Response<WebTest> getByResourceGroupWithResponse(String resourceGroupName, String webTestName, Context context)

Get a specific Application Insights web test definition.

abstract PagedIterable<WebTest> list()

Get all Application Insights web test alerts definitions within a subscription.

abstract PagedIterable<WebTest> list(Context context)

Get all Application Insights web test alerts definitions within a subscription.

abstract PagedIterable<WebTest> listByComponent(String componentName, String resourceGroupName)

Get all Application Insights web tests defined for the specified component.

abstract PagedIterable<WebTest> listByComponent(String componentName, String resourceGroupName, Context context)

Get all Application Insights web tests defined for the specified component.

abstract PagedIterable<WebTest> listByResourceGroup(String resourceGroupName)

Get all Application Insights web tests defined within a specified resource group.

abstract PagedIterable<WebTest> listByResourceGroup(String resourceGroupName, Context context)

Get all Application Insights web tests defined within a specified resource group.

Method Details

define

public abstract WebTest.DefinitionStages.Blank define(String name)

Begins definition for a new WebTest resource.

Parameters:

name - resource name.

Returns:

the first stage of the new WebTest definition.

deleteById

public abstract void deleteById(String id)

Deletes an Application Insights web test.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract Response deleteByIdWithResponse(String id, Context context)

Deletes an Application Insights web test.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

deleteByResourceGroup

public abstract void deleteByResourceGroup(String resourceGroupName, String webTestName)

Deletes an Application Insights web test.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
webTestName - The name of the Application Insights webtest resource.

deleteWithResponse

public abstract Response deleteWithResponse(String resourceGroupName, String webTestName, Context context)

Deletes an Application Insights web test.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
webTestName - The name of the Application Insights webtest resource.
context - The context to associate with this operation.

Returns:

getById

public abstract WebTest getById(String id)

Get a specific Application Insights web test definition.

Parameters:

id - the resource ID.

Returns:

a specific Application Insights web test definition along with Response<T>.

getByIdWithResponse

public abstract Response getByIdWithResponse(String id, Context context)

Get a specific Application Insights web test definition.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

a specific Application Insights web test definition along with Response<T>.

getByResourceGroup

public abstract WebTest getByResourceGroup(String resourceGroupName, String webTestName)

Get a specific Application Insights web test definition.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
webTestName - The name of the Application Insights webtest resource.

Returns:

a specific Application Insights web test definition.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String webTestName, Context context)

Get a specific Application Insights web test definition.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
webTestName - The name of the Application Insights webtest resource.
context - The context to associate with this operation.

Returns:

a specific Application Insights web test definition along with Response<T>.

list

public abstract PagedIterable list()

Get all Application Insights web test alerts definitions within a subscription.

Returns:

all Application Insights web test alerts definitions within a subscription as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

Get all Application Insights web test alerts definitions within a subscription.

Parameters:

context - The context to associate with this operation.

Returns:

all Application Insights web test alerts definitions within a subscription as paginated response with PagedIterable<T>.

listByComponent

public abstract PagedIterable listByComponent(String componentName, String resourceGroupName)

Get all Application Insights web tests defined for the specified component.

Parameters:

componentName - The name of the Application Insights component resource.
resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

all Application Insights web tests defined for the specified component as paginated response with PagedIterable<T>.

listByComponent

public abstract PagedIterable listByComponent(String componentName, String resourceGroupName, Context context)

Get all Application Insights web tests defined for the specified component.

Parameters:

componentName - The name of the Application Insights component resource.
resourceGroupName - The name of the resource group. The name is case insensitive.
context - The context to associate with this operation.

Returns:

all Application Insights web tests defined for the specified component as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

Get all Application Insights web tests defined within a specified resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

all Application Insights web tests defined within a specified resource group as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, Context context)

Get all Application Insights web tests defined within a specified resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
context - The context to associate with this operation.

Returns:

all Application Insights web tests defined within a specified resource group as paginated response with PagedIterable<T>.

Applies to