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/
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/protection-jobs?filter=assetInfo/type eq 'virtualization/virtual-machine'
Filters are supported on following attributes:
- assetInfo/name
- assetInfo/type
- assetInfo/id
- assetInfo/resourceUri
- operational
- dataOrchestratorId
- protectionPolicyInfo/id
- protectionPolicyInfo/name
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/v1beta1/protection-jobs
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-jobs
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-jobs
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-jobs
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-jobs
- 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/v1beta1/protection-jobs \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
Success
UUID string uniquely identifying the job.
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.
Specifies type of application that the protection applies to. It is a mandatory field.
An array of associated assets this job is indirectly protecting
UUID string uniquely identifying the Data Orchestrator.
Time in UTC at which the Protection Policy assignment will be effective from.
Information about the Protection Policy that was used to create the job.
{ "count": 0, "items": [ { … } ], "offset": 0, "total": 0 }
Type of asset. Supported types are virtualization/virtual-machine, virtualization/datastore, backup-recovery/virtual-machine-protection-group, virtualization/csp-machine-instance, virtualization/csp-volume, backup-recovery/csp-protection-group, backup-recovery/mssql-database-protection-group, backup-recovery/volume-protection-group, virtualization/csp-rds-instance, virtualization/csp-k8s-application
Time in UTC at which the Protection Policy assignment will be effective from.
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/backup-recovery/public/openapi/backup-recovery-public-v1beta1/backup-recovery/v1beta1/protection-jobs
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-jobs
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-jobs
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-jobs
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-jobs
- 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/v1beta1/protection-jobs \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"assetInfo": {
"id": "d0e48314-730a-11ea-b496-48452098762c"
},
"protectionPolicyId": "c9cdeb6b-24cb-43c1-828a-e8b1b050f3f4"
}'
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/backup-recovery/public/openapi/backup-recovery-public-v1beta1/backup-recovery/v1beta1/protection-jobs/{id}
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-jobs/{id}
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-jobs/{id}
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-jobs/{id}
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-jobs/{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/v1beta1/protection-jobs/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/v1beta1/protection-jobs/{id}
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-jobs/{id}
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-jobs/{id}
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-jobs/{id}
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-jobs/{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/v1beta1/protection-jobs/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
Success
UUID string uniquely identifying the job.
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.
Specifies type of application that the protection applies to. It is a mandatory field.
An array of associated assets this job is indirectly protecting
UUID string uniquely identifying the Data Orchestrator.
Time in UTC at which the Protection Policy assignment will be effective from.
Information about the Protection Policy that was used to create the job.
{ "applicationType": "VMWARE", "assetInfo": { "displayName": "string", "id": "d0e48314-730a-11ea-b496-48452098762c", "name": "VM-Finance", "resourceUri": "string", "type": "virtualization/virtual-machine" }, "associatedAssetsInfo": [ { … } ], "dataOrchestratorId": "c9cdeb6b-24cb-43c1-828a-e8b1b050f3f4", "effectiveFromDateTime": "2020-03-03T05:03:08.902Z", "generation": 0, "id": "9b4c14a6-3cd5-4907-97c4-cf44c5b641e4", "operational": "ACTIVE", "protectionPolicyInfo": { "id": "c9cdeb6b-24cb-43c1-828a-e8b1b050f3f4", "name": "Gold-Protection-Policy", "resourceUri": "string", "type": "string" }, "protections": [ { … } ], "resourceUri": "string", "type": "string" }
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/backup-recovery/public/openapi/backup-recovery-public-v1beta1/backup-recovery/v1beta1/protection-jobs/{id}/resume
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-jobs/{id}/resume
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-jobs/{id}/resume
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-jobs/{id}/resume
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-jobs/{id}/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/backup-recovery/public/openapi/backup-recovery-public-v1beta1/backup-recovery/v1beta1/protection-jobs/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4/resume \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{}'
Applicable only for jobs associated with asset group resource. An array of asset group members for which the schedules should be run
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/backup-recovery/public/openapi/backup-recovery-public-v1beta1/backup-recovery/v1beta1/protection-jobs/{id}/run
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-jobs/{id}/run
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-jobs/{id}/run
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-jobs/{id}/run
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-jobs/{id}/run
- 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/v1beta1/protection-jobs/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4/run \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/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/v1beta1/protection-jobs/{id}/suspend
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-jobs/{id}/suspend
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-jobs/{id}/suspend
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-jobs/{id}/suspend
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/protection-jobs/{id}/suspend
- 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/v1beta1/protection-jobs/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4/suspend \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{}'