List subnets
list_subnetsList a project's subnets with CIDR, gateway, and DHCP settings. Supports paging via limit and marker plus filtering by network, project, or IP version.
Instructions
List the project's subnets with CIDR, gateway and DHCP settings.
Paged with limit and marker.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum items to return (1-100, default 50). | |
| marker | No | next_marker from the previous page; omit for the first page. | |
| ip_version | No | ||
| network_id | No | ||
| project_id | No | Project ID to work in; omit for the default project. Allowed values are listed by get_scope. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| limit | Yes | Maximum number of items requested. | |
| complete | Yes | True when no more items exist beyond this page. | |
| resource | Yes | Resource type of the items. | |
| project_id | Yes | Project whose session produced the list. | |
| next_marker | No | Pass as marker to read the next page; null when complete or when the API has no marker paging. | |
| observed_at | Yes | UTC time the list was read. |