Storage Fleet REST APIs
Storage Fleet REST APIs (1.0.0)
https://eu1.data.cloud.hpe.com/
https://us1.data.cloud.hpe.com/
https://jp1.data.cloud.hpe.com/
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/storage-fleet/public/openapi/storage-fleet-public-v1alpha1/storage-fleet-api/
https://eu1.data.cloud.hpe.com/storage-fleet/v1alpha1/devtype7-storage-systems/{systemId}/switches
https://us1.data.cloud.hpe.com/storage-fleet/v1alpha1/devtype7-storage-systems/{systemId}/switches
https://jp1.data.cloud.hpe.com/storage-fleet/v1alpha1/devtype7-storage-systems/{systemId}/switches
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/storage-fleet/public/openapi/storage-fleet-public-v1alpha1/storage-fleet-api/storage-fleet/v1alpha1/devtype7-storage-systems/{systemId}/switches
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://eu1.data.cloud.hpe.com/storage-fleet/v1alpha1/devtype7-storage-systems/2a0df0fe6f7dc7bb16000000000000000000004817/switches \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Success
Identifier of the Storage system Switch. Filter, Sort
The unique identifier of the Storage system to which the Switch belongs.
The URI of the Storage system to which the Switch belongs.
Customer ID for the Storage system Switch. Filter, Sort
{ "items": [ { … } ], "count": 0, "offset": 0, "total": 0 }
https://eu1.data.cloud.hpe.com/storage-fleet/v1alpha1/devtype7-storage-systems/{systemId}/switches/{switchId}
https://us1.data.cloud.hpe.com/storage-fleet/v1alpha1/devtype7-storage-systems/{systemId}/switches/{switchId}
https://jp1.data.cloud.hpe.com/storage-fleet/v1alpha1/devtype7-storage-systems/{systemId}/switches/{switchId}
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/storage-fleet/public/openapi/storage-fleet-public-v1alpha1/storage-fleet-api/storage-fleet/v1alpha1/devtype7-storage-systems/{systemId}/switches/{switchId}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://eu1.data.cloud.hpe.com/storage-fleet/v1alpha1/devtype7-storage-systems/2a0df0fe6f7dc7bb16000000000000000000004817/switches/2a0df0fe6f7dc7bb16000000000000000000004007 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "customerId": "ab1c23456d78901e23fghijk456lm7no", "generation": 1692945579, "id": "default.switch-0", "partNumber": "AB123C", "serialNumber": "AB1234C5D6", "status": { "macAddress": "00:00:5e:00:53:00", "conditions": [ … ], "fanState": "Ok", "firmwareVersion": "MOCK.1.0", "internalNtpEnabledState": "", "internalNtpServer": "", "lastModifiedTime": "2023-08-24T07:14:33Z", "locatorLedState": "Off", "managementIpAddress": "192.168.1.1", "observedGeneration": 3, "operationalState": "Good", "powerSupplyOneState": "Ok", "powerSupplyZeroState": "Ok", "ready": true, "switchFans": [ … ], "switchId": "sw1", "switchPorts": [ … ], "temperatureState": "Normal", "usage": "internal" }, "systemId": "1AB234CDEF", "apiVersion": "sc.hpe.com/v1", "associatedLinks": [ { … } ], "clusterId": "123abcd4-5e67-890f-g123-4hi5j67kl8m9", "clusterRef": "/api/sc.hpe.com/v1/default/switch/switch-1", "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." }, "kind": "Switch", "numberOfPorts": 32, "resourceUri": "/storage-fleet/v1alpha1/devtype7-storage-systems/4UN042PTDW", "type": "switch" }
https://eu1.data.cloud.hpe.com/storage-fleet/v1alpha1/devtype7-storage-systems/{systemId}/switches/{switchId}
https://us1.data.cloud.hpe.com/storage-fleet/v1alpha1/devtype7-storage-systems/{systemId}/switches/{switchId}
https://jp1.data.cloud.hpe.com/storage-fleet/v1alpha1/devtype7-storage-systems/{systemId}/switches/{switchId}
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/storage-fleet/public/openapi/storage-fleet-public-v1alpha1/storage-fleet-api/storage-fleet/v1alpha1/devtype7-storage-systems/{systemId}/switches/{switchId}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X PUT \
https://eu1.data.cloud.hpe.com/storage-fleet/v1alpha1/devtype7-storage-systems/2a0df0fe6f7dc7bb16000000000000000000004817/switches/2a0df0fe6f7dc7bb16000000000000000000004007 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{}'{ "message": "Successfully submitted", "status": "SUBMITTED", "taskUri": "/rest/vega/v1/tasks/4969a568-6fed-4915-bcd5-e4566a75e00c" }