vpc_subnet_list

List subnets
get/v1/vpc-subnets

Query Parameters

limit
page_token
project

sort_by

Supported set of sort modes for scanning by name or id

vpc

Responses

Object
items

list of items on this page of results

A VPC subnet represents a logical grouping for instances that allows network traffic between them, within a IPv4 subnetwork or optionally an IPv6 subnetwork.

Object
custom_router_id

ID for an attached custom router.

description

human-readable free-form text about a resource

id

unique, immutable, system-controlled identifier for each resource

ipv4_block

The IPv4 subnet CIDR block.

An IPv4 subnet, including prefix and prefix length

ipv6_block

The IPv6 subnet CIDR block.

An IPv6 subnet, including prefix and subnet mask

name

unique, mutable, user-controlled identifier for each resource

Names must begin with a lower case ASCII letter, be composed exclusively of lowercase ASCII, uppercase ASCII, numbers, and '-', and may not end with a '-'. Names cannot be a UUID, but they may contain a UUID. They can be at most 63 characters long.

time_created

timestamp when this resource was created

time_modified

timestamp when this resource was last modified

vpc_id

The VPC to which the subnet belongs.

next_page

token used to fetch the next page of results (if any)