getCloudPostgresqlBackupList
    • PDF

    getCloudPostgresqlBackupList

    • PDF

    Article Summary

    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.

    ParameterTypeRequirement statusDescriptionRestrictions
    regionCodeStringNRegion code
    - regionCode can be obtained via the getRegionList action
    - Default: selects the first region of the getRegionList search results
    -
    pageNoIntegerNPage number of paged results
    - The results can be paged using pageNo and pageSize
    - Min: 0
    pageSizeIntegerNSize 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
    outputStringNFormat type of the response result
    - options: xml | json
    - default: json
    -

    Responses

    Response data type

    • CloudPostgresqlBackupList type
    CloudPostgresqlBackupList extends CommonResponseDescription
    private Integer totalRows;Total number of items viewed
    private List<CloudPostgresqlBackup> cloudPostgresqlBackupList = new ArrayList<>();Cloud DB for PostgreSQL backup list
    • CloudPostgresqlBackup type
    CloudPostgresqlBackupDescription
    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?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.