Table of Contents

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 string

The network id

cancellationToken CancellationToken

Returns

Task<TrafficAnalysis>

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 string

The network id

trafficAnalysis TrafficAnalysis
cancellationToken CancellationToken

Returns

Task<TrafficAnalysis>

Exceptions

ApiException

Thrown when fails to make API call