WebTestInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. applicationinsights. models. WebtestsResource - com.
azure. resourcemanager. applicationinsights. fluent. models. WebTestInner
- com.
- com.
- com.
- com.
public final class WebTestInner
extends WebtestsResource
An Application Insights web test definition.
Constructor Summary
Constructor | Description | |
---|---|---|
WebTestInner() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Web |
configuration()
Get the configuration property: An XML configuration specification for a Web |
String |
description()
Get the description property: Purpose/user defined descriptive test for this Web |
Boolean |
enabled()
Get the enabled property: Is the test actively being monitored. |
Integer |
frequency()
Get the frequency property: Interval in seconds between test runs for this Web |
Web |
kind()
Get the kind property: The kind of web test that this web test watches. |
List<Web |
locations()
Get the locations property: A list of where to physically run the tests from to give global coverage for accessibility of your application. |
String |
provisioningState()
Get the provisioning |
Boolean |
retryEnabled()
Get the retry |
String |
syntheticMonitorId()
Get the synthetic |
Integer |
timeout()
Get the timeout property: Seconds until this Web |
void |
validate()
Validates the instance. |
Web |
webTestKind()
Get the web |
String |
webTestName()
Get the web |
Web |
withConfiguration(WebTestPropertiesConfiguration configuration)
Set the configuration property: An XML configuration specification for a Web |
Web |
withDescription(String description)
Set the description property: Purpose/user defined descriptive test for this Web |
Web |
withEnabled(Boolean enabled)
Set the enabled property: Is the test actively being monitored. |
Web |
withFrequency(Integer frequency)
Set the frequency property: Interval in seconds between test runs for this Web |
Web |
withKind(WebTestKind kind)
Set the kind property: The kind of web test that this web test watches. |
Web |
withLocation(String location) |
Web |
withLocations(List<WebTestGeolocation> locations)
Set the locations property: A list of where to physically run the tests from to give global coverage for accessibility of your application. |
Web |
withRetryEnabled(Boolean retryEnabled)
Set the retry |
Web |
withSyntheticMonitorId(String syntheticMonitorId)
Set the synthetic |
Web |
withTags(Map<String,String> tags) |
Web |
withTimeout(Integer timeout)
Set the timeout property: Seconds until this Web |
Web |
withWebTestKind(WebTestKind webTestKind)
Set the web |
Web |
withWebTestName(String webTestName)
Set the web |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from WebtestsResource
Methods inherited from java.lang.Object
Constructor Details
WebTestInner
public WebTestInner()
Method Details
configuration
public WebTestPropertiesConfiguration configuration()
Get the configuration property: An XML configuration specification for a WebTest.
Returns:
description
public String description()
Get the description property: Purpose/user defined descriptive test for this WebTest.
Returns:
enabled
public Boolean enabled()
Get the enabled property: Is the test actively being monitored.
Returns:
frequency
public Integer frequency()
Get the frequency property: Interval in seconds between test runs for this WebTest. Default value is 300.
Returns:
kind
public WebTestKind kind()
Get the kind property: The kind of web test that this web test watches. Choices are ping and multistep.
Returns:
locations
public List
Get the locations property: A list of where to physically run the tests from to give global coverage for accessibility of your application.
Returns:
provisioningState
public String provisioningState()
Get 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:
retryEnabled
public Boolean retryEnabled()
Get the retryEnabled property: Allow for retries should this WebTest fail.
Returns:
syntheticMonitorId
public String syntheticMonitorId()
Get the syntheticMonitorId property: Unique ID of this WebTest. This is typically the same value as the Name field.
Returns:
timeout
public Integer timeout()
Get the timeout property: Seconds until this WebTest will timeout and fail. Default value is 30.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
WebTestInner.validate()webTestKind
public WebTestKind webTestKind()
Get the webTestKind property: The kind of web test this is, valid choices are ping and multistep.
Returns:
webTestName
public String webTestName()
Get the webTestName property: User defined name if this WebTest.
Returns:
withConfiguration
public WebTestInner withConfiguration(WebTestPropertiesConfiguration configuration)
Set the configuration property: An XML configuration specification for a WebTest.
Parameters:
Returns:
withDescription
public WebTestInner withDescription(String description)
Set the description property: Purpose/user defined descriptive test for this WebTest.
Parameters:
Returns:
withEnabled
public WebTestInner withEnabled(Boolean enabled)
Set the enabled property: Is the test actively being monitored.
Parameters:
Returns:
withFrequency
public WebTestInner withFrequency(Integer frequency)
Set the frequency property: Interval in seconds between test runs for this WebTest. Default value is 300.
Parameters:
Returns:
withKind
public WebTestInner withKind(WebTestKind kind)
Set the kind property: The kind of web test that this web test watches. Choices are ping and multistep.
Parameters:
Returns:
withLocation
public WebTestInner withLocation(String location)
Overrides:
WebTestInner.withLocation(String location)Parameters:
withLocations
public WebTestInner withLocations(List
Set the locations property: A list of where to physically run the tests from to give global coverage for accessibility of your application.
Parameters:
Returns:
withRetryEnabled
public WebTestInner withRetryEnabled(Boolean retryEnabled)
Set the retryEnabled property: Allow for retries should this WebTest fail.
Parameters:
Returns:
withSyntheticMonitorId
public WebTestInner withSyntheticMonitorId(String syntheticMonitorId)
Set the syntheticMonitorId property: Unique ID of this WebTest. This is typically the same value as the Name field.
Parameters:
Returns:
withTags
public WebTestInner withTags(Map
Overrides:
WebTestInner.withTags(Map<String,String> tags)Parameters:
withTimeout
public WebTestInner withTimeout(Integer timeout)
Set the timeout property: Seconds until this WebTest will timeout and fail. Default value is 30.
Parameters:
Returns:
withWebTestKind
public WebTestInner withWebTestKind(WebTestKind webTestKind)
Set the webTestKind property: The kind of web test this is, valid choices are ping and multistep.
Parameters:
Returns:
withWebTestName
public WebTestInner withWebTestName(String webTestName)
Set the webTestName property: User defined name if this WebTest.
Parameters:
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