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 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-instances?filter="productName eq Microsoft+SQL+Server+2012+R2"
- GET /backup-recovery/v1beta1/mssql-instances?filter="applicationHostInfo/name eq my-host-1 and status eq Error"
Filters are supported on the following attributes:
- state
- status
- createdAt
- name
- productName
- productVersion
- applicationHostInfo/id
- applicationHostInfo/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/v1beta1/mssql-instances
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-instances
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-instances
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-instances
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-instances
- 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/mssql-instances \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
Success
UUID string uniquely identifying the MSSQL Instance
The list of availability groups that are part of the instance.
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.
Name of the MSSQL instance as configured in the application host
A name identifying the MSSQL database software product.
The 'self' reference for this resource.
The current state of the MSSQL instance
{ "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/v1beta1/mssql-instances/{instance-id}
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-instances/{instance-id}
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-instances/{instance-id}
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-instances/{instance-id}
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-instances/{instance-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/mssql-instances/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
Success
UUID string uniquely identifying the MSSQL Instance
The list of availability groups that are part of the instance.
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.
Name of the MSSQL instance as configured in the application host
A name identifying the MSSQL database software product.
The 'self' reference for this resource.
{ "applicationHostInfo": { "displayName": "My-Test-WindowsHost", "id": "9b4c14a6-3cd5-4907-97c4-cf44c5b641e4", "name": "host123.hpe.com", "resourceUri": "/backup-recovery/v1beta1/application-hosts/{host-id}", "type": "string" }, "availabilityGroupsInfo": [ { … } ], "clustered": false, "createdAt": "2019-08-24T14:15:22Z", "credentials": { "mode": "WINDOWS", "username": "string" }, "customerId": "string", "generation": 0, "id": "9b4c14a6-3cd5-4907-97c4-cf44c5b641e4", "name": "mssql-instance-1", "productName": "Microsoft SQL Server 2012 R2", "productVersion": "10.3.2", "resourceUri": "/backup-recovery/v1beta1/mssql-instances/{instance-id}", "state": "OK", "stateReason": "string", "status": "OK", "type": "string", "updatedAt": "2019-08-24T14:15:22Z", "virtualizationInfo": { "hypervisorManagerInfo": { … }, "virtualMachineInfo": { … } } }
- Mock server
https://stage-developer-portal-hpe.redocly.app/_mock/docs/greenlake/services/backup-recovery/public/openapi/backup-recovery-public-v1beta1/backup-recovery/v1beta1/mssql-instances/{instance-id}
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-instances/{instance-id}
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-instances/{instance-id}
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-instances/{instance-id}
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-instances/{instance-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/v1beta1/mssql-instances/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/v1beta1/mssql-instances/{instance-id}/refresh
https://us-west.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-instances/{instance-id}/refresh
https://eu-west.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-instances/{instance-id}/refresh
https://eu-central.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-instances/{instance-id}/refresh
https://ap-northeast.api.greenlake.hpe.com/backup-recovery/v1beta1/mssql-instances/{instance-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/v1beta1/mssql-instances/9b4c14a6-3cd5-4907-97c4-cf44c5b641e4/refresh \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{}