getCloudPostgresqlBackupList
- Print
- PDF
getCloudPostgresqlBackupList
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Available in VPC
Views the list of Cloud DB for PostgreSQL backups.
Commands
The text of the command is as follows:
ncloud vpostgresql getCloudPostgresqlBackupList [regionCode] [pageNo] [pageSize] [output]
Parameter
The following is a description on parameters.
Parameter | Type | Requirement status | Description | Restrictions |
---|---|---|---|---|
regionCode | String | N | Region code - regionCode can be obtained via the getRegionList action - Default: selects the first region of the getRegionList search results | - |
pageNo | Integer | N | Page number of paged results - The results can be paged using pageNo and pageSize | - Min: 0 |
pageSize | Integer | N | Size of each page to be shown during paging - The results can be paged using pageNo and pageSize - Enter it every time you enter pageNo | - Min: 1 - Max: 1000 |
output | String | N | Format type of the response result - options: xml | json - default: json | - |
Responses
Response data type
- CloudPostgresqlBackupList type
CloudPostgresqlBackupList extends CommonResponse | Description |
---|---|
private Integer totalRows; | Total number of items viewed |
private List<CloudPostgresqlBackup> cloudPostgresqlBackupList = new ArrayList<>(); | Cloud DB for PostgreSQL backup list |
- CloudPostgresqlBackup type
CloudPostgresqlBackup | Description |
---|---|
private String cloudPostgresqlInstanceNo; | Cloud DB for PostgreSQL instance number |
private String cloudPostgresqlServiceName; | Cloud DB for PostgreSQL service name |
private String backupType; | Backup type |
private Integer backupRetention; | Backup file storage period |
private String backupTime; | Backup time |
private Long backupSize; | Backup size |
private Date lastBackupDate; | Date and time of last backup |
Examples
Describes examples of recalls and responses.
Recall examples
The following are examples of recalls.
ncloud vpostgresql getCloudPostgresqlBackupList --regionCode KR
Response examples
The following are examples of responses.
If the response shows that format type (output) is json
{
"getCloudPostgresqlBackupListResponse": {
"requestId": "2086d40d-d152-49a7-aa26-effaecb5a616",
"returnCode": "0",
"returnMessage": "success",
"totalRows": "1",
"cloudPostgresqlBackupList": [
{
"cloudPostgresqlInstanceNo": "****890",
"cloudPostgresqlServiceName": "test-****",
"backupType": "USER",
"backupRetention": "10",
"backupTime": "02:00",
"backupSize": "571482767",
"lastBackupDate": "2021-05-28T02:10:00+0900"
}
]
}
}
If the response shows that format type (output) is xml
<getCloudPostgresqlBackupListResponse>
<requestId>2086d40d-d152-49a7-aa26-effaecb5a616</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<cloudPostgresqlBackupList>
<cloudPostgresqlBackup>
<cloudPostgresqlInstanceNo>****890</cloudPostgresqlInstanceNo>
<cloudPostgresqlServiceName>test-****</cloudPostgresqlServiceName>
<backupType>USER</backupType>
<backupRetention>10</backupRetention>
<backupTime>02:00</backupTime>
<backupSize>571482767</backupSize>
<lastBackupDate>2021-05-28T02:10:00+0900</lastBackupDate>
</cloudPostgresqlBackup>
</cloudPostgresqlBackupList>
</getCloudPostgresqlBackupListResponse>
Was this article helpful?