Interface IApplianceFirewallOneToManyNatRules
- Namespace
- Meraki.Api.Interfaces.Products.Appliance
- Assembly
- Meraki.Api.dll
public interface IApplianceFirewallOneToManyNatRules
Methods
GetNetworkApplianceFirewallOneToManyNatRulesAsync(string, CancellationToken)
Return the 1:Many NAT mapping rules for an MX network
[Get("/networks/{networkId}/appliance/firewall/oneToManyNatRules")]
Task<OneToManyNatRules> GetNetworkApplianceFirewallOneToManyNatRulesAsync(string networkId, CancellationToken cancellationToken = default)
Parameters
networkId
stringThe network id
cancellationToken
CancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call
UpdateNetworkApplianceFirewallOneToManyNatRulesAsync(string, OneToManyNatRules, CancellationToken)
Set the 1:Many NAT mapping rules for an MX network
[Put("/networks/{networkId}/appliance/firewall/oneToManyNatRules")]
Task<OneToManyNatRules> UpdateNetworkApplianceFirewallOneToManyNatRulesAsync(string networkId, OneToManyNatRules oneToManyNatRules, CancellationToken cancellationToken = default)
Parameters
networkId
stringThe network id
oneToManyNatRules
OneToManyNatRulesBody for updating mapping rules
cancellationToken
CancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call