changeCloudPostgresqlUserList
    • PDF

    changeCloudPostgresqlUserList

    • PDF

    Article summary

    Available in VPC

    Edit Cloud DB for PostgreSQL DB User information.

    Commands

    The text of the command is as follows:

    ncloud vpostgresql changeCloudPostgresqlUserList [regionCode] [cloudPostgresqlInstanceNo] [cloudPostgresqlUserList] [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
    -
    cloudPostgresqlUserList.N.nameList<String>YCloud DB for PostgreSQL DB User ID to be edited
    - Up to 10 user tasks can be performed at a time
    - Only English lowercase letters, numbers, and underscore characters ( _ ) are allowed, and must start with an English letter
    - Predefined roles and reserved words cannot be used
    - Min: 4
    - Max: 16
    cloudPostgresqlUserList.N.clientCidrList<String>NClient CIDR of Cloud DB for PostgreSQL DB User
    - Enter only when changing client CIDR
    - One among the Client CIDR, password or replication role status must be entered
    Example)
    - Allow access to all: 0.0.0.0/0
    - Allow specific IP access: 192.168.1.1/32
    - Allow IP range access: 192.168.1.0/24
    -
    cloudPostgresqlUserList.N.passwordList<String>NCloud DB for PostgreSQL DB User password
    - Enter only when changing password
    - One among the Client CIDR, password or replication role status must be entered
    - Must contain at least 1 each of English letter, number, and special character
    - The following characters cannot be used in the password: ` & + \ " ' / and space
    - Cannot include user ID
    - Min: 8
    - Max: 20
    cloudPostgresqlUserList.N.isReplicationRoleList<Boolean>NReplication role status
    - Enter only when changing replication role
    - One among the Client CIDR, password or replication role status must be entered
    -
    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 changeCloudPostgresqlUserList --regionCode KR --cloudPostgresqlInstanceNo ****890 --cloudPostgresqlUserList "name='pgtest', clientCidr='0.0.0.0/0', password='********', isReplicationRole='false'"
    

    Response examples

    The following are examples of responses.

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

    {
      "changeCloudPostgresqlUserListResponse": {
        "requestId": "08bc2188-6a20-4129-9176-f85be77073dc",
        "returnCode": 0,
        "returnMessage": "success"
      }
    }
    

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

    <changeCloudPostgresqlUserListResponse>
      <requestId>08bc2188-6a20-4129-9176-f85be77073dc</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
    </changeCloudPostgresqlUserListResponse>
    

    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.