Class: DatadogAPIClient::V2::MuteRuleAttributesCreate
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::MuteRuleAttributesCreate
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/mute_rule_attributes_create.rb
Overview
Attributes for creating or updating a mute rule.
Instance Attribute Summary collapse
-
#action ⇒ Object
readonly
The action to take when the mute rule matches a finding.
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#enabled ⇒ Object
Whether the mute rule is enabled.
-
#name ⇒ Object
readonly
The name of the mute rule.
-
#rule ⇒ Object
readonly
Defines the scope of findings to which the automation rule applies.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#action ⇒ Object
The action to take when the mute rule matches a finding.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/mute_rule_attributes_create.rb', line 25 def action @action end |
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
36 37 38 |
# File 'lib/datadog_api_client/v2/models/mute_rule_attributes_create.rb', line 36 def additional_properties @additional_properties end |
#enabled ⇒ Object
Whether the mute rule is enabled.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/mute_rule_attributes_create.rb', line 28 def enabled @enabled end |
#name ⇒ Object
The name of the mute rule.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/mute_rule_attributes_create.rb', line 31 def name @name end |
#rule ⇒ Object
Defines the scope of findings to which the automation rule applies.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/mute_rule_attributes_create.rb', line 34 def rule @rule end |