Interface WebTest
-
public interface WebTest
An immutable client-side representation of WebTest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
WebTest.Definition
The entirety of the WebTest definition.static interface
WebTest.DefinitionStages
The WebTest definition stages.static interface
WebTest.Update
The template for WebTest update.static interface
WebTest.UpdateStages
The WebTest update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WebTestPropertiesConfiguration
configuration()
Gets the configuration property: An XML configuration specification for a WebTest.String
description()
Gets the description property: Purpose/user defined descriptive test for this WebTest.Boolean
enabled()
Gets the enabled property: Is the test actively being monitored.Integer
frequency()
Gets the frequency property: Interval in seconds between test runs for this WebTest.String
id()
Gets the id property: Fully qualified resource Id for the resource.WebTestInner
innerModel()
Gets the inner com.azure.resourcemanager.applicationinsights.fluent.models.WebTestInner object.WebTestKind
kind()
Gets the kind property: The kind of web test that this web test watches.String
location()
Gets the location property: The geo-location where the resource lives.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.String
name()
Gets the name property: The name of the resource.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.WebTest
refresh()
Refreshes the resource to sync with Azure.WebTest
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.String
regionName()
Gets the name of the resource region.Boolean
retryEnabled()
Gets the retryEnabled property: Allow for retries should this WebTest fail.String
syntheticMonitorId()
Gets the syntheticMonitorId property: Unique ID of this WebTest.Map<String,String>
tags()
Gets the tags property: Resource tags.Integer
timeout()
Gets the timeout property: Seconds until this WebTest will timeout and fail.String
type()
Gets the type property: The type of the resource.WebTest.Update
update()
Begins update for the WebTest resource.WebTestKind
webTestKind()
Gets the webTestKind property: The kind of web test this is, valid choices are ping and multistep.String
webTestName()
Gets the webTestName property: User defined name if this WebTest.
-
-
-
Method Detail
-
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.
-
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.
-
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
WebTest refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
-