Table of Contents

Interface IApplianceTrafficShapingCustomPerformanceClasses

Namespace
Meraki.Api.Interfaces.Products.Appliance
Assembly
Meraki.Api.dll
public interface IApplianceTrafficShapingCustomPerformanceClasses

Methods

CreateNetworkApplianceTrafficShapingCustomPerformanceClassAsync(string, CustomPerformanceClass, CancellationToken)

Add a custom performance class for an MX network

[Post("/networks/{networkId}/appliance/trafficShaping/customPerformanceClasses")]
Task<CustomPerformanceClass> CreateNetworkApplianceTrafficShapingCustomPerformanceClassAsync(string networkId, CustomPerformanceClass trafficShapingCustomPerformanceClass, CancellationToken cancellationToken = default)

Parameters

networkId string

The network id

trafficShapingCustomPerformanceClass CustomPerformanceClass
cancellationToken CancellationToken

The cancellation token

Returns

Task<CustomPerformanceClass>

Exceptions

ApiException

Thrown when fails to make API call

DeleteNetworkApplianceTrafficShapingCustomPerformanceClassAsync(string, string, CancellationToken)

Delete a custom performance class from an MX network

[Delete("/networks/{networkId}/appliance/trafficShaping/customPerformanceClasses/{customPerformanceClassId}")]
Task DeleteNetworkApplianceTrafficShapingCustomPerformanceClassAsync(string networkId, string customPerformanceClassId, CancellationToken cancellationToken = default)

Parameters

networkId string

The network id

customPerformanceClassId string

The custom performance class id

cancellationToken CancellationToken

Returns

Task

Exceptions

ApiException

Thrown when fails to make API call

GetNetworkApplianceTrafficShapingCustomPerformanceClassAsync(string, string, CancellationToken)

Return a custom performance class for an MX network

[Get("/networks/{networkId}/appliance/trafficShaping/customPerformanceClasses/{customPerformanceClassId}")]
Task<CustomPerformanceClass> GetNetworkApplianceTrafficShapingCustomPerformanceClassAsync(string networkId, string customPerformanceClassId, CancellationToken cancellationToken = default)

Parameters

networkId string

The network id

customPerformanceClassId string

The custom performance class id

cancellationToken CancellationToken

Returns

Task<CustomPerformanceClass>

Exceptions

ApiException

Thrown when fails to make API call

GetNetworkApplianceTrafficShapingCustomPerformanceClassesAsync(string, CancellationToken)

List all custom performance classes for an MX network

[Get("/networks/{networkId}/appliance/trafficShaping/customPerformanceClasses")]
Task<List<CustomPerformanceClass>> GetNetworkApplianceTrafficShapingCustomPerformanceClassesAsync(string networkId, CancellationToken cancellationToken = default)

Parameters

networkId string

The network id

cancellationToken CancellationToken

Returns

Task<List<CustomPerformanceClass>>

Exceptions

ApiException

Thrown when fails to make API call

UpdateNetworkApplianceTrafficShapingCustomPerformanceClassAsync(string, string, CustomPerformanceClass, CancellationToken)

Update a custom performance class for an MX network

[Put("/networks/{networkId}/appliance/trafficShaping/customPerformanceClasses/{customPerformanceClassId}")]
Task<CustomPerformanceClass> UpdateNetworkApplianceTrafficShapingCustomPerformanceClassAsync(string networkId, string customPerformanceClassId, CustomPerformanceClass trafficShapingCustomPerformanceClass, CancellationToken cancellationToken = default)

Parameters

networkId string

The network id

customPerformanceClassId string

The custom performance class id

trafficShapingCustomPerformanceClass CustomPerformanceClass
cancellationToken CancellationToken

Returns

Task<CustomPerformanceClass>

Exceptions

ApiException

Thrown when fails to make API call