Interface INetworksSyslogServers
- Namespace
- Meraki.Api.Interfaces.General.Networks
- Assembly
- Meraki.Api.dll
public interface INetworksSyslogServers
Methods
GetNetworkSyslogServersAsync(string, CancellationToken)
List the syslog servers for a network
[Get("/networks/{networkId}/syslogServers")]
Task<SyslogServers> GetNetworkSyslogServersAsync(string networkId, CancellationToken cancellationToken = default)
Parameters
networkId
stringThe network id
cancellationToken
CancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call
UpdateNetworkSyslogServersAsync(string, SyslogServers, CancellationToken)
Update the syslog servers for a network
[Put("/networks/{networkId}/syslogServers")]
Task<SyslogServers> UpdateNetworkSyslogServersAsync(string networkId, SyslogServers syslogServers, CancellationToken cancellationToken = default)
Parameters
networkId
stringThe network id
syslogServers
SyslogServerscancellationToken
CancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call