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

PassFailServerMetric Class

Definition

Pass fail server metric.

public class PassFailServerMetric : System.ClientModel.Primitives.IJsonModel<Azure.Developer.LoadTesting.PassFailServerMetric>, System.ClientModel.Primitives.IPersistableModel<Azure.Developer.LoadTesting.PassFailServerMetric>
type PassFailServerMetric = class
    interface IJsonModel<PassFailServerMetric>
    interface IPersistableModel<PassFailServerMetric>
Public Class PassFailServerMetric
Implements IJsonModel(Of PassFailServerMetric), IPersistableModel(Of PassFailServerMetric)
Inheritance
PassFailServerMetric
Implements

Constructors

PassFailServerMetric(ResourceIdentifier, String, String, String, String, Double)

Initializes a new instance of PassFailServerMetric.

Properties

Action

Action taken after the threshold is met. Default is ‘continue’.

ActualValue

The actual value of the server metric.

Aggregation

Aggregation Type.

Condition

The comparison operator. Supported types ‘>’, ‘<’.

MetricName

The server metric name.

MetricNamespace

The server metric namespace.

ResourceId

The resource id of the resource emitting the metric.

Result

Outcome of the test run.

Value

The value to compare with the server metric.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<PassFailServerMetric>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PassFailServerMetric>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PassFailServerMetric>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PassFailServerMetric>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PassFailServerMetric>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to