Megosztás a következőn keresztül:


WebTestPropertiesValidationRules Class

Definition

The collection of validation rule properties

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

Constructors

WebTestPropertiesValidationRules()

Creates an new WebTestPropertiesValidationRules instance.

Properties

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

ExpectedHttpStatusCode

Validate that the WebTest returns the http status code provided.

IgnoreHttpsStatusCode

When set, validation will ignore the status code.

SslCertRemainingLifetimeCheck

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.

SslCheck

Checks to see if the SSL cert is still valid.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of WebTestPropertiesValidationRules.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of WebTestPropertiesValidationRules.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of WebTestPropertiesValidationRules into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to