Class DefinedAlarmCondition
Defined Alarm Condition.
Inherited Members
Namespace: Oci.StackmonitoringService.Models
Assembly: OCI.DotNetSDK.Stackmonitoring.dll
Syntax
public class DefinedAlarmCondition
Properties
ConditionType
Declaration
[Required(ErrorMessage = "ConditionType is required.")]
[JsonProperty(PropertyName = "conditionType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ConditionType? ConditionType { get; set; }
Property Value
Type | Description |
---|---|
ConditionType? | Type of defined monitoring template. |
Remarks
Required
Conditions
Declaration
[Required(ErrorMessage = "Conditions is required.")]
[JsonProperty(PropertyName = "conditions")]
public List<Condition> Conditions { get; set; }
Property Value
Type | Description |
---|---|
List<Condition> | Monitoring template conditions. |
Remarks
Required
MetricName
Declaration
[Required(ErrorMessage = "MetricName is required.")]
[JsonProperty(PropertyName = "metricName")]
public string MetricName { get; set; }
Property Value
Type | Description |
---|---|
string | The metric name. |
Remarks
Required