Table of Contents

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 string

The network id

cancellationToken CancellationToken

Returns

Task<SwitchSettings>

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 string

The network id

updateNetworkSwitchSettings SwitchSettings
cancellationToken CancellationToken

Returns

Task<SwitchSettings>

Exceptions

ApiException

Thrown when fails to make API call