Class AlarmHistoryCollection
The configuration details for retrieving alarm history.
Inherited Members
Namespace: Oci.MonitoringService.Models
Assembly: OCI.DotNetSDK.Monitoring.dll
Syntax
public class AlarmHistoryCollection
Properties
AlarmId
Declaration
[Required(ErrorMessage = "AlarmId is required.")]
[JsonProperty(PropertyName = "alarmId")]
public string AlarmId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the alarm to retrieve history for. |
Remarks
Required
Entries
Declaration
[Required(ErrorMessage = "Entries is required.")]
[JsonProperty(PropertyName = "entries")]
public List<AlarmHistoryEntry> Entries { get; set; }
Property Value
Type | Description |
---|---|
List<AlarmHistoryEntry> | The set of history entries retrieved for the alarm. |
Remarks
Required
IsEnabled
Declaration
[Required(ErrorMessage = "IsEnabled is required.")]
[JsonProperty(PropertyName = "isEnabled")]
public bool? IsEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? | Whether the alarm is enabled.
|
Remarks
Required