Class: DatadogAPIClient::V1::HostMapWidgetDefinitionRequests

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

Overview

Query definition for the host map widget. Supports two mutually exclusive formats distinguished by the presence of request_type: the legacy metric-based format (fill/size) and the infrastructure-backed format (request_type, node_type, enrichments).

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



63
64
65
# File 'lib/datadog_api_client/v1/models/host_map_widget_definition_requests.rb', line 63

def additional_properties
  @additional_properties
end

#childObject

Infrastructure-backed request for the host map widget. Supports entity-based visualization with metric query enrichments, tag-based filtering, flexible grouping, and hierarchical views.



27
28
29
# File 'lib/datadog_api_client/v1/models/host_map_widget_definition_requests.rb', line 27

def child
  @child
end

#conditional_formatsObject

List of conditional formatting rules applied to fill values.



30
31
32
# File 'lib/datadog_api_client/v1/models/host_map_widget_definition_requests.rb', line 30

def conditional_formats
  @conditional_formats
end

#enrichmentsObject

Metric or event queries joined to the entity set. Each formula specifies a visual dimension.



33
34
35
# File 'lib/datadog_api_client/v1/models/host_map_widget_definition_requests.rb', line 33

def enrichments
  @enrichments
end

#fillObject

Updated host map.



36
37
38
# File 'lib/datadog_api_client/v1/models/host_map_widget_definition_requests.rb', line 36

def fill
  @fill
end

#filterObject

Filter string for the entity set in tag format (for example, env:prod).



39
40
41
# File 'lib/datadog_api_client/v1/models/host_map_widget_definition_requests.rb', line 39

def filter
  @filter
end

#group_byObject

Defines how entities are grouped into tiles. The ordering of entries implies the grouping hierarchy.



43
44
45
# File 'lib/datadog_api_client/v1/models/host_map_widget_definition_requests.rb', line 43

def group_by
  @group_by
end

#no_group_hostsObject

Whether to hide entities that have no group assignment.



46
47
48
# File 'lib/datadog_api_client/v1/models/host_map_widget_definition_requests.rb', line 46

def no_group_hosts
  @no_group_hosts
end

#no_metric_hostsObject

Whether to hide entities that have no enrichment data.



49
50
51
# File 'lib/datadog_api_client/v1/models/host_map_widget_definition_requests.rb', line 49

def no_metric_hosts
  @no_metric_hosts
end

#node_typeObject

Which type of infrastructure entity to visualize in the host map.



52
53
54
# File 'lib/datadog_api_client/v1/models/host_map_widget_definition_requests.rb', line 52

def node_type
  @node_type
end

#request_typeObject

Identifies this as an infrastructure-backed host map request.



55
56
57
# File 'lib/datadog_api_client/v1/models/host_map_widget_definition_requests.rb', line 55

def request_type
  @request_type
end

#sizeObject

Updated host map.



58
59
60
# File 'lib/datadog_api_client/v1/models/host_map_widget_definition_requests.rb', line 58

def size
  @size
end

#styleObject

Style configuration for the infrastructure host map.



61
62
63
# File 'lib/datadog_api_client/v1/models/host_map_widget_definition_requests.rb', line 61

def style
  @style
end