Interface ISwitchStp
- Namespace
 - Meraki.Api.Interfaces.Products.Switch
 
- Assembly
 - Meraki.Api.dll
 
Represents a collection of functions to interact with the API endpoints
public interface ISwitchStp
  Methods
GetNetworkSwitchStpAsync(string, CancellationToken)
Returns STP settings
[Get("/networks/{networkId}/switch/stp")]
Task<SwitchSettingsStp> GetNetworkSwitchStpAsync(string networkId, CancellationToken cancellationToken = default)
  Parameters
networkIdstringThe network id
cancellationTokenCancellationToken
Returns
Exceptions
- ApiException
 Thrown when fails to make API call
UpdateNetworkSwitchStpAsync(string, SwitchSettingsStp, CancellationToken)
Updates STP settings
[Put("/networks/{networkId}/switch/stp")]
Task<SwitchSettingsStp> UpdateNetworkSwitchStpAsync(string networkId, SwitchSettingsStp updateNetworkSwitchSettingsStp, CancellationToken cancellationToken = default)
  Parameters
networkIdstringThe network id
updateNetworkSwitchSettingsStpSwitchSettingsStpcancellationTokenCancellationToken
Returns
Exceptions
- ApiException
 Thrown when fails to make API call