thousandeyes-sdk-python/dashboards/docs/ApiGeoMapWidget.md

3.3 KiB

ApiGeoMapWidget

Displays data on a geographic map, highlighting information across different regions.

Properties

Name Type Description Notes
id str Identifier of the widget. [optional] [readonly]
title str Title of the widget [optional]
visual_mode VisualMode [optional]
embed_url str When `isEmbedded` is set to `true`, an `embedUrl` is provided. [optional] [readonly]
is_embedded bool Set to `true` if widget is marked as embedded; otherwise, set to `false`. [optional]
metric_group MetricGroup [optional]
direction DashboardMetricDirection [optional]
metric DashboardMetric [optional]
filters Dict[str, List[object]] (Optional) Specifies the filters applied to the widget. When present, the `filters` property displays. Each filter object has two properties: `filterProperty` and `filterValue`. The `filterProperty` can be values like `AGENT`, `ENDPOINT_MACHINE_ID`, `TEST`, `MONITOR`, etc. The `filterValue` represents an identifier array of the selected property. [optional]
measure ApiWidgetMeasure [optional]
fixed_timespan ApiDuration [optional]
api_link str [optional] [readonly]
should_exclude_alert_suppression_windows bool Excludes alert suppression window data if set to `true`. [optional]
links SelfLinksLinks [optional]
min_scale float Minimum scale configured in the widget. [optional]
max_scale float Maximum scale configured in the widget. [optional]
unit ApiWidgetFixedYScalePrefix [optional]
type str Map widget type.
group_by ApiAggregateProperty [optional]
is_geo_map_per_test bool Indicates whether a separate map is displayed for each test within the widget. When set to true, individual maps are generated. [optional]
sort_by LegacyWidgetSortProperty [optional]
sort_direction LegacyWidgetSortDirection [optional]
data_source GeoMapDatasource [optional]

Example

from dashboards.models.api_geo_map_widget import ApiGeoMapWidget

# TODO update the JSON string below
json = "{}"
# create an instance of ApiGeoMapWidget from a JSON string
api_geo_map_widget_instance = ApiGeoMapWidget.from_json(json)
# print the JSON string representation of the object
print(ApiGeoMapWidget.to_json())

# convert the object into a dict
api_geo_map_widget_dict = api_geo_map_widget_instance.to_dict()
# create an instance of ApiGeoMapWidget from a dict
api_geo_map_widget_from_dict = ApiGeoMapWidget.from_dict(api_geo_map_widget_dict)

[Back to Model list] [Back to API list] [Back to README]