Interface INetworksTrafficAnalysis
- Namespace
- Meraki.Api.Interfaces.General.Networks
- Assembly
- Meraki.Api.dll
public interface INetworksTrafficAnalysis
Methods
GetNetworkTrafficAnalysisAsync(string, CancellationToken)
Return the traffic analysis settings for a network
[Get("/networks/{networkId}/trafficAnalysis")]
Task<TrafficAnalysis> GetNetworkTrafficAnalysisAsync(string networkId, CancellationToken cancellationToken = default)
Parameters
networkId
stringThe network id
cancellationToken
CancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call
UpdateNetworkTrafficAnalysisAsync(string, TrafficAnalysis, CancellationToken)
Update the traffic analysis settings for a network
[Put("/networks/{networkId}/trafficAnalysis")]
Task<TrafficAnalysis> UpdateNetworkTrafficAnalysisAsync(string networkId, TrafficAnalysis trafficAnalysis, CancellationToken cancellationToken = default)
Parameters
networkId
stringThe network id
trafficAnalysis
TrafficAnalysiscancellationToken
CancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call