Class WebTestProperties
java.lang.Object
com.azure.resourcemanager.applicationinsights.fluent.models.WebTestProperties
Metadata describing a web test for an Azure resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the configuration property: An XML configuration specification for a WebTest.Get the description property: Purpose/user defined descriptive test for this WebTest.enabled()
Get the enabled property: Is the test actively being monitored.Get the frequency property: Interval in seconds between test runs for this WebTest.Get the locations property: A list of where to physically run the tests from to give global coverage for accessibility of your application.Get the provisioningState property: Current state of this component, whether or not is has been provisioned within the resource group it is defined.Get the retryEnabled property: Allow for retries should this WebTest fail.Get the syntheticMonitorId property: Unique ID of this WebTest.timeout()
Get the timeout property: Seconds until this WebTest will timeout and fail.void
validate()
Validates the instance.Get the webTestKind property: The kind of web test this is, valid choices are ping and multistep.Get the webTestName property: User defined name if this WebTest.withConfiguration
(WebTestPropertiesConfiguration configuration) Set the configuration property: An XML configuration specification for a WebTest.withDescription
(String description) Set the description property: Purpose/user defined descriptive test for this WebTest.withEnabled
(Boolean enabled) Set the enabled property: Is the test actively being monitored.withFrequency
(Integer frequency) Set the frequency property: Interval in seconds between test runs for this WebTest.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.withRetryEnabled
(Boolean retryEnabled) Set the retryEnabled property: Allow for retries should this WebTest fail.withSyntheticMonitorId
(String syntheticMonitorId) Set the syntheticMonitorId property: Unique ID of this WebTest.withTimeout
(Integer timeout) Set the timeout property: Seconds until this WebTest will timeout and fail.withWebTestKind
(WebTestKind webTestKind) Set the webTestKind property: The kind of web test this is, valid choices are ping and multistep.withWebTestName
(String webTestName) Set the webTestName property: User defined name if this WebTest.
-
Constructor Details
-
WebTestProperties
public WebTestProperties()
-
-
Method Details
-
syntheticMonitorId
Get the syntheticMonitorId property: Unique ID of this WebTest. This is typically the same value as the Name field.- Returns:
- the syntheticMonitorId value.
-
withSyntheticMonitorId
Set the syntheticMonitorId property: Unique ID of this WebTest. This is typically the same value as the Name field.- Parameters:
syntheticMonitorId
- the syntheticMonitorId value to set.- Returns:
- the WebTestProperties object itself.
-
webTestName
Get the webTestName property: User defined name if this WebTest.- Returns:
- the webTestName value.
-
withWebTestName
Set the webTestName property: User defined name if this WebTest.- Parameters:
webTestName
- the webTestName value to set.- Returns:
- the WebTestProperties object itself.
-
description
Get the description property: Purpose/user defined descriptive test for this WebTest.- Returns:
- the description value.
-
withDescription
Set the description property: Purpose/user defined descriptive test for this WebTest.- Parameters:
description
- the description value to set.- Returns:
- the WebTestProperties object itself.
-
enabled
Get the enabled property: Is the test actively being monitored.- Returns:
- the enabled value.
-
withEnabled
Set the enabled property: Is the test actively being monitored.- Parameters:
enabled
- the enabled value to set.- Returns:
- the WebTestProperties object itself.
-
frequency
Get the frequency property: Interval in seconds between test runs for this WebTest. Default value is 300.- Returns:
- the frequency value.
-
withFrequency
Set the frequency property: Interval in seconds between test runs for this WebTest. Default value is 300.- Parameters:
frequency
- the frequency value to set.- Returns:
- the WebTestProperties object itself.
-
timeout
Get the timeout property: Seconds until this WebTest will timeout and fail. Default value is 30.- Returns:
- the timeout value.
-
withTimeout
Set the timeout property: Seconds until this WebTest will timeout and fail. Default value is 30.- Parameters:
timeout
- the timeout value to set.- Returns:
- the WebTestProperties object itself.
-
webTestKind
Get the webTestKind property: The kind of web test this is, valid choices are ping and multistep.- Returns:
- the webTestKind value.
-
withWebTestKind
Set the webTestKind property: The kind of web test this is, valid choices are ping and multistep.- Parameters:
webTestKind
- the webTestKind value to set.- Returns:
- the WebTestProperties object itself.
-
retryEnabled
Get the retryEnabled property: Allow for retries should this WebTest fail.- Returns:
- the retryEnabled value.
-
withRetryEnabled
Set the retryEnabled property: Allow for retries should this WebTest fail.- Parameters:
retryEnabled
- the retryEnabled value to set.- Returns:
- the WebTestProperties object itself.
-
locations
Get 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.
-
withLocations
Set the locations property: A list of where to physically run the tests from to give global coverage for accessibility of your application.- Parameters:
locations
- the locations value to set.- Returns:
- the WebTestProperties object itself.
-
configuration
Get the configuration property: An XML configuration specification for a WebTest.- Returns:
- the configuration value.
-
withConfiguration
Set the configuration property: An XML configuration specification for a WebTest.- Parameters:
configuration
- the configuration value to set.- Returns:
- the WebTestProperties object itself.
-
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:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-