Networks
List subnets
GET
Authorizations
API key for authentication.
Path Parameters
Project ID
Examples:
1
Region ID
Examples:
1
Query Parameters
Optional. Limit the number of returned items
Required range:
0 < x <= 1000
Examples:
1000
Only list subnets of this network
Examples:
"b30d0de7-bca2-4c83-9c57-9e645bd2cc92"
Optional. Offset value is used to exclude the first set of records from the result
Required range:
x >= 0
Examples:
0
Ordering subnets list result by name
, created_at
, updated_at
, available_ips
, total_ips
, and cidr
(default) fields of the subnet and directions (name.asc
).
Available options:
available_ips.asc
, available_ips.desc
, cidr.asc
, cidr.desc
, created_at.asc
, created_at.desc
, name.asc
, name.desc
, total_ips.asc
, total_ips.desc
, updated_at.asc
, updated_at.desc
Optional. Filter by tag keys. ?tag_key
=key1&tag_key
=key2
Tag key. The maximum size for a key is 255 bytes.
Examples:
["key1", "key2"]
Optional. Filter by tag key-value pairs. curl -G --data-urlencode "tag_key_value
={"key": "value"}" --url "https://example.com/cloud/v1/resource/1/1"
Examples:
{ "key": "value" }
Response
200 - application/json
OK
The response is of type object
.