ArmAppServiceModelFactory.DetectorDefinition Method

Definition

Initializes a new instance of DetectorDefinition.

public static Azure.ResourceManager.AppService.Models.DetectorDefinition DetectorDefinition (string displayName = default, string description = default, double? rank = default, bool? isEnabled = default);
static member DetectorDefinition : string * string * Nullable<double> * Nullable<bool> -> Azure.ResourceManager.AppService.Models.DetectorDefinition
Public Shared Function DetectorDefinition (Optional displayName As String = Nothing, Optional description As String = Nothing, Optional rank As Nullable(Of Double) = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing) As DetectorDefinition

Parameters

displayName
String

Display name of the detector.

description
String

Description of the detector.

rank
Nullable<Double>

Detector Rank.

isEnabled
Nullable<Boolean>

Flag representing whether detector is enabled or not.

Returns

A new DetectorDefinition instance for mocking.

Applies to