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.

getCloudMssqlLogFileList

Prev Next

Cloud DB for MSSQL 로그 파일 목록을 조회합니다.

구문

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

./ncloud vmssql getCloudMssqlLogFileList \
    --cloudMssqlInstanceNo <instance-no> \
    --cloudMssqlServerInstanceNo <server-instance-no> \
    --fileType <errorLog|agentLog|traceLog|auditLog|xeBaselineLog> \
    [--regionCode <FKR>] \
    [--output <json|xml>]

옵션

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

필수 옵션

getCloudMssqlLogFileList의 필수 옵션입니다.

옵션 타입 필수 여부 설명
--cloudMssqlInstanceNo String Required Cloud DB for MSSQL 인스턴스 번호
--cloudMssqlServerInstanceNo String Required Cloud DB for MSSQL 서버 인스턴스 번호
--fileType String Required 로그 파일 타입
  • errorLog | agentLog | traceLog | auditLog | xeBaselineLog

공통 옵션

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

예시

Cloud DB for MSSQL 로그 파일 목록 조회 요청이 성공하면 각 로그 파일의 이름과 크기, 생성 일시가 반환됩니다.

명령

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

./ncloud vmssql getCloudMssqlLogFileList \
    --cloudMssqlInstanceNo 141402185 \
    --cloudMssqlServerInstanceNo 141402194 \
    --fileType errorLog \
    --regionCode FKR \
    --output json

출력

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

{
  "getCloudMssqlLogFileListResponse": {
    "totalRows": 7,
    "cloudMssqlLogFileList": [
      {
        "fileName": "ERRORLOG.6",
        "fileSize": 0,
        "fileDate": "2026-06-18T13:34:49+0900"
      },
      {
        "fileName": "ERRORLOG.5",
        "fileSize": 54832,
        "fileDate": "2026-06-18T13:34:55+0900"
      },
      {
        "fileName": "ERRORLOG.4",
        "fileSize": 435920,
        "fileDate": "2026-06-18T13:35:17+0900"
      },
      {
        "fileName": "ERRORLOG.3",
        "fileSize": 21436,
        "fileDate": "2026-06-18T13:35:58+0900"
      },
      {
        "fileName": "ERRORLOG.2",
        "fileSize": 20702,
        "fileDate": "2026-06-18T13:38:19+0900"
      },
      {
        "fileName": "ERRORLOG.1",
        "fileSize": 43800,
        "fileDate": "2026-06-18T13:42:44+0900"
      },
      {
        "fileName": "ERRORLOG",
        "fileSize": 23614,
        "fileDate": "2026-06-18T14:44:14+0900"
      }
    ],
    "requestId": "bf88af7e-472c-47d6-a054-1a6d47238b51",
    "returnCode": "0",
    "returnMessage": "success"
  }
}