Partager via


DetectorDefinition Class

Definition

Class representing detector definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.DetectorDefinitionTypeConverter))]
public class DetectorDefinition : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IDetectorDefinition, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.DetectorDefinitionTypeConverter))>]
type DetectorDefinition = class
    interface IDetectorDefinition
    interface IJsonSerializable
    interface IProxyOnlyResource
    interface IValidates
Public Class DetectorDefinition
Implements IDetectorDefinition, IValidates
Inheritance
DetectorDefinition
Attributes
Implements

Constructors

DetectorDefinition()

Creates an new DetectorDefinition instance.

Properties

Description

Description of the detector

DisplayName

Display name of the detector

Id

Resource Id.

IsEnabled

Flag representing whether detector is enabled or not.

Kind

Kind of resource.

Name

Resource Name.

Rank

Detector Rank

Type

Resource type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DetectorDefinition.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DetectorDefinition.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IDetectorDefinition.

FromJsonString(String)

Creates a new instance of DetectorDefinition, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of DetectorDefinition into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to