getTrafficUsage
- 인쇄
- PDF
getTrafficUsage
- 인쇄
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
개요
Secure Zone Firewall 네트워크 사용량을 조회합니다.
요청
Method | Request URI |
---|---|
POST | https://securezonefirewall.apigw.ntruss.com/api/v2/{type}/{zone}/getTrafficUsage |
Type
Value | 설명 |
---|---|
szfw | Secure Zone Standard |
psfw | Secure Zone Advanced |
Zone
Value | 설명 |
---|---|
kr1 | KR-1 Zone |
kr2 | KR-2 Zone |
요청 헤더
헤더명 | 설명 |
---|---|
x-ncp-apigw-timestamp | 1970년 1월 1일 00:00:00 협정 세계시(UTC)부터의 경과 시간을 밀리초(Millisecond)로 나타낸 것 API Gateway 서버와 시간 차가 5분 이상 나는 경우 유효하지 않은 요청으로 간주 |
x-ncp-iam-access-key | 네이버 클라우드 플랫폼에서 발급받은 API Key 또는 IAM에서 발급받은 AccessKey |
x-ncp-apigw-signature-v2 | Body를 AccessKey와 맵핑되는 SecretKey로 암호화한 서명 HMAC 암호화 알고리즘은 HmacSHA256 사용 |
x-ncp-mbr_no | 사용자 번호 |
요청 파라미터
파라미터명 | 필수 여부 | 타입 | 설명 | 비고 |
---|---|---|---|---|
status | no | String | 상태 | |
page | no | Integer | 페이지 인덱스 | 기본값 0 |
countPerPage | no | Integer | 페이지 사이즈 | 기본값 0 |
fromDate | yes | Date | 시작일 | |
toDate | yes | Date | 종료일 | |
timeZone | no | String | 타임존 | 기본값 +09:00 |
응답
응답 바디
파라미터명 | 타입 | 설명 |
---|---|---|
action | String | 요청 유형 |
returnCode | Integer | 응답 코드 |
returnMessage | String | 응답 메세지 |
totalCount | Integer | TrafficUsage 개수 |
trafficUsageList[].checkDate | String | 점검일(yyyy-MM-dd |
trafficUsageList[].checkHour | String | 점검 시(hh) |
trafficUsageList[].checkTime | String | 점검 시점(hh:mm:ss) |
trafficUsageList[].instanceNo | String | 인스턴스 번호 |
trafficUsageList[].memberLastModifyYmdt | Date | 멤버 정보 최종 수정일 |
trafficUsageList[].memberNo | String | 멤버 번호 |
trafficUsageList[].regYmdt | Date | 등록일 |
trafficUsageList[].rxBytes | Integer | rxBytes |
trafficUsageList[].rxBytesIncrement | Integer | rxBytes 증가량 |
trafficUsageList[].secureZoneName | String | SecureZone명 |
trafficUsageList[].status | String | 멤버 상태 |
trafficUsageList[].totalIncrement | Integer | 총 증가량 |
trafficUsageList[].txBytes | Integer | txBytes |
trafficUsageList[].txBytesIncrement | Integer | txBytes 증가량 |
응답 바디
{
"action": "string",
"returnCode": 0,
"returnMessage": "string",
"totalCount": 0,
"trafficUsageList": [
{
"checkDate": "string",
"checkHour": "string",
"checkTime": "string",
"instanceNo": "string",
"memberLastModifyYmdt": "2020-07-14T08:44:05.773Z",
"memberNo": "string",
"regYmdt": "2020-07-14T08:44:05.773Z",
"rxBytes": 0,
"rxBytesIncrement": 0,
"secureZoneName": "string",
"status": "string",
"totalIncrement": 0,
"txBytes": 0,
"txBytesIncrement": 0
}
]
}{
"action": "string",
"returnCode": 0,
"returnMessage": "string"
}
오류 코드
공통적으로 발생하는 오류에 대한 상세한 설명은 NAVER Cloud Platform API를 참고해주세요
이 문서가 도움이 되었습니까?