Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ USAGE:
scw ipam ip list [arg=value ...]

ARGS:
[order-by] Sort order of the returned IPs (created_at_desc | created_at_asc | updated_at_desc | updated_at_asc | attached_at_desc | attached_at_asc)
[order-by] Sort order of the returned IPs (created_at_desc | created_at_asc | updated_at_desc | updated_at_asc | attached_at_desc | attached_at_asc | ip_address_desc | ip_address_asc | mac_address_desc | mac_address_asc)
[project-id] Project ID to filter for. Only IPs belonging to this Project will be returned
[zonal] Zone to filter for. Only IPs that are zonal, and in this zone, will be returned
[private-network-id] Private Network to filter for.
Expand Down
2 changes: 1 addition & 1 deletion docs/commands/ipam.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ scw ipam ip list [arg=value ...]

| Name | | Description |
|------|---|-------------|
| order-by | One of: `created_at_desc`, `created_at_asc`, `updated_at_desc`, `updated_at_asc`, `attached_at_desc`, `attached_at_asc` | Sort order of the returned IPs |
| order-by | One of: `created_at_desc`, `created_at_asc`, `updated_at_desc`, `updated_at_asc`, `attached_at_desc`, `attached_at_asc`, `ip_address_desc`, `ip_address_asc`, `mac_address_desc`, `mac_address_asc` | Sort order of the returned IPs |
| project-id | | Project ID to filter for. Only IPs belonging to this Project will be returned |
| zonal | | Zone to filter for. Only IPs that are zonal, and in this zone, will be returned |
| private-network-id | | Private Network to filter for. |
Expand Down
4 changes: 4 additions & 0 deletions internal/namespaces/ipam/v1/ipam_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@ func ipamIPList() *core.Command {
"updated_at_asc",
"attached_at_desc",
"attached_at_asc",
"ip_address_desc",
"ip_address_asc",
"mac_address_desc",
"mac_address_asc",
},
},
{
Expand Down
Loading