Interface IApplianceTrafficShapingVpnExclusions
- Namespace
- Meraki.Api.Interfaces.Products.Appliance
- Assembly
- Meraki.Api.dll
public interface IApplianceTrafficShapingVpnExclusions
- Extension Methods
Methods
GetOrganizationApplianceTrafficShapingVpnExclusionsByNetworkAsync(string, int?, string?, string?, List<string>, CancellationToken)
Display VPN exclusion rules for MX networks.
[Get("/organizations/{organizationId}/appliance/trafficShaping/vpnExclusions/byNetwork")]
Task<TrafficShapingVpnExclusionsByNetworkResponse> GetOrganizationApplianceTrafficShapingVpnExclusionsByNetworkAsync(string organizationId, int? perPage, string? startingAfter, string? endingBefore, List<string> networkIds, CancellationToken cancellationToken = default)
Parameters
organizationId
stringThe organization id
perPage
int?The number of entries per page returned. Acceptable range is 3 - 1000. Default is 50.
startingAfter
stringA token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
endingBefore
stringA token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
networkIds
List<string>Optional parameter to filter the results by network IDs
cancellationToken
CancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call
UpdateNetworkApplianceTrafficShapingVpnExclusionsAsync(string, TrafficShapingVpnExclusions, CancellationToken)
Update VPN exclusion rules for an MX network.
[Put("/networks/{networkId}/appliance/trafficShaping/vpnExclusions")]
Task<TrafficShapingVpnExclusionsByNetworkResponse> UpdateNetworkApplianceTrafficShapingVpnExclusionsAsync(string networkId, TrafficShapingVpnExclusions trafficShapingVpnExclusions, CancellationToken cancellationToken = default)
Parameters
networkId
stringThe network id
trafficShapingVpnExclusions
TrafficShapingVpnExclusionsTraffic Shaping Vpn Exclusions
cancellationToken
CancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call