FortiManager icon

FortiManager

Interact with FortiManager API

Firewall → Create IP Pool

AI-generated

Summary

Create a firewall IP pool in FortiManager.

Inputs

  • domain (required) — API domain to use (e.g., pm) for the operation.
  • adom (required) — Administrative Domain name where the IP pool will be created.
  • poolName (required) — Name of the new IP pool.
  • poolType (required) — Type of NAT mapping for the pool.
  • startIp (required) — Starting IP address of the pool range.
  • endIp (required) — Ending IP address of the pool range.
  • additionalFields — Optional extra configuration fields such as ARP reply, comment, source IP range.

Output shape

a single IP pool object returned on success

The response contains the created pool details; errors are propagated as thrown exceptions.

Examples

Example 1: Add a new overload IP pool named "pool1" from 203.0.113.10 to 203.0.113.20

domain: pm, adom: root, poolName: pool1, poolType: overload, startIp: 203.0.113.10, endIp: 203.0.113.20

Discussion