Dela via


WebTestPropertiesValidationRulesContentValidation Class

Definition

The collection of content validation properties.

public class WebTestPropertiesValidationRulesContentValidation : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ApplicationInsights.Models.WebTestPropertiesValidationRulesContentValidation>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ApplicationInsights.Models.WebTestPropertiesValidationRulesContentValidation>
type WebTestPropertiesValidationRulesContentValidation = class
    interface IJsonModel<WebTestPropertiesValidationRulesContentValidation>
    interface IPersistableModel<WebTestPropertiesValidationRulesContentValidation>
Public Class WebTestPropertiesValidationRulesContentValidation
Implements IJsonModel(Of WebTestPropertiesValidationRulesContentValidation), IPersistableModel(Of WebTestPropertiesValidationRulesContentValidation)
Inheritance
WebTestPropertiesValidationRulesContentValidation
Implements

Constructors

WebTestPropertiesValidationRulesContentValidation()

Initializes a new instance of WebTestPropertiesValidationRulesContentValidation.

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.

Explicit Interface Implementations

IJsonModel<WebTestPropertiesValidationRulesContentValidation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<WebTestPropertiesValidationRulesContentValidation>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<WebTestPropertiesValidationRulesContentValidation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WebTestPropertiesValidationRulesContentValidation>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<WebTestPropertiesValidationRulesContentValidation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to