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>