network_transfer_statistics
Creates, updates, deletes, gets or lists a network_transfer_statistics
resource.
Overview
Name | network_transfer_statistics |
Type | Resource |
Id | linode.linode.network_transfer_statistics |
Fields
The following fields are returned by SELECT
queries:
- get_linode_transfer_by_year_month
A collection of the specified Linode's network transfer statistics for the requested month.
Name | Datatype | Description |
---|---|---|
bytes_in | integer | Read-only The amount of inbound public network traffic received by this Linode, in bytes, for a specific year/month. |
bytes_out | integer | Read-only The amount of outbound public network traffic sent by this Linode, in bytes, for a specific year/month. |
bytes_total | integer | Read-only The total amount of public network traffic sent and received by this Linode, in bytes, for a specific year/month. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get_linode_transfer_by_year_month | select | Returns a Linode's network transfer statistics for a specific month. The year/month values must be either a date in the past, or the current month. OAuth scopes.<br /> linodes:read_only<br /> Learn more... |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|
SELECT
examples
- get_linode_transfer_by_year_month
Returns a Linode's network transfer statistics for a specific month. The year/month values must be either a date in the past, or the current month. OAuth scopes.
<br /> linodes:read_only<br />
Learn more...
SELECT
bytes_in,
bytes_out,
bytes_total
FROM linode.linode.network_transfer_statistics;