Freigeben über


WebTestProperties Class

Definition

Metadata describing a web test for an Azure resource.

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

Constructors

WebTestProperties()

Creates an new WebTestProperties instance.

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

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of WebTestProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of WebTestProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ApplicationInsights.Models.Api20220615.IWebTestProperties.

FromJsonString(String)

Creates a new instance of WebTestProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of WebTestProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to