Sdílet prostřednictvím


DetectorDefinition Class

Definition

Class representing detector definition.

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

Constructors

DetectorDefinition()

Initializes a new instance of DetectorDefinition.

Properties

Description

Description of the detector.

DisplayName

Display name of the detector.

IsEnabled

Flag representing whether detector is enabled or not.

Rank

Detector Rank.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DetectorDefinition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DetectorDefinition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DetectorDefinition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DetectorDefinition>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DetectorDefinition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to