WebTest Interface

public interface WebTest

An immutable client-side representation of WebTest.

Method Summary

Modifier and Type Method and Description
abstract WebTestPropertiesConfiguration configuration()

Gets the configuration property: An XML configuration specification for a WebTest.

abstract String description()

Gets the description property: Purpose/user defined descriptive test for this WebTest.

abstract Boolean enabled()

Gets the enabled property: Is the test actively being monitored.

abstract Integer frequency()

Gets the frequency property: Interval in seconds between test runs for this WebTest.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract WebTestInner innerModel()

Gets the inner com.azure.resourcemanager.applicationinsights.fluent.models.WebTestInner object.

abstract WebTestKind kind()

Gets the kind property: The kind of web test that this web test watches.

abstract String location()

Gets the location property: The geo-location where the resource lives.

abstract List<WebTestGeolocation> locations()

Gets the locations property: A list of where to physically run the tests from to give global coverage for accessibility of your application.

abstract String name()

Gets the name property: The name of the resource.

abstract String provisioningState()

Gets the provisioningState property: Current state of this component, whether or not is has been provisioned within the resource group it is defined.

abstract WebTest refresh()

Refreshes the resource to sync with Azure.

abstract WebTest refresh(Context context)

Refreshes the resource to sync with Azure.

abstract Region region()

Gets the region of the resource.

abstract String regionName()

Gets the name of the resource region.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract Boolean retryEnabled()

Gets the retryEnabled property: Allow for retries should this WebTest fail.

abstract String syntheticMonitorId()

Gets the syntheticMonitorId property: Unique ID of this WebTest.

abstract Map<String,String> tags()

Gets the tags property: Resource tags.

abstract Integer timeout()

Gets the timeout property: Seconds until this WebTest will timeout and fail.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the WebTest resource.

abstract WebTestKind webTestKind()

Gets the webTestKind property: The kind of web test this is, valid choices are ping and multistep.

abstract String webTestName()

Gets the webTestName property: User defined name if this WebTest.

Method Details

configuration

public abstract WebTestPropertiesConfiguration configuration()

Gets the configuration property: An XML configuration specification for a WebTest.

Returns:

the configuration value.

description

public abstract String description()

Gets the description property: Purpose/user defined descriptive test for this WebTest.

Returns:

the description value.

enabled

public abstract Boolean enabled()

Gets the enabled property: Is the test actively being monitored.

Returns:

the enabled value.

frequency

public abstract Integer frequency()

Gets the frequency property: Interval in seconds between test runs for this WebTest. Default value is 300.

Returns:

the frequency value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract WebTestInner innerModel()

Gets the inner com.azure.resourcemanager.applicationinsights.fluent.models.WebTestInner object.

Returns:

the inner object.

kind

public abstract WebTestKind kind()

Gets the kind property: The kind of web test that this web test watches. Choices are ping and multistep.

Returns:

the kind value.

location

public abstract String location()

Gets the location property: The geo-location where the resource lives.

Returns:

the location value.

locations

public abstract List locations()

Gets the locations property: A list of where to physically run the tests from to give global coverage for accessibility of your application.

Returns:

the locations value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

provisioningState

public abstract String provisioningState()

Gets the provisioningState property: Current state of this component, whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Succeeded, Deploying, Canceled, and Failed.

Returns:

the provisioningState value.

refresh

public abstract WebTest refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract WebTest refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

region

public abstract Region region()

Gets the region of the resource.

Returns:

the region of the resource.

regionName

public abstract String regionName()

Gets the name of the resource region.

Returns:

the name of the resource region.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

retryEnabled

public abstract Boolean retryEnabled()

Gets the retryEnabled property: Allow for retries should this WebTest fail.

Returns:

the retryEnabled value.

syntheticMonitorId

public abstract String syntheticMonitorId()

Gets the syntheticMonitorId property: Unique ID of this WebTest. This is typically the same value as the Name field.

Returns:

the syntheticMonitorId value.

tags

public abstract Map tags()

Gets the tags property: Resource tags.

Returns:

the tags value.

timeout

public abstract Integer timeout()

Gets the timeout property: Seconds until this WebTest will timeout and fail. Default value is 30.

Returns:

the timeout value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract WebTest.Update update()

Begins update for the WebTest resource.

Returns:

the stage of resource update.

webTestKind

public abstract WebTestKind webTestKind()

Gets the webTestKind property: The kind of web test this is, valid choices are ping and multistep.

Returns:

the webTestKind value.

webTestName

public abstract String webTestName()

Gets the webTestName property: User defined name if this WebTest.

Returns:

the webTestName value.

Applies to