curl --request GET \
--url https://api.ubicloud.com/project/{project_id}/location/{location}/private-subnet/{private_subnet_reference} \
--header 'Authorization: Bearer <token>'{
"firewalls": [
{
"description": "<string>",
"firewall_rules": [
{
"cidr": "<string>",
"id": "fraz0q3vbrpa7pkg7zbmah9csn",
"port_range": "<string>",
"description": "<string>"
}
],
"id": "fwfg7td83em22qfw9pq5xyfqb7",
"location": "<string>",
"name": "<string>"
}
],
"id": "ps3dngttwvje2kmr2sn8x12x4r",
"location": "<string>",
"name": "<string>",
"net4": "<string>",
"net6": "<string>",
"nics": [
{
"id": "<string>",
"name": "<string>",
"private_ipv4": "127.0.0.1",
"private_ipv6": "2606:4700:3108::ac42:2835",
"vm_name": "<string>"
}
],
"state": "<string>"
}curl --request GET \
--url https://api.ubicloud.com/project/{project_id}/location/{location}/private-subnet/{private_subnet_reference} \
--header 'Authorization: Bearer <token>'{
"firewalls": [
{
"description": "<string>",
"firewall_rules": [
{
"cidr": "<string>",
"id": "fraz0q3vbrpa7pkg7zbmah9csn",
"port_range": "<string>",
"description": "<string>"
}
],
"id": "fwfg7td83em22qfw9pq5xyfqb7",
"location": "<string>",
"name": "<string>"
}
],
"id": "ps3dngttwvje2kmr2sn8x12x4r",
"location": "<string>",
"name": "<string>",
"net4": "<string>",
"net6": "<string>",
"nics": [
{
"id": "<string>",
"name": "<string>",
"private_ipv4": "127.0.0.1",
"private_ipv6": "2606:4700:3108::ac42:2835",
"vm_name": "<string>"
}
],
"state": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the project
"pjkkmx0f2vke4h36nk9cm8v8q0"
The Ubicloud location/region
"eu-central-h1"
Private subnet ID or name Resource ID or name
A Private Subnet
Show child attributes
Description of the firewall
List of firewall rules
Show child attributes
CIDR of the firewall rule
ID of the firewall rule
"fraz0q3vbrpa7pkg7zbmah9csn"
Port range of the firewall rule
Description of the firewall rule
ID of the firewall
"fwfg7td83em22qfw9pq5xyfqb7"
Location of the the firewall
Name of the firewall
ID of the subnet
"ps3dngttwvje2kmr2sn8x12x4r"
Location of the subnet
Name of the subnet
IPv4 CIDR of the subnet
IPv6 CIDR of the subnet
State of the subnet