Class: DatadogAPIClient::V2::CustomDestinationResponseAttributes

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

Overview

The attributes associated with the custom destination.

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/custom_destination_response_attributes.rb', line 52

def additional_properties
  @additional_properties
end

#enabledObject

Whether logs matching this custom destination should be forwarded or not.



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

def enabled
  @enabled
end

#forward_tagsObject

Whether tags from the forwarded logs should be forwarded or not.



28
29
30
# File 'lib/datadog_api_client/v2/models/custom_destination_response_attributes.rb', line 28

def forward_tags
  @forward_tags
end

#forward_tags_restriction_listObject

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_response_attributes.rb', line 34

def forward_tags_restriction_list
  @forward_tags_restriction_list
end

#forward_tags_restriction_list_typeObject

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_response_attributes.rb', line 41

def forward_tags_restriction_list_type
  @forward_tags_restriction_list_type
end

#forwarder_destinationObject

A custom destination’s location to forward logs.



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

def forwarder_destination
  @forwarder_destination
end

#nameObject

The custom destination name.



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

def name
  @name
end

#queryObject

The custom destination query filter. Logs matching this query are forwarded to the destination.



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

def query
  @query
end