Virtualization API
Virtualization API (1.2.0)
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/
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/virtualization/public/openapi/virtualization-public-v1beta1/
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.
- “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-clusters?filter="clusterType eq ESX_CLUSTER"
- GET /virtualization/v1beta1/hypervisor-clusters?filter="clusterType eq ESX_CLUSTER and status eq ERROR"
Filters are supported on the following attributes:
- clusterType
- id
- state
- hypervisorManagerInfo/name
- hypervisorManagerInfo/displayName
- hypervisorManagerInfo/id
- status
- createdAt
- hciClusterUuid
- name
- services
- displayName
- appInfo/vmware/moref
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.
https://us-west.api.greenlake.hpe.com/virtualization/v1beta1/hypervisor-clusters
https://eu-west.api.greenlake.hpe.com/virtualization/v1beta1/hypervisor-clusters
https://eu-central.api.greenlake.hpe.com/virtualization/v1beta1/hypervisor-clusters
https://ap-northeast.api.greenlake.hpe.com/virtualization/v1beta1/hypervisor-clusters
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/virtualization/public/openapi/virtualization-public-v1beta1/virtualization/v1beta1/hypervisor-clusters
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://us-west.api.greenlake.hpe.com/virtualization/v1beta1/hypervisor-clusters \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Success
UUID string uniquely identifying the hypervisor cluster.
A user-friendly name that identifies the hypervisor cluster. This will always be same as name since adding or updating hypervisor clusters is not supported when managed from a manager, such as the vCenter.
Captures the list of all hosts of this cluster. In a VMWare cluster, this entity maps to ESXi hosts.
Name of the cluster as reported by the hypervisor manager.
All the network names associated with this cluster.
The 'self' reference for this resource.
Brief reason for the current state of the hypervisor cluster.
{ "count": 0, "items": [ { … } ], "offset": 0, "total": 0 }
https://us-west.api.greenlake.hpe.com/virtualization/v1beta1/hypervisor-clusters/{cluster-id}
https://eu-west.api.greenlake.hpe.com/virtualization/v1beta1/hypervisor-clusters/{cluster-id}
https://eu-central.api.greenlake.hpe.com/virtualization/v1beta1/hypervisor-clusters/{cluster-id}
https://ap-northeast.api.greenlake.hpe.com/virtualization/v1beta1/hypervisor-clusters/{cluster-id}
- Mock server
https://developer.greenlake.hpe.com/_mock/docs/greenlake/services/virtualization/public/openapi/virtualization-public-v1beta1/virtualization/v1beta1/hypervisor-clusters/{cluster-id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://us-west.api.greenlake.hpe.com/virtualization/v1beta1/hypervisor-clusters/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Success
UUID string uniquely identifying the hypervisor cluster.
A user-friendly name that identifies the hypervisor cluster. This will always be same as name since adding or updating hypervisor clusters is not supported when managed from a manager, such as the vCenter.
Captures the list of all hosts of this cluster. In a VMWare cluster, this entity maps to ESXi hosts.
Name of the cluster as reported by the hypervisor manager.
All the network names associated with this cluster.
The 'self' reference for this resource.
{ "appInfo": { "vmware": { … } }, "clusterPerfMetricInfo": { "cpuCapacityInMhz": 0, "cpuUsageInMhz": 0, "memorySizeInBytes": 0, "memoryUsageInMb": 0, "totalStorageInBytes": 0, "usedStorageInBytes": 0 }, "clusterType": "ESX_CLUSTER", "createdAt": "2019-08-24T14:15:22Z", "customerId": "string", "displayName": "myesxcluster1", "generation": 0, "hciClusterUuid": "string", "hypervisorHosts": [ { … } ], "hypervisorManagerInfo": { "displayName": "myvcenter1", "id": "9b4c14a6-3cd5-4907-97c4-cf44c5b641e4", "name": "vcenter123.hpe.com", "resourceUri": "string", "type": "string" }, "id": "9b4c14a6-3cd5-4907-97c4-cf44c5b641e4", "name": "myesxcluster1", "networksInfo": [ "network-2053", "network-1005" ], "resourceUri": "/virtualization/v1beta1/hypervisor-clusters/{cluster-id}", "services": [ "hci-manager", "backup-and-recovery" ], "state": "OK", "stateReason": "string", "status": "OK", "type": "string", "updatedAt": "2019-08-24T14:15:22Z" }