HPE Greenlake For Block Storage REST APIs
HPE Greenlake For Block Storage REST APIs (1.0.0)
Download OpenAPI description
Overview
License
Languages
Servers
https://eu1.data.cloud.hpe.com/
https://us1.data.cloud.hpe.com/
https://jp1.data.cloud.hpe.com/
Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/block-storage/public/openapi/block-storage-latest/v1/block-storage-api/
- https://eu1.data.cloud.hpe.com/block-storage/v1/devtype4-storage-systems/{systemId}/host-paths
- https://us1.data.cloud.hpe.com/block-storage/v1/devtype4-storage-systems/{systemId}/host-paths
- https://jp1.data.cloud.hpe.com/block-storage/v1/devtype4-storage-systems/{systemId}/host-paths
- Mock serverhttps://developer.greenlake.hpe.com/_mock/docs/greenlake/services/block-storage/public/openapi/block-storage-latest/v1/block-storage-api/block-storage/v1/devtype4-storage-systems/{systemId}/host-paths
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://eu1.data.cloud.hpe.com/block-storage/v1/devtype4-storage-systems/7CE751P312/host-paths \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Success
Name to be used for display purposes
Example: "Drive 0.SIDE_NONE.2.0"
Subsystem NQN of NVMe/TCP hostpath
Example: "nqn.2020-07.com.hpe:8ee43ce5-8264-4fcf-9990-a894f56386c7"
resourceUri for detailed hostpath object
Example: "/v1/storage-systems/host-paths/dbce79b2612cde02a6e0be8934c330ec"
Response
application/json
{ "count": 0, "offset": 0, "total": 0, "items": [ { … } ] }
- https://eu1.data.cloud.hpe.com/block-storage/v1/devtype4-storage-systems/{systemId}/host-paths/{hostPathId}
- https://us1.data.cloud.hpe.com/block-storage/v1/devtype4-storage-systems/{systemId}/host-paths/{hostPathId}
- https://jp1.data.cloud.hpe.com/block-storage/v1/devtype4-storage-systems/{systemId}/host-paths/{hostPathId}
- Mock serverhttps://developer.greenlake.hpe.com/_mock/docs/greenlake/services/block-storage/public/openapi/block-storage-latest/v1/block-storage-api/block-storage/v1/devtype4-storage-systems/{systemId}/host-paths/{hostPathId}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://eu1.data.cloud.hpe.com/block-storage/v1/devtype4-storage-systems/7CE751P312/host-paths/2a0df0fe6f7dc7bb16000000000000000000004817 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response
application/json
{ "address": "810009440c9ce5824", "associatedLinks": [ { … } ], "commonResourceAttributes": { "cloudState": "CONNECTED", "errCode": "E01", "errMessage": "This storage system is not actively monitored in the cloud portal. Data Services Cloud Console proactively disabled monitoring and management of storage system with serial number {systemId} for sending excessive cloud events or for not responding to requests." }, "displayname": "Drive 0.SIDE_NONE.2.0", "domain": "-", "driverVersion": "v1.0.0", "firmwareVersion": "v1.0.0", "generation": 1652172206, "hostId": 101780, "hostName": "test-host", "hostSpeed": 100, "id": "1223f5s", "ipAddr": "1.1.1.1", "model": "model_1", "nvmeSubsystemNqn": "nqn.2020-07.com.hpe:8ee43ce5-8264-4fcf-9990-a894f56386c7", "pathType": "FC", "portPos": { "node": 1, "port": 1, "slot": 1 }, "resourceUri": "/v1/storage-systems/host-paths/dbce79b2612cde02a6e0be8934c330ec", "scHostInitiatorId": "1223f5s", "switchPortWwn": "5001438026e98a60", "systemUid": "7CE727P35M", "systemWwn": "swK21", "type": "string", "uri": "/api/v3/hostpaths/dbce79b2612cde02a6e0be8934c330ec", "vendor": "-" }