
PhpIPAM List
CertifiedList subnets in a phpIPAM section
PhpIPAM List
List subnets in a phpIPAM section
Returns all subnets belonging to the specified section.
type: io.kestra.plugin.phpipam.ipam.subnet.ListExamples
List subnets in a section
id: phpipam_subnet_list
namespace: company.team
tasks:
- id: list_subnets
type: io.kestra.plugin.phpipam.ipam.subnet.List
baseUrl: "https://ipam.example.com"
appId: myapp
auth:
appToken: "{{ secret('PHPIPAM_APP_TOKEN') }}"
sectionId: "1"
Properties
appId *Requiredstring
Application ID
The API application identifier configured in phpIPAM under Administration → API.
It appears in the path segment /api/{appId}/.
auth *RequiredNon-dynamic
Authentication
Provide either appToken for static App-token authentication,
or username + password to obtain a per-run session token.
Supplying both, or neither, raises a validation error.
io.kestra.plugin.phpipam.PhpipamAuthentication
Static App token
A token generated in the phpIPAM administration panel under Administration → API.
Sent to phpIPAM via the token request header.
Mutually exclusive with username / password.
Password
Password for the phpIPAM user. Must be provided together with username.
Username
phpIPAM username used to obtain a per-session token via POST /api/{appId}/user/.
Must be provided together with password.
Mutually exclusive with appToken.
baseUrl *Requiredstring
Base URL of the phpIPAM instance
Root URL of the phpIPAM instance, e.g. https://ipam.example.com. No trailing slash needed.
sectionId *Requiredstring
Section ID
Numeric ID of the section whose subnets to list.
fetchType string
FETCHSTOREFETCHFETCH_ONENONEFetch type
Controls how results are returned:
FETCH(default): return the full list insubnets+ total count.FETCH_ONE: return only the first subnet insubnet+ total count.STORE: write all subnets as newline-delimited JSON to Kestra internal storage, returnuri+ total count.NONE: return only the total count, no rows.
insecureTls booleanstring
falseDisable TLS certificate validation
Set to true to trust all TLS certificates, including self-signed ones.
Intended for development or internal deployments only.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
Outputs
subnet
Subnet
First subnet returned. Populated for FETCH_ONE fetch type.
io.kestra.plugin.phpipam.ipam.model.Subnet
io.kestra.plugin.phpipam.ipam.model.Subnet-SubnetUsage
subnets array
Subnets
Subnets belonging to the section. Populated for FETCH fetch type.
io.kestra.plugin.phpipam.ipam.model.Subnet
io.kestra.plugin.phpipam.ipam.model.Subnet-SubnetUsage
total integer
0Total
Total number of subnets returned by the API.
uri string
uriURI
Internal storage URI of the newline-delimited JSON file. Populated for STORE fetch type.