Class AlarmSuppressionSummary
A summary of properties for the specified alarm suppression.
Inherited Members
Namespace: Oci.MonitoringService.Models
Assembly: OCI.DotNetSDK.Monitoring.dll
Syntax
public class AlarmSuppressionSummary
Properties
AlarmSuppressionTarget
Declaration
[Required(ErrorMessage = "AlarmSuppressionTarget is required.")]
[JsonProperty(PropertyName = "alarmSuppressionTarget")]
public AlarmSuppressionTarget AlarmSuppressionTarget { get; set; }
Property Value
Type | Description |
---|---|
AlarmSuppressionTarget |
Remarks
Required
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment containing the alarm suppression. |
Remarks
Required
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. Example: {"foo-namespace": {"bar-key": "value"}} |
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | Human-readable reason for this alarm suppression.
It does not have to be unique, and it's changeable.
Avoid entering confidential information.
|
Dimensions
Declaration
[JsonProperty(PropertyName = "dimensions")]
public Dictionary<string, string> Dimensions { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Configured dimension filter for suppressing alarm state entries that include the set of specified dimension key-value pairs.
|
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | A user-friendly name for the alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information. |
Remarks
Required
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"} |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the alarm suppression. |
Remarks
Required
Level
Declaration
[Required(ErrorMessage = "Level is required.")]
[JsonProperty(PropertyName = "level")]
[JsonConverter(typeof(StringEnumConverter))]
public AlarmSuppression.LevelEnum? Level { get; set; }
Property Value
Type | Description |
---|---|
AlarmSuppression.LevelEnum? | The level of this alarm suppression.
|
Remarks
Required
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(StringEnumConverter))]
public AlarmSuppression.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
AlarmSuppression.LifecycleStateEnum? | The current lifecycle state of the alarm suppression.
|
Remarks
Required
SuppressionConditions
Declaration
[JsonProperty(PropertyName = "suppressionConditions")]
public List<SuppressionCondition> SuppressionConditions { get; set; }
Property Value
Type | Description |
---|---|
List<SuppressionCondition> | Array of all preconditions for alarm suppression. Example: [{ conditionType: "RECURRENCE", suppressionRecurrence: "FRQ=DAILY;BYHOUR=10", suppressionDuration: "PT1H"}] |
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the alarm suppression was created. Format defined by RFC3339.
|
Remarks
Required
TimeSuppressFrom
Declaration
[Required(ErrorMessage = "TimeSuppressFrom is required.")]
[JsonProperty(PropertyName = "timeSuppressFrom")]
public DateTime? TimeSuppressFrom { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The start date and time for the suppression to take place, inclusive. Format defined by RFC3339.
|
Remarks
Required
TimeSuppressUntil
Declaration
[Required(ErrorMessage = "TimeSuppressUntil is required.")]
[JsonProperty(PropertyName = "timeSuppressUntil")]
public DateTime? TimeSuppressUntil { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The end date and time for the suppression to take place, inclusive. Format defined by RFC3339.
|
Remarks
Required
TimeUpdated
Declaration
[Required(ErrorMessage = "TimeUpdated is required.")]
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the alarm suppression was last updated (deleted). Format defined by RFC3339.
|
Remarks
Required