Skip to main content
Aliases: networks, net, vpc Commands that act on one network take its ID or name either as a positional argument or with --id. If you omit it, the CLI opens an interactive picker, so always pass it in scripts.

Subcommands

  • list — List networks
  • get — Get network details
  • create — Create a new network
  • update — Update an existing network
  • delete — Delete a network

list

List VPC networks, optionally filtered by organization, project, or region.
Aliases: list, ls

Flags

FlagDescription
Organization ID or name
Project ID or name
Region ID or name
Show at most N results (client-side; every result is still fetched). Cuts before -q. 0 for all
Emit the full JSON payload (mutually exclusive with -q)
jq filter for value extraction (see Query output with -q)

Example


get

Get details for a specific network.

Flags

FlagDescription
Network ID or name
Organization ID or name
Emit the full JSON payload (mutually exclusive with -q)
jq filter for value extraction (see Query output with -q)

Example


create

Create a new VPC network. Accepts input from a JSON file or stdin; with neither, the CLI prompts for the network details.

Flags

FlagDescription
Path to a JSON file
Read JSON from standard input
Preview actions and payload without persisting
Automatically confirm creation
Emit the full JSON payload (mutually exclusive with -q)
jq filter for value extraction (see Query output with -q)

Examples


update

Update an existing network. Accepts input from a JSON file or stdin; with neither, the CLI prompts for each field, pre-filled from the network as it stands.

Flags

FlagDescription
Network ID or name
Organization ID or name
Path to a JSON file
Read JSON from standard input
Preview actions and payload without persisting
Automatically confirm update
Emit the full JSON payload (mutually exclusive with -q)
jq filter for value extraction (see Query output with -q)

Examples


delete

Delete an existing network.
Aliases: delete, rm, remove

Flags


VPC Networks (Console)

Create and manage VPC networks via the Console UI.

Load balancers (CLI)

Load balancers expose services on a network; restrict listener sources with allowed CIDRs.