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 number of items to omit from the beginning of the result set. The offset and limit query parameters are used in conjunction with pagination. For example "offset=30&limit=10" indicates the fourth page of 10 items.
The maximum number of items to include in the response. The offset and limit query parameters are used in conjunction with pagination. For example "offset=30&limit=10" indicates the fourth page of 10 items.
An expression that enables you to filter the results.
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).
Filters are supported on the following attributes:
- snapshotType
- state
- status
- createdByInfo/id
- createdByInfo/name
- storageSystemsInfo/id
- storageSystemsInfo/storageSystemType
- storageSystemsInfo/name
- consistency
- pointInTime
- dataOrchestratorInfo/id
- expiresAt
- name
Comma separated list of properties defining the sort order. Each item in the “sort” query parameter is a property name optionally followed by a direction indicator. The direction indicator may only be either “asc” (ascending) or “desc” (descending). 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 formatted as an exclusive comma separated list of properties. If not specified, all properties are returned.
- 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/virtual-machines/{id}/snapshots
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/snapshots
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/snapshots
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/snapshots
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/snapshots
- 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/virtual-machines/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4/snapshots \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
virtual machine snapshots list
UUID string uniquely identifying the snapshot.
The type of resource.
Specifies whether to create crash consistent or application consistent snapshot. CrashConsistentOnFailure: If an application consistent snapshot fails for any reason, with this option it will then take a crash consistent snapshot and continue.
Information about the user who initiated the workflow that created this snapshot or template.
Absolute value of time in UTC when the application snapshot expires.
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 index state of the snapshot.
Absolute value of time in UTC until which the application snapshot remains locked.
Time in UTC at which the application snapshot was created on the device.
The 'self' reference for this resource.
The current state of the application snapshot.
Brief reason for the current state of the application snapshot.
Storage info details of this virtual machine.
A list of objects encapsulating information about the storage disks provisioned to a virtual machine.
Information about the virtual machine configuration at the time snapshot was created.
{ "count": 0, "items": [ { … } ], "offset": 0, "total": 0 }
- 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/virtual-machines/{id}/snapshots/{snapshot-id}
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/snapshots/{snapshot-id}
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/snapshots/{snapshot-id}
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/snapshots/{snapshot-id}
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/snapshots/{snapshot-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/virtual-machines/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4/snapshots/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/virtual-machines/{id}/snapshots/{snapshot-id}
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/snapshots/{snapshot-id}
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/snapshots/{snapshot-id}
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/snapshots/{snapshot-id}
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/snapshots/{snapshot-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/virtual-machines/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4/snapshots/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
Detailed information of a virtual machine snapshot.
UUID string uniquely identifying the snapshot.
The type of resource.
Specifies whether to create crash consistent or application consistent snapshot. CrashConsistentOnFailure: If an application consistent snapshot fails for any reason, with this option it will then take a crash consistent snapshot and continue.
Information about the user who initiated the workflow that created this snapshot or template.
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.
Absolute value of time in UTC until which the application snapshot remains locked.
Time in UTC at which the application snapshot was created on the device.
The 'self' reference for this resource.
Storage info details of this virtual machine.
A list of objects encapsulating information about the storage disks provisioned to a virtual machine.
Information about the virtual machine configuration at the time snapshot was created.
{ "consistency": "APPLICATION", "consoleUri": "string", "containsRdmDisks": true, "createdAt": "2019-08-24T14:15:22Z", "createdByInfo": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "customerId": "string", "dataOrchestratorInfo": [ { … } ], "description": "string", "expiresAt": "2019-08-24T14:15:22Z", "generation": 0, "id": "9b4c14a6-3cd5-4907-97c4-cf44c5b641e4", "indexed": "INDEXED", "lockedUntil": "2020-04-03T05:03:08.900Z", "name": "Nimble-VM1-snap", "pointInTime": "2020-03-03T05:03:08.902Z", "resourceUri": "/backup-recovery/v1beta1/virtual-machines/id/snapshots/id", "scheduleInfo": { "name": "Hourly snapshot schedule", "recurrence": "BY_MINUTES", "scheduleId": 0 }, "snapshotType": "SNAPSHOT", "state": "OK", "stateReason": "string", "status": "OK", "storageSystemsInfo": [ { … } ], "type": "backup-recovery/virtual-machine-snapshot", "updatedAt": "2019-08-24T14:15:22Z", "virtualDisks": [ { … } ], "vmConfigInfo": { "computeInfo": { … }, "networkAdapters": [ … ] }, "volumesSnapshotInfo": [ { … } ] }
UUID string uniquely identifying the virtual machine
Absolute value of time in UTC until which the application snapshot remains locked.
- 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/virtual-machines/{id}/snapshots/{snapshot-id}
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/snapshots/{snapshot-id}
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/snapshots/{snapshot-id}
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/snapshots/{snapshot-id}
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/virtual-machines/{id}/snapshots/{snapshot-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/virtual-machines/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4/snapshots/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/merge-patch+json' \
-d '{}'