getCloudPostgresqlUserList
    • PDF

    getCloudPostgresqlUserList

    • PDF

    Article Summary

    VPC環境で利用できます。

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

    リクエスト

    リクエストパラメータ

    パラメータタイプ要否説明制約事項
    regionCodeStringNリージョンコード
    - regionCodeは、getRegionListアクションを通じて取得する
    - default: getRegionList照会結果の最初のリージョンを選択する
    -
    cloudPostgresqlInstanceNoStringYCloud DB for PostgreSQLインスタンス番号
    - cloudPostgresqlInstanceNoは、getCloudPostgresqlInstanceListアクションを通じて取得する
    -
    responseFormatTypeStringNレスポンス結果のフォーマットタイプ
    - options: xml | json
    - default: xml
    -

    レスポンス

    レスポンスボディ

    レスポンスボディは、CloudPostgresqlUserListをご参照ください。

    リクエスト例

    リクエスト構文例は次のとおりです。

    GET {API_URL}/getCloudPostgresqlUserList
    ?regionCode=KR
    &cloudPostgresqlInstanceNo=****890
    

    レスポンス例

    レスポンス構文例は、次のとおりです。

    レスポンス結果のフォーマットタイプ(responseFormatType)が 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
          }
        ]
      }
    }
    

    レスポンス結果のフォーマットタイプ(responseFormatType)が 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>
    

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

    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.