adding powershell sdk docs back

This commit is contained in:
darrell-thobe-sp
2025-01-28 13:29:29 -05:00
parent 248e4afe6b
commit c69a78b807
2822 changed files with 201703 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
---
id: metric-aggregation
title: MetricAggregation
pagination_label: MetricAggregation
sidebar_label: MetricAggregation
sidebar_class_name: powershellsdk
keywords: ['powershell', 'PowerShell', 'sdk', 'MetricAggregation', 'MetricAggregation']
slug: /tools/sdk/powershell/v3/models/metric-aggregation
tags: ['SDK', 'Software Development Kit', 'MetricAggregation', 'MetricAggregation']
---
# MetricAggregation
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Name** | **String** | The name of the metric aggregate to be included in the result. If the metric aggregation is omitted, the resulting aggregation will be a count of the documents in the search results. | [required]
**Type** | Pointer to [**MetricType**](metric-type) | | [optional]
**Field** | **String** | The field the calculation is performed on. Prefix the field name with '@' to reference a nested object. | [required]
## Examples
- Prepare the resource
```powershell
$MetricAggregation = Initialize-PSSailpoint.V3MetricAggregation -Name Access Name Count `
-Type null `
-Field @access.name
```
- Convert the resource to JSON
```powershell
$MetricAggregation | ConvertTo-JSON
```
[[Back to top]](#)