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.

getRaidList

Prev Next

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

RAID 목록을 조회합니다.

구문

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

./ncloud vserver getRaidList \
    --productTypeCode <LINUX|WINNT> \
    [--regionCode <KR|SGN|JPN>] \
    [--output <json|xml>]

옵션

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

필수 옵션

getRaidList의 필수 옵션입니다.

옵션 타입 필수 여부 설명
--productTypeCode String Required 상품 유형 코드

공통 옵션

vserver 명령에서 공통으로 사용하는 옵션에 대한 정보는 Server (VPC) 옵션을 참조해 주십시오.

예시

RAID 목록 조회 요청이 성공하면 각 RAID의 식별 정보와 상품 유형이 반환됩니다.

명령

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

./ncloud vserver getRaidList \
    --productTypeCode LINUX \
    --regionCode KR \
    --output json

출력

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

{
  "getRaidListResponse": {
    "totalRows": 2,
    "raidList": [
      {
        "raidTypeName": "1",
        "raidName": "RAID 1+0",
        "productType": {
          "code": "LINUX",
          "codeName": "리눅스"
        }
      },
      {
        "raidTypeName": "5",
        "raidName": "RAID 5",
        "productType": {
          "code": "LINUX",
          "codeName": "리눅스"
        }
      }
    ],
    "requestId": "b2c3d4e5-f6a7-8901-bcde-f23456789012",
    "returnCode": "0",
    "returnMessage": "success"
  }
}