| object The map of label name to label value for the host.
@@ -2606,7 +2606,15 @@ Option 2: Getting the token directly from UI
https://client.greenlake.hpe.com{basePath}/hosts/{hostId}/boothdd Response samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "Description": "Description of Host", "ServiceID": "20dd558b-b106-40bc-a8e7-d364ec5db710", "ServiceFlavor": "ubuntu", "ServiceVersion": "18.04-20190807", "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "MachineSizeName": "HPE Large", "MachineSizeID": "6e87f64f-b099-4286-9101-bee60a1afa2e", "MachineID": "d96dbf89-2a07-42f9-817d-2d6c42351827", "NetworkForDefaultRoute": "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "NetworkUntagged": "046b6c7f-0b8a-43b9-b35d-6489e6daee92", "ServiceNetsProviderMAC": {}, "UserData": "string", "NodeID": "Node21", "Connections": [{"Name": "Default", "HA": true, "Speed": "1Gb", "Networks": [{"Name": "HostConn1", "NetworkID": "59047804-7c6d-4fea-bf89-08c54543dccc", "IP": "10.5.3.4", "Subnet": "10.5.3.0", "Netmask": "/24", "Gateway": "10.5.3.1", "VLAN": 0, "VNI": 0, "Untagged": true, "Proxy": "http://proxy.firewall.com:8080/ or http://user:password@proxy.firewall.com:8080", "NoProxy": "localhost,15.10.0.10,test.com" } ] } ], "Deleted": true, "PortalCommOkay": true, "PowerStatus": "ON", "State": "Ready", "Substate": "Complete", "StateTime": "2019-08-24T14:15:22Z", "SubstateTime": "2019-08-24T14:15:22Z", "Progress": 100, "Alert": true, "AlertInfo": [{"Alert": "op-failed", "State": "Ready", "Substate": "Complete", "Message": "Operation XXX completed as failed with status: YYY", "Time": "2019-08-24T14:15:22Z", "Ack": true } ], "Workflow": "string", "SummaryStatus": "OK", } Replace Host by ID Re-deploys a host with a new machine that satisfies the current host settings. Only the machine is replaced, IP addresses, volumes, etc are not changed. The host must be powered off. The host must also be in the Ready state or in the Failed state and in the Replace or Maintenace workflow.
+ https://client.greenlake.hpe.com{basePath}/hosts/{hostId}/boothdd Response samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "Description": "Description of Host", "ServiceID": "20dd558b-b106-40bc-a8e7-d364ec5db710", "ServiceFlavor": "ubuntu", "ServiceVersion": "18.04-20190807", "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "MachineSizeName": "HPE Large", "MachineSizeID": "6e87f64f-b099-4286-9101-bee60a1afa2e", "MachineID": "d96dbf89-2a07-42f9-817d-2d6c42351827", "NetworkForDefaultRoute": "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "NetworkUntagged": "046b6c7f-0b8a-43b9-b35d-6489e6daee92", "ServiceNetsProviderMAC": {}, "UserData": "string", "NodeID": "Node21", "Connections": [{"Name": "Default", "HA": true, "Speed": "1Gb", "Networks": [{"Name": "HostConn1", "NetworkID": "59047804-7c6d-4fea-bf89-08c54543dccc", "IP": "10.5.3.4", "Subnet": "10.5.3.0", "Netmask": "/24", "Gateway": "10.5.3.1", "VLAN": 0, "VNI": 0, "Untagged": true, "Proxy": "http://proxy.firewall.com:8080/ or http://user:password@proxy.firewall.com:8080", "NoProxy": "localhost,15.10.0.10,test.com" } ] } ], "Deleted": true, "PortalCommOkay": true, "PowerStatus": "ON", "State": "Ready", "Substate": "Complete", "StateTime": "2019-08-24T14:15:22Z", "SubstateTime": "2019-08-24T14:15:22Z", "Progress": 100, "Alert": true, "AlertInfo": [{"Alert": "op-failed", "State": "Ready", "Substate": "Complete", "Message": "Operation XXX completed as failed with status: YYY", "Time": "2019-08-24T14:15:22Z", "Ack": true } ], "Workflow": "string", "SummaryStatus": "OK", } Reimage Host by ID Re-deploys a host to the same machine. Only the Host OS is reinstalled, IP addresses, volumes, etc are not changed. The host must be powered off. The host must also be in the Ready state.
+ (BearerAuthProject) (BearerAuthMembership) https://client.greenlake.hpe.com{basePath}/hosts/{hostId}/reimage Response samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "Description": "Description of Host", "ServiceID": "20dd558b-b106-40bc-a8e7-d364ec5db710", "ServiceFlavor": "ubuntu", "ServiceVersion": "18.04-20190807", "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "MachineSizeName": "HPE Large", "MachineSizeID": "6e87f64f-b099-4286-9101-bee60a1afa2e", "MachineID": "d96dbf89-2a07-42f9-817d-2d6c42351827", "NetworkForDefaultRoute": "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "NetworkUntagged": "046b6c7f-0b8a-43b9-b35d-6489e6daee92", "ServiceNetsProviderMAC": {}, "UserData": "string", "NodeID": "Node21", "Connections": [{"Name": "Default", "HA": true, "Speed": "1Gb", "Networks": [{"Name": "HostConn1", "NetworkID": "59047804-7c6d-4fea-bf89-08c54543dccc", "IP": "10.5.3.4", "Subnet": "10.5.3.0", "Netmask": "/24", "Gateway": "10.5.3.1", "VLAN": 0, "VNI": 0, "Untagged": true, "Proxy": "http://proxy.firewall.com:8080/ or http://user:password@proxy.firewall.com:8080", "NoProxy": "localhost,15.10.0.10,test.com" } ] } ], "Deleted": true, "PortalCommOkay": true, "PowerStatus": "ON", "State": "Ready", "Substate": "Complete", "StateTime": "2019-08-24T14:15:22Z", "SubstateTime": "2019-08-24T14:15:22Z", "Progress": 100, "Alert": true, "AlertInfo": [{"Alert": "op-failed", "State": "Ready", "Substate": "Complete", "Message": "Operation XXX completed as failed with status: YYY", "Time": "2019-08-24T14:15:22Z", "Ack": true } ], "Workflow": "string", "SummaryStatus": "OK", } Replace Host by ID Re-deploys a host with a new machine that satisfies the current host settings. Only the machine is replaced, IP addresses, volumes, etc are not changed. The host must be powered off. The host must also be in the Ready state or in the Failed state and in the Replace or Maintenace workflow.
(BearerAuthProject) (BearerAuthMembership) Responseshttps://client.greenlake.hpe.com{basePath}/hosts/{hostId}/replace Response samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "Description": "Description of Host", "ServiceID": "20dd558b-b106-40bc-a8e7-d364ec5db710", "ServiceFlavor": "ubuntu", "ServiceVersion": "18.04-20190807", "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "MachineSizeName": "HPE Large", "MachineSizeID": "6e87f64f-b099-4286-9101-bee60a1afa2e", "MachineID": "d96dbf89-2a07-42f9-817d-2d6c42351827", "NetworkForDefaultRoute": "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "NetworkUntagged": "046b6c7f-0b8a-43b9-b35d-6489e6daee92", "ServiceNetsProviderMAC": {}, "UserData": "string", "NodeID": "Node21", "Connections": [{"Name": "Default", "HA": true, "Speed": "1Gb", "Networks": [{"Name": "HostConn1", "NetworkID": "59047804-7c6d-4fea-bf89-08c54543dccc", "IP": "10.5.3.4", "Subnet": "10.5.3.0", "Netmask": "/24", "Gateway": "10.5.3.1", "VLAN": 0, "VNI": 0, "Untagged": true, "Proxy": "http://proxy.firewall.com:8080/ or http://user:password@proxy.firewall.com:8080", "NoProxy": "localhost,15.10.0.10,test.com" } ] } ], "Deleted": true, "PortalCommOkay": true, "PowerStatus": "ON", "State": "Ready", "Substate": "Complete", "StateTime": "2019-08-24T14:15:22Z", "SubstateTime": "2019-08-24T14:15:22Z", "Progress": 100, "Alert": true, "AlertInfo": [{"Alert": "op-failed", "State": "Ready", "Substate": "Complete", "Message": "Operation XXX completed as failed with status: YYY", "Time": "2019-08-24T14:15:22Z", "Ack": true } ], "Workflow": "string", "SummaryStatus": "OK", } Operations related to Volumes. A Volume is an external storage volume that persists independent of the associated host.
+ https://client.greenlake.hpe.com{basePath}/hosts/{hostId}/replace Response samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "Description": "Description of Host", "ServiceID": "20dd558b-b106-40bc-a8e7-d364ec5db710", "ServiceFlavor": "ubuntu", "ServiceVersion": "18.04-20190807", "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "MachineSizeName": "HPE Large", "MachineSizeID": "6e87f64f-b099-4286-9101-bee60a1afa2e", "MachineID": "d96dbf89-2a07-42f9-817d-2d6c42351827", "NetworkForDefaultRoute": "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "NetworkUntagged": "046b6c7f-0b8a-43b9-b35d-6489e6daee92", "ServiceNetsProviderMAC": {}, "UserData": "string", "NodeID": "Node21", "Connections": [{"Name": "Default", "HA": true, "Speed": "1Gb", "Networks": [{"Name": "HostConn1", "NetworkID": "59047804-7c6d-4fea-bf89-08c54543dccc", "IP": "10.5.3.4", "Subnet": "10.5.3.0", "Netmask": "/24", "Gateway": "10.5.3.1", "VLAN": 0, "VNI": 0, "Untagged": true, "Proxy": "http://proxy.firewall.com:8080/ or http://user:password@proxy.firewall.com:8080", "NoProxy": "localhost,15.10.0.10,test.com" } ] } ], "Deleted": true, "PortalCommOkay": true, "PowerStatus": "ON", "State": "Ready", "Substate": "Complete", "StateTime": "2019-08-24T14:15:22Z", "SubstateTime": "2019-08-24T14:15:22Z", "Progress": 100, "Alert": true, "AlertInfo": [{"Alert": "op-failed", "State": "Ready", "Substate": "Complete", "Message": "Operation XXX completed as failed with status: YYY", "Time": "2019-08-24T14:15:22Z", "Ack": true } ], "Workflow": "string", "SummaryStatus": "OK", } Operations related to Volumes. A Volume is an external storage volume that persists independent of the associated host.
List all volumes in project Returns an array of all volumes defined within the project.
(BearerAuthProject) (BearerAuthMembership) https://client.greenlake.hpe.com{basePath}/volumes Response samples Content typeapplication/json [{"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "Description": "Description of New Volume", "FlavorID": "69d82b9f-19a6-47cd-bcb3-7f4b437e8e51", "Capacity": 10485760, "Shareable": true, "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "State": "new", "SubState": "idle", "Status": "ok", "WWN": "string" } ] Add a new volume Adds a new volume to the project. Volumes may be created separately and then referenced in the create Host call; or volumes may be created directly within the create Host call.
+ https://client.greenlake.hpe.com{basePath}/volumes Response samples Content typeapplication/json [{"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "Description": "Description of New Volume", "FlavorID": "69d82b9f-19a6-47cd-bcb3-7f4b437e8e51", "Capacity": 10485760, "Shareable": true, "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "State": "new", "SubState": "idle", "Status": "ok", "WWN": "string" } ] Add a new volume Adds a new volume to the project. Volumes may be created separately and then referenced in the create Host call; or volumes may be created directly within the create Host call.
(BearerAuthProject) (BearerAuthMembership) Request Body schema: application/jsonVolume that is to be added to the project
Name required | | Description | | FlavorID required | string <uuid> Adds a new volume to the project. This object requires the LocationID and is used when a new volume is created independently from the host creation therefore requiring a specified location.
| Capacity required | integer <int64> >= 0 The size of the volume in GiB
@@ -2633,7 +2641,7 @@ Option 2: Getting the token directly from UI
https://client.greenlake.hpe.com{basePath}/volumes Request samples Content typeapplication/json {"Name": "NewVolumeName", "Description": "Description of New Volume", "FlavorID": "69d82b9f-19a6-47cd-bcb3-7f4b437e8e51", "Capacity": 10, "Shareable": true, "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", } Response samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "Description": "Description of New Volume", "FlavorID": "69d82b9f-19a6-47cd-bcb3-7f4b437e8e51", "Capacity": 10485760, "Shareable": true, "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "State": "new", "SubState": "idle", "Status": "ok", "WWN": "string" } Retrieve volume by ID Returns a single volume with matching ID
+ https://client.greenlake.hpe.com{basePath}/volumes Request samples Content typeapplication/json {"Name": "NewVolumeName", "Description": "Description of New Volume", "FlavorID": "69d82b9f-19a6-47cd-bcb3-7f4b437e8e51", "Capacity": 10, "Shareable": true, "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", } Response samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "Description": "Description of New Volume", "FlavorID": "69d82b9f-19a6-47cd-bcb3-7f4b437e8e51", "Capacity": 10485760, "Shareable": true, "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "State": "new", "SubState": "idle", "Status": "ok", "WWN": "string" } Retrieve volume by ID Returns a single volume with matching ID
(BearerAuthProject) (BearerAuthMembership) Responseshttps://client.greenlake.hpe.com{basePath}/volumes/{volumeId} Response samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "Description": "Description of New Volume", "FlavorID": "69d82b9f-19a6-47cd-bcb3-7f4b437e8e51", "Capacity": 10485760, "Shareable": true, "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "State": "new", "SubState": "idle", "Status": "ok", "WWN": "string" } Update an existing volume Updates volume with matching ID. Update is permitted only when volume is in 'Allocated' or 'Visible' state. Only the Volume 'Capacity' can be updated with a value greater than the existing one to expand the volume.
+ https://client.greenlake.hpe.com{basePath}/volumes/{volumeId} Response samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "Description": "Description of New Volume", "FlavorID": "69d82b9f-19a6-47cd-bcb3-7f4b437e8e51", "Capacity": 10485760, "Shareable": true, "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "State": "new", "SubState": "idle", "Status": "ok", "WWN": "string" } Update an existing volume Updates volume with matching ID. Update is permitted only when volume is in 'Allocated' or 'Visible' state. Only the Volume 'Capacity' can be updated with a value greater than the existing one to expand the volume.
(BearerAuthProject) (BearerAuthMembership) Request Body schema: application/jsonVolume object with its ID and Capacity in GiB indicating the expanded size to be specified.
ID required | string <uuid> Unique ID for the resource instance as generated by the Metal service
| ETag required | string <uuid> Used to determine whether the DB entry has changed since it was last read. This value is updated each time the resource is updated. Client must send this value unchanged for any update operation.
@@ -2664,7 +2672,7 @@ Option 2: Getting the token directly from UI
https://client.greenlake.hpe.com{basePath}/volumes/{volumeId} Request samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "Description": "Description of New Volume", "FlavorID": "69d82b9f-19a6-47cd-bcb3-7f4b437e8e51", "Capacity": 10485760, "Shareable": true, "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "State": "new", "SubState": "idle", "Status": "ok", "WWN": "string" } Response samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "Description": "Description of New Volume", "FlavorID": "69d82b9f-19a6-47cd-bcb3-7f4b437e8e51", "Capacity": 10485760, "Shareable": true, "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "State": "new", "SubState": "idle", "Status": "ok", "WWN": "string" } Delete a volume Deletes the volume with the matching ID
+ https://client.greenlake.hpe.com{basePath}/volumes/{volumeId} Request samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "Description": "Description of New Volume", "FlavorID": "69d82b9f-19a6-47cd-bcb3-7f4b437e8e51", "Capacity": 10485760, "Shareable": true, "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "State": "new", "SubState": "idle", "Status": "ok", "WWN": "string" } Response samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "Description": "Description of New Volume", "FlavorID": "69d82b9f-19a6-47cd-bcb3-7f4b437e8e51", "Capacity": 10485760, "Shareable": true, "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "State": "new", "SubState": "idle", "Status": "ok", "WWN": "string" } Delete a volume Deletes the volume with the matching ID
(BearerAuthProject) (BearerAuthMembership) Responseshttps://client.greenlake.hpe.com{basePath}/volumes/{volumeId} Response samples Content typeapplication/json {"message": "string", "details": "string" } Attach existing volume to Host Attaches the indicated volume to a host identified in the requestBody. This attachment will create a VolumeAttachment object that contains details about the connection of the volume and will update the Host with iSCSI configuration information.
+ https://client.greenlake.hpe.com{basePath}/volumes/{volumeId} Response samples Content typeapplication/json {"message": "string", "details": "string" } Attach existing volume to Host Attaches the indicated volume to a host identified in the requestBody. This attachment will create a VolumeAttachment object that contains details about the connection of the volume and will update the Host with iSCSI configuration information.
(BearerAuthProject) (BearerAuthMembership) Request Body schema: application/jsonUnique ID of the Host to which the volume will be attached
HostID required | string <uuid> Unique ID of the Host to attach or detach volume
@@ -2682,7 +2690,7 @@ Option 2: Getting the token directly from UI
https://client.greenlake.hpe.com{basePath}/volumes/{volumeId}/attach Request samples Content typeapplication/json Response samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "VolumeID": "6a9f9b5e-05e4-4f5d-a302-ef4819ffdcf8", "HostID": "22c71c70-ebdd-4620-b802-6650e1973329", "HostIPAddress": "192.168.0.1", "IQN": "iqn.yyyy-mm.naming-authority:unique name", "CHAPSecret": "string", "CHAPUserName": "string", "LUN": 0, "VolumeTargetIQN": "iqn.yyyy-mm.naming-authority:unique name", "VolumeTargetIPAddress": "192.168.0.1", "State": "new", } Detach existing volume from Host Detaches the indicated volume from the host identified in the requestBody. This detachment will delete the VolumeAttachment object that contains details about the connection of the volume and will update the Host to remove selected iSCSI configuration information.
+ https://client.greenlake.hpe.com{basePath}/volumes/{volumeId}/attach Request samples Content typeapplication/json Response samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "VolumeID": "6a9f9b5e-05e4-4f5d-a302-ef4819ffdcf8", "HostID": "22c71c70-ebdd-4620-b802-6650e1973329", "HostIPAddress": "192.168.0.1", "IQN": "iqn.yyyy-mm.naming-authority:unique name", "CHAPSecret": "string", "CHAPUserName": "string", "LUN": 0, "VolumeTargetIQN": "iqn.yyyy-mm.naming-authority:unique name", "VolumeTargetIPAddress": "192.168.0.1", "State": "new", } Detach existing volume from Host Detaches the indicated volume from the host identified in the requestBody. This detachment will delete the VolumeAttachment object that contains details about the connection of the volume and will update the Host to remove selected iSCSI configuration information.
Note that the HostID is required in the body of the request to ensure that the operation is well understood and that a volume is not accidently being removed from the wrong host.
(BearerAuthProject) (BearerAuthMembership) Request Body schema: application/jsonUnique ID of the Host from which a volume will be detached
@@ -2693,13 +2701,13 @@ Option 2: Getting the token directly from UI
https://client.greenlake.hpe.com{basePath}/volumes/{volumeId}/detach Request samples Content typeapplication/json Response samples Content typeapplication/json {"message": "string", "details": "string" } Operations related to VolumeAttachments that describe how a host is connected to a volume.
+ https://client.greenlake.hpe.com{basePath}/volumes/{volumeId}/detach Request samples Content typeapplication/json Response samples Content typeapplication/json {"message": "string", "details": "string" } Operations related to VolumeAttachments that describe how a host is connected to a volume.
List all volume attachments in project Returns an array of all VolumeAttachments defined within the project.
(BearerAuthProject) (BearerAuthMembership) https://client.greenlake.hpe.com{basePath}/volume-attachments Response samples Content typeapplication/json [{"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "VolumeID": "6a9f9b5e-05e4-4f5d-a302-ef4819ffdcf8", "HostID": "22c71c70-ebdd-4620-b802-6650e1973329", "HostIPAddress": "192.168.0.1", "IQN": "iqn.yyyy-mm.naming-authority:unique name", "CHAPSecret": "string", "CHAPUserName": "string", "LUN": 0, "VolumeTargetIQN": "iqn.yyyy-mm.naming-authority:unique name", "VolumeTargetIPAddress": "192.168.0.1", "State": "new", } ] Create a new VolumeAttachment Adds a new VolumeAttachment which enables a machine to use a volume. Note that this API is for creation of a VolumeAttachment for non-Hosts. A VolumeAttachment resource must be deleted using the 'DELETE /volume-attachments/{attachmentId}' API. For regular hosts, a VolumeAttachment is created via the 'POST /volumes/{volumeId}/attach' API.
+ https://client.greenlake.hpe.com{basePath}/volume-attachments Response samples Content typeapplication/json [{"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "VolumeID": "6a9f9b5e-05e4-4f5d-a302-ef4819ffdcf8", "HostID": "22c71c70-ebdd-4620-b802-6650e1973329", "HostIPAddress": "192.168.0.1", "IQN": "iqn.yyyy-mm.naming-authority:unique name", "CHAPSecret": "string", "CHAPUserName": "string", "LUN": 0, "VolumeTargetIQN": "iqn.yyyy-mm.naming-authority:unique name", "VolumeTargetIPAddress": "192.168.0.1", "State": "new", } ] Create a new VolumeAttachment Adds a new VolumeAttachment which enables a machine to use a volume. Note that this API is for creation of a VolumeAttachment for non-Hosts. A VolumeAttachment resource must be deleted using the 'DELETE /volume-attachments/{attachmentId}' API. For regular hosts, a VolumeAttachment is created via the 'POST /volumes/{volumeId}/attach' API.
(BearerAuthProject) (BearerAuthMembership) Request Body schema: application/jsonNewVolumeAttachement parameters to create a new VolumeAttachment.
Name | string Name for the volume attachment. Must be 128 or fewer printable characters
| VolumeID required | string <uuid> Unique ID of the volume attached to the host
@@ -2709,7 +2717,7 @@ Option 2: Getting the token directly from UI
https://client.greenlake.hpe.com{basePath}/volume-attachments Request samples Content typeapplication/json {"Name": "My Object Name", "VolumeID": "6a9f9b5e-05e4-4f5d-a302-ef4819ffdcf8", "Protocol": {"Protocol": "unknown", "ISCSI": {"HostIPAddress": "10.1.2.3", "InitiatorName": "iqn.1234.com.hpe-initiator", "CHAPSecret": "string", "CHAPUserName": "string" } } } Response samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "VolumeID": "6a9f9b5e-05e4-4f5d-a302-ef4819ffdcf8", "HostID": "22c71c70-ebdd-4620-b802-6650e1973329", "HostIPAddress": "192.168.0.1", "IQN": "iqn.yyyy-mm.naming-authority:unique name", "CHAPSecret": "string", "CHAPUserName": "string", "LUN": 0, "VolumeTargetIQN": "iqn.yyyy-mm.naming-authority:unique name", "VolumeTargetIPAddress": "192.168.0.1", "State": "new", } Retrieve volume attachment by ID Returns a single volume attachment with matching ID
+ https://client.greenlake.hpe.com{basePath}/volume-attachments Request samples Content typeapplication/json {"Name": "My Object Name", "VolumeID": "6a9f9b5e-05e4-4f5d-a302-ef4819ffdcf8", "Protocol": {"Protocol": "unknown", "ISCSI": {"HostIPAddress": "10.1.2.3", "InitiatorName": "iqn.1234.com.hpe-initiator", "CHAPSecret": "string", "CHAPUserName": "string" } } } Response samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "VolumeID": "6a9f9b5e-05e4-4f5d-a302-ef4819ffdcf8", "HostID": "22c71c70-ebdd-4620-b802-6650e1973329", "HostIPAddress": "192.168.0.1", "IQN": "iqn.yyyy-mm.naming-authority:unique name", "CHAPSecret": "string", "CHAPUserName": "string", "LUN": 0, "VolumeTargetIQN": "iqn.yyyy-mm.naming-authority:unique name", "VolumeTargetIPAddress": "192.168.0.1", "State": "new", } Retrieve volume attachment by ID Returns a single volume attachment with matching ID
(BearerAuthProject) (BearerAuthMembership) path ParametersattachmentId required | string ID of volume attachment to return
|
Responseshttps://client.greenlake.hpe.com{basePath}/volume-attachments/{attachmentId} Response samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "VolumeID": "6a9f9b5e-05e4-4f5d-a302-ef4819ffdcf8", "HostID": "22c71c70-ebdd-4620-b802-6650e1973329", "HostIPAddress": "192.168.0.1", "IQN": "iqn.yyyy-mm.naming-authority:unique name", "CHAPSecret": "string", "CHAPUserName": "string", "LUN": 0, "VolumeTargetIQN": "iqn.yyyy-mm.naming-authority:unique name", "VolumeTargetIPAddress": "192.168.0.1", "State": "new", } Delete a VolumeAttachment Deletes the VolumeAttachment with the matching ID
+ https://client.greenlake.hpe.com{basePath}/volume-attachments/{attachmentId} Response samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "VolumeID": "6a9f9b5e-05e4-4f5d-a302-ef4819ffdcf8", "HostID": "22c71c70-ebdd-4620-b802-6650e1973329", "HostIPAddress": "192.168.0.1", "IQN": "iqn.yyyy-mm.naming-authority:unique name", "CHAPSecret": "string", "CHAPUserName": "string", "LUN": 0, "VolumeTargetIQN": "iqn.yyyy-mm.naming-authority:unique name", "VolumeTargetIPAddress": "192.168.0.1", "State": "new", } Delete a VolumeAttachment Deletes the VolumeAttachment with the matching ID
(BearerAuthProject) (BearerAuthMembership) path ParametersattachmentId required | string ID of VolumeAttachment to delete
|
Responseshttps://client.greenlake.hpe.com{basePath}/volume-attachments/{attachmentId} Response samples Content typeapplication/json {"message": "string", "details": "string" } Operations related to Networks.
+ https://client.greenlake.hpe.com{basePath}/volume-attachments/{attachmentId} Response samples Content typeapplication/json {"message": "string", "details": "string" } Operations related to Networks.
List all networks in project Returns an array of all network objects defined within the project.
(BearerAuthProject) (BearerAuthMembership) https://client.greenlake.hpe.com{basePath}/networks Response samples Content typeapplication/json [{"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "Description": "Private network for intra-cluster communication", "HostUse": "Default", "Purpose": "Storage", "IPPoolID": "string", "VLAN": 0, "VNI": 0 } ] Add a new network Adds a new network that can be referenced when creating a Host
+ https://client.greenlake.hpe.com{basePath}/networks Response samples Content typeapplication/json [{"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "Description": "Private network for intra-cluster communication", "HostUse": "Default", "Purpose": "Storage", "IPPoolID": "string", "VLAN": 0, "VNI": 0 } ] Add a new network Adds a new network that can be referenced when creating a Host
(BearerAuthProject) (BearerAuthMembership) Request Body schema: application/jsonNetwork that is to be added to the project
Name required | | LocationID required | string <uuid> (LocationID) The location ID is the data center location of the resource. The LocationID must be one of those provided by the LocationInfo array returned as part of the get /available-resources call. The locations are typically described by country, region, and data center.
@@ -2743,7 +2751,7 @@ Option 2: Getting the token directly from UI
https://client.greenlake.hpe.com{basePath}/networks Request samples Content typeapplication/json {"Name": "Private2", "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "Description": "Private network for intra-cluster communication", "HostUse": "Default", "Purpose": "Storage", "NewIPPool": {"Name": "string", "Description": "string", "IPVersion": "IPv4", "BaseIP": "10.128.0.0", "Netmask": "/8", "DefaultRoute": "10.128.0.1", "Sources": [{"Base": "10.128.0.2", "Count": 1 } ], "Proxy": "http://proxy.firewall.com:8080/ or http://user:password@proxy.firewall.com:8080", "NoProxy": "localhost,15.10.0.10,test.com", } } Response samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "Description": "Private network for intra-cluster communication", "HostUse": "Default", "Purpose": "Storage", "IPPoolID": "string", "VLAN": 0, "VNI": 0 } Retrieve network by ID Returns a single network with matching ID
+ https://client.greenlake.hpe.com{basePath}/networks Request samples Content typeapplication/json {"Name": "Private2", "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "Description": "Private network for intra-cluster communication", "HostUse": "Default", "Purpose": "Storage", "NewIPPool": {"Name": "string", "Description": "string", "IPVersion": "IPv4", "BaseIP": "10.128.0.0", "Netmask": "/8", "DefaultRoute": "10.128.0.1", "Sources": [{"Base": "10.128.0.2", "Count": 1 } ], "Proxy": "http://proxy.firewall.com:8080/ or http://user:password@proxy.firewall.com:8080", "NoProxy": "localhost,15.10.0.10,test.com", } } Response samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "Description": "Private network for intra-cluster communication", "HostUse": "Default", "Purpose": "Storage", "IPPoolID": "string", "VLAN": 0, "VNI": 0 } Retrieve network by ID Returns a single network with matching ID
(BearerAuthProject) (BearerAuthMembership) Responseshttps://client.greenlake.hpe.com{basePath}/networks/{networkId} Response samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "Description": "Private network for intra-cluster communication", "HostUse": "Default", "Purpose": "Storage", "IPPoolID": "string", "VLAN": 0, "VNI": 0 } Update an existing network. (BearerAuthProject) (BearerAuthMembership) path ParametersnetworkId required | string ID of network to update
+ https://client.greenlake.hpe.com{basePath}/networks/{networkId} Response samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "Description": "Private network for intra-cluster communication", "HostUse": "Default", "Purpose": "Storage", "IPPoolID": "string", "VLAN": 0, "VNI": 0 } Update an existing network. (BearerAuthProject) (BearerAuthMembership) Request Body schema: application/jsonID required | string <uuid> Unique ID for the resource instance as generated by the Metal service
| ETag required | string <uuid> Used to determine whether the DB entry has changed since it was last read. This value is updated each time the resource is updated. Client must send this value unchanged for any update operation.
@@ -2771,7 +2779,7 @@ Option 2: Getting the token directly from UI
https://client.greenlake.hpe.com{basePath}/networks/{networkId} Request samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "Description": "Private network for intra-cluster communication", "HostUse": "Default", "Purpose": "Storage", "IPPoolID": "string", "VLAN": 0, "VNI": 0 } Response samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "Description": "Private network for intra-cluster communication", "HostUse": "Default", "Purpose": "Storage", "IPPoolID": "string", "VLAN": 0, "VNI": 0 } Delete a network Deletes the network with the matching ID
+ https://client.greenlake.hpe.com{basePath}/networks/{networkId} Request samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "Description": "Private network for intra-cluster communication", "HostUse": "Default", "Purpose": "Storage", "IPPoolID": "string", "VLAN": 0, "VNI": 0 } Response samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "Description": "Private network for intra-cluster communication", "HostUse": "Default", "Purpose": "Storage", "IPPoolID": "string", "VLAN": 0, "VNI": 0 } Delete a network Deletes the network with the matching ID
(BearerAuthProject) (BearerAuthMembership) Responseshttps://client.greenlake.hpe.com{basePath}/networks/{networkId} Response samples Content typeapplication/json {"message": "string", "details": "string" } Operations related to listing information that is needed to construct create host and create volume calls. This provides a detailed information about the OS imaging options, the machine size (a.k.a. Compute Instance Type) options, the storage volume options, data center locations, and such that are needed when creating hosts and volumes.
+ https://client.greenlake.hpe.com{basePath}/networks/{networkId} Response samples Content typeapplication/json {"message": "string", "details": "string" } Operations related to listing information that is needed to construct create host and create volume calls. This provides a detailed information about the OS imaging options, the machine size (a.k.a. Compute Instance Type) options, the storage volume options, data center locations, and such that are needed when creating hosts and volumes.
Get lists of available resources for creating hosts and volumes Used to get lists of options that are used when creating hosts and volumes. A get /available-resources will return an object that includes the following arrays:
https://client.greenlake.hpe.com{basePath}/available-resources Response samples Content typeapplication/json {"Images": [{"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "Category": "Linux", "Flavor": "ubuntu", "Version": "18.04", "Description": "ubuntu OS also including Docker runtime" } ], "Networks": [{"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "Name": "Private", "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "Description": "Private network for intra-cluster communication", "HostUse": "Default", "Purpose": "Storage", "IPPoolID": "string", "VLAN": 200, "VNI": 15006 } ], "Volumes": [{"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "Name": "MyVolume", "Description": "string", "FlavorID": "69d82b9f-19a6-47cd-bcb3-7f4b437e8e51", "Capacity": 0, "Shareable": true, "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "DiscoveryIP": "string", "TargetIQN": "string", "State": "new", "Status": "ok" } ], "MachineInventory": [{"LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "SizeID": "d7550e28-89e0-4d0b-aa49-7bb3dbddae19", "Number": 0 } ], "StorageInventory": [{"FlavorID": "69d82b9f-19a6-47cd-bcb3-7f4b437e8e51", "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "Capacity": 0 } ], "SSHKeys": [{"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "Name": "ExampleKey", "Key": "'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCxv1C5uOeG9BBjfQbum9GupGthTFcifS4FNYxZ2ZakN9UcpD05L2lKp4OI6mfCfciOhJ9SHduZWJFM0pYfC99hIsPAHhEwWOjh3/rHKxB/U4RYN4VFWM+ShDv92+k0Hse73HhuiHKVtmRj/fltAeCFm/mPlL+McMYFhFYMIK8b/spKpXxdEBCSowHPGIn3yi0ivPWhC4wcIa9jDIela/a0t/oDnYTeIp2WMLDbpZyQsGHmKopAAvb+83JhwytQMVTI/g5pMerbqPyxKtWaWDVDtpQ7O8G877T5U3kkl4jLLOJywxrvLrfHh1UNdNvPmvRFd+ct9Q5ugj5CIMJHqWTj Joe@Laptop.local'\n" } ] } Operations related to retrieving information about resource usage within the project.
+ https://client.greenlake.hpe.com{basePath}/available-resources Response samples Content typeapplication/json {"Images": [{"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "Category": "Linux", "Flavor": "ubuntu", "Version": "18.04", "Description": "ubuntu OS also including Docker runtime" } ], "Networks": [{"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "Name": "Private", "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "Description": "Private network for intra-cluster communication", "HostUse": "Default", "Purpose": "Storage", "IPPoolID": "string", "VLAN": 200, "VNI": 15006 } ], "Volumes": [{"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "Name": "MyVolume", "Description": "string", "FlavorID": "69d82b9f-19a6-47cd-bcb3-7f4b437e8e51", "Capacity": 0, "Shareable": true, "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "DiscoveryIP": "string", "TargetIQN": "string", "State": "new", "Status": "ok" } ], "MachineInventory": [{"LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "SizeID": "d7550e28-89e0-4d0b-aa49-7bb3dbddae19", "Number": 0 } ], "StorageInventory": [{"FlavorID": "69d82b9f-19a6-47cd-bcb3-7f4b437e8e51", "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "Capacity": 0 } ], "SSHKeys": [{"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "Name": "ExampleKey", "Key": "'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCxv1C5uOeG9BBjfQbum9GupGthTFcifS4FNYxZ2ZakN9UcpD05L2lKp4OI6mfCfciOhJ9SHduZWJFM0pYfC99hIsPAHhEwWOjh3/rHKxB/U4RYN4VFWM+ShDv92+k0Hse73HhuiHKVtmRj/fltAeCFm/mPlL+McMYFhFYMIK8b/spKpXxdEBCSowHPGIn3yi0ivPWhC4wcIa9jDIela/a0t/oDnYTeIp2WMLDbpZyQsGHmKopAAvb+83JhwytQMVTI/g5pMerbqPyxKtWaWDVDtpQ7O8G877T5U3kkl4jLLOJywxrvLrfHh1UNdNvPmvRFd+ct9Q5ugj5CIMJHqWTj Joe@Laptop.local'\n" } ] } Operations related to retrieving information about resource usage within the project.
Get a usage report Creates and returns a usage report based on the parameters passed in the request body
(BearerAuthProject) (BearerAuthMembership) query Parametersstart required | string Start of the billing period
| end | string End of the billing period, default to now if omitted
@@ -2825,7 +2833,7 @@ Option 2: Getting the token directly from UI
https://client.greenlake.hpe.com{basePath}/usage-reports Response samples Content typeapplication/json {"Hosts": [{"ProjectID": "01718694-8c4b-4346-bfa0-49378216868f", "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "Allocated": "2019-08-24T14:15:22Z", "Ready": "2019-08-24T14:15:22Z", "Freed": "2019-08-24T14:15:22Z", "UsageStart": "2019-08-24T14:15:22Z", "UsageEnd": "2019-08-24T14:15:22Z", "UsageHours": 0, "Error": "string", "MachineSizeName": "HPE-Large", "MachineSizeID": "6e87f64f-b099-4286-9101-bee60a1afa2e", "HostName": "string", "HostID": "22c71c70-ebdd-4620-b802-6650e1973329" } ], "Volumes": [{"ProjectID": "01718694-8c4b-4346-bfa0-49378216868f", "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "Allocated": "2019-08-24T14:15:22Z", "Ready": "2019-08-24T14:15:22Z", "Freed": "2019-08-24T14:15:22Z", "UsageStart": "2019-08-24T14:15:22Z", "UsageEnd": "2019-08-24T14:15:22Z", "UsageHours": 0, "Error": "string", "VolumeName": "string", "VolumeID": "6a9f9b5e-05e4-4f5d-a302-ef4819ffdcf8", "FlavorName": "string", "FlavorID": "69d82b9f-19a6-47cd-bcb3-7f4b437e8e51", "Capacity": 0 } ] } Operations related to listing information related to projects.
+ https://client.greenlake.hpe.com{basePath}/usage-reports Response samples Content typeapplication/json {"Hosts": [{"ProjectID": "01718694-8c4b-4346-bfa0-49378216868f", "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "Allocated": "2019-08-24T14:15:22Z", "Ready": "2019-08-24T14:15:22Z", "Freed": "2019-08-24T14:15:22Z", "UsageStart": "2019-08-24T14:15:22Z", "UsageEnd": "2019-08-24T14:15:22Z", "UsageHours": 0, "Error": "string", "MachineSizeName": "HPE-Large", "MachineSizeID": "6e87f64f-b099-4286-9101-bee60a1afa2e", "HostName": "string", "HostID": "22c71c70-ebdd-4620-b802-6650e1973329" } ], "Volumes": [{"ProjectID": "01718694-8c4b-4346-bfa0-49378216868f", "LocationID": "58e992d9-6663-492c-8c5b-ecf0b1b3bfe1", "Allocated": "2019-08-24T14:15:22Z", "Ready": "2019-08-24T14:15:22Z", "Freed": "2019-08-24T14:15:22Z", "UsageStart": "2019-08-24T14:15:22Z", "UsageEnd": "2019-08-24T14:15:22Z", "UsageHours": 0, "Error": "string", "VolumeName": "string", "VolumeID": "6a9f9b5e-05e4-4f5d-a302-ef4819ffdcf8", "FlavorName": "string", "FlavorID": "69d82b9f-19a6-47cd-bcb3-7f4b437e8e51", "Capacity": 0 } ] } Operations related to listing information related to projects.
List of all projects info within an organization or cluster for which user is authorized. Returns an object with information on projects, machine sizes, and volume flavors. The 'Projects' list includes projects authorized for a user, and the 'MachineSizes' and 'VolumeFlavors' list include only those machine sizes and volume flavors permitted for projects.
When GreenLake IAM issued token is used for authentication, it is required to pass either 'Space' or 'spaceid' header. When both are set, 'Space' header is ignored.
(BearerAuthMembership) BearerAuth query Parameterssiteid | string Example: siteid=95688cf9-82ff-4e32-80fc-2b0b41648dab GreenLake site ID
@@ -2835,13 +2843,13 @@ Option 2: Getting the token directly from UI
https://client.greenlake.hpe.com{basePath}/projects-info Response samples Content typeapplication/json {"Projects": [{"ID": "string", "Name": "string", "Description": "string", "NumHosts": 0, "NumVolumes": 0, "TotalStorageGB": 0, "Status": "Enabled", "NumNetworks": 0, "SummaryStatus": "OK", } ], "VolumeFlavors": [{"Name": "string", "ProjectsUsed": 0, "OtherUsed": 0, "Available": 0 } ], "Summary": {"NumHosts": 0, "NumVolumes": 0, "TotalStorageGB": 0, "NumOK": 0, "NumWarning": 0, "NumCritical": 0, "NumUnknown": 0 } } Operations related to IP pools.
+ https://client.greenlake.hpe.com{basePath}/projects-info Response samples Content typeapplication/json {"Projects": [{"ID": "string", "Name": "string", "Description": "string", "NumHosts": 0, "NumVolumes": 0, "TotalStorageGB": 0, "Status": "Enabled", "NumNetworks": 0, "SummaryStatus": "OK", } ], "VolumeFlavors": [{"Name": "string", "ProjectsUsed": 0, "OtherUsed": 0, "Available": 0 } ], "Summary": {"NumHosts": 0, "NumVolumes": 0, "TotalStorageGB": 0, "NumOK": 0, "NumWarning": 0, "NumCritical": 0, "NumUnknown": 0 } } Operations related to IP pools.
List all ip pools in project Returns an array of all ip pool objects defined within the project.
(BearerAuthProject) (BearerAuthMembership) https://client.greenlake.hpe.com{basePath}/ippools Response samples Content typeapplication/json [{"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "Description": "Description of IP pool", "IPVersion": "IPv4", "NetworkID": "59047804-7c6d-4fea-bf89-08c54543dccc", "BaseIP": "10.128.0.0", "Netmask": "/8", "DefaultRoute": "10.128.0.1", "Sources": [{"Base": "10.128.0.2", "Count": 1 } ], "UseRecords": [{"Base": "10.128.0.2", "HostID": "22c71c70-ebdd-4620-b802-6650e1973329", "RackID": "58b24cb0-f9f0-47ec-987b-5ab478281411", "DeviceID": "9071a42c-59ec-4e86-811e-5a60f34eb5de", "External": true, "Usage": "string", "AllocatedBy": "string" } ], "Proxy": "http://proxy.firewall.com:8080/ or http://user:password@proxy.firewall.com:8080", "NoProxy": "localhost,15.10.0.10,test.com", "Pool": {"Stats": {"Total": 0, "Available": 0, "InUse": 0 } } } ] Retrieve IP pool by ID Returns a single ip pool with matching ID
+ https://client.greenlake.hpe.com{basePath}/ippools Response samples Content typeapplication/json [{"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "Description": "Description of IP pool", "IPVersion": "IPv4", "NetworkID": "59047804-7c6d-4fea-bf89-08c54543dccc", "BaseIP": "10.128.0.0", "Netmask": "/8", "DefaultRoute": "10.128.0.1", "Sources": [{"Base": "10.128.0.2", "Count": 1 } ], "UseRecords": [{"Base": "10.128.0.2", "HostID": "22c71c70-ebdd-4620-b802-6650e1973329", "RackID": "58b24cb0-f9f0-47ec-987b-5ab478281411", "DeviceID": "9071a42c-59ec-4e86-811e-5a60f34eb5de", "External": true, "Usage": "string", "AllocatedBy": "string" } ], "Proxy": "http://proxy.firewall.com:8080/ or http://user:password@proxy.firewall.com:8080", "NoProxy": "localhost,15.10.0.10,test.com", "Pool": {"Stats": {"Total": 0, "Available": 0, "InUse": 0 } } } ] Retrieve IP pool by ID Returns a single ip pool with matching ID
(BearerAuthProject) (BearerAuthMembership) Responseshttps://client.greenlake.hpe.com{basePath}/ippools/{ippoolId} Response samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "Description": "Description of IP pool", "IPVersion": "IPv4", "NetworkID": "59047804-7c6d-4fea-bf89-08c54543dccc", "BaseIP": "10.128.0.0", "Netmask": "/8", "DefaultRoute": "10.128.0.1", "Sources": [{"Base": "10.128.0.2", "Count": 1 } ], "UseRecords": [{"Base": "10.128.0.2", "HostID": "22c71c70-ebdd-4620-b802-6650e1973329", "RackID": "58b24cb0-f9f0-47ec-987b-5ab478281411", "DeviceID": "9071a42c-59ec-4e86-811e-5a60f34eb5de", "External": true, "Usage": "string", "AllocatedBy": "string" } ], "Proxy": "http://proxy.firewall.com:8080/ or http://user:password@proxy.firewall.com:8080", "NoProxy": "localhost,15.10.0.10,test.com", "Pool": {"Stats": {"Total": 0, "Available": 0, "InUse": 0 } } } Update IP pool by ID Update a single ip pool with matching ID. 'DefaultRoute' can only be updated if ip pool is not currently in-use.
+ https://client.greenlake.hpe.com{basePath}/ippools/{ippoolId} Response samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "Description": "Description of IP pool", "IPVersion": "IPv4", "NetworkID": "59047804-7c6d-4fea-bf89-08c54543dccc", "BaseIP": "10.128.0.0", "Netmask": "/8", "DefaultRoute": "10.128.0.1", "Sources": [{"Base": "10.128.0.2", "Count": 1 } ], "UseRecords": [{"Base": "10.128.0.2", "HostID": "22c71c70-ebdd-4620-b802-6650e1973329", "RackID": "58b24cb0-f9f0-47ec-987b-5ab478281411", "DeviceID": "9071a42c-59ec-4e86-811e-5a60f34eb5de", "External": true, "Usage": "string", "AllocatedBy": "string" } ], "Proxy": "http://proxy.firewall.com:8080/ or http://user:password@proxy.firewall.com:8080", "NoProxy": "localhost,15.10.0.10,test.com", "Pool": {"Stats": {"Total": 0, "Available": 0, "InUse": 0 } } } Update IP pool by ID Update a single ip pool with matching ID. 'DefaultRoute' can only be updated if ip pool is not currently in-use.
(BearerAuthProject) (BearerAuthMembership) Request Body schema: application/jsonID required | string <uuid> Unique ID for the resource instance as generated by the Metal service
@@ -2872,7 +2880,7 @@ Option 2: Getting the token directly from UI
https://client.greenlake.hpe.com{basePath}/ippools/{ippoolId} Request samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "Description": "Description of IP pool", "IPVersion": "IPv4", "NetworkID": "59047804-7c6d-4fea-bf89-08c54543dccc", "BaseIP": "10.128.0.0", "Netmask": "/8", "DefaultRoute": "10.128.0.1", "Sources": [{"Base": "10.128.0.2", "Count": 1 } ], "UseRecords": [{"Base": "10.128.0.2", "HostID": "22c71c70-ebdd-4620-b802-6650e1973329", "RackID": "58b24cb0-f9f0-47ec-987b-5ab478281411", "DeviceID": "9071a42c-59ec-4e86-811e-5a60f34eb5de", "External": true, "Usage": "string", "AllocatedBy": "string" } ], "Proxy": "http://proxy.firewall.com:8080/ or http://user:password@proxy.firewall.com:8080", "NoProxy": "localhost,15.10.0.10,test.com", "Pool": {"Stats": {"Total": 0, "Available": 0, "InUse": 0 } } } Response samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "Description": "Description of IP pool", "IPVersion": "IPv4", "NetworkID": "59047804-7c6d-4fea-bf89-08c54543dccc", "BaseIP": "10.128.0.0", "Netmask": "/8", "DefaultRoute": "10.128.0.1", "Sources": [{"Base": "10.128.0.2", "Count": 1 } ], "UseRecords": [{"Base": "10.128.0.2", "HostID": "22c71c70-ebdd-4620-b802-6650e1973329", "RackID": "58b24cb0-f9f0-47ec-987b-5ab478281411", "DeviceID": "9071a42c-59ec-4e86-811e-5a60f34eb5de", "External": true, "Usage": "string", "AllocatedBy": "string" } ], "Proxy": "http://proxy.firewall.com:8080/ or http://user:password@proxy.firewall.com:8080", "NoProxy": "localhost,15.10.0.10,test.com", "Pool": {"Stats": {"Total": 0, "Available": 0, "InUse": 0 } } } Allocate IPs from the pool Allocate IPs from the pool
+ https://client.greenlake.hpe.com{basePath}/ippools/{ippoolId} Request samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "Description": "Description of IP pool", "IPVersion": "IPv4", "NetworkID": "59047804-7c6d-4fea-bf89-08c54543dccc", "BaseIP": "10.128.0.0", "Netmask": "/8", "DefaultRoute": "10.128.0.1", "Sources": [{"Base": "10.128.0.2", "Count": 1 } ], "UseRecords": [{"Base": "10.128.0.2", "HostID": "22c71c70-ebdd-4620-b802-6650e1973329", "RackID": "58b24cb0-f9f0-47ec-987b-5ab478281411", "DeviceID": "9071a42c-59ec-4e86-811e-5a60f34eb5de", "External": true, "Usage": "string", "AllocatedBy": "string" } ], "Proxy": "http://proxy.firewall.com:8080/ or http://user:password@proxy.firewall.com:8080", "NoProxy": "localhost,15.10.0.10,test.com", "Pool": {"Stats": {"Total": 0, "Available": 0, "InUse": 0 } } } Response samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "Description": "Description of IP pool", "IPVersion": "IPv4", "NetworkID": "59047804-7c6d-4fea-bf89-08c54543dccc", "BaseIP": "10.128.0.0", "Netmask": "/8", "DefaultRoute": "10.128.0.1", "Sources": [{"Base": "10.128.0.2", "Count": 1 } ], "UseRecords": [{"Base": "10.128.0.2", "HostID": "22c71c70-ebdd-4620-b802-6650e1973329", "RackID": "58b24cb0-f9f0-47ec-987b-5ab478281411", "DeviceID": "9071a42c-59ec-4e86-811e-5a60f34eb5de", "External": true, "Usage": "string", "AllocatedBy": "string" } ], "Proxy": "http://proxy.firewall.com:8080/ or http://user:password@proxy.firewall.com:8080", "NoProxy": "localhost,15.10.0.10,test.com", "Pool": {"Stats": {"Total": 0, "Available": 0, "InUse": 0 } } } Allocate IPs from the pool Allocate IPs from the pool
(BearerAuthProject) (BearerAuthMembership) path ParametersippoolId required | string ID of IP pool to allocate IPs
|
Request Body schema: application/jsonIPs being requested starting from an optional base IP and their usage
Array Base required | string An optional base address for the allocation, if not specified first available address from the pool will be the base
@@ -2884,7 +2892,7 @@ Option 2: Getting the token directly from UI
https://client.greenlake.hpe.com{basePath}/ippools/{ippoolId}/allocation Request samples Content typeapplication/json Response samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "Description": "Description of IP pool", "IPVersion": "IPv4", "NetworkID": "59047804-7c6d-4fea-bf89-08c54543dccc", "BaseIP": "10.128.0.0", "Netmask": "/8", "DefaultRoute": "10.128.0.1", "Sources": [{"Base": "10.128.0.2", "Count": 1 } ], "UseRecords": [{"Base": "10.128.0.2", "HostID": "22c71c70-ebdd-4620-b802-6650e1973329", "RackID": "58b24cb0-f9f0-47ec-987b-5ab478281411", "DeviceID": "9071a42c-59ec-4e86-811e-5a60f34eb5de", "External": true, "Usage": "string", "AllocatedBy": "string" } ], "Proxy": "http://proxy.firewall.com:8080/ or http://user:password@proxy.firewall.com:8080", "NoProxy": "localhost,15.10.0.10,test.com", "Pool": {"Stats": {"Total": 0, "Available": 0, "InUse": 0 } } } Return IPs to the pool https://client.greenlake.hpe.com{basePath}/ippools/{ippoolId}/allocation Request samples Content typeapplication/json Response samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "Description": "Description of IP pool", "IPVersion": "IPv4", "NetworkID": "59047804-7c6d-4fea-bf89-08c54543dccc", "BaseIP": "10.128.0.0", "Netmask": "/8", "DefaultRoute": "10.128.0.1", "Sources": [{"Base": "10.128.0.2", "Count": 1 } ], "UseRecords": [{"Base": "10.128.0.2", "HostID": "22c71c70-ebdd-4620-b802-6650e1973329", "RackID": "58b24cb0-f9f0-47ec-987b-5ab478281411", "DeviceID": "9071a42c-59ec-4e86-811e-5a60f34eb5de", "External": true, "Usage": "string", "AllocatedBy": "string" } ], "Proxy": "http://proxy.firewall.com:8080/ or http://user:password@proxy.firewall.com:8080", "NoProxy": "localhost,15.10.0.10,test.com", "Pool": {"Stats": {"Total": 0, "Available": 0, "InUse": 0 } } } Return IPs to the pool (BearerAuthProject) (BearerAuthMembership) path ParametersippoolId required | string ID of IP pool to return IPs
|
Request Body schema: application/jsonResponseshttps://client.greenlake.hpe.com{basePath}/ippools/{ippoolId}/return Request samples Content typeapplication/json Response samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "Description": "Description of IP pool", "IPVersion": "IPv4", "NetworkID": "59047804-7c6d-4fea-bf89-08c54543dccc", "BaseIP": "10.128.0.0", "Netmask": "/8", "DefaultRoute": "10.128.0.1", "Sources": [{"Base": "10.128.0.2", "Count": 1 } ], "UseRecords": [{"Base": "10.128.0.2", "HostID": "22c71c70-ebdd-4620-b802-6650e1973329", "RackID": "58b24cb0-f9f0-47ec-987b-5ab478281411", "DeviceID": "9071a42c-59ec-4e86-811e-5a60f34eb5de", "External": true, "Usage": "string", "AllocatedBy": "string" } ], "Proxy": "http://proxy.firewall.com:8080/ or http://user:password@proxy.firewall.com:8080", "NoProxy": "localhost,15.10.0.10,test.com", "Pool": {"Stats": {"Total": 0, "Available": 0, "InUse": 0 } } } Operations related to listing information about allocation by servers and storage.
+ https://client.greenlake.hpe.com{basePath}/ippools/{ippoolId}/return Request samples Content typeapplication/json Response samples Content typeapplication/json {"ID": "3892eb50-4697-4c72-aadc-32b766bce3c0", "ETag": "a8a0a8d9-d35b-45c6-840f-2b3694efc394", "Name": "My Object Name", "Created": "2019-06-27T22:59:01.661Z", "Modified": "2020-02-27T18:28:02.863Z", "Description": "Description of IP pool", "IPVersion": "IPv4", "NetworkID": "59047804-7c6d-4fea-bf89-08c54543dccc", "BaseIP": "10.128.0.0", "Netmask": "/8", "DefaultRoute": "10.128.0.1", "Sources": [{"Base": "10.128.0.2", "Count": 1 } ], "UseRecords": [{"Base": "10.128.0.2", "HostID": "22c71c70-ebdd-4620-b802-6650e1973329", "RackID": "58b24cb0-f9f0-47ec-987b-5ab478281411", "DeviceID": "9071a42c-59ec-4e86-811e-5a60f34eb5de", "External": true, "Usage": "string", "AllocatedBy": "string" } ], "Proxy": "http://proxy.firewall.com:8080/ or http://user:password@proxy.firewall.com:8080", "NoProxy": "localhost,15.10.0.10,test.com", "Pool": {"Stats": {"Total": 0, "Available": 0, "InUse": 0 } } } Operations related to listing information about allocation by servers and storage.
Get servers allocation Returns an array of allocation information for each server instance type. Each instance type's allocation information is further grouped by service type.
When using a Metal token, the value in the 'Membership' header determines the scope of the response, i.e., Project or Hoster. However, the default scope is Tenant/Hoster when using the GL IAM token. If the allocation data is needed for a specific project, then the 'Project' header must be present in the request.
If the 'siteID' query parameter is present, the information returned is specific to that site ID.
@@ -2902,7 +2910,7 @@ Option 2: Getting the token directly from UI
https://client.greenlake.hpe.com{basePath}/allocation/servers Response samples Content typeapplication/json [{"ResourceType": "string", "Total": 0, "InstanceFamily": "Compute Optimized, General Purpose", "InstanceType": "C2i, M2ie", "Available": 0, "AllocationInfo": [{"ServiceType": "BMaaS", "AllocatedCount": 0, "CoresCapacity": 0, "CoresAllocated": 0, "RAMCapacity": 0, "RAMAllocated": 0 } ] } ] Get storage allocation Returns an array of allocation information for each server instance type. Each instance type's allocation information is further grouped by service type.
+ https://client.greenlake.hpe.com{basePath}/allocation/servers Response samples Content typeapplication/json [{"ResourceType": "string", "Total": 0, "InstanceFamily": "Compute Optimized, General Purpose", "InstanceType": "C2i, M2ie", "Available": 0, "AllocationInfo": [{"ServiceType": "BMaaS", "AllocatedCount": 0, "CoresCapacity": 0, "CoresAllocated": 0, "RAMCapacity": 0, "RAMAllocated": 0 } ] } ] Get storage allocation Returns an array of allocation information for each server instance type. Each instance type's allocation information is further grouped by service type.
When using a Metal token, the value in the 'Membership' header determines the scope of the response, i.e., Project or Hoster. However, the default scope is Tenant/Hoster when using the GL IAM token. If the allocation data is needed for a specific project, then the 'Project' header must be present in the request.
If the 'siteID' query parameter is present, the information returned is specific to that site ID.
(BearerAuthProject) (BearerAuthMembership) query ParameterssiteID | string site ID
@@ -2910,9 +2918,9 @@ Option 2: Getting the token directly from UI
https://client.greenlake.hpe.com{basePath}/allocation/storage Response samples Content typeapplication/json [{"ResourceType": "string", "Total": 0, "InstanceFamily": "Performance Optimized Block", "InstanceType": "SBP", "Available": 0, "AllocationInfo": [{"ServiceType": "BMaaS", "AllocatedCount": 0, "AllocatedCapacity": 0 } ] } ]
+https://client.greenlake.hpe.com{basePath}/allocation/storage Response samples Content typeapplication/json [{"ResourceType": "string", "Total": 0, "InstanceFamily": "Performance Optimized Block", "InstanceType": "SBP", "Available": 0, "AllocationInfo": [{"ServiceType": "BMaaS", "AllocatedCount": 0, "AllocatedCapacity": 0 } ] } ]
|
|
|
|
|
|
|
|
|
|
|
|
|