Skip to main content
GET
Get subnet details

Authorizations

Authorization
string
header
required

Bearer token authentication using OAuth2/OIDC tokens

Path Parameters

region
string
required

Region identifier

project
string
required

Project identifier

id
string
required

Unique subnet identifier

Response

Subnet details

Subnet within a network. Read-only for MVP — subnets are system-managed.

Server-defined URL for this resource.

Example:

"/v1/regions/us-texas-1/projects/project-x9y8z7/compute/subnets/subnet-a1b2c3"

uid
string<uuid>
read-only

Server-generated UUID.

id
string
read-only

Server-generated identifier for the subnet.

Example:

"subnet-a1b2c3"

displayName
string
read-only

Human-friendly display name for the subnet.

description
string
read-only

An optional description of this resource.

network
string<uri>
read-only
Example:

"/v1/regions/us-texas-1/projects/project-x9y8z7/compute/networks/default"

ipv4Cidr
string
read-only

IPv4 CIDR block for the subnet. Optional — generated by the system by default.

Example:

"10.0.1.0/24"

ipv6Cidr
string
read-only

IPv6 CIDR block for the subnet. Optional — generated by the system by default.

Example:

"fd00:1::/64"

createdAt
string<date-time>
read-only
updatedAt
string<date-time>
read-only