Table of Contents

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 string

The network id

cancellationToken CancellationToken

Returns

Task<OneToManyNatRules>

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 string

The network id

oneToManyNatRules OneToManyNatRules

Body for updating mapping rules

cancellationToken CancellationToken

Returns

Task<OneToManyNatRules>

Exceptions

ApiException

Thrown when fails to make API call