getCloudMongoDbUserList
    • PDF

    getCloudMongoDbUserList

    • PDF

    Article Summary

    Available in VPC

    Overview

    Querying a list of Cloud DB for MongoDB DB User

    Requests

    Request parameters

    Parameter nameRequirement statusTypeRestrictionsDescription
    regionCodeNoString- Region code
    regionCode can be obtained via the getRegionList action
    Default: selects the first region of the getRegionList query results
    cloudMongoDbInstanceNoYesString- Cloud DB for MongoDB instance number
    cloudMongoDbInstanceNo can be obtained via the getCloudMongoDbInstanceList action
    outputNoString- Format type of the response result
    Options : xml | json
    Default : json

    Responses

    Response data type

    • CloudMongoDbUserList type
    CloudMongoDbUserList extends CommonResponse
    private Integer totalRows;
    private List<CloudMongoDbUser> cloudMongoDbUserList = new ArrayList<>();
    CloudMongoDbUser
    private String userName;
    private String databaseName;
    private String authority;

    Examples

    Request examples

    ncloud vmongodb getCloudMongoDbUserList --regionCode KR --cloudMongoDbInstanceNo ****890
    

    Response examples

    {
      "getCloudMongoDbUserListResponse": {
        "requestId": "d733e677-ad69-4cbe-8351-711d0e0124bc",
        "returnCode": 0,
        "returnMessage": "success",
        "totalRows": 1,
        "cloudMongoDbUserList": [
          {
            "userName": "testuser",
            "databaseName": "testdatabase",
            "authority": "READ"
          }
        ]
      }
    }
    

    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.