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