PassFailServerMetric 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.
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. |