addCloudPostgresqlDatabaseList
    • PDF

    addCloudPostgresqlDatabaseList

    • PDF

    Article summary

    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.

    ParameterTypeRequirement statusDescriptionRestrictions
    regionCodeStringNRegion code
    - regionCode can be obtained via the getRegionList action
    - Default: selects the first region of the getRegionList search results
    -
    cloudPostgresqlInstanceNoStringYCloud DB for PostgreSQL instance number
    - cloudPostgresqlInstanceNo can be obtained via the getCloudPostgresqlInstanceList action
    -
    cloudPostgresqlDatabaseList.N.nameList<String>YCloud 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.ownerList<String>YCloud 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
    outputStringNFormat 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>
    

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.