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.

getCloudPostgresqlBucketList

Prev Next

Cloud DB for PostgreSQL에서 사용할 수 있는 Object Storage 버킷 목록을 조회합니다.

구문

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

./ncloud vpostgresql getCloudPostgresqlBucketList \
    [--cloudPostgresqlServerInstanceNo <server-instance-no>] \
    [--regionCode <FKR>] \
    [--output <json|xml>]

옵션

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

선택 옵션

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

옵션 타입 필수 여부 설명
--cloudPostgresqlServerInstanceNo String Optional Cloud DB for PostgreSQL 서버 인스턴스 번호

공통 옵션

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

예시

Cloud DB for PostgreSQL 버킷 목록 조회 요청이 성공하면 사용할 수 있는 버킷의 이름이 반환됩니다.

명령

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

./ncloud vpostgresql getCloudPostgresqlBucketList \
    --regionCode FKR \
    --output json

출력

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

{
  "getCloudPostgresqlBucketListResponse": {
    "totalRows": 1,
    "cloudPostgresqlBucketList": [
      {
        "bucketName": "my-test-bucket"
      }
    ],
    "requestId": "649d59fa-9546-445a-831e-d574041a5ca0",
    "returnCode": "0",
    "returnMessage": "success"
  }
}