WebTestValidationRules Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET