vpc_subnet_list

List subnets
get/v1/vpc-subnets

Query Parameters

limit

Maximum number of items returned by a single call

Token returned by previous call to retrieve the subsequent page

Name or ID of the project, only required if vpc is provided as a Name

Supported set of sort modes for scanning by name or id

Name or ID of the VPC

Responses

200

successful operation

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 an 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)

4XX

Error

Object
message
request_id
5XX

Error

Object
message
request_id