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 | NAVERクラウドプラットフォームから発行された 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をご参照ください
この記事は役に立ちましたか?