Information about the Storage Groups managed by the HMC can be optionally included in the
inventory data provided by the Inventory Service.
Inventory entries for storage group objects are included in the response to the Inventory
Service's Get Inventory operation when the request specifies (explicitly by
class, implicitly through a containing category, or by default) that objects of class "storage-group"
are to be included. Information for a particular storage group is included only if the API user has
object-access permission to that object.
For each storage group to be included, the inventory response array includes the following:
An array entry for the storage group object itself. This entry is a JSON object with the same
contents as is specified in the Response body contents section for Get Storage Group Properties.
That is, the data provided is the same as would be provided if a Get Storage Group
Properties operation were requested targeting this object.
An array entry for each storage volume element associated with the storage group. For each such
storage volume, an entry is included that is a JSON object with the same contents as is specified in
the Response body contents section for Get Storage Volume Properties.
An array entry for each virtual storage resource element associated with the storage group. For
each such virtual storage resource, an entry is included that is a JSON object with the same
contents as is specified in the Response body contents section for Get Virtual Storage Resource Properties.
Sample inventory data
The following fragment is an example of the JSON objects that would be included in the
Get Inventory response to describe a storage group. These objects would appear as
multiple array entries in the response array: