Skip to content

리소스 타입별 개수 조회

Resource Type Search 모달에서 사용할 리소스별 전체 개수 조회

HTTP 요청

http
GET https://<your-console-host>/api/v1/container/search/resource-types

URI 매개변수

없습니다.

쿼리 매개변수

이름필수형식설명
clusterId필수integer클러스터 ID. 범위 1~

요청 헤더

인증 헤더와 조직 헤더는 모든 API 가 같습니다. 공통 규약을 참고하십시오.

이 API 는 파티션 헤더(X-Partition-Id)를 사용하지 않습니다. 보내도 무시됩니다.

응답

상태 코드설명
200 OKSuccessful Response
422 Unprocessable EntityValidation Error

위 표는 정상 응답과 요청 검증 실패만 나열합니다. 이 API 는 그 밖에 401(인증 실패) · 403(권한 없음) · 404(리소스 없음) · 502(인프라 오류)를 반환할 수 있습니다. 조건은 오류 처리를 참고하십시오.

응답 본문 — 200

이름필수형식설명
message선택string 또는 null응답 메시지
timestamp선택string응답 생성 시간
requestId필수string요청 식별자
result필수object결과 데이터
result.clusters필수integer삭제되지 않은 클러스터 수
result.namespaces필수integerNamespace 개수
result.nodes필수integerNode 개수
result.events선택integer 또는 nullEvent 개수 (계산하지 않음)
result.deployments필수integerDeployment 개수
result.statefulSets필수integerStatefulSet 개수
result.daemonSets필수integerDaemonSet 개수
result.jobs필수integerJob 개수
result.cronJobs필수integerCronJob 개수
result.pods필수integerPod 개수
result.services필수integerService 개수
result.ingresses필수integerIngress 개수
result.horizontalPodAutoscalers필수integerHorizontalPodAutoscaler 개수
result.persistentVolumes필수integerPersistentVolume 개수
result.persistentVolumeClaims필수integerPersistentVolumeClaim 개수
result.storageClasses필수integerStorageClass 개수
result.configMaps필수integerConfigMap 개수
result.secrets필수integerSecret 개수
result.limitRanges필수integerLimitRange 개수
result.resourceQuotas필수integerResourceQuota 개수
result.networkPolicies필수integerNetworkPolicy 개수
result.podDisruptionBudgets필수integerPodDisruptionBudget 개수

Thaki Cloud Aegis — 연동 개발자용 API 문서