Skip to content

network_interface_accounting

Network interface accounting

Index

Input parameters

ParameterTypeRequiredDetails
limit
Limit
Integer no

Number of objects to retrieve

Default: 25

Validation rules
RuleDetails
Number
  • Must be a number after parameter type conversion.
  • Minimum: 0 (inclusive).
  • Maximum: 1000 (inclusive).

Validation error message: must be between 0 and 1000

user
User
Resource no
environment
Environment
Resource no
location
Location
Resource no
node
Node
Resource no
vps
VPS
Resource no
year
Year
Integer no

Default: null

month
Month
Integer no

Default: null

from
From
Datetime no

Default: null

to
To
Datetime no

Default: null

order
Order
String no

Template order

Default: created_at

Validation rules
RuleDetails
Include

Allowed values:

  • created_at
  • updated_at
  • descending
  • ascending

Validation error message: %{value} cannot be used

from_bytes
From_bytes
Integer no

Paginate by in/out bytes

Default: null

from_date
From_date
Datetime no

Paginate by create/update date

Default: null

Output parameters

ParameterTypeDescription
network_interface
NetworkInterface
Resource
bytes
Bytes
Integer
bytes_in
Bytes_in
Integer
bytes_out
Bytes_out
Integer
packets
Packets
Integer
packets_in
Packets_in
Integer
packets_out
Packets_out
Integer
year
Year
Integer
month
Month
Integer
created_at
Created_at
Datetime
updated_at
Updated_at
Datetime

User_top

Input parameters

ParameterTypeRequiredDetails
limit
Limit
Integer no

Number of objects to retrieve

Default: 25

Validation rules
RuleDetails
Number
  • Must be a number after parameter type conversion.
  • Minimum: 0 (inclusive).
  • Maximum: 1000 (inclusive).

Validation error message: must be between 0 and 1000

environment
Environment
Resource no
location
Location
Resource no
node
Node
Resource no
year
Year
Integer no

Default: null

month
Month
Integer no

Default: null

from
From
Datetime no

Default: null

to
To
Datetime no

Default: null

from_bytes
From_bytes
Integer no

Paginate by in/out bytes

Default: null

Output parameters

ParameterTypeDescription
user
User
Resource
bytes
Bytes
Integer
bytes_in
Bytes_in
Integer
bytes_out
Bytes_out
Integer
packets
Packets
Integer
packets_in
Packets_in
Integer
packets_out
Packets_out
Integer
year
Year
Integer
month
Month
Integer