Interface INetworksSnmp
- Namespace
- Meraki.Api.Interfaces.General.Networks
- Assembly
- Meraki.Api.dll
I Networks Snmp
public interface INetworksSnmp
Methods
GetNetworkSnmpAsync(string, CancellationToken)
Return the SNMP settings for a network
[Get("/networks/{networkId}/snmp")]
Task<NetworkSnmpSetting> GetNetworkSnmpAsync(string networkId, CancellationToken cancellationToken = default)
Parameters
networkIdstringThe network id
cancellationTokenCancellationTokenThe Cancellation Token
Returns
Exceptions
- ApiException
Thrown when fails to make API call
UpdateNetworkSnmpAsync(string, NetworkSnmpSetting, CancellationToken)
Update the SNMP settings for a network
[Put("/networks/{networkId}/snmp")]
Task<NetworkSnmpSetting> UpdateNetworkSnmpAsync(string networkId, NetworkSnmpSetting networkSnmpSetting, CancellationToken cancellationToken = default)
Parameters
networkIdstringThe network id
networkSnmpSettingNetworkSnmpSettingcancellationTokenCancellationTokenThe Cancellation Token
Returns
Exceptions
- ApiException
Thrown when fails to make API call
UpdateNetworkSnmpTrapsAsync(string, NetworkSnmpTrapUpdateRequest, CancellationToken)
Update the SNMP trap configuration for the specified network
[Put("/networks/{networkId}/snmp/traps")]
Task<NetworkSnmpTrapResponse> UpdateNetworkSnmpTrapsAsync(string networkId, NetworkSnmpTrapUpdateRequest networkSnmpTrap, CancellationToken cancellationToken = default)
Parameters
networkIdstringThe network id
networkSnmpTrapNetworkSnmpTrapUpdateRequestcancellationTokenCancellationTokenThe Cancellation Token
Returns
Exceptions
- ApiException
Thrown when fails to make API call