Skip to content

Get-PureOneMetric cannot retrieve metrics for an array when specifying the array by id #58

@eugenevz-absa

Description

@eugenevz-absa

Line 2004 in PureStorage.Pure1.psm in function Get-PureOneMetric needs to change to:
$objectQuery = $objectQuery + "resource_ids=`'$($objectId)`'"

from:
$objectQuery = $objectQuery + "ids=`'$($objectId)`'"

The names attributes contains the metric names, ids would contain the metric id as retrieved by Get-PureOneMetricDetail.

The attribute name must be resource_ids to allow metric retrieval using the array id.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions