Share via


DetectorDefinitionResource Class

Definition

ARM resource for a detector definition

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

Constructors

DetectorDefinitionResource()

Creates an new DetectorDefinitionResource 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 DetectorDefinitionResource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DetectorDefinitionResource.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IDetectorDefinitionResource.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DetectorDefinitionResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to