Interface ISwitchDscpToCosMappings
- Namespace
- Meraki.Api.Interfaces.Products.Switch
- Assembly
- Meraki.Api.dll
Represents a collection of functions to interact with the API endpoints
public interface ISwitchDscpToCosMappings
Methods
GetNetworkSwitchDscpToCosMappingsAsync(string, CancellationToken)
Return the DSCP to CoS mappings
[Get("/networks/{networkId}/switch/dscpToCosMappings")]
Task<DscpToCosMappings> GetNetworkSwitchDscpToCosMappingsAsync(string networkId, CancellationToken cancellationToken = default)
Parameters
networkIdstringThe network id
cancellationTokenCancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call
UpdateNetworkSwitchDscpToCosMappingsAsync(string, DscpToCosMappings, CancellationToken)
Update the DSCP to CoS mappings
[Put("/networks/{networkId}/switch/dscpToCosMappings")]
Task<DscpToCosMappings> UpdateNetworkSwitchDscpToCosMappingsAsync(string networkId, DscpToCosMappings settingsDscpToCosMappings, CancellationToken cancellationToken = default)
Parameters
networkIdstringThe network id
settingsDscpToCosMappingsDscpToCosMappingscancellationTokenCancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call