Class: DatadogAPIClient::V2::TagRuleCreateData
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::TagRuleCreateData
- 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
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#attributes ⇒ Object
readonly
Attributes that can be supplied when creating a tag rule.
-
#type ⇒ Object
readonly
JSON:API resource type for a tag rule.
Method Summary
Methods included from BaseGenericModel
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 |