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.

addCloudPostgresqlDatabaseList

Prev Next

Available in VPC

Add Cloud DB for PostgreSQL Database.

Commands

The text of the command is as follows:

ncloud vpostgresql addCloudPostgresqlDatabaseList [regionCode] [cloudPostgresqlInstanceNo] [cloudPostgresqlDatabaseList] [output]

Parameter

The following is a description on parameters.

Parameter Type Requirement status Description Restrictions
regionCode String N Region code
- regionCode can be obtained via the getRegionList action
- Default: selects the first region of the getRegionList search results
-
cloudPostgresqlInstanceNo String Y Cloud DB for PostgreSQL instance number
- cloudPostgresqlInstanceNo can be obtained via the getCloudPostgresqlInstanceList action
-
cloudPostgresqlDatabaseList.N.name List<String> Y Cloud DB for PostgreSQL Database name to be added
- Up to 10 database tasks can be performed at once
- Only English lowercase letters, numbers, and underscore characters ( _ ) are allowed, and must start with an English letter
- Min: 1
- Max: 30
cloudPostgresqlDatabaseList.N.owner List<String> Y Cloud DB for PostgreSQL Database Owner User ID to be added - Only English lowercase letters, numbers, and underscore characters ( _ ) are allowed, and must start with an English letter
- Min: 4
- Max: 16
output String N Format type of the response result
- options: xml | json
- default: json
-

Examples

Describes examples of recalls and responses.

Recall examples

The following are examples of recalls.

ncloud vpostgresql addCloudPostgresqlDatabaseList --regionCode KR --cloudPostgresqlInstanceNo ****890 --cloudPostgresqlDatabaseList "name='pgtest', owner='testuser'"

Response examples

Response examples

The following are examples of responses.

If the response shows that format type (output) is json

{
  "addCloudPostgresqlDatabaseListResponse": {
    "requestId": "e905ab5c-7ce7-49dc-ad45-cb281f11d38e",
    "returnCode": 0,
    "returnMessage": "success"
  }
}

If the response shows that format type (output) is xml

<addCloudPostgresqlDatabaseListResponse>
  <requestId>e905ab5c-7ce7-49dc-ad45-cb281f11d38e</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
</addCloudPostgresqlDatabaseListResponse>