Backup and Recovery API
Backup and Recovery API (1.1.0)
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/backup-recovery/public/openapi/backup-recovery-public-v1beta1/backup-recovery-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/
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 /backup-recovery/v1beta1/application-hosts?filter="osInfo/name eq Windows+Server+2012"
- GET /backup-recovery/v1beta1/application-hosts?filter="osInfo/name eq Windows+Server+2012 and status eq Error"
Filters are supported on the following attributes:
- osInfo/name
- state
- status
- osInfo/releaseVersion
- createdAt
- name
- dataOrchestratorInfo/id
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://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/backup-recovery/public/openapi/backup-recovery-public-v1beta1/backup-recovery-api/backup-recovery/v1beta1/application-hosts
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/application-hosts
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/application-hosts
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/application-hosts
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/application-hosts
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X GET \
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/backup-recovery/public/openapi/backup-recovery-public-v1beta1/backup-recovery-api/backup-recovery/v1beta1/application-hosts \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
Success
UUID string uniquely identifying the application host
A brief description of the application host as provided by the user during registration.
A user-friendly name to identify the application host
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 host name as reported by the host.
An IP address or hostname or FQDN to address the host
Information of all network interfaces of the application host
The 'self' reference for this resource.
The current state of the application host resource
Brief reason for the current state of the application host
The name of the user to be used to connect to the host
This is set to true for hosts on virtual machines and set to false for physical hosts
{ "count": 0, "items": [ { … } ], "pageLimit": 0, "pageOffset": 0, "total": 0 }
Application host credentials.
A brief description of the application host as provided by the user during registration.
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/backup-recovery/public/openapi/backup-recovery-public-v1beta1/backup-recovery-api/backup-recovery/v1beta1/application-hosts
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/application-hosts
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/application-hosts
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/application-hosts
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/application-hosts
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X POST \
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/backup-recovery/public/openapi/backup-recovery-public-v1beta1/backup-recovery-api/backup-recovery/v1beta1/application-hosts \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"credentials": {},
"networkAddress": "192.168.0.1"
}'
{}
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/backup-recovery/public/openapi/backup-recovery-public-v1beta1/backup-recovery-api/backup-recovery/v1beta1/application-hosts/{host-id}
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/application-hosts/{host-id}
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/application-hosts/{host-id}
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/application-hosts/{host-id}
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/application-hosts/{host-id}
- curl
- JavaScript
- Node.js
- Python
- Java
- Go
- C#
- PHP
curl -i -X DELETE \
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/backup-recovery/public/openapi/backup-recovery-public-v1beta1/backup-recovery-api/backup-recovery/v1beta1/application-hosts/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{}
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/backup-recovery/public/openapi/backup-recovery-public-v1beta1/backup-recovery-api/backup-recovery/v1beta1/application-hosts/{host-id}
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/application-hosts/{host-id}
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/application-hosts/{host-id}
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/application-hosts/{host-id}
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/application-hosts/{host-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/backup-recovery/public/openapi/backup-recovery-public-v1beta1/backup-recovery-api/backup-recovery/v1beta1/application-hosts/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
Success
UUID string uniquely identifying the application host
A brief description of the application host as provided by the user during registration.
A user-friendly name to identify the application host
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 host name as reported by the host.
An IP address or hostname or FQDN to address the host
The 'self' reference for this resource.
This is set to true for hosts on virtual machines and set to false for physical hosts
{ "clusterInfo": { "clusterIp": "192.168.0.1", "members": [ … ], "name": "cluster-1" }, "computeInfo": { "memorySizeInMiB": 4096, "numCpuCores": 8, "numCpuThreads": 16 }, "createdAt": "2019-08-24T14:15:22Z", "customerId": "string", "dataOrchestratorInfo": { "id": "8b4c14a6-3cd5-4907-97c4-cf44c5b642e5", "resourceUri": "string", "type": "string" }, "description": "string", "displayName": "My-Test-WindowsHost", "generation": 0, "id": "9b4c14a6-3cd5-4907-97c4-cf44c5b641e4", "manufacturer": "VMware, Inc.", "name": "host123.hpe.com", "networkAddress": "192.168.0.1", "networkInterfaces": [ { … } ], "osInfo": { "buildVersion": "6.7.0 build-9030300 NT 6.3, 3.8.13-44.1.1.el6uek.x86_6", "name": "Windows Server 2012, Oracle Enterprise Linux", "releaseVersion": "6.7.0 build-9030300, R2, 7.2" }, "resourceUri": "/backup-recovery/v1beta1/application-hosts/{host-id}", "state": "OK", "stateReason": "string", "status": "OK", "storageInitiators": { "fcHba": [ … ], "iscsi": [ … ] }, "type": "string", "updatedAt": "2019-08-24T14:15:22Z", "username": "Administrator", "virtual": true, "virtualizationInfo": { "hypervisorManagerInfo": { … }, "virtualMachineInfo": { … } } }
A brief description of the application host as provided by the user during registration.
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/backup-recovery/public/openapi/backup-recovery-public-v1beta1/backup-recovery-api/backup-recovery/v1beta1/application-hosts/{host-id}
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/application-hosts/{host-id}
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/application-hosts/{host-id}
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/application-hosts/{host-id}
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/application-hosts/{host-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/backup-recovery/public/openapi/backup-recovery-public-v1beta1/backup-recovery-api/backup-recovery/v1beta1/application-hosts/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/merge-patch+json' \
-d '{}'
{}
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/backup-recovery/public/openapi/backup-recovery-public-v1beta1/backup-recovery-api/backup-recovery/v1beta1/application-hosts/{host-id}/refresh
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/application-hosts/{host-id}/refresh
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/application-hosts/{host-id}/refresh
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/application-hosts/{host-id}/refresh
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/application-hosts/{host-id}/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/backup-recovery/public/openapi/backup-recovery-public-v1beta1/backup-recovery-api/backup-recovery/v1beta1/application-hosts/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4/refresh \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{}