np network command group lets you create, inspect, list, and delete isolated Virtual Private Cloud (VPC) networks.
Subcommands
List Networks (np network list)
Displays all VPC networks associated with your account:
Table Output Columns
VPC ID: Unique UUID of the network.Name: Display name of the VPC.Subnet: Assigned CIDR subnet block (e.g.10.0.1.0/24).Region: Geographic region code.Outbound NAT: Indicates whether outbound internet access via NAT gateway is enabled.
Create Network (np network create)
Provision a new isolated VPC network:
Options
Examples
Get Network Details (np network get)
Inspect the complete configuration of a VPC:
-f json for structured JSON output:
Delete Network (np network delete)
Delete a VPC network:
A VPC network cannot be deleted while compute nodes remain deployed in it. Delete or reassign all nodes before deleting the VPC.
Related Commands
Create Node
Deploy a compute node into a VPC network using
--vpc.Find Compute
Discover available hosts in the same region as your VPC.