Interface WebTest
public interface WebTest
An immutable client-side representation of WebTest.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the WebTest definition.static interface
The WebTest definition stages.static interface
The template for WebTest update.static interface
The WebTest update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the configuration property: An XML configuration specification for a WebTest.Gets the description property: Purpose/user defined descriptive test for this WebTest.enabled()
Gets the enabled property: Is the test actively being monitored.Gets the frequency property: Interval in seconds between test runs for this WebTest.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.applicationinsights.fluent.models.WebTestInner object.kind()
Gets the kind property: The kind of web test that this web test watches.location()
Gets the location property: The geo-location where the resource lives.Gets the locations property: A list of where to physically run the tests from to give global coverage for accessibility of your application.name()
Gets the name property: The name of the resource.Gets the provisioningState property: Current state of this component, whether or not is has been provisioned within the resource group it is defined.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.com.azure.core.management.Region
region()
Gets the region of the resource.Gets the name of the resource region.Gets the name of the resource group.Gets the retryEnabled property: Allow for retries should this WebTest fail.Gets the syntheticMonitorId property: Unique ID of this WebTest.tags()
Gets the tags property: Resource tags.timeout()
Gets the timeout property: Seconds until this WebTest will timeout and fail.type()
Gets the type property: The type of the resource.update()
Begins update for the WebTest resource.Gets the webTestKind property: The kind of web test this is, valid choices are ping and multistep.Gets the webTestName property: User defined name if this WebTest.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
location
String location()Gets the location property: The geo-location where the resource lives.- Returns:
- the location value.
-
tags
Gets the tags property: Resource tags.- Returns:
- the tags value.
-
kind
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.
-
syntheticMonitorId
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.
-
webTestName
String webTestName()Gets the webTestName property: User defined name if this WebTest.- Returns:
- the webTestName value.
-
description
String description()Gets the description property: Purpose/user defined descriptive test for this WebTest.- Returns:
- the description value.
-
enabled
Boolean enabled()Gets the enabled property: Is the test actively being monitored.- Returns:
- the enabled value.
-
frequency
Integer frequency()Gets the frequency property: Interval in seconds between test runs for this WebTest. Default value is 300.- Returns:
- the frequency value.
-
timeout
Integer timeout()Gets the timeout property: Seconds until this WebTest will timeout and fail. Default value is 30.- Returns:
- the timeout value.
-
webTestKind
WebTestKind webTestKind()Gets the webTestKind property: The kind of web test this is, valid choices are ping and multistep.- Returns:
- the webTestKind value.
-
retryEnabled
Boolean retryEnabled()Gets the retryEnabled property: Allow for retries should this WebTest fail.- Returns:
- the retryEnabled value.
-
locations
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.- Returns:
- the locations value.
-
configuration
WebTestPropertiesConfiguration configuration()Gets the configuration property: An XML configuration specification for a WebTest.- Returns:
- the configuration value.
-
provisioningState
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.
-
region
com.azure.core.management.Region region()Gets the region of the resource.- Returns:
- the region of the resource.
-
regionName
String regionName()Gets the name of the resource region.- Returns:
- the name of the resource region.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
WebTestInner innerModel()Gets the inner com.azure.resourcemanager.applicationinsights.fluent.models.WebTestInner object.- Returns:
- the inner object.
-
update
WebTest.Update update()Begins update for the WebTest resource.- Returns:
- the stage of resource update.
-
refresh
WebTest refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-