Files
developer.sailpoint.com/docs/tools/sdk/powershell/Reference/V2024/Models/AggregationResult.md
2025-05-07 14:37:48 +00:00

1.7 KiB

id, title, pagination_label, sidebar_label, sidebar_class_name, keywords, slug, tags
id title pagination_label sidebar_label sidebar_class_name keywords slug tags
v2024-aggregation-result AggregationResult AggregationResult AggregationResult powershellsdk
powershell
PowerShell
sdk
AggregationResult
V2024AggregationResult
/tools/sdk/powershell/v2024/models/aggregation-result
SDK
Software Development Kit
AggregationResult
V2024AggregationResult

AggregationResult

Properties

Name Type Description Notes
Aggregations [SystemCollectionsHashtable]https://learn.microsoft.com/en-us/dotnet/api/system.collections.hashtable?view=net-9.0 The document containing the results of the aggregation. This document is controlled by Elasticsearch and depends on the type of aggregation query that is run. See Elasticsearch Aggregations documentation for information. [optional]
Hits [[]SystemCollectionsHashtable]https://learn.microsoft.com/en-us/dotnet/api/system.collections.hashtable?view=net-9.0 The results of the aggregation search query. [optional]

Examples

  • Prepare the resource
$AggregationResult = Initialize-V2024AggregationResult  -Aggregations {Identity Locations={buckets=[{key=Austin, doc_count=109}, {key=London, doc_count=64}, {key=San Jose, doc_count=27}, {key=Brussels, doc_count=26}, {key=Sao Paulo, doc_count=24}, {key=Munich, doc_count=23}, {key=Singapore, doc_count=22}, {key=Tokyo, doc_count=20}, {key=Taipei, doc_count=16}]}} `
 -Hits null
  • Convert the resource to JSON
$AggregationResult | ConvertTo-JSON

[Back to top]