Class: DatadogAPIClient::V2::TagRuleCreateData

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

Overview

Data object for creating a tag rule.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



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

def additional_properties
  @additional_properties
end

#attributes ⇒ Object

Attributes that can be supplied when creating a tag rule. If tag_value_patterns contains *, set required and negated to different values. If both are false, the rule has no effect. If both are true, no value can satisfy the rule.



27
28
29
# File 'lib/datadog_api_client/v2/models/tag_rule_create_data.rb', line 27

def attributes
  @attributes
end

#type ⇒ Object

JSON:API resource type for a tag rule. Requests accept tag_rule or tag_policy; responses use tag_policy.



30
31
32
# File 'lib/datadog_api_client/v2/models/tag_rule_create_data.rb', line 30

def type
  @type
end