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 WebTest definition.
Constructor Summary
Constructor | Description |
---|---|
WebTestInner() |
Creates an instance of Web |
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: User defined description 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 |
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 |
Web |
request()
Get the request property: The collection of request properties. |
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 |
validationRules()
Get the validation |
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: User defined description 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 |
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 |
withRequest(WebTestPropertiesRequest request)
Set the request property: The collection of request properties. |
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 |
withValidationRules(WebTestPropertiesValidationRules validationRules)
Set the validation |
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()
Creates an instance of WebTestInner class.
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: User defined description 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 WebTest that this web test watches. Choices are ping, multistep and standard.
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:
request
public WebTestPropertiesRequest request()
Get the request property: The collection of request properties.
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()validationRules
public WebTestPropertiesValidationRules validationRules()
Get the validationRules property: The collection of validation rule properties.
Returns:
webTestKind
public WebTestKind webTestKind()
Get the webTestKind property: The kind of web test this is, valid choices are ping, multistep and standard.
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: User defined description 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 WebTest that this web test watches. Choices are ping, multistep and standard.
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:
withRequest
public WebTestInner withRequest(WebTestPropertiesRequest request)
Set the request property: The collection of request properties.
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:
withValidationRules
public WebTestInner withValidationRules(WebTestPropertiesValidationRules validationRules)
Set the validationRules property: The collection of validation rule properties.
Parameters:
Returns:
withWebTestKind
public WebTestInner withWebTestKind(WebTestKind webTestKind)
Set the webTestKind property: The kind of web test this is, valid choices are ping, multistep and standard.
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