Class: DatadogAPIClient::V2::RuleAttributesRequest

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

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

#descriptionObject

Explanation of the rule.



25
26
27
# File 'lib/datadog_api_client/v2/models/rule_attributes_request.rb', line 25

def description
  @description
end

#enabledObject

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

#levelObject

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

#nameObject

Name of the rule.



34
35
36
# File 'lib/datadog_api_client/v2/models/rule_attributes_request.rb', line 34

def name
  @name
end

#ownerObject

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_queryObject

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_nameObject

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