Documentation Index

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

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

getCloudMysqlEventHistoryList

Prev Next

Cloud DB for MySQL 인스턴스의 이벤트 내역 목록을 조회합니다.

구문

getCloudMysqlEventHistoryList 구문은 다음과 같습니다.

./ncloud vmysql getCloudMysqlEventHistoryList \
    --cloudMysqlServerName <server-name> \
    --startDate <yyyy-MM-dd HH:mm:ss> \
    --endDate <yyyy-MM-dd HH:mm:ss> \
    [--pageNo <page-no>] \
    [--pageSize <page-size>] \
    [--regionCode <FKR>] \
    [--output <json|xml>]

옵션

getCloudMysqlEventHistoryList 실행 시 지정할 수 있는 옵션을 설명합니다.

필수 옵션

getCloudMysqlEventHistoryList의 필수 옵션입니다.

옵션 타입 필수 여부 설명
--cloudMysqlServerName String Required Cloud DB for MySQL 서버 이름
--startDate String Required 조회 시작 일시
  • yyyy-MM-dd HH:mm:ss 형식
--endDate String Required 조회 종료 일시
  • yyyy-MM-dd HH:mm:ss 형식
--pageSize Integer Conditional 페이지당 항목 수
  • 1~N
  • pageNo 입력 시 필수 입력

선택 옵션

getCloudMysqlEventHistoryList의 선택 옵션입니다. 지정하지 않은 옵션에는 기본값이 적용됩니다.

옵션 타입 필수 여부 설명
--pageNo Integer Optional 페이지 번호
  • 0~N

공통 옵션

vmysql 명령에서 공통으로 사용하는 옵션에 대한 정보는 Cloud DB for MySQL 옵션을 참조해 주십시오.

예시

Cloud DB for MySQL 이벤트 내역 목록 조회 요청이 성공하면 각 이벤트의 발생 시간과 유형, 내용이 반환됩니다.

명령

명령 예시는 다음과 같습니다.

./ncloud vmysql getCloudMysqlEventHistoryList \
    --cloudMysqlServerName testmysql-001-3ogv \
    --startDate "2026-06-19 00:00:00" \
    --endDate "2026-06-19 12:59:59" \
    --pageNo 0 \
    --pageSize 10 \
    --regionCode FKR \
    --output json

출력

출력 예시는 다음과 같습니다.

{
  "getCloudMysqlEventHistoryListResponse": {
    "totalRows": 1,
    "cloudMysqlEventHistoryList": [
      {
        "cloudMysqlInstanceNo": "12345678",
        "cloudMysqlServerInstanceNo": "34567890",
        "cloudMysqlServerName": "testmysql-001-3ogv",
        "eventTime": "2026-06-19 12:21:11",
        "eventType": "DB Server",
        "eventName": "DB",
        "eventContent": "MasterDB Install Completed",
        "clientIp": "10.250.247.35"
      }
    ],
    "requestId": "19b51db7-a6d8-431f-99f5-7b16fff10ebc",
    "returnCode": "0",
    "returnMessage": "success"
  }
}