你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

WebTestValidationRules Class

Definition

The collection of validation rule properties.

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

Constructors

WebTestValidationRules()

Initializes a new instance of WebTestValidationRules.

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<WebTestValidationRules>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<WebTestValidationRules>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<WebTestValidationRules>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WebTestValidationRules>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<WebTestValidationRules>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to