Skip to main content
Aliases: networks, net, vpc

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.

Flags

FlagDescription
—org stringOrganization ID
—project stringProject ID
—region stringRegion ID
—jsonEmit the full JSON payload (mutually exclusive with -q)
-q, —query stringArrayjq filter for value extraction (see Query output with -q)

Example


get

Get details for a specific network.

Flags

FlagDescription
—id stringNetwork ID
—org stringOrganization ID
—jsonEmit the full JSON payload (mutually exclusive with -q)
-q, —query stringArrayjq filter for value extraction (see Query output with -q)

create

Create a new VPC network. Accepts input from a JSON file or stdin.

Flags

FlagDescription
-f, —file stringPath to a JSON file
—stdinRead JSON from standard input
—dry-runPreview the request payload without persisting
-y, —yesAutomatically confirm creation
—jsonEmit the full JSON payload (mutually exclusive with -q)
-q, —query stringArrayjq filter for value extraction (see Query output with -q)

Examples


update

Update an existing network.

Flags

FlagDescription
—id stringNetwork ID
—org stringOrganization ID
-f, —file stringPath to a JSON file
—stdinRead JSON from standard input
—dry-runPreview the request payload without persisting
-y, —yesAutomatically confirm update
—jsonEmit the full JSON payload (mutually exclusive with -q)
-q, —query stringArrayjq filter for value extraction (see Query output with -q)

Examples


delete

Delete an existing network.

Flags


VPC Networks (Console)

Create and manage VPC networks via the Console UI.