changeCloudMysqlUserList
    • PDF

    changeCloudMysqlUserList

    • PDF

    Article Summary

    VPC環境で利用できます。

    概要

    Cloud DB for MySQLインスタンスの DB Userを修正します。

    リクエスト

    リクエストパラメータ

    パラメータ名要否タイプ制約事項説明
    regionCodeNoString- リージョンコード
    regionCodeは、getRegionListアクションを通じて取得可能
    Default: getRegionList照会結果の最初のリージョンを選択
    cloudMysqlInstanceNoYesString- Cloud DB for MySQLのインスタンス番号
    cloudMysqlInstanceNoは、getCloudMysqlInstanceListアクションを通じて取得可能
    cloudMysqlUserList.N.nameYesList<String>アルファベット、数字、アンダースコア(_)、ハイフン(-)のみ許可され、先頭文字は必ずアルファベットにすること
    Min: 4
    Max: 16
    - MySQLユーザー ID
    変更不可
    cloudMysqlUserList.N.hostIpYesList<String>- MySQLユーザー host
    変更不可
    ユースケース)
    全体アクセスを許可: %
    特定の IPアドレスのアクセスを許可: 1.1.1.1
    IPアドレス帯域のアクセスを許可: 1.1.1.%
    cloudMysqlUserList.N.passwordNoList<String>アルファベット、数字、特殊文字の3つの項目が1文字以上含まれること
    特定の特殊文字(` & + " ' / 空白)は使用不可
    Password Pluginが有効になった状態では pluginで設定したポリシーも満たすこと
    Min: 9
    Max: 20
    - MySQLのユーザーパスワード
    cloudMysqlUserList.N.authorityYesList<String>- MySQLのユーザー権限
    Options : READ | CRUD | DDL
    responseFormatTypeNoString- レスポンス結果のフォーマットタイプ
    Options : xml | json
    Default : xml

    リクエスト例

    GET {API_URL}/changeCloudMysqlUserList
    ?regionCode=KR
    &cloudMysqlInstanceNo=****890
    &cloudMysqlUserList.1.name=testuser
    &cloudMysqlUserList.1.hostIp=%
    &cloudMysqlUserList.1.password=********
    &cloudMysqlUserList.1.authority=CRUD
    

    レスポンス例

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

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

    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.