HPE Greenlake For Block Storage REST APIs
- Update Host by {hostId}
HPE Greenlake For Block Storage REST APIs. (1.1.0)
- https://eu1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/{hostId}
- https://us1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/{hostId}
- https://jp1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/{hostId}
- Mock serverhttps://developer.greenlake.hpe.com/_mock/docs/greenlake/services/block-storage/public/openapi/block-storage-public-v1alpha1/block-storage-api/block-storage/v1alpha1/host-initiators/{hostId}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://eu1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/2b09e744496246859fde6c132b2091d3 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Success
Host Update or Delete progress status. Possible status are: Update_In_Progress,Update_Success,Update_Failed,Delete_In_Progress,Delete_Failed,Not_Applicable,Merge_Success,Merge_In_Progress,Merge_Failed,Convert_In_Progress,Convert_Failed,Convert_Success.
A monotonically increasing value. This value updates when the resource is updated and can be used as a short way to determine if a resource has changed or which of two different copies of a resource is more up to date.
Host initiator list this host is associated with.
Indicates whether host has a duplicate. This field is applicable only when isMergable Filter is set to true on the GET All else will be set to false always.
Indicates if this host is created with NVMe initiator to be used by VASA vvol or not
Indicates whether host group is marked for deletion or not
{ "associatedLinks": [ { … } ], "associatedSystems": [ "string" ], "comment": "comment1", "contact": "sanjay@hpe.com", "customerId": "fc5f41652a53497e88cdcebc715cc1cf", "editStatus": "Delete_Failed", "fqdn": "host1.hpe.com", "generation": 1627534116, "hostGroups": [ { … } ], "id": "d548ef683c27403e96caa51816ddc72c", "initiators": [ { … } ], "ipAddress": "15.212.100.100", "isMergable": true, "isVvolHost": true, "location": "India", "markedForDelete": true, "model": "model1", "name": "host1", "operatingSystem": "Windows", "persona": "AIX-Legacy", "subnet": "255.255.255.0", "systems": [ "string" ], "type": "host-initiator", "userCreated": true }
- https://eu1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/{hostId}
- https://us1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/{hostId}
- https://jp1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/{hostId}
- Mock serverhttps://developer.greenlake.hpe.com/_mock/docs/greenlake/services/block-storage/public/openapi/block-storage-public-v1alpha1/block-storage-api/block-storage/v1alpha1/host-initiators/{hostId}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X PUT \
https://eu1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/2b09e744496246859fde6c132b2091d3 \
-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" }
- https://eu1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/{hostId}/chap
- https://us1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/{hostId}/chap
- https://jp1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/{hostId}/chap
- Mock serverhttps://developer.greenlake.hpe.com/_mock/docs/greenlake/services/block-storage/public/openapi/block-storage-public-v1alpha1/block-storage-api/block-storage/v1alpha1/host-initiators/{hostId}/chap
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://eu1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/2b09e744496246859fde6c132b2091d3/chap \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Success
Identifier for duplicate host group.
Initiator CHAP key for NVMe/TCP host
Name of initiator CHAP set on iSCSI host
Encrypted Initiator CHAP secret set on iSCSI host
Target CHAP key for NVMe/TCP host
Name of target CHAP set on iSCSI host
{ "count": 0, "offset": 0, "total": 0, "items": [ { … } ] }