Table of Contents

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 string

The network id

cancellationToken CancellationToken

Returns

Task<NetworkAlertSettings>

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 string

The network id

updateNetworkAlertSettings NetworkAlertSettings

Body for updating network alert settings

cancellationToken CancellationToken

Returns

Task<NetworkAlertSettings>

Exceptions

ApiException

Thrown when fails to make API call