10.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을 교체합니다.
-
/apis/monitoring.coreos.com/v1/namespaces/{namespace}/prometheusrules/{name}/status-
GET: 지정된 PrometheusRule의 읽기 상태 -
PATCH: 지정된 PrometheusRule의 부분적으로 업데이트 상태 -
PUT: 지정된 PrometheusRule의 상태 교체
-
10.2.1. /apis/monitoring.coreos.com/v1/prometheusrules 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
- HTTP 방법
-
GET - 설명
- 종류의 PrometheusRule 오브젝트 나열
| HTTP 코드 | 리포지토리 본문 |
|---|---|
| 200 - OK | |
| 401 - 무단 | 빈 |