Aracılığıyla paylaş


ArmAppServiceModelFactory.DetectorInfo Method

Definition

Initializes a new instance of DetectorInfo.

public static Azure.ResourceManager.AppService.Models.DetectorInfo DetectorInfo (string id = default, string name = default, string description = default, string author = default, string category = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.DetectorSupportTopic> supportTopicList = default, System.Collections.Generic.IEnumerable<string> analysisType = default, Azure.ResourceManager.AppService.Models.DetectorType? detectorType = default, float? score = default);
static member DetectorInfo : string * string * string * string * string * seq<Azure.ResourceManager.AppService.Models.DetectorSupportTopic> * seq<string> * Nullable<Azure.ResourceManager.AppService.Models.DetectorType> * Nullable<single> -> Azure.ResourceManager.AppService.Models.DetectorInfo
Public Shared Function DetectorInfo (Optional id As String = Nothing, Optional name As String = Nothing, Optional description As String = Nothing, Optional author As String = Nothing, Optional category As String = Nothing, Optional supportTopicList As IEnumerable(Of DetectorSupportTopic) = Nothing, Optional analysisType As IEnumerable(Of String) = Nothing, Optional detectorType As Nullable(Of DetectorType) = Nothing, Optional score As Nullable(Of Single) = Nothing) As DetectorInfo

Parameters

id
String

Id of detector.

name
String

Name of detector.

description
String

Short description of the detector and its purpose.

author
String

Author of the detector.

category
String

Problem category. This serves for organizing group for detectors.

supportTopicList
IEnumerable<DetectorSupportTopic>

List of Support Topics for which this detector is enabled.

analysisType
IEnumerable<String>

Analysis Types for which this detector should apply to.

detectorType
Nullable<DetectorType>

Whether this detector is an Analysis Detector or not.

score
Nullable<Single>

Defines score of a detector to power ML based matching.

Returns

A new DetectorInfo instance for mocking.

Applies to