aggregationOption resource type

Namespace: microsoft.graph

Specifies which aggregations should be returned alongside the search results.


Property Type Description
bucketDefinition bucketAggregationDefinition Specifies the criteria to compute an aggregation. Optional.
field String Computes aggregation on the field while the field exists in current entity type. Required.
size Int32 The number of searchBucket resources to be returned. This is not required when the range is provided manually in the search request. Optional.

JSON representation

The following is a JSON representation of the resource.

  "bucketDefinition": {"@odata.type": "microsoft.graph.bucketAggregationDefinition"},
  "field": "String",
  "size": 1024