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 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)
Examples:
- GET /backup-recovery/v1beta1/mssql-database-protection-groups?filter="name eq my-mssql-pg1"
Filters are supported on the following attributes:
- createdAt
- name
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/mssql-database-protection-groups
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-database-protection-groups
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-database-protection-groups
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-database-protection-groups
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-database-protection-groups
- 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/mssql-database-protection-groups \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
Success
UUID string uniquely identifying the MSSQL databse protection group
A brief description of the MSSQL database protection group.
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.
Captures the list of databases that are part of the protection group.
A user-friendly name to identify the MSSQL database protection group.
The type of the protection group. This can be 'NATIVE' for MSSQL application specific constructs such as an Availability Group, or 'CUSTOM' if its just a user provided collection of databases.
Information about the assigned Protection Policy and the Protection Job.
The 'self' reference for this resource.
The current state of the MSSQL databse protection group
Brief reason for the current state of the MSSQL databse protection group
The current status of the MSSQL databse protection group.
{ "count": 0, "items": [ { … } ], "pageLimit": 0, "pageOffset": 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/mssql-database-protection-groups
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-database-protection-groups
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-database-protection-groups
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-database-protection-groups
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-database-protection-groups
- 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/mssql-database-protection-groups \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "My-Test-PG",
"protectionGroupType": "NATIVE"
}'
{}
- 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/mssql-database-protection-groups/{group-id}
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-database-protection-groups/{group-id}
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-database-protection-groups/{group-id}
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-database-protection-groups/{group-id}
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-database-protection-groups/{group-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/mssql-database-protection-groups/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/mssql-database-protection-groups/{group-id}
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-database-protection-groups/{group-id}
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-database-protection-groups/{group-id}
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-database-protection-groups/{group-id}
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-database-protection-groups/{group-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/mssql-database-protection-groups/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
Success
UUID string uniquely identifying the MSSQL databse protection group
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.
A user-friendly name to identify the MSSQL database protection group.
The type of the protection group. This can be 'NATIVE' for MSSQL application specific constructs such as an Availability Group, or 'CUSTOM' if its just a user provided collection of databases.
Information about the assigned Protection Policy and the Protection Job.
The 'self' reference for this resource.
The current state of the MSSQL databse protection group
Brief reason for the current state of the MSSQL databse protection group
{ "createdAt": "2019-08-24T14:15:22Z", "customerId": "string", "description": "string", "generation": 0, "id": "9b4c14a6-3cd5-4907-97c4-cf44c5b641e4", "members": [ { … } ], "name": "My-Test-PG", "nativeAppInfo": { "availabilityGroupReplicas": [ … ], "excludeSystemDatabases": true, "id": "9ce540e3-b552-4ca6-a407-eb0dd3d263b1", "instanceInfo": { … }, "name": "string", "type": "MSSQL_INSTANCE", "uid": "7D0563C3-8627-4B33-96C7" }, "protectionGroupType": "NATIVE", "protectionJobInfo": { "id": "c9cdeb6b-24cb-43c1-828a-e8b1b050f3f4", "name": "string", "protectionPolicyInfo": { … }, "resourceUri": "string", "type": "string" }, "resourceUri": "/backup-recovery/v1beta1/mssql-database-protection-groups/{protection-group-id}", "state": "OK", "stateReason": "string", "status": "OK", "type": "string", "updatedAt": "2019-08-24T14:15:22Z", "virtualizationInfo": { "hypervisorManagerInfo": { … } } }
- 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/mssql-database-protection-groups/{group-id}
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-database-protection-groups/{group-id}
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-database-protection-groups/{group-id}
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-database-protection-groups/{group-id}
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-database-protection-groups/{group-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/mssql-database-protection-groups/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/merge-patch+json' \
-d '{}'
{}