Virtualization API
Virtualization API (1.2.0)
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/virtualization/public/openapi/virtualization-public-v1beta1/
https://us-west.api.greenlake.hpe.com/
https://eu-west.api.greenlake.hpe.com/
https://eu-central.api.greenlake.hpe.com/
https://ap-northeast.api.greenlake.hpe.com/
The filter query parameter is used to filter the set of resources returned in the response. The returned set of resources must match the criteria in the filter query parameter.
A comparison compares a property name to a literal. The comparisons supported are the following:
- “eq” : Is a property equal to value. Valid for number, boolean and string properties.
- “ne” : Is a property not equal to value. Valid for number, boolean and string properties.
- “gt” : Is a property greater than a value. Valid for number or string timestamp properties.
- “lt” : Is a property less than a value. Valid for number or string timestamp properties
- “in” : Is a value in a property (that is an array of strings)
Examples:
- GET /virtualization/v1beta1/hypervisor-managers?filter="hypervisorManagerType eq VMWARE_VCENTER"
- GET /virtualization/v1beta1/hypervisor-managers?filter="hypervisorManagerType eq VMWARE_VCENTER and status eq ERROR"
Filters are supported on the following attributes:
- hypervisorManagerType
- state
- status
- releaseVersion
- createdAt
- name
- services
- dataOrchestratorInfo/id
- username
- networkAddress
- displayName
A comma separated list of properties to sort by, followed by a direction indicator ("asc" or "desc"). If no direction indicator is specified, the default order is ascending.
The select query parameter is used to limit the properties returned with a resource or collection-level GET. Multiple properties can be listed to be returned. The server must only return the set of properties requested by the client. The property “select” is the name of the select query parameter; its value is the list of properties to return separated by commas.
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/virtualization/public/openapi/virtualization-public-v1beta1/virtualization/v1beta1/hypervisor-managers
https://us-west.api.greenlake.hpe.com/virtualization/v1beta1/hypervisor-managers
https://eu-west.api.greenlake.hpe.com/virtualization/v1beta1/hypervisor-managers
https://eu-central.api.greenlake.hpe.com/virtualization/v1beta1/hypervisor-managers
https://ap-northeast.api.greenlake.hpe.com/virtualization/v1beta1/hypervisor-managers
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/virtualization/public/openapi/virtualization-public-v1beta1/virtualization/v1beta1/hypervisor-managers \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
Success
UUID string uniquely identifying the hypervisor manager.
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.
The hypervisor manager build details
The type of the hypervisor manager. Currently only vCenter is supported.
Name as reported by the hypervisor manager.
An IP address or hostname or FQDN to address the hypervisor manager
The hypervisor manager release version.
The 'self' reference for this resource.
List of services this object belongs to. This list can be used to filter specific services in the UI.
The current state of the hypervisor manager object
Brief reason for the current state of the hypervisor manager
The current status of the hypervisor manager resource.
A hypervisor manager provided durable UID. In case of VMware it will be instanceUUID of the vCenter
{ "count": 0, "items": [ { … } ], "offset": 0, "total": 0 }
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/virtualization/public/openapi/virtualization-public-v1beta1/virtualization/v1beta1/hypervisor-managers/{hypervisor-id}
https://us-west.api.greenlake.hpe.com/virtualization/v1beta1/hypervisor-managers/{hypervisor-id}
https://eu-west.api.greenlake.hpe.com/virtualization/v1beta1/hypervisor-managers/{hypervisor-id}
https://eu-central.api.greenlake.hpe.com/virtualization/v1beta1/hypervisor-managers/{hypervisor-id}
https://ap-northeast.api.greenlake.hpe.com/virtualization/v1beta1/hypervisor-managers/{hypervisor-id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/virtualization/public/openapi/virtualization-public-v1beta1/virtualization/v1beta1/hypervisor-managers/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
Success
UUID string uniquely identifying the hypervisor manager.
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.
The hypervisor manager build details
The type of the hypervisor manager. Currently only vCenter is supported.
Name as reported by the hypervisor manager.
An IP address or hostname or FQDN to address the hypervisor manager
The 'self' reference for this resource.
List of services this object belongs to. This list can be used to filter specific services in the UI.
A hypervisor manager provided durable UID. In case of VMware it will be instanceUUID of the vCenter
{ "appInfo": { "vmware": { … } }, "buildVersion": "6.7.0 build-9030300, NT 6.3, 3.8.13-44.1.1.el6uek.x86_64", "createdAt": "2019-08-24T14:15:22Z", "customerId": "string", "dataOrchestratorInfo": { "id": "8b4c14a6-3cd5-4907-97c4-cf44c5b642e5", "resourceUri": "string", "type": "string" }, "dataServicesConnectorsInfo": [ { … } ], "description": "string", "displayName": "myvcenter1", "generation": 0, "hypervisorManagerType": "VMWARE_VCENTER", "id": "9b4c14a6-3cd5-4907-97c4-cf44c5b641e4", "lastRefreshed": "2019-08-24T14:15:22Z", "name": "vcenter123.hpe.com", "networkAddress": "192.168.0.1", "releaseVersion": "6.7.0 build-9030300, R2, 7.2", "resourceUri": "/virtualization/v1beta1/hypervisor-managers/{hypervisor-id}", "services": [ "hci-manager", "backup-and-recovery" ], "state": "OK", "stateReason": "string", "status": "OK", "type": "string", "uid": "string", "updatedAt": "2019-08-24T14:15:22Z", "username": "string" }
The filter query parameter is used to filter the set of resources returned in the response. The returned set of resources must match the criteria in the filter query parameter.
A comparison compares a property name to a literal. The following comparisons are supported:
- “eq” : Is a property equal to value. Valid for number, boolean and string properties.
- “gt” : Is a property greater than a value. Valid for number or string timestamp properties.
- “lt” : Is a property less than a value. Valid for number or string timestamp properties
- “in” : Is a value in a property (that is an array of strings)
Examples:
- GET /api/v1/hypervisor-managers/{hypervisor-id}/hypervisor-library-images?filter="filetype eq OVF"
Filters are supported on the following attributes:
- fileType
- name
- services
- sizeInBytes
- subscribed
A comma separated list of properties to sort by, followed by a direction indicator ("asc" or "desc"). If no direction indicator is specified, the default order is ascending.
The select query parameter is used to limit the properties returned with a resource or collection-level GET. Multiple properties can be listed to be returned. The server must only return the set of properties requested by the client. The property “select” is the name of the select query parameter; its value is the list of properties to return separated by commas.
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/virtualization/public/openapi/virtualization-public-v1beta1/virtualization/v1beta1/hypervisor-managers/{hypervisor-id}/hypervisor-library-images
https://us-west.api.greenlake.hpe.com/virtualization/v1beta1/hypervisor-managers/{hypervisor-id}/hypervisor-library-images
https://eu-west.api.greenlake.hpe.com/virtualization/v1beta1/hypervisor-managers/{hypervisor-id}/hypervisor-library-images
https://eu-central.api.greenlake.hpe.com/virtualization/v1beta1/hypervisor-managers/{hypervisor-id}/hypervisor-library-images
https://ap-northeast.api.greenlake.hpe.com/virtualization/v1beta1/hypervisor-managers/{hypervisor-id}/hypervisor-library-images
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/virtualization/public/openapi/virtualization-public-v1beta1/virtualization/v1beta1/hypervisor-managers/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4/hypervisor-library-images \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
Success
UUID string uniquely identifying the virtual machine image from the hypervisor image library
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.
Time at which the virtual machine image was created
Time at which the virtual machine image was updated
The customer application identifier.
Description given for the virtual machine image from the hypervisor image library
The type of the virtual machine image from the hypervisor manager image library
The 'self' reference for this resource.
Size of the virtual machine image from the hypervisor manager image library in bytes
True if the image will be pulled from a remote hypervisor image library (ex. vCenter subscribed content library).
{ "count": 0, "items": [ { … } ], "offset": 0, "total": 0 }
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/virtualization/public/openapi/virtualization-public-v1beta1/virtualization/v1beta1/hypervisor-managers/{hypervisor-id}/hypervisor-library-images/{hypervisor-library-image-id}
https://us-west.api.greenlake.hpe.com/virtualization/v1beta1/hypervisor-managers/{hypervisor-id}/hypervisor-library-images/{hypervisor-library-image-id}
https://eu-west.api.greenlake.hpe.com/virtualization/v1beta1/hypervisor-managers/{hypervisor-id}/hypervisor-library-images/{hypervisor-library-image-id}
https://eu-central.api.greenlake.hpe.com/virtualization/v1beta1/hypervisor-managers/{hypervisor-id}/hypervisor-library-images/{hypervisor-library-image-id}
https://ap-northeast.api.greenlake.hpe.com/virtualization/v1beta1/hypervisor-managers/{hypervisor-id}/hypervisor-library-images/{hypervisor-library-image-id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/virtualization/public/openapi/virtualization-public-v1beta1/virtualization/v1beta1/hypervisor-managers/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4/hypervisor-library-images/9476c228-d128-519c-a2ac-a4932ff2109b \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
Success
UUID string uniquely identifying the virtual machine image from the hypervisor image library
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.
Time at which the virtual machine image was created
Time at which the virtual machine image was updated
Description given for the virtual machine image from the hypervisor image library
The type of the virtual machine image from the hypervisor manager image library
The 'self' reference for this resource.
Size of the virtual machine image from the hypervisor manager image library in bytes
True if the image will be pulled from a remote hypervisor image library (ex. vCenter subscribed content library).
{ "createdAt": "2022-02-04T07:43:27Z", "customerId": "90299b6c06aa283091cd4a89298b5471", "description": "This is a sample virtual machine image description", "displayName": "CentOS.ova", "fileType": "OVF", "generation": 0, "hypervisorManagerInfo": { "displayName": "myvcenter1", "id": "9b4c14a6-3cd5-4907-97c4-cf44c5b641e4", "name": "vcenter123.hpe.com", "resourceUri": "string", "type": "string" }, "id": "9476c228-d128-519c-a2ac-a4932ff2109b", "libraryName": "LibraryImages", "name": "Centos.ova", "resourceUri": "The URI reference for this resource.", "size": 15344, "subscribed": false, "type": "HypervisorLibraryImages", "uid": "9476c228-d128-519c-a2ac-a4932ff2109b", "updatedAt": "2022-02-04T08:43:27Z" }
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/virtualization/public/openapi/virtualization-public-v1beta1/virtualization/v1beta1/hypervisor-managers/{hypervisor-id}/refresh
https://us-west.api.greenlake.hpe.com/virtualization/v1beta1/hypervisor-managers/{hypervisor-id}/refresh
https://eu-west.api.greenlake.hpe.com/virtualization/v1beta1/hypervisor-managers/{hypervisor-id}/refresh
https://eu-central.api.greenlake.hpe.com/virtualization/v1beta1/hypervisor-managers/{hypervisor-id}/refresh
https://ap-northeast.api.greenlake.hpe.com/virtualization/v1beta1/hypervisor-managers/{hypervisor-id}/refresh
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/virtualization/public/openapi/virtualization-public-v1beta1/virtualization/v1beta1/hypervisor-managers/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4/refresh \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'