Querying Simple Storage Collection Information
Function
This interface is used to query information about the current storage collection resources.
Syntax
Operation type: GET
URL: https://device_ip/redfish/v1/EdgeSystem/SimpleStorages
Request header:
X-Auth-Token: auth_value
Request message body: None
Parameters
Parameter |
Description |
Value |
---|---|---|
device_ip |
IP address for logging in to a device |
An IPv4 or IPv6 address |
auth_value |
Authentication parameter contained in the request |
You can obtain the value from the session created by using /redfish/v1/SessionService/Sessions. |
Usage Guidelines
None
Example
Request:
GET https://10.10.10.10/redfish/v1/Systems/1/SimpleStorages
Request header:
X-Auth-Token: 6599174c38c36838737d9749179e1ee1
Request message body: None
Response:
{
"@odata.context": "/redfish/v1/$metadata#EdgeSystem/Members/SimpleStorages/$entity",
"@odata.id": "/redfish/v1/EdgeSystems/Storages",
"@odata.type": "#StorageCollection.StorageCollection",
"Name": "Storage Collection",
"Members@odata.count": 3,
"Members": [
{
"@odata.id": "/redfish/v1/EdgeSystem/SimpleStorages/1",
"@odata.id": "/redfish/v1/EdgeSystem/SimpleStorages/2"
"@odata.id": "/redfish/v1/EdgeSystem/SimpleStorages/3"
}
]
}
Response code: 200
Output Description
Attribute |
Type |
Description |
---|---|---|
@odata.context |
Character string |
OData description information of a storage resource collection model |
@odata.id |
Character string |
Access path of a storage resource collection |
@odata.type |
Character string |
Type of a storage resource collection |
Name |
Character string |
Name of a storage resource collection |
Members@odata.count |
Numeric value |
Number of current storage resources |
Members[] |
Array |
List of storage controller resources |
Members[]@odata.id |
Character string |
Access path of a single storage controller resource node |