getCloudPostgresqlUserList
    • PDF

    getCloudPostgresqlUserList

    • PDF

    Article Summary

    Available in VPC

    View Cloud DB for PostgreSQL DB User list.

    Commands

    The text of the command is as follows:

    ncloud vpostgresql getCloudPostgresqlUserList [regionCode] [cloudPostgresqlInstanceNo] [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
    -
    outputStringNFormat type of the response result
    - options: xml | json
    - default: json
    -

    Responses

    Response data type

    • CloudPostgresqlUserList type
    CloudPostgresqlUserList extends CommonResponseDescription
    private Integer totalRows;Total number of items viewed
    private List<CloudPostgresqlUser> cloudPostgresqlUserList = new ArrayList<>();Cloud DB for PostgreSQL DB user list
    • CloudPostgresqlUser type
    CloudPostgresqlUserDescription
    private String userName;DB User ID
    private String clientCidr;Client CIDR
    private Boolean isReplicationRole;Replication role status

    Examples

    Describes examples of recalls and responses.

    Recall examples

    The following are examples of recalls.

    ncloud vpostgresql getCloudPostgresqlUserList --regionCode KR --cloudPostgresqlInstanceNo ****890
    

    Response examples

    The following are examples of responses.

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

    {
      "getCloudPostgresqlUserListResponse": {
        "requestId": "d733e677-ad69-4cbe-8351-711d0e0124bc",
        "returnCode": 0,
        "returnMessage": "success",
        "totalRows": 1,
        "cloudPostgresqlUserList": [
          {
            "userName": "testuser",
            "clientCidr": "0.0.0.0/0",
            "isReplicationRole": false
          }
        ]
      }
    }
    

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

    <getCloudPostgresqlUserListResponse>
      <requestId>d733e677-ad69-4cbe-8351-711d0e0124bc</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <cloudPostgresqlUserList>
        <cloudPostgresqlUser>
          <userName>testuser</userName>
          <clientCidr>0.0.0.0/0</clientCidr>
          <isReplicationRole>false</isReplicationRole>
        </cloudPostgresqlUser>
      </cloudPostgresqlUserList>
    </getCloudPostgresqlUserListResponse>
    

    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.