Share via


WebTestPropertiesValidationRulesContentValidation Class

Definition

The collection of content validation properties

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

Constructors

WebTestPropertiesValidationRulesContentValidation()

Creates an new WebTestPropertiesValidationRulesContentValidation instance.

Properties

ContentMatch

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

IgnoreCase

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

PassIfTextFound

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of WebTestPropertiesValidationRulesContentValidation.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of WebTestPropertiesValidationRulesContentValidation.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of WebTestPropertiesValidationRulesContentValidation into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to