Condividi tramite


ConnectionMonitorSuccessThreshold Class

Definition

Describes the threshold for declaring a test successful.

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

Constructors

ConnectionMonitorSuccessThreshold()

Initializes a new instance of ConnectionMonitorSuccessThreshold.

Properties

ChecksFailedPercent

The maximum percentage of failed checks permitted for a test to evaluate as successful.

RoundTripTimeMs

The maximum round-trip time in milliseconds permitted for a test to evaluate as successful.

Explicit Interface Implementations

IJsonModel<ConnectionMonitorSuccessThreshold>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ConnectionMonitorSuccessThreshold>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ConnectionMonitorSuccessThreshold>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ConnectionMonitorSuccessThreshold>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ConnectionMonitorSuccessThreshold>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to