Language

ThresholdRuleV2 Class

Definition

Threshold-based evaluation rule for a signal definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.ThresholdRuleV2TypeConverter))]
public class ThresholdRuleV2 : Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.IThresholdRuleV2
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.ThresholdRuleV2TypeConverter))>]
type ThresholdRuleV2 = class
    interface IThresholdRuleV2
    interface IJsonSerializable
Public Class ThresholdRuleV2
Implements IThresholdRuleV2
Inheritance
ThresholdRuleV2
Attributes
Implements

Constructors

Name Description
ThresholdRuleV2()

Creates an new ThresholdRuleV2 instance.

Properties

Name Description
Operator

Operator how to compare the signal value with the threshold

Sensitivity

Sensitivity level for dynamic threshold detection. Only applicable when operator is Dynamic.

Threshold

Threshold value

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ThresholdRuleV2.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ThresholdRuleV2.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.IThresholdRuleV2.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ThresholdRuleV2 into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to