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
networkId
stringThe network id
cancellationToken
CancellationToken
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
networkId
stringThe network id
settingsDscpToCosMappings
DscpToCosMappingscancellationToken
CancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call