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 maximum total size of the assets that is expected to be protected each day in the Cloud Protection Stores.
The maximum total size of the assets that is expected to be protected each day in the On-Prem Protection Store.
- 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/protection-store-gateway-sizer
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-store-gateway-sizer
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-store-gateway-sizer
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-store-gateway-sizer
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-store-gateway-sizer
- 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/protection-store-gateway-sizer \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{}'
{ "iops": 2, "ramInGiB": 2, "storageInTiB": 2, "vCpu": 2 }
The filter query parameter is used to filter the set of resources returned in the response.
The returned set of resources will 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
- “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)
Filters are supported on following attributes:
- state
- health/state
- health/status
Examples:
- GET ./protection-store-gateways?filter=state eq'PSG_STATE_REGISTERING'
- GET ./protection-store-gateways?filter=health/state eq 'PSG_HEALTH_STATE_UNKNOWN'
- GET ./protection-store-gateways?filter=health/status eq 'PSG_HEALTH_STATUS_CONNECTED'
- 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/protection-store-gateways
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-store-gateways
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-store-gateways
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-store-gateways
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-store-gateways
- 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/protection-store-gateways \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
OK
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 id of the Data Orchestrator this Protection Store Gateway is associated with
User supplied parameters used to override automatic VM resource configuration with a fixed configuration. If 0 is returned for the values then no override has been configured.
State of Protection Store Gateway.
{ "count": 0, "items": [ { … } ], "limit": 1, "offset": 0, "total": 0 }
Unique identifier, UUID.
Id of the Host. Only required if cluster or resource pool is not given
Id of the resource pool. Only required if cluster or host is not given
The maximum total size of the assets that is expected to be protected each day in the Cloud Protection Stores.
The maximum retention period for cloud backups in days.
The maximum total size of the assets that is expected to be protected each day in the On-Prem Protection Store.
- 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/protection-store-gateways
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-store-gateways
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-store-gateways
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-store-gateways
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-store-gateways
- 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/protection-store-gateways \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"hypervisorManagerId": "aa1974ec-3b28-406f-8d84-85528d590a6b",
"name": "EG-172.31.57.71",
"vmConfig": {
"datastoreIds": [
"70968004-886c-582e-b09a-c98396d0db68",
"098c18ff-ae3d-55a7-8967-00869c1ac71c"
],
"hostId": "234f54ab-e93c-5bc7-9daa-3dcd93fc0ae0",
"maxInCloudDailyProtectedDataInTiB": 90,
"maxInCloudRetentionDays": 90,
"maxOnPremDailyProtectedDataInTiB": 5,
"maxOnPremRetentionDays": 5,
"network": {
"dns": [
{
"networkAddress": "172.31.56.9"
},
{
"networkAddress": "172.31.56.10"
},
{
"networkAddress": "172.31.35.101"
}
],
"gateway": "172.31.63.254",
"name": "dvportgroup-30",
"networkAddress": "172.31.57.71",
"networkType": "STATIC",
"subnetMask": "255.255.248.0"
}
}
}'
{}