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
stringThe network id
trafficShapingCustomPerformanceClass
CustomPerformanceClasscancellationToken
CancellationTokenThe cancellation token
Returns
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
stringThe network id
customPerformanceClassId
stringThe custom performance class id
cancellationToken
CancellationToken
Returns
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
stringThe network id
customPerformanceClassId
stringThe custom performance class id
cancellationToken
CancellationToken
Returns
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
stringThe network id
cancellationToken
CancellationToken
Returns
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
stringThe network id
customPerformanceClassId
stringThe custom performance class id
trafficShapingCustomPerformanceClass
CustomPerformanceClasscancellationToken
CancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call