Interface ISwitchSettings
- Namespace
- Meraki.Api.Interfaces.Products.Switch
- Assembly
- Meraki.Api.dll
Represents a collection of functions to interact with the API endpoints
public interface ISwitchSettings
Methods
GetNetworkSwitchSettingsAsync(string, CancellationToken)
Returns the switch network settings
[Get("/networks/{networkId}/switch/settings")]
Task<SwitchSettings> GetNetworkSwitchSettingsAsync(string networkId, CancellationToken cancellationToken = default)
Parameters
networkId
stringThe network id
cancellationToken
CancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call
UpdateNetworkSwitchSettingsAsync(string, SwitchSettings, CancellationToken)
Update switch network settings
[Put("/networks/{networkId}/switch/settings")]
Task<SwitchSettings> UpdateNetworkSwitchSettingsAsync(string networkId, SwitchSettings updateNetworkSwitchSettings, CancellationToken cancellationToken = default)
Parameters
networkId
stringThe network id
updateNetworkSwitchSettings
SwitchSettingscancellationToken
CancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call