Virtualization API
- Get a list of CSP machine images
Virtualization API (1.2.0)
The number of items to omit from the beginning of the result set. Use offset in conjunction with limit for pagination, for example "offset=30&limit=10" indicates the fourth page of 10 items.
The maximum number of items to include in the response. Use offset in conjunction with limit for pagination, for example "offset=30&limit=10" indicates the fourth page of 10 items.
An expression to filter the results.
Filtering is supported with following attributes:
- name
- cspInfo.id
- cspInfo.region
- cspInfo.architecture
- cspInfo.state
- cspInfo.hypervisor
- cspInfo.rootDeviceType
- cspInfo.rootDeviceName
- cspInfo.virtualizationType
- cspType
- cspInfo.location
- cspInfo.ownerId
A comma separated list of properties to sort by, followed by a direction indicator ("asc" or "desc").
- https://us-west.api.greenlake.hpe.com/virtualization/v1beta1/csp-machine-images
- https://eu-west.api.greenlake.hpe.com/virtualization/v1beta1/csp-machine-images
- https://eu-central.api.greenlake.hpe.com/virtualization/v1beta1/csp-machine-images
- https://ap-northeast.api.greenlake.hpe.com/virtualization/v1beta1/csp-machine-images
- Mock serverhttps://developer.greenlake.hpe.com/_mock/docs/greenlake/services/virtualization/public/openapi/virtualization-public-v1beta1/virtualization-api/virtualization/v1beta1/csp-machine-images
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://us-west.api.greenlake.hpe.com/virtualization/v1beta1/csp-machine-images \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'List of CSP machine images
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.
{ "count": 0, "offset": 0, "total": 0, "items": [ { … } ] }
- https://us-west.api.greenlake.hpe.com/virtualization/v1beta1/csp-machine-images/{id}
- https://eu-west.api.greenlake.hpe.com/virtualization/v1beta1/csp-machine-images/{id}
- https://eu-central.api.greenlake.hpe.com/virtualization/v1beta1/csp-machine-images/{id}
- https://ap-northeast.api.greenlake.hpe.com/virtualization/v1beta1/csp-machine-images/{id}
- Mock serverhttps://developer.greenlake.hpe.com/_mock/docs/greenlake/services/virtualization/public/openapi/virtualization-public-v1beta1/virtualization-api/virtualization/v1beta1/csp-machine-images/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
'https://us-west.api.greenlake.hpe.com/virtualization/v1beta1/csp-machine-images/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Details of a CSP machine image
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.
{ "createdAt": "2019-08-24T14:15:22Z", "customerId": "string", "generation": 0, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "resourceUri": "string", "type": "string", "updatedAt": "2019-08-24T14:15:22Z", "consoleUri": "string", "cspInfo": { "architecture": "x86_64", "blockDeviceMappings": [ … ], "description": "string", "enaSupport": true, "hypervisor": "xen", "id": "ami-0000025f7c02a13b2", "imageType": "machine", "location": "amazon/amzn-ami-hvm-2018.03.0.20200716.0-x86_64-ebs", "ownerAlias": "amazon", "ownerId": "137112412989", "platformDetails": "Linux/UNIX", "public": true, "region": "eu-west-3", "rootDeviceName": "/dev/sda1", "rootDeviceType": "ebs", "sriovNetSupport": "simple", "state": "available", "usageOperation": "RunInstances", "virtualizationType": "hvm" }, "cspType": "AWS" }