Interface IApplianceUplinksUsageHistory
- Namespace
- Meraki.Api.Interfaces.Products.Appliance
- Assembly
- Meraki.Api.dll
public interface IApplianceUplinksUsageHistory
Methods
GetNetworkApplianceUplinksUsageHistoryAsync(string, string, string, double?, int?, CancellationToken)
Get the sent and received bytes for each uplink of a network.
[Get("/networks/{networkId}/appliance/uplinks/usageHistory")]
Task<List<UplinkUsageHistory>> GetNetworkApplianceUplinksUsageHistoryAsync(string networkId, string t0 = null, string t1 = null, double? timespan = null, int? resolution = null, CancellationToken cancellationToken = default)
Parameters
networkIdstringThe network id
t0stringThe beginning of the timespan for the data. The maximum lookback period is 365 days from today.
t1stringThe end of the timespan for the data. t1 can be a maximum of 14 days after t0.
timespandouble?The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 14 days. The default is 10 minutes.
resolutionint?The time resolution in seconds for returned data. The valid resolutions are: 60, 300, 600, 1800, 3600, 86400. The default is 60.
cancellationTokenCancellationTokenThe cancellation token
Returns
Exceptions
- ApiException
Thrown when fails to make API call