Interface IDeviceLossAndLatencyHistory
- Namespace
- Meraki.Api.Interfaces.General.Devices
- Assembly
- Meraki.Api.dll
public interface IDeviceLossAndLatencyHistory
Methods
GetDeviceLossAndLatencyHistoryAsync(string, string, string, string, double?, int?, string, CancellationToken)
Get the uplink loss percentage and latency in milliseconds, and goodput in kilobits per second for a wired network device.
[Get("/devices/{serial}/lossAndLatencyHistory")]
Task<List<LossAndLatencyHistory>> GetDeviceLossAndLatencyHistoryAsync(string serial, string ip, string t0 = null, string t1 = null, double? timespan = null, int? resolution = null, string uplink = null, CancellationToken cancellationToken = default)
Parameters
serialstringThe serial number
ipstringThe destination IP used to obtain the requested stats. This is required.
t0stringThe beginning of the timespan for the data. The maximum lookback period is 365 days from today. (optional)
t1stringThe end of the timespan for the data. t1 can be a maximum of 31 days after t0. (optional)
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 31 days. The default is 1 day. (optional)
resolutionint?The time resolution in seconds for returned data. The valid resolutions are: 60, 600, 3600, 86400. The default is 60. (optional)
uplinkstringThe WAN uplink used to obtain the requested stats. Valid uplinks are wan1, wan2, cellular. The default is wan1. (optional)
cancellationTokenCancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call