WebTest Interface
public interface WebTest
An immutable client-side representation of WebTest.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Web |
configuration()
Gets the configuration property: An XML configuration specification for a Web |
abstract String |
description()
Gets the description property: Purpose/user defined descriptive test for this Web |
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 Web |
abstract String |
id()
Gets the id property: Fully qualified resource Id for the resource. |
abstract
Web |
innerModel()
Gets the inner com. |
abstract
Web |
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<Web |
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 provisioning |
abstract
Web |
refresh()
Refreshes the resource to sync with Azure. |
abstract
Web |
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 retry |
abstract String |
syntheticMonitorId()
Gets the synthetic |
abstract Map<String,String> |
tags()
Gets the tags property: Resource tags. |
abstract Integer |
timeout()
Gets the timeout property: Seconds until this Web |
abstract String |
type()
Gets the type property: The type of the resource. |
abstract Update |
update()
Begins update for the Web |
abstract
Web |
webTestKind()
Gets the web |
abstract String |
webTestName()
Gets the web |
Method Details
configuration
public abstract WebTestPropertiesConfiguration configuration()
Gets the configuration property: An XML configuration specification for a WebTest.
Returns:
description
public abstract String description()
Gets the description property: Purpose/user defined descriptive test for this WebTest.
Returns:
enabled
public abstract Boolean enabled()
Gets the enabled property: Is the test actively being monitored.
Returns:
frequency
public abstract Integer frequency()
Gets the frequency property: Interval in seconds between test runs for this WebTest. Default value is 300.
Returns:
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
innerModel
public abstract WebTestInner innerModel()
Gets the inner com.azure.resourcemanager.applicationinsights.fluent.models.WebTestInner object.
Returns:
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:
location
public abstract String location()
Gets the location property: The geo-location where the resource lives.
Returns:
locations
public abstract List
Gets the locations property: A list of where to physically run the tests from to give global coverage for accessibility of your application.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
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:
refresh
public abstract WebTest refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract WebTest refresh(Context context)
Refreshes the resource to sync with Azure.
Parameters:
Returns:
region
public abstract Region region()
Gets the region of the resource.
Returns:
regionName
public abstract String regionName()
Gets the name of the resource region.
Returns:
resourceGroupName
public abstract String resourceGroupName()
Gets the name of the resource group.
Returns:
retryEnabled
public abstract Boolean retryEnabled()
Gets the retryEnabled property: Allow for retries should this WebTest fail.
Returns:
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:
tags
public abstract Map
Gets the tags property: Resource tags.
Returns:
timeout
public abstract Integer timeout()
Gets the timeout property: Seconds until this WebTest will timeout and fail. Default value is 30.
Returns:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns:
update
public abstract WebTest.Update update()
Begins update for the WebTest resource.
Returns:
webTestKind
public abstract WebTestKind webTestKind()
Gets the webTestKind property: The kind of web test this is, valid choices are ping and multistep.
Returns:
webTestName
public abstract String webTestName()
Gets the webTestName property: User defined name if this WebTest.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for