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