Udostępnij za pośrednictwem


WebTestContentValidation Class

Definition

The collection of content validation properties.

public class WebTestContentValidation : Azure.Provisioning.Primitives.ProvisioningConstruct
type WebTestContentValidation = class
    inherit ProvisioningConstruct
Public Class WebTestContentValidation
Inherits ProvisioningConstruct
Inheritance
WebTestContentValidation

Constructors

WebTestContentValidation()

Creates a new WebTestContentValidation.

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

Compile()

Compile the resource into a set of Bicep statements.

(Inherited from ProvisioningConstruct)
GetResources()

Get any resources represented by this object. This will typically only be the object itself for everything but Infrastructure.

(Inherited from Provisionable)
OverrideWithExpression(Expression)

Set this construct to represent the result of an expression. This is primarily meant to be called via FromExpression static methods on specific resources or constructs.

(Inherited from ProvisioningConstruct)
Resolve(ProvisioningContext)

Resolve any resources or properties that were not explicitly specified.

(Inherited from ProvisioningConstruct)
Validate(ProvisioningContext)

Validate the presence of any required members.

(Inherited from ProvisioningConstruct)

Applies to