Class: DatadogAPIClient::V2::CustomDestinationCreateRequestAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::CustomDestinationCreateRequestAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/custom_destination_create_request_attributes.rb
Overview
The attributes associated with the custom destination.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#enabled ⇒ Object
Whether logs matching this custom destination should be forwarded or not.
-
#forward_tags ⇒ Object
Whether tags from the forwarded logs should be forwarded or not.
-
#forward_tags_restriction_list ⇒ Object
readonly
List of [keys of tags](docs.datadoghq.com/getting_started/tagging/#define-tags) to be filtered.
-
#forward_tags_restriction_list_type ⇒ Object
How ‘forward_tags_restriction_list` parameter should be interpreted.
-
#forwarder_destination ⇒ Object
readonly
A custom destination’s location to forward logs.
-
#name ⇒ Object
readonly
The custom destination name.
-
#query ⇒ Object
The custom destination query and filter.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
52 53 54 |
# File 'lib/datadog_api_client/v2/models/custom_destination_create_request_attributes.rb', line 52 def additional_properties @additional_properties end |
#enabled ⇒ Object
Whether logs matching this custom destination should be forwarded or not.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/custom_destination_create_request_attributes.rb', line 25 def enabled @enabled end |
#forward_tags ⇒ Object
Whether tags from the forwarded logs should be forwarded or not.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/custom_destination_create_request_attributes.rb', line 28 def @forward_tags end |
#forward_tags_restriction_list ⇒ Object
List of [keys of tags](docs.datadoghq.com/getting_started/tagging/#define-tags) to be filtered.
An empty list represents no restriction is in place and either all or no tags will be forwarded depending on ‘forward_tags_restriction_list_type` parameter.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/custom_destination_create_request_attributes.rb', line 34 def @forward_tags_restriction_list end |
#forward_tags_restriction_list_type ⇒ Object
How ‘forward_tags_restriction_list` parameter should be interpreted. If `ALLOW_LIST`, then only tags whose keys on the forwarded logs match the ones on the restriction list are forwarded.
‘BLOCK_LIST` works the opposite way. It does not forward the tags matching the ones on the list.
41 42 43 |
# File 'lib/datadog_api_client/v2/models/custom_destination_create_request_attributes.rb', line 41 def @forward_tags_restriction_list_type end |
#forwarder_destination ⇒ Object
A custom destination’s location to forward logs.
44 45 46 |
# File 'lib/datadog_api_client/v2/models/custom_destination_create_request_attributes.rb', line 44 def forwarder_destination @forwarder_destination end |
#name ⇒ Object
The custom destination name.
47 48 49 |
# File 'lib/datadog_api_client/v2/models/custom_destination_create_request_attributes.rb', line 47 def name @name end |
#query ⇒ Object
The custom destination query and filter. Logs matching this query are forwarded to the destination.
50 51 52 |
# File 'lib/datadog_api_client/v2/models/custom_destination_create_request_attributes.rb', line 50 def query @query end |