Share via


IWebTestProperties Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20220615.WebTestPropertiesTypeConverter))]
public interface IWebTestProperties : Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20220615.WebTestPropertiesTypeConverter))>]
type IWebTestProperties = interface
    interface IJsonSerializable
Public Interface IWebTestProperties
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

ConfigurationWebTest

The XML specification of a WebTest to run against an application.

ContentValidationContentMatch

Content to look for in the return of the WebTest. Must not be null or empty.

ContentValidationIgnoreCase

When set, this value makes the ContentMatch validation case insensitive.

ContentValidationPassIfTextFound

When true, validation will pass if there is a match for the ContentMatch string. If false, validation will fail if there is a match

Description

User defined description for this WebTest.

Enabled

Is the test actively being monitored.

Frequency

Interval in seconds between test runs for this WebTest. Default value is 300.

Location

A list of where to physically run the tests from to give global coverage for accessibility of your application.

ProvisioningState

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.

RequestBody

Base64 encoded string body to send with this web test.

RequestFollowRedirect

Follow redirects for this web test.

RequestHeader

List of headers and their values to add to the WebTest call.

RequestHttpVerb

Http verb to use for this web test.

RequestParseDependentRequest

Parse Dependent request for this WebTest.

RequestUrl

Url location to test.

RetryEnabled

Allow for retries should this WebTest fail.

SyntheticMonitorId

Unique ID of this WebTest. This is typically the same value as the Name field.

Timeout

Seconds until this WebTest will timeout and fail. Default value is 30.

ValidationRuleExpectedHttpStatusCode

Validate that the WebTest returns the http status code provided.

ValidationRuleIgnoreHttpsStatusCode

When set, validation will ignore the status code.

ValidationRuleSslCertRemainingLifetimeCheck

A number of days to check still remain before the the existing SSL cert expires. Value must be positive and the SSLCheck must be set to true.

ValidationRuleSslCheck

Checks to see if the SSL cert is still valid.

WebTestKind

The kind of web test this is, valid choices are ping, multistep, and standard.

WebTestName

User defined name if this WebTest.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to