Class UpdateOccMetricAlarmDetails
Fields that can be updated for OccMetricAlarm.
Inherited Members
Namespace: Oci.DemandsignalService.Models
Assembly: OCI.DotNetSDK.Demandsignal.dll
Syntax
public class UpdateOccMetricAlarmDetails
Properties
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace.
For more information, see Resource Tags.
|
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Optional description for the alarm. |
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Human-readable name for the alarm. |
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string> | Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
For more information, see Resource Tags.
|
Frequency
Declaration
[JsonProperty(PropertyName = "frequency")]
[JsonConverter(typeof(StringEnumConverter))]
public OccMetricAlarm.FrequencyEnum? Frequency { get; set; }
Property Value
| Type | Description |
|---|---|
| OccMetricAlarm.FrequencyEnum? | Frequency at which notifications should be sent. |
IsActive
Declaration
[JsonProperty(PropertyName = "isActive")]
public bool? IsActive { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | Alarm active status. |
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(StringEnumConverter))]
public UpdateOccMetricAlarmDetails.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
| Type | Description |
|---|---|
| UpdateOccMetricAlarmDetails.LifecycleStateEnum? | The current lifecycle state of the resource. |
Subscribers
Declaration
[JsonProperty(PropertyName = "subscribers")]
public List<string> Subscribers { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> | List of topic OCIDs for notifications. |
Threshold
Declaration
[JsonProperty(PropertyName = "threshold")]
public int? Threshold { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | Threshold at which alarm must be triggered. |
ThresholdType
Declaration
[JsonProperty(PropertyName = "thresholdType")]
[JsonConverter(typeof(StringEnumConverter))]
public UpdateOccMetricAlarmDetails.ThresholdTypeEnum? ThresholdType { get; set; }
Property Value
| Type | Description |
|---|---|
| UpdateOccMetricAlarmDetails.ThresholdTypeEnum? | Units in which threshold is being stored. |