Metric Export를 목록을 조회합니다.
요청
요청 형식을 설명합니다. 요청 형식은 다음과 같습니다.
| 메서드 | URI |
|---|---|
| GET | /cw_fea/real/cw/api/metric-export/list |
요청 헤더
Cloud Insight API에서 공통으로 사용하는 헤더에 대한 정보는 Cloud Insight 요청 헤더를 참조해 주십시오.
요청 파라미터
| 파라미터명 | 필수 여부 | 타입 | 제약사항 | 설명 |
|---|---|---|---|---|
| keyword | Optional | String | metric export name | |
| pageNum | Optional | Integer | default : 1 |
|
| pageSize | Optional | Integer | default : 100 |
요청 예시
다음은 Metric Export 목록을 조회하는 예시입니다.
GET /cw_fea/real/cw/api/metric-export/list?keyword=cloudinsight&pageNum=1&pageSize=100
Host: cw.apigw.fin-ntruss.com
x-ncp-apigw-signature-v2: {generated signature}
x-ncp-apigw-timestamp: {current timestamp}
x-ncp-iam-access-key: {your iam access key}
x-ncp-dmn_cd: FIN
응답 예시
오류 없이 조회가 완료된 경우 HTTP code 200과 함께 Metric Export의 리스트가 리턴됩니다.
{
"keyword": "",
"metricExports": [
{
"createUtc": 1649345332538,
"id": 8,
"modifyUtc": 1649345332538,
"name": "metric-export-cloud-insight-Min30",
"productKey": "123123123123123",
"productName": "Server",
"translatedExportStatus": "SUCCESS"
},
{
"createUtc": 1649345312149,
"id": 7,
"modifyUtc": 1649345312149,
"name": "metric-export-cloud-insight-COUNT",
"productKey": "123123123123123",
"productName": "Server",
"translatedExportStatus": "SUCCESS"
}
],
"pageNum": 1,
"pageSize": 100,
"totalCount": 2
}