Interface INetworksAlertsSettings
- Namespace
- Meraki.Api.Interfaces.General.Networks
- Assembly
- Meraki.Api.dll
Represents a collection of functions to interact with the API endpoints
public interface INetworksAlertsSettings
Methods
GetNetworkAlertsSettingsAsync(string, CancellationToken)
Return the alert configuration for this network
[Get("/networks/{networkId}/alerts/settings")]
Task<NetworkAlertSettings> GetNetworkAlertsSettingsAsync(string networkId, CancellationToken cancellationToken = default)
Parameters
networkId
stringThe network id
cancellationToken
CancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call
UpdateNetworkAlertsSettingsAsync(string, NetworkAlertSettings, CancellationToken)
Update the alert configuration for this network
[Put("/networks/{networkId}/alerts/settings")]
Task<NetworkAlertSettings> UpdateNetworkAlertsSettingsAsync(string networkId, NetworkAlertSettings updateNetworkAlertSettings = null, CancellationToken cancellationToken = default)
Parameters
networkId
stringThe network id
updateNetworkAlertSettings
NetworkAlertSettingsBody for updating network alert settings
cancellationToken
CancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call