POST
/
project
/
{project_id}
/
location
/
{location}
/
private-subnet
/
{private_subnet_name}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
string
required

ID of the project

location
string
required

The Ubicloud location/region

private_subnet_name
string
required

Private subnet name

Body

application/json
firewall_id
string

Response

200 - application/json
firewalls
object[]
required
id
string
required

ID of the subnet

location
string
required

Location of the subnet

name
string
required

Name of the subnet

net4
string
required

IPv4 CIDR of the subnet

net6
string
required

IPv6 CIDR of the subnet

nics
object[]
required

List of NICs

state
string
required

State of the subnet