142.4.12 SHOW_ENDPOINTSファンクション
SHOW_ENDPOINTSファンクションは、すべてのエンドポイントをJSONリストとして戻します。
構文
DBMS_OBSERVABILITY.SHOW_ENDPOINTS;
使用上のノート
SHOW_ENDPOINTSファンクションは、次のようなJSON配列を含むCLOBを戻します:[{"Id":Endpoint's id,"Type":"Endpoint's type","Endpoint":"URL", "Status":"Enabled or Disabled","Credential":"Credential's name or None"}]例
次の例は、すべてのエンドポイントを表示する方法を示しています:
set serveroutput on;
DECLARE
v_endpoints CLOB;
BEGIN
select dbms_observability.show_endpoints into v_endpoints;
dbms_output.put_line( v_endpoints );
END;
/