Table of Contents

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 string

The network id

cancellationToken CancellationToken

Returns

Task<DscpToCosMappings>

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 string

The network id

settingsDscpToCosMappings DscpToCosMappings
cancellationToken CancellationToken

Returns

Task<DscpToCosMappings>

Exceptions

ApiException

Thrown when fails to make API call