Documentation Index

Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt

Use this file to discover all available pages before exploring further.

getCloudMysqlBackupList

Prev Next

VPC 환경에서 이용 가능합니다.

개요

Cloud DB for MySQL 인스턴스의 백업 리스트를 조회합니다.

요청

요청 파라미터

파라미터명 필수 여부 타입 제약 사항 설명
regionCode No String - 리전 코드
regionCode는 getRegionList 액션을 통해 획득 가능
Default : getRegionList 조회 결과의 첫 번째 리전을 선택
output No String - 응답 결과의 포맷 타입
Options : xml | json
Default : json

응답

응답 데이터 타입

  • CloudMysqlBackupList 타입
CloudMysqlBackupList extends CommonResponse
private Integer totalRows;
private List<CloudMysqlBackup> cloudMysqlBackupList = new ArrayList<>();
CloudMysqlBackup
private String cloudMysqlInstanceNo;
private String cloudMysqlServiceName;
private Integer backupFileRetentionPeriod;
private String backupTime;
private Long backupSize;
private Date lastBackupDate;

예시

요청 예시

ncloud vmysql getCloudMysqlBackupList --regionCode KR

응답 예시

<getCloudMysqlBackupListResponse>
    <requestId>2086d40d-d152-49a7-aa26-effaecb5a616</requestId>
    <returnCode>0</returnCode>
    <returnMessage>success</returnMessage>
    <totalRows>1</totalRows>
    <cloudMysqlBackupList>
        <cloudMysqlBackup>
            <cloudMysqlInstanceNo>****890</cloudMysqlInstanceNo>
            <cloudMysqlServiceName>test-****</cloudMysqlServiceName>
            <backupFileRetentionPeriod>10</backupFileRetentionPeriod>
            <backupTime>02:00</backupTime>
            <backupSize>571482767</backupSize>
            <lastBackupDate>2021-05-28T02:10:00+0900</lastBackupDate>
        </cloudMysqlBackup>
    </cloudMysqlBackupList>
</getCloudMysqlBackupListResponse>