Skip to main content

MetricAggregation

Properties

NameTypeDescriptionNotes
NameStringThe 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]
TypeMetricType[optional]
FieldStringThe field the calculation is performed on. Prefix the field name with '@' to reference a nested object.[required]

Examples

  • Prepare the resource
$MetricAggregation = Initialize-PSSailpoint.V2024MetricAggregation  -Name Access Name Count `
-Type null `
-Field @access.name
  • Convert the resource to JSON
$MetricAggregation | ConvertTo-JSON

[Back to top]