DetectorDefinition Class

Definition

Class representing detector definition Serialized Name: DetectorDefinition

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

Name Description
DetectorDefinition()

Initializes a new instance of DetectorDefinition.

Properties

Name Description
Description

Description of the detector Serialized Name: DetectorDefinition.description

DisplayName

Display name of the detector Serialized Name: DetectorDefinition.displayName

IsEnabled

Flag representing whether detector is enabled or not. Serialized Name: DetectorDefinition.isEnabled

Rank

Detector Rank Serialized Name: DetectorDefinition.rank

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
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