Share via


WebTestPropertiesValidationRules Class

Definition

The collection of validation rule properties.

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

Constructors

WebTestPropertiesValidationRules()

Initializes a new instance of WebTestPropertiesValidationRules.

Properties

CheckSsl

Checks to see if the SSL cert is still valid.

ContentValidation

The collection of content validation properties.

ExpectedHttpStatusCode

Validate that the WebTest returns the http status code provided.

IgnoreHttpStatusCode

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.

Explicit Interface Implementations

IJsonModel<WebTestPropertiesValidationRules>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<WebTestPropertiesValidationRules>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<WebTestPropertiesValidationRules>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WebTestPropertiesValidationRules>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<WebTestPropertiesValidationRules>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to