Private Subnet

Create a new private subnet

post/project/{project_id}/location/{location}/private-subnet/{private_subnet_reference}

Request body

firewall_idstring

Response

A Private Subnet

idstring required

ID of the subnet

locationstring required

Location of the subnet

namestring required

Name of the subnet

net4string required

IPv4 CIDR of the subnet

net6string required

IPv6 CIDR of the subnet

statestring required

State of the subnet

Example response

{
  "firewalls": [
    {
      "firewall_rules": [
        {
          "id": "fraz0q3vbrpa7pkg7zbmah9csn"
        }
      ],
      "id": "fwfg7td83em22qfw9pq5xyfqb7"
    }
  ],
  "id": "ps3dngttwvje2kmr2sn8x12x4r"
}

Changes

Changed in 2 of the 59 revisions of this API.2

    • added the required property //// to the response with the status

      response-required-property-added

    • added the required property //// to the response with the status

      response-required-property-added