HPE GreenLake for Private Cloud Business Edition System APIs
HPE GreenLake for Private Cloud Business Edition System APIs (1.1.0)
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/private-cloud-business/public/openapi/private-cloud-business-public-v1beta1/private-cloud-business-api/
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/
Request
Returns a list of all system software catalogs. Use 'select' and 'filter' query parameters to customize the response returned by this API. For example, to get the End User License Agreement (EULA) for catalog version 1.2.3.4, use '?select=eula&filter=version eq 1.2.3.4'. To get recommended systems for precheck to a given catalog version, use '?select=systemsWithUpdatePath&filter=version eq 1.2.3.4'.
A list of properties in the items collection to include in the response.
The expression to filter responses. The property names which are of type string should be passed in quotes('') and nested property names should be passed with "/" as the separator. Filtering is supported with following properties:
- eula
- createdAt
- customerId
- generation
- id
- name
- resourceUri
- type
- updatedAt
- hypervisor/name
- hypervisor/releaseDate
- hypervisor/releaseNotesUrl
- hypervisor/version
- releaseDate
- serverFirmware/name
- serverFirmware/releaseDate
- serverFirmware/releaseNotesUrl
- serverFirmware/version
- storageConnectionManager/name
- storageConnectionManager/releaseDate
- storageConnectionManager/releaseNotesUrl
- storageConnectionManager/version
- storageSoftware/name
- storageSoftware/releaseDate
- storageSoftware/releaseNotesUrl
- storageSoftware/version
- version
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/private-cloud-business/public/openapi/private-cloud-business-public-v1beta1/private-cloud-business-api/private-cloud-business/v1beta1/system-software-catalogs
https://us-west.api.greenlake.hpe.com/private-cloud-business/v1beta1/system-software-catalogs
https://eu-west.api.greenlake.hpe.com/private-cloud-business/v1beta1/system-software-catalogs
https://eu-central.api.greenlake.hpe.com/private-cloud-business/v1beta1/system-software-catalogs
https://ap-northeast.api.greenlake.hpe.com/private-cloud-business/v1beta1/system-software-catalogs
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/private-cloud-business/public/openapi/private-cloud-business-public-v1beta1/private-cloud-business-api/private-cloud-business/v1beta1/system-software-catalogs \
-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.
List of systems having update path to this software catalog
{ "items": [ { … } ], "count": 0, "offset": 0, "total": 0 }
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/private-cloud-business/public/openapi/private-cloud-business-public-v1beta1/private-cloud-business-api/private-cloud-business/v1beta1/system-software-catalogs/{id}
https://us-west.api.greenlake.hpe.com/private-cloud-business/v1beta1/system-software-catalogs/{id}
https://eu-west.api.greenlake.hpe.com/private-cloud-business/v1beta1/system-software-catalogs/{id}
https://eu-central.api.greenlake.hpe.com/private-cloud-business/v1beta1/system-software-catalogs/{id}
https://ap-northeast.api.greenlake.hpe.com/private-cloud-business/v1beta1/system-software-catalogs/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
'https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/private-cloud-business/public/openapi/private-cloud-business-public-v1beta1/private-cloud-business-api/private-cloud-business/v1beta1/system-software-catalogs/{id}' \
-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.
List of systems having update path to this software catalog
{ "eula": "string", "systemsWithUpdatePath": [ { … } ], "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", "hypervisor": { "name": "string", "releaseDate": "string", "releaseNotesUrl": "string", "version": "string" }, "hypervisorManager": { "name": "string", "releaseDate": "string", "releaseNotesUrl": "string", "version": "string" }, "releaseDate": "string", "serverFirmware": { "name": "string", "releaseDate": "string", "releaseNotesUrl": "string", "version": "string" }, "storageConnectionManager": { "name": "string", "releaseDate": "string", "releaseNotesUrl": "string", "version": "string" }, "storageSoftware": { "name": "string", "releaseDate": "string", "releaseNotesUrl": "string", "version": "string" }, "version": "string" }
Request
Returns the systems and their properties defined by the query parameters. Retrieving all of the properties for the system can take a long time because the amount of data is large. Use the ‘select’ query parameter to choose only the properties you want to retrieve for a system. For example, to get details of the id, name and software information for each system, use ‘?select=id,name,softwareInfo’
Query parameter listing the properties of system information to fetch. Although Hypervisor Clusters collection (property hypervisorClusters) can be selected, selecting elements of the collection is not supported. Similarly, hypervisor clusters update status collection (property softwareInfo.hypervisorClusters) can be selected, but, selecting elements of the collection is not supported in the select query parameter. Although systemVms collection can be selected, selecting elements of the collection is not supported.
Use offset in conjunction with limit for paging, e.g.: offset=30&&limit=10. Offset is the number of items from the beginning of the result set to the first item included in the response.
Use limit in conjunction with offset for paging, e.g.: offset=30&&limit=10. Limit is the maximum number of items to include in the response.
The expression to filter responses. This API doesn't support filtering based on hypervisorClusters collection property, softwareInfo.hypervisorClusters and systemVms collection property. Request with filter based on the above mentioned properties will be treated as a Bad Request with 400 Error.
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. This API doesn't support sorting based on hypervisorClusters collection property, softwareInfo.hypervisorClusters collection property and systemVms collection property. Request with sort based on the above mentioned properties will be treated as a Bad Request with 400 Error.
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/private-cloud-business/public/openapi/private-cloud-business-public-v1beta1/private-cloud-business-api/private-cloud-business/v1beta1/systems
https://us-west.api.greenlake.hpe.com/private-cloud-business/v1beta1/systems
https://eu-west.api.greenlake.hpe.com/private-cloud-business/v1beta1/systems
https://eu-central.api.greenlake.hpe.com/private-cloud-business/v1beta1/systems
https://ap-northeast.api.greenlake.hpe.com/private-cloud-business/v1beta1/systems
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/private-cloud-business/public/openapi/private-cloud-business-public-v1beta1/private-cloud-business-api/private-cloud-business/v1beta1/systems \
-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.
Associated Resource Information of system.
Status of last run of configuration analysis job.
Aspects of system health.
Deduced health of storage subsystem based on associated arrays, controllers, disks, shelves, power supply, network interfaces, fan and temperature sensors.
Aggregated health of servers based on health statuses of multiple servers in the system.
Aggregated health of network based on health statues of multiple switches used in the system.
Deduced/Aggregated overall health of the system based on storage, servers and networking health.
List of hypervisor clusters in the system with their software details.
{ "items": [ { … } ], "count": 0, "offset": 0, "total": 0 }
Request
Returns the system properties specified in the query parameters. Retrieving all of the properties for the system can take a long time because the amount of data is large. Use the 'select' query parameter to choose only the properties you want to retrieve.
For example, to get details of the system's id, name and software information, use '?select=id,name,softwareInfo'
Query parameter listing the properties of system information to fetch. Although Hypervisor Clusters collection (property hypervisorClusters) can be selected, selecting elements of the collection is not supported. Similarly, hypervisor clusters update status collection (property softwareInfo.hypervisorClusters) can be selected, but, selecting elements of the collection is not supported in the select query parameter.
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/private-cloud-business/public/openapi/private-cloud-business-public-v1beta1/private-cloud-business-api/private-cloud-business/v1beta1/systems/{id}
https://us-west.api.greenlake.hpe.com/private-cloud-business/v1beta1/systems/{id}
https://eu-west.api.greenlake.hpe.com/private-cloud-business/v1beta1/systems/{id}
https://eu-central.api.greenlake.hpe.com/private-cloud-business/v1beta1/systems/{id}
https://ap-northeast.api.greenlake.hpe.com/private-cloud-business/v1beta1/systems/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
'https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/private-cloud-business/public/openapi/private-cloud-business-public-v1beta1/private-cloud-business-api/private-cloud-business/v1beta1/systems/{id}' \
-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.
Aspects of system health.
Deduced health of storage subsystem based on associated arrays, controllers, disks, shelves, power supply, network interfaces, fan and temperature sensors.
Aggregated health of servers based on health statuses of multiple servers in the system.
Aggregated health of network based on health statues of multiple switches used in the system.
Deduced/Aggregated overall health of the system based on storage, servers and networking health.
List of hypervisor clusters in the system with their software details.
{ "associatedResourceCounts": { "datastoreCount": 0, "hypervisorClusterCount": 0, "serversCount": 0, "storageArrayCount": 0, "switchesCount": 0, "vmCount": 0 }, "computeUsage": { "cpuCapacityMhz": 0, "cpuUsedMhz": 0, "memoryCapacityBytes": 0, "memoryUsedBytes": 0 }, "configAnalysisStatus": { "createdAt": "string", "createdBy": "string", "nextScheduledRunTime": "string", "ruleRunStartTime": "string", "totalFailed": 0, "totalPassed": 0, "totalWarning": 0 }, "health": { "network": "OK", "overallHealth": "OK", "servers": "OK", "storage": "OK" }, "hypervisorClusters": [ { … } ], "location": { "city": "string", "countryCode": "string", "latitude": "string", "longitude": "string", "stateCode": "string", "zipCode": "string" }, "softwareInfo": { "currentUpdateStatus": { … }, "hypervisorClusters": [ … ], "lastUpdatedOn": "2019-08-24T14:15:22Z", "precheckValidUntil": "2019-08-24T14:15:22Z" }, "stackType": "DHCI", "state": "OFFLINE", "storageSystem": { "compressionRatio": 0, "dedupeRatio": 0, "groupLeaderName": "string", "groupLeaderSerialNumber": "string", "groupName": "string", "groupState": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "resourceUri": "string" }, "storageUsage": { "sizeInBytes": 0, "usageInBytes": 0 }, "systemVms": [ { … } ], "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" }
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/private-cloud-business/public/openapi/private-cloud-business-public-v1beta1/private-cloud-business-api/private-cloud-business/v1beta1/systems/{id}
https://us-west.api.greenlake.hpe.com/private-cloud-business/v1beta1/systems/{id}
https://eu-west.api.greenlake.hpe.com/private-cloud-business/v1beta1/systems/{id}
https://eu-central.api.greenlake.hpe.com/private-cloud-business/v1beta1/systems/{id}
https://ap-northeast.api.greenlake.hpe.com/private-cloud-business/v1beta1/systems/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X PATCH \
'https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/private-cloud-business/public/openapi/private-cloud-business-public-v1beta1/private-cloud-business-api/private-cloud-business/v1beta1/systems/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/merge-patch+json' \
-d '{}'
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.
Aspects of system health.
Deduced health of storage subsystem based on associated arrays, controllers, disks, shelves, power supply, network interfaces, fan and temperature sensors.
Aggregated health of servers based on health statuses of multiple servers in the system.
Aggregated health of network based on health statues of multiple switches used in the system.
Deduced/Aggregated overall health of the system based on storage, servers and networking health.
List of hypervisor clusters in the system with their software details.
{ "associatedResourceCounts": { "datastoreCount": 0, "hypervisorClusterCount": 0, "serversCount": 0, "storageArrayCount": 0, "switchesCount": 0, "vmCount": 0 }, "computeUsage": { "cpuCapacityMhz": 0, "cpuUsedMhz": 0, "memoryCapacityBytes": 0, "memoryUsedBytes": 0 }, "configAnalysisStatus": { "createdAt": "string", "createdBy": "string", "nextScheduledRunTime": "string", "ruleRunStartTime": "string", "totalFailed": 0, "totalPassed": 0, "totalWarning": 0 }, "health": { "network": "OK", "overallHealth": "OK", "servers": "OK", "storage": "OK" }, "hypervisorClusters": [ { … } ], "location": { "city": "string", "countryCode": "string", "latitude": "string", "longitude": "string", "stateCode": "string", "zipCode": "string" }, "softwareInfo": { "currentUpdateStatus": { … }, "hypervisorClusters": [ … ], "lastUpdatedOn": "2019-08-24T14:15:22Z", "precheckValidUntil": "2019-08-24T14:15:22Z" }, "stackType": "DHCI", "state": "OFFLINE", "storageSystem": { "compressionRatio": 0, "dedupeRatio": 0, "groupLeaderName": "string", "groupLeaderSerialNumber": "string", "groupName": "string", "groupState": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "resourceUri": "string" }, "storageUsage": { "sizeInBytes": 0, "usageInBytes": 0 }, "systemVms": [ { … } ], "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" }
Specifies if vSphere Distributed Switch (VDS) should be configured for the hypervisor cluster being added.
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/private-cloud-business/public/openapi/private-cloud-business-public-v1beta1/private-cloud-business-api/private-cloud-business/v1beta1/systems/{id}/add-hypervisor-cluster
https://us-west.api.greenlake.hpe.com/private-cloud-business/v1beta1/systems/{id}/add-hypervisor-cluster
https://eu-west.api.greenlake.hpe.com/private-cloud-business/v1beta1/systems/{id}/add-hypervisor-cluster
https://eu-central.api.greenlake.hpe.com/private-cloud-business/v1beta1/systems/{id}/add-hypervisor-cluster
https://ap-northeast.api.greenlake.hpe.com/private-cloud-business/v1beta1/systems/{id}/add-hypervisor-cluster
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
'https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/private-cloud-business/public/openapi/private-cloud-business-public-v1beta1/private-cloud-business-api/private-cloud-business/v1beta1/systems/{id}/add-hypervisor-cluster' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{}'
{}
Request
Initiate a set of software update prechecks on the specified system and hypervisor clusters in it using the specified software catalog version. This operation validates whether the software on system and its hypervisor clusters are ready to be updated to the target software catalog version.
Version of the target software catalog for the software precheck/update request.
List of Unique Identifiers (usually UUIDs) of Hypervisor Clusters in the system for which software update prechecks operation is to be initiated. If omitted, software update prechecks operation will be initiated on all Hypervisor Clusters available in the system.
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/private-cloud-business/public/openapi/private-cloud-business-public-v1beta1/private-cloud-business-api/private-cloud-business/v1beta1/systems/{id}/software-prechecks
https://us-west.api.greenlake.hpe.com/private-cloud-business/v1beta1/systems/{id}/software-prechecks
https://eu-west.api.greenlake.hpe.com/private-cloud-business/v1beta1/systems/{id}/software-prechecks
https://eu-central.api.greenlake.hpe.com/private-cloud-business/v1beta1/systems/{id}/software-prechecks
https://ap-northeast.api.greenlake.hpe.com/private-cloud-business/v1beta1/systems/{id}/software-prechecks
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
'https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/private-cloud-business/public/openapi/private-cloud-business-public-v1beta1/private-cloud-business-api/private-cloud-business/v1beta1/systems/{id}/software-prechecks' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"catalogVersion": "string"
}'
{}
Version of the target software catalog for the software precheck/update request.
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/private-cloud-business/public/openapi/private-cloud-business-public-v1beta1/private-cloud-business-api/private-cloud-business/v1beta1/systems/{id}/software-update
https://us-west.api.greenlake.hpe.com/private-cloud-business/v1beta1/systems/{id}/software-update
https://eu-west.api.greenlake.hpe.com/private-cloud-business/v1beta1/systems/{id}/software-update
https://eu-central.api.greenlake.hpe.com/private-cloud-business/v1beta1/systems/{id}/software-update
https://ap-northeast.api.greenlake.hpe.com/private-cloud-business/v1beta1/systems/{id}/software-update
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
'https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/private-cloud-business/public/openapi/private-cloud-business-public-v1beta1/private-cloud-business-api/private-cloud-business/v1beta1/systems/{id}/software-update' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"catalogVersion": "string"
}'
{}
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/private-cloud-business/public/openapi/private-cloud-business-public-v1beta1/private-cloud-business-api/private-cloud-business/v1beta1/systems/{id}/software-update-resume
https://us-west.api.greenlake.hpe.com/private-cloud-business/v1beta1/systems/{id}/software-update-resume
https://eu-west.api.greenlake.hpe.com/private-cloud-business/v1beta1/systems/{id}/software-update-resume
https://eu-central.api.greenlake.hpe.com/private-cloud-business/v1beta1/systems/{id}/software-update-resume
https://ap-northeast.api.greenlake.hpe.com/private-cloud-business/v1beta1/systems/{id}/software-update-resume
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
'https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/private-cloud-business/public/openapi/private-cloud-business-public-v1beta1/private-cloud-business-api/private-cloud-business/v1beta1/systems/{id}/software-update-resume' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{}
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/private-cloud-business/public/openapi/private-cloud-business-public-v1beta1/private-cloud-business-api/private-cloud-business/v1beta1/systems/{id}/software-version-refresh
https://us-west.api.greenlake.hpe.com/private-cloud-business/v1beta1/systems/{id}/software-version-refresh
https://eu-west.api.greenlake.hpe.com/private-cloud-business/v1beta1/systems/{id}/software-version-refresh
https://eu-central.api.greenlake.hpe.com/private-cloud-business/v1beta1/systems/{id}/software-version-refresh
https://ap-northeast.api.greenlake.hpe.com/private-cloud-business/v1beta1/systems/{id}/software-version-refresh
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
'https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/private-cloud-business/public/openapi/private-cloud-business-public-v1beta1/private-cloud-business-api/private-cloud-business/v1beta1/systems/{id}/software-version-refresh' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{}