floating-ip
Manage floating IPs (public WAN IPs) that can be attached to or detached from vServer instances.
Commands
| Command | Description |
|---|---|
| list | List all floating IPs |
| delete | Delete a floating IP |
list
List all floating IPs in your project.
Synopsis
Options
--page (integer)
: Page number, 1-based. Default: 1.
--page-size (integer)
: Number of items per page. Default: 50.
--name (string)
: Filter by floating IP name (substring match).
Examples
grn vserver floating-ip list
grn vserver floating-ip list --output table
grn vserver floating-ip list --query "listData[].{id: uuid, ip: ipAddress, status: status}"
delete
Delete a floating IP. Shows a confirmation prompt unless --force is used.
Synopsis
Options
--floating-ip-id (required)
: Floating IP ID.
--force (boolean)
: Skip the confirmation prompt.
--dry-run (boolean)
: Preview the deletion without executing it.