Share via


ConnectionMonitorHttpConfiguration Class

Definition

Describes the HTTP configuration.

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

Constructors

ConnectionMonitorHttpConfiguration()

Initializes a new instance of ConnectionMonitorHttpConfiguration.

Properties

Method

The HTTP method to use.

Path

The path component of the URI. For instance, "/dir1/dir2".

Port

The port to connect to.

PreferHttps

Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit.

RequestHeaders

The HTTP headers to transmit with the request.

ValidStatusCodeRanges

HTTP status codes to consider successful. For instance, "2xx,301-304,418".

Explicit Interface Implementations

IJsonModel<ConnectionMonitorHttpConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ConnectionMonitorHttpConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ConnectionMonitorHttpConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ConnectionMonitorHttpConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ConnectionMonitorHttpConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to