QuestionQ32

VerifiedOperations

A co-worker uses Cisco Intersight to identify the maximum available memory for each server in the company data center. Complete the Cisco Intersight API call that returns the required results. Not every option is used.

Drag & Drop
GET /api/v1/compute/RackUnits?$apply=groupby((), aggregate(AvailableMemory with ))
Explanation

The OData $apply expression groups RackUnit records by Model and calculates the maximum AvailableMemory in each group. The aggregate clause uses the required with max as form to name the computed result MaxAvailableMemory.

Community Discussion

No comments yet. Be the first to start the discussion!