BenchmarkReference 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.
Provides a compatibility shim for the BenchmarkReference class.
public class BenchmarkReference
public class BenchmarkReference : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.SecurityCenter.Models.BenchmarkReference>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.SecurityCenter.Models.BenchmarkReference>
type BenchmarkReference = class
type BenchmarkReference = class
interface IJsonModel<BenchmarkReference>
interface IPersistableModel<BenchmarkReference>
Public Class BenchmarkReference
Public Class BenchmarkReference
Implements IJsonModel(Of BenchmarkReference), IPersistableModel(Of BenchmarkReference)
- Inheritance
-
BenchmarkReference
- Implements
Constructors
| Name | Description |
|---|---|
| BenchmarkReference() |
Initializes a new instance of the BenchmarkReference type for compatibility with the previous public API surface. |
Properties
| Name | Description |
|---|---|
| Benchmark |
Gets or sets the Benchmark value preserved from the previous public API surface. |
| Reference |
Gets or sets the Reference value preserved from the previous public API surface. |
Methods
Explicit Interface Implementations
| Name | Description |
|---|---|
| IJsonModel<BenchmarkReference>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
| IJsonModel<BenchmarkReference>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
| IPersistableModel<BenchmarkReference>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
| IPersistableModel<BenchmarkReference>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
| IPersistableModel<BenchmarkReference>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |