Partager via


WebTestRequest Class

Definition

The collection of request properties.

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

Constructors

WebTestRequest()

Initializes a new instance of WebTestRequest.

Properties

FollowRedirects

Follow redirects for this web test.

Headers

List of headers and their values to add to the WebTest call.

HttpVerb

Http verb to use for this web test.

ParseDependentRequests

Parse Dependent request for this WebTest.

RequestBody

Base64 encoded string body to send with this web test.

RequestUri

Url location to test.

Explicit Interface Implementations

IJsonModel<WebTestRequest>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<WebTestRequest>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<WebTestRequest>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WebTestRequest>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<WebTestRequest>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to