Class: DatadogAPIClient::V2::RuleAttributesRequest
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::RuleAttributesRequest
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/rule_attributes_request.rb
Overview
Attributes for creating or updating a rule. Server-managed fields (created_at, modified_at, custom) are excluded.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#description ⇒ Object
Explanation of the rule.
-
#enabled ⇒ Object
If enabled, the rule is calculated as part of the score.
-
#level ⇒ Object
readonly
The maturity level of the rule (1, 2, or 3).
-
#name ⇒ Object
Name of the rule.
-
#owner ⇒ Object
Owner of the rule.
-
#scope_query ⇒ Object
A query to filter which entities this rule applies to.
-
#scorecard_name ⇒ Object
The scorecard name to which this rule must belong.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
45 46 47 |
# File 'lib/datadog_api_client/v2/models/rule_attributes_request.rb', line 45 def additional_properties @additional_properties end |
#description ⇒ Object
Explanation of the rule.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/rule_attributes_request.rb', line 25 def description @description end |
#enabled ⇒ Object
If enabled, the rule is calculated as part of the score.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/rule_attributes_request.rb', line 28 def enabled @enabled end |
#level ⇒ Object
The maturity level of the rule (1, 2, or 3).
31 32 33 |
# File 'lib/datadog_api_client/v2/models/rule_attributes_request.rb', line 31 def level @level end |
#name ⇒ Object
Name of the rule.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/rule_attributes_request.rb', line 34 def name @name end |
#owner ⇒ Object
Owner of the rule.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/rule_attributes_request.rb', line 37 def owner @owner end |
#scope_query ⇒ Object
A query to filter which entities this rule applies to.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/rule_attributes_request.rb', line 40 def scope_query @scope_query end |
#scorecard_name ⇒ Object
The scorecard name to which this rule must belong.
43 44 45 |
# File 'lib/datadog_api_client/v2/models/rule_attributes_request.rb', line 43 def scorecard_name @scorecard_name end |