9.2. API エンドポイント
以下の API エンドポイントを利用できます。
/apis/monitoring.coreos.com/v1/prometheusrules-
GET: 種類が PrometheusRule のオブジェクトをリスト表示します。
-
/apis/monitoring.coreos.com/v1/namespaces/{namespace}/prometheusrules-
DELETE: PrometheusRule のコレクションを削除します。 -
GET: 種類が PrometheusRule のオブジェクトをリスト表示します。 -
POST: PrometheusRule を作成します。
-
/apis/monitoring.coreos.com/v1/namespaces/{namespace}/prometheusrules/{name}-
DELETE: PrometheusRule を削除します。 -
GET: 指定された PrometheusRule を読み取ります。 -
PATCH: 指定された PrometheusRule を部分的に更新します。 -
PUT: 指定された PrometheusRule を置き換えます。
-
9.2.1. /apis/monitoring.coreos.com/v1/prometheusrules リンクのコピーリンクがクリップボードにコピーされました!
リンクのコピーリンクがクリップボードにコピーされました!
- HTTP メソッド
-
GET - 説明
- 種類が PrometheusRule のオブジェクトをリスト表示します。
| HTTP コード | レスポンスのボディー |
|---|---|
| 200 - OK |
|
| 401 - Unauthorized | 空白 |