Table of Contents

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 string

The network id

cancellationToken CancellationToken

Returns

Task<OneToOneNatRules>

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 string

The network id

oneToOneNatRules OneToOneNatRules

Body for updating mapping rules

cancellationToken CancellationToken

Returns

Task<OneToOneNatRules>

Exceptions

ApiException

Thrown when fails to make API call