getTrafficUsage
    • PDF

    getTrafficUsage

    • PDF

    Article Summary

    概要

    Secure Zone Firewallのネットワーク使用量を照会します。

    リクエスト

    MethodRequest URI
    POSThttps://securezonefirewall.apigw.ntruss.com/api/v2/{type}/{zone}/getTrafficUsage

    Type

    Value説明
    szfwSecure Zone Standard
    psfwSecure Zone Advanced

    Zone

    Value説明
    kr1KR-1 Zone
    kr2KR-2 Zone

    リクエストヘッダ

    ヘッダ名説明
    x-ncp-apigw-timestamp1970年1月1日 00:00:00 協定世界時(UTC)からの経過時間をミリ秒(Millisecond)で表したもの
    API Gatewayサーバとの時間差が5分以上の場合は、無効なリクエストとみなす
    x-ncp-iam-access-keyNAVERクラウドプラットフォームから発行された API Keyまたは IAMから発行された AccessKey
    x-ncp-apigw-signature-v2Bodyを AccessKeyとマッピングする SecretKeyで暗号化した署名
    HMAC暗号化アルゴリズムは HmacSHA256を使用
    x-ncp-mbr_noユーザー番号

    リクエストパラメータ

    パラメータ名要否タイプ説明備考
    statusnoString状態
    pagenoIntegerページインデックスデフォルト値0
    countPerPagenoIntegerページサイズデフォルト値0
    fromDateyesDate開始日
    toDateyesDate終了日
    timeZonenoStringタイムゾーンデフォルト値 +09:00

    レスポンス

    レスポンスボディ

    パラメータ名タイプ説明
    actionStringリクエストタイプ
    returnCodeIntegerレスポンスコード
    returnMessageStringレスポンスメッセージ
    totalCountIntegerTrafficUsageの個数
    trafficUsageList[].checkDateStringメンテナンス日(yyyy-MM-dd)
    trafficUsageList[].checkHourStringメンテナンス時間(hh)
    trafficUsageList[].checkTimeStringメンテナンス時点(hh:mm:ss)
    trafficUsageList[].instanceNoStringインスタンス番号
    trafficUsageList[].memberLastModifyYmdtDateメンバー情報の最終修正日
    trafficUsageList[].memberNoStringメンバー番号
    trafficUsageList[].regYmdtDate登録日
    trafficUsageList[].rxBytesIntegerrxBytes
    trafficUsageList[].rxBytesIncrementIntegerrxBytes増加量
    trafficUsageList[].secureZoneNameStringSecureZone名
    trafficUsageList[].statusStringメンバーの状態
    trafficUsageList[].totalIncrementInteger合計増加量
    trafficUsageList[].txBytesIntegertxBytes
    trafficUsageList[].txBytesIncrementIntegertxBytes増加量

    レスポンスボディ

    {
      "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をご参照ください


    この記事は役に立ちましたか?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.