getCloudMongoDbUserList
    • PDF

    getCloudMongoDbUserList

    • PDF

    Article Summary

    VPC環境で利用できます。

    概要

    Cloud DB for MongoDBの DB Userリストを照会します。

    リクエスト

    リクエストパラメータ

    パラメータ名要否タイプ制約事項説明
    regionCodeNoString- リージョンコード
    regionCodeは、getRegionListアクションを通じて取得可能
    Default: getRegionList照会結果の最初のリージョンを選択
    cloudMongoDbInstanceNoYesString- Cloud DB for MongoDBのインスタンス番号
    cloudMongoDbInstanceNoは、getCloudMongoDbInstanceListアクションを通じて取得可能
    outputNoString- レスポンス結果のフォーマットタイプ
    Options : xml | json
    Default : json

    レスポンス

    レスポンスデータのタイプ

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

    リクエスト例

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

    レスポンス例

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

    この記事は役に立ちましたか?

    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.