selectedStatisticsList – list of objects containing:
type – object type (System,
ProtectionDomain,
Sds,
StoragePool,
Device,
Volume,
VTree,
Sdc,
FaultSet,
AccelerationPool,
SpSds,
SnapshotPolicy
properties – list of properties to fetch
The following parameters are not relevant to the System type and can be omitted:
ids – list of objects ids
or
allIds – with empty value
Response
The response contains a list of all requested types, the IDs, and properties, according to the request parameters.
The System type does not contain an ID.
Types for which the requested IDs do not exist in the cluster will appear with an empty {}. (See
FaultSet in the example below. )
Any ID (from the IDs parameters in the request) that does not exist in the cluster will not appear in the response. The following will appear in the
scaleio.log file:
Got no statistics for <type>::<id>.
Example
In the following example,
Sds::022beb2300000004 does not exist in the cluster, so it does not appear in the response. Instead, this will appear in the
scaleio.log file:
POST https://localhost:8443/api/instances/querySelectedStatistics