Class: DatadogAPIClient::V2::CloudConfigurationRuleCreatePayload

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/cloud_configuration_rule_create_payload.rb

Overview

Create a new cloud configuration rule.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



52
53
54
# File 'lib/datadog_api_client/v2/models/cloud_configuration_rule_create_payload.rb', line 52

def additional_properties
  @additional_properties
end

#casesObject

Description of generated findings and signals (severity and channels to be notified in case of a signal). Must contain exactly one item.



26
27
28
# File 'lib/datadog_api_client/v2/models/cloud_configuration_rule_create_payload.rb', line 26

def cases
  @cases
end

#compliance_signal_optionsObject

How to generate compliance signals. Useful for cloud_configuration rules only.



29
30
31
# File 'lib/datadog_api_client/v2/models/cloud_configuration_rule_create_payload.rb', line 29

def compliance_signal_options
  @compliance_signal_options
end

#filtersObject

Additional queries to filter matched events before they are processed.



32
33
34
# File 'lib/datadog_api_client/v2/models/cloud_configuration_rule_create_payload.rb', line 32

def filters
  @filters
end

#is_enabledObject

Whether the rule is enabled.



35
36
37
# File 'lib/datadog_api_client/v2/models/cloud_configuration_rule_create_payload.rb', line 35

def is_enabled
  @is_enabled
end

#messageObject

Message in markdown format for generated findings and signals.



38
39
40
# File 'lib/datadog_api_client/v2/models/cloud_configuration_rule_create_payload.rb', line 38

def message
  @message
end

#nameObject

The name of the rule.



41
42
43
# File 'lib/datadog_api_client/v2/models/cloud_configuration_rule_create_payload.rb', line 41

def name
  @name
end

#optionsObject

Options on cloud configuration rules.



44
45
46
# File 'lib/datadog_api_client/v2/models/cloud_configuration_rule_create_payload.rb', line 44

def options
  @options
end

#tagsObject

Tags for generated findings and signals.



47
48
49
# File 'lib/datadog_api_client/v2/models/cloud_configuration_rule_create_payload.rb', line 47

def tags
  @tags
end

#typeObject

The rule type.



50
51
52
# File 'lib/datadog_api_client/v2/models/cloud_configuration_rule_create_payload.rb', line 50

def type
  @type
end