HPE Greenlake For Block Storage REST APIs.
- Create a host
HPE Greenlake For Block Storage 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/block-storage/public/openapi/block-storage-public-v1alpha1/block-storage-api/
https://eu1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators
https://us1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators
https://jp1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/block-storage/public/openapi/block-storage-public-v1alpha1/block-storage-api/block-storage/v1alpha1/host-initiators
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://eu1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Success
The system IDs the host is associated with. Filter
The customer application identifier
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. Filter
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 group to which the host belongs to. Filter by hostGroupId. Sort by count.
Host initiator list this host is associated with. Filter by initiatorId. Sort by count.
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. Sort
Indicates if this host is created with NVMe initiator to be used by VASA vvol or not
Indicates whether host is marked for deletion or not
system IDs to which the host belongs to. Filter. Sort by count.To filter hosts based on domain, "domain" as a filter can be used along with "system" as a filter. When using this domain filter, only single system id in the request is allowed.
{ "count": 0, "offset": 0, "total": 0, "items": [ { … } ] }
Host operating system. Possible Values are: - AIX - Apple - Citrix Hypervisor(XenServer) - HP-UX - IBM VIO Server - InForm - NetApp/ONTAP - OE Linux UEK - OpenVMS - Oracle VM x86 - RHE Linux - RHE Virtualization - Solaris - SuSE Linux - SuSE Virtualization - Ubuntu - VMware (ESXi) - Windows Server
List of initiators to be created and added to this host
https://eu1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators
https://us1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators
https://jp1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/block-storage/public/openapi/block-storage-public-v1alpha1/block-storage-api/block-storage/v1alpha1/host-initiators
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
https://eu1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "host1",
"operatingSystem": "Windows Server"
}'Created
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 group to which the host belongs to.
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
{ "associatedLinks": [ { … } ], "associatedSystems": [ "string" ], "comment": "a sample host comment", "contact": "sanjay@hpe.com", "customerId": "fc5f41652a53497e88cdcebc715cc1cf", "editStatus": "Delete_Failed", "fqdn": "host1.hpe.com", "generation": 1627534116, "hostGroups": [ { … } ], "id": "6848ef683c27403e96caa51816ddc72c", "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 server
https://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 DELETE \
https://eu1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/2b09e744496246859fde6c132b2091d3 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "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}
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 server
https://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 server
https://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 server
https://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": [ { … } ] }
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 server
https://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 PUT \
https://eu1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/2b09e744496246859fde6c132b2091d3/chap \
-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" }
type for generate CHAP key. Allowed values are INITIATOR | TARGET.
secret (in hexadecimal characters) to be used to initialize the key. Length of secret should be one of 64 | 96 | 128 based on hmacNum. (hmacNum, Length of secret): (NONE, 64) | (SHA256, 64) | (SHA384, 96) | (SHA512, 128)
https://eu1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/{hostId}/chapkey
https://us1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/{hostId}/chapkey
https://jp1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/{hostId}/chapkey
- Mock server
https://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}/chapkey
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
https://eu1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/2b09e744496246859fde6c132b2091d3/chapkey \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"secret": "DB174528097951E0CCF41D92476FCA228E77717F1AE82AB380FCA07A2A91ABCD",
"system": "15.212.100.100",
"type": "INITIATOR"
}'{ "chapkey": "DHHC-1:00:2xdFKAl5UeDM9B2SR2/KIo53cX8a6CqzgPygeiqRq83MSNuW:" }
https://eu1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/{hostId}/mapped-devices
https://us1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/{hostId}/mapped-devices
https://jp1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/{hostId}/mapped-devices
- Mock server
https://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}/mapped-devices
- 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/mapped-devices \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "count": 0, "offset": 0, "total": 0, "items": [ { … } ] }
Query to select only the required parameters, separated by . if nested
range will define start and end time in which query has to be made.
It defines granularity in minutes.
https://eu1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/{hostId}/storage-performance-history
https://us1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/{hostId}/storage-performance-history
https://jp1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/{hostId}/storage-performance-history
- Mock server
https://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}/storage-performance-history
- 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/storage-performance-history \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "count": 0, "offset": 0, "total": 0, "items": [ { … } ] }
https://eu1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/{hostId}/volumes
https://us1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/{hostId}/volumes
https://jp1.data.cloud.hpe.com/block-storage/v1alpha1/host-initiators/{hostId}/volumes
- Mock server
https://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}/volumes
- 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/volumes \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Success
resourceUri of the volume
SystemUid of the system associated with the volume
Subsystem NQN id for the NVMe host to which the volume is exported
{ "count": 0, "offset": 0, "total": 0, "items": [ { … } ] }
https://eu1.data.cloud.hpe.com/block-storage/v1alpha1/initiators
https://us1.data.cloud.hpe.com/block-storage/v1alpha1/initiators
https://jp1.data.cloud.hpe.com/block-storage/v1alpha1/initiators
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/block-storage/public/openapi/block-storage-public-v1alpha1/block-storage-api/block-storage/v1alpha1/initiators
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://eu1.data.cloud.hpe.com/block-storage/v1alpha1/initiators \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Success
The customer application identifier
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.
Transport type of the protocol. Valid values are FC, iSCSI ,NVMe/FC and NVMe/TCP.
{ "count": 0, "offset": 0, "total": 0, "items": [ { … } ] }
Address of the initiator.
IP address of the initiator. Supported only for iSCSI and NVMe protocols
https://eu1.data.cloud.hpe.com/block-storage/v1alpha1/initiators
https://us1.data.cloud.hpe.com/block-storage/v1alpha1/initiators
https://jp1.data.cloud.hpe.com/block-storage/v1alpha1/initiators
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/block-storage/public/openapi/block-storage-public-v1alpha1/block-storage-api/block-storage/v1alpha1/initiators
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
https://eu1.data.cloud.hpe.com/block-storage/v1alpha1/initiators \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"address": "iqn.1998-01.com.vmware:61f7c688-3e93-d360-8043-70106f7a7e18-0cba0054",
"protocol": "iSCSI"
}'{ "address": "100008F1EABFE61C", "associatedLinks": [ { … } ], "customerId": "fc5f41652a53497e88cdcebc715cc1cf", "driverVersion": "4.1", "firmwareVersion": "10.0", "generation": 1627534116, "hbaModel": "myobject-5", "hostSpeed": 1000, "hosts": [ { … } ], "id": "d548ef683c27403e96caa51816ddc72c", "ipAddress": "15.212.100.100", "name": "init1", "protocol": "FC", "systems": [ "string" ], "type": "initiator", "vendor": "hpe" }
https://eu1.data.cloud.hpe.com/block-storage/v1alpha1/initiators/{initiatorId}
https://us1.data.cloud.hpe.com/block-storage/v1alpha1/initiators/{initiatorId}
https://jp1.data.cloud.hpe.com/block-storage/v1alpha1/initiators/{initiatorId}
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/block-storage/public/openapi/block-storage-public-v1alpha1/block-storage-api/block-storage/v1alpha1/initiators/{initiatorId}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X DELETE \
https://eu1.data.cloud.hpe.com/block-storage/v1alpha1/initiators/e789e756496246859fde6c132b2091d3 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "deleteInitiator": true }
https://eu1.data.cloud.hpe.com/block-storage/v1alpha1/initiators/{initiatorId}
https://us1.data.cloud.hpe.com/block-storage/v1alpha1/initiators/{initiatorId}
https://jp1.data.cloud.hpe.com/block-storage/v1alpha1/initiators/{initiatorId}
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/block-storage/public/openapi/block-storage-public-v1alpha1/block-storage-api/block-storage/v1alpha1/initiators/{initiatorId}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://eu1.data.cloud.hpe.com/block-storage/v1alpha1/initiators/e789e756496246859fde6c132b2091d3 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'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.
Transport type of the protocol. Valid values are FC, iSCSI, NVMe/FC and NVMe/TCP.
{ "address": "100008F1EABFE61C", "associatedLinks": [ { … } ], "customerId": "fc5f41652a53497e88cdcebc715cc1cf", "driverVersion": "4.1", "firmwareVersion": "10.0", "generation": 1627534116, "hbaModel": "myobject-5", "hostSpeed": 1000, "hosts": [ { … } ], "id": "e748ef683c27403e96caa51816ddc72c", "ipAddress": "15.212.100.100", "name": "init1", "pathType": "FC", "protocol": "FC", "systems": [ "string" ], "type": "initiator", "vendor": "hpe" }