public/portworx/pds/backup/apiv1/backup.proto (version not set)
Download OpenAPI specification:Download
ListBackups API lists the Backup resources.
query Parameters
dataServiceDeploymentId | string Data service Deployment ID for which the backups will be listed. |
backupConfigId | string Backup Configuration ID for which the backups will be listed. |
pagination.pageNumber | string <int64> Page number is the page number to return based on the size. |
pagination.pageSize | string <int64> Page size is the maximum number of records to include per page. |
sort.sortBy | string Default: "FIELD_UNSPECIFIED" Enum: "FIELD_UNSPECIFIED" "NAME" "CREATED_AT" "UPDATED_AT" "PHASE" Name of the attribute to sort results by.
|
sort.sortOrder | string Default: "VALUE_UNSPECIFIED" Enum: "VALUE_UNSPECIFIED" "ASC" "DESC" Order of sorting to be applied on requested list. If sort_by having some value and sort_order is not provided, by default ascending order will be used to sort the list.
|
Responses
Response samples
- 200
- default
Content type
application/json
{- "backups": [
- {
- "meta": {
- "uid": "string",
- "name": "string",
- "description": "string",
- "resourceVersion": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "parentReference": {
- "type": "string",
- "version": "string",
- "uid": "string"
}, - "resourceNames": {
- "property1": "string",
- "property2": "string"
}
}, - "config": {
- "references": {
- "imageId": "string"
}, - "backupCapability": "string"
}, - "status": {
- "cloudSnapId": "string",
- "startTime": "2019-08-24T14:15:22Z",
- "completionTime": "2019-08-24T14:15:22Z",
- "phase": "PHASE_UNSPECIFIED",
- "errorCode": "string",
- "errorMessage": "string",
- "fileSize": "string",
- "dataServiceDeploymentMetaData": {
- "name": "string",
- "customResourceName": "string",
- "targetClusterName": "string",
- "namespaceName": "string",
- "tlsEnabled": true,
- "dataServiceName": "string",
- "dataServiceVersion": "string",
- "imageBuild": "string"
}
}
}
], - "pagination": {
- "totalRecords": "string",
- "currentPage": "string",
- "pageSize": "string",
- "totalPages": "string",
- "nextPage": "string",
- "prevPage": "string"
}
}
GetBackup API returns the Backup resource.
path Parameters
id required | string UID of the Backup. |
Responses
Response samples
- 200
- default
Content type
application/json
{- "meta": {
- "uid": "string",
- "name": "string",
- "description": "string",
- "resourceVersion": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "parentReference": {
- "type": "string",
- "version": "string",
- "uid": "string"
}, - "resourceNames": {
- "property1": "string",
- "property2": "string"
}
}, - "config": {
- "references": {
- "imageId": "string"
}, - "backupCapability": "string"
}, - "status": {
- "cloudSnapId": "string",
- "startTime": "2019-08-24T14:15:22Z",
- "completionTime": "2019-08-24T14:15:22Z",
- "phase": "PHASE_UNSPECIFIED",
- "errorCode": "string",
- "errorMessage": "string",
- "fileSize": "string",
- "dataServiceDeploymentMetaData": {
- "name": "string",
- "customResourceName": "string",
- "targetClusterName": "string",
- "namespaceName": "string",
- "tlsEnabled": true,
- "dataServiceName": "string",
- "dataServiceVersion": "string",
- "imageBuild": "string"
}
}
}