Chilkat Online Tools

Python / Core Services API / CreateSubnet

Back to Collection Items

import sys
import chilkat

# This example assumes the Chilkat API to have been previously unlocked.
# See Global Unlock Sample for sample code.

http = chilkat.CkHttp()

# Use this online tool to generate code from sample JSON: Generate Code to Create JSON

# The following JSON is sent in the request body.

# {
#   "compartmentId": "{{compartment_ocid}}",
#   "cidrBlock": "et ut irure",
#   "vcnId": "officia nostrud veniam dolore",
#   "availabilityDomain": "ea",
#   "definedTags": {},
#   "dhcpOptionsId": "sed qui",
#   "displayName": "ex aliquip consectetur",
#   "dnsLabel": "quis ut",
#   "freeformTags": {},
#   "ipv6CidrBlock": "exercitation",
#   "prohibitPublicIpOnVnic": true,
#   "routeTableId": "occaecat fugiat veniam",
#   "securityListIds": [
#     "do",
#     "laboris aliqua aute voluptate eu"
#   ]
# }

json = chilkat.CkJsonObject()
json.UpdateString("compartmentId","{{compartment_ocid}}")
json.UpdateString("cidrBlock","et ut irure")
json.UpdateString("vcnId","officia nostrud veniam dolore")
json.UpdateString("availabilityDomain","ea")
json.UpdateNewObject("definedTags")
json.UpdateString("dhcpOptionsId","sed qui")
json.UpdateString("displayName","ex aliquip consectetur")
json.UpdateString("dnsLabel","quis ut")
json.UpdateNewObject("freeformTags")
json.UpdateString("ipv6CidrBlock","exercitation")
json.UpdateBool("prohibitPublicIpOnVnic",True)
json.UpdateString("routeTableId","occaecat fugiat veniam")
json.UpdateString("securityListIds[0]","do")
json.UpdateString("securityListIds[1]","laboris aliqua aute voluptate eu")

http.SetRequestHeader("opc-retry-token","aliqua enim i")
http.SetRequestHeader("Content-Type","application/json")
http.SetRequestHeader("x-content-sha256","{{content_sha256}}")
http.SetRequestHeader("Authorization","{{signature}}")
http.SetRequestHeader("Date","{{date}}")

# resp is a CkHttpResponse
resp = http.PostJson3("https://iaas.{{region}}.oraclecloud.com/20160918/subnets","application/json",json)
if (http.get_LastMethodSuccess() == False):
    print(http.lastErrorText())
    sys.exit()

sbResponseBody = chilkat.CkStringBuilder()
resp.GetBodySb(sbResponseBody)

jResp = chilkat.CkJsonObject()
jResp.LoadSb(sbResponseBody)
jResp.put_EmitCompact(False)

print("Response Body:")
print(jResp.emit())

respStatusCode = resp.get_StatusCode()
print("Response Status Code = " + str(respStatusCode))
if (respStatusCode >= 400):
    print("Response Header:")
    print(resp.header())
    print("Failed.")

    sys.exit()

# Sample JSON response:
# (Sample code for parsing the JSON response is shown below)

# {
#   "vcnId": "sit",
#   "id": "reprehenderit Excepteur amet",
#   "compartmentId": "veniam ut dolore",
#   "cidrBlock": "ea aliquip Duis",
#   "routeTableId": "aute et",
#   "virtualRouterIp": "eiusmod do in pariatur",
#   "virtualRouterMac": "sit",
#   "lifecycleState": "PROVISIONING",
#   "availabilityDomain": "reprehenderit est Excepteur laboris",
#   "definedTags": {},
#   "dhcpOptionsId": "in ex",
#   "displayName": "ut Ut ad elit",
#   "dnsLabel": "ipsum dolor sin",
#   "freeformTags": {},
#   "ipv6CidrBlock": "dolore id",
#   "ipv6PublicCidrBlock": "est et nostrud adipisicing",
#   "ipv6VirtualRouterIp": "enim",
#   "prohibitPublicIpOnVnic": false,
#   "securityListIds": [
#     "deserunt eiusmod sint aute",
#     "cupidatat tempor"
#   ],
#   "subnetDomainName": "ea dolore",
#   "timeCreated": "1973-06-27T12:37:33.677Z"
# }

# Sample code for parsing the JSON response...
# Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code

vcnId = jResp.stringOf("vcnId")
id = jResp.stringOf("id")
compartmentId = jResp.stringOf("compartmentId")
cidrBlock = jResp.stringOf("cidrBlock")
routeTableId = jResp.stringOf("routeTableId")
virtualRouterIp = jResp.stringOf("virtualRouterIp")
virtualRouterMac = jResp.stringOf("virtualRouterMac")
lifecycleState = jResp.stringOf("lifecycleState")
availabilityDomain = jResp.stringOf("availabilityDomain")
dhcpOptionsId = jResp.stringOf("dhcpOptionsId")
displayName = jResp.stringOf("displayName")
dnsLabel = jResp.stringOf("dnsLabel")
ipv6CidrBlock = jResp.stringOf("ipv6CidrBlock")
ipv6PublicCidrBlock = jResp.stringOf("ipv6PublicCidrBlock")
ipv6VirtualRouterIp = jResp.stringOf("ipv6VirtualRouterIp")
prohibitPublicIpOnVnic = jResp.BoolOf("prohibitPublicIpOnVnic")
subnetDomainName = jResp.stringOf("subnetDomainName")
timeCreated = jResp.stringOf("timeCreated")
i = 0
count_i = jResp.SizeOfArray("securityListIds")
while i < count_i :
    jResp.put_I(i)
    strVal = jResp.stringOf("securityListIds[i]")
    i = i + 1

Curl Command

curl -X POST
	-H "opc-retry-token: aliqua enim i"
	-H "Content-Type: application/json"
	-H "Date: {{date}}"
	-H "Authorization: {{signature}}"
	-H "x-content-sha256: {{content_sha256}}"
	-d '{
    "compartmentId": "{{compartment_ocid}}",
    "cidrBlock": "et ut irure",
    "vcnId": "officia nostrud veniam dolore",
    "availabilityDomain": "ea",
    "definedTags": {},
    "dhcpOptionsId": "sed qui",
    "displayName": "ex aliquip consectetur",
    "dnsLabel": "quis ut",
    "freeformTags": {},
    "ipv6CidrBlock": "exercitation",
    "prohibitPublicIpOnVnic": true,
    "routeTableId": "occaecat fugiat veniam",
    "securityListIds": [
        "do",
        "laboris aliqua aute voluptate eu"
    ]
}'
https://iaas.{{region}}.oraclecloud.com/20160918/subnets

Postman Collection Item JSON

{
  "name": "CreateSubnet",
  "request": {
    "method": "POST",
    "header": [
      {
        "description": "A token that uniquely identifies a request so it can be retried in case of a timeout or\nserver error without risk of executing that same action again. Retry tokens expire after 24\nhours, but can be invalidated before then due to conflicting operations (for example, if a resource\nhas been deleted and purged from the system, then a retry of the original creation request\nmay be rejected).\n",
        "key": "opc-retry-token",
        "value": "aliqua enim i"
      },
      {
        "key": "Content-Type",
        "value": "application/json"
      },
      {
        "key": "Date",
        "value": "{{date}}",
        "description": "(Required) Current Date",
        "type": "text"
      },
      {
        "key": "Authorization",
        "value": "{{signature}}",
        "description": "(Required) Signature Authentication on Authorization header",
        "type": "text"
      },
      {
        "key": "x-content-sha256",
        "value": "{{content_sha256}}",
        "description": "(Required) Content sha256 for POST, PUT and PATCH operations",
        "type": "text"
      }
    ],
    "body": {
      "mode": "raw",
      "raw": "{\n    \"compartmentId\": \"{{compartment_ocid}}\",\n    \"cidrBlock\": \"et ut irure\",\n    \"vcnId\": \"officia nostrud veniam dolore\",\n    \"availabilityDomain\": \"ea\",\n    \"definedTags\": {},\n    \"dhcpOptionsId\": \"sed qui\",\n    \"displayName\": \"ex aliquip consectetur\",\n    \"dnsLabel\": \"quis ut\",\n    \"freeformTags\": {},\n    \"ipv6CidrBlock\": \"exercitation\",\n    \"prohibitPublicIpOnVnic\": true,\n    \"routeTableId\": \"occaecat fugiat veniam\",\n    \"securityListIds\": [\n        \"do\",\n        \"laboris aliqua aute voluptate eu\"\n    ]\n}"
    },
    "url": {
      "raw": "{{baseUrl}}/subnets",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "subnets"
      ]
    },
    "description": "Creates a new subnet in the specified VCN. You can't change the size of the subnet after creation,\nso it's important to think about the size of subnets you need before creating them.\nFor more information, see [VCNs and Subnets](/iaas/Content/Network/Tasks/managingVCNs.htm).\nFor information on the number of subnets you can have in a VCN, see\n[Service Limits](/iaas/Content/General/Concepts/servicelimits.htm).\n\nFor the purposes of access control, you must provide the [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the subnet\nto reside. Notice that the subnet doesn't have to be in the same compartment as the VCN, route tables, or\nother Networking Service components. If you're not sure which compartment to use, put the subnet in\nthe same compartment as the VCN. For more information about compartments and access control, see\n[Overview of the IAM Service](/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs,\nsee [Resource Identifiers](/iaas/Content/General/Concepts/identifiers.htm).\n\nYou may optionally associate a route table with the subnet. If you don't, the subnet will use the\nVCN's default route table. For more information about route tables, see\n[Route Tables](/iaas/Content/Network/Tasks/managingroutetables.htm).\n\nYou may optionally associate a security list with the subnet. If you don't, the subnet will use the\nVCN's default security list. For more information about security lists, see\n[Security Lists](/iaas/Content/Network/Concepts/securitylists.htm).\n\nYou may optionally associate a set of DHCP options with the subnet. If you don't, the subnet will use the\nVCN's default set. For more information about DHCP options, see\n[DHCP Options](/iaas/Content/Network/Tasks/managingDHCP.htm).\n\nYou may optionally specify a *display name* for the subnet, otherwise a default is provided.\nIt does not have to be unique, and you can change it. Avoid entering confidential information.\n\nYou can also add a DNS label for the subnet, which is required if you want the Internet and\nVCN Resolver to resolve hostnames for instances in the subnet. For more information, see\n[DNS in Your Virtual Cloud Network](/iaas/Content/Network/Concepts/dns.htm).\n"
  },
  "response": [
    {
      "name": "The subnet was created.",
      "originalRequest": {
        "method": "POST",
        "header": [
          {
            "description": "A token that uniquely identifies a request so it can be retried in case of a timeout or\nserver error without risk of executing that same action again. Retry tokens expire after 24\nhours, but can be invalidated before then due to conflicting operations (for example, if a resource\nhas been deleted and purged from the system, then a retry of the original creation request\nmay be rejected).\n",
            "key": "opc-retry-token",
            "value": "aliqua enim i"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"compartmentId\": \"qu\",\n    \"cidrBlock\": \"exercitation D\",\n    \"vcnId\": \"deserunt fugiat occaecat\",\n    \"availabilityDomain\": \"laborum culpa\",\n    \"definedTags\": {},\n    \"dhcpOptionsId\": \"Duis\",\n    \"displayName\": \"veniam mollit ipsum\",\n    \"dnsLabel\": \"Lorem volupta\",\n    \"freeformTags\": {},\n    \"ipv6CidrBlock\": \"irure nisi sit\",\n    \"prohibitPublicIpOnVnic\": true,\n    \"routeTableId\": \"non consequat fugiat\",\n    \"securityListIds\": [\n        \"voluptate cupidatat in\",\n        \"ipsum dolor esse\"\n    ]\n}"
        },
        "url": {
          "raw": "{{baseUrl}}/subnets",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "subnets"
          ]
        }
      },
      "status": "OK",
      "code": 200,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "etag",
          "value": "officia sed",
          "description": "For optimistic concurrency control. See `if-match`.\n"
        },
        {
          "key": "opc-request-id",
          "value": "officia sed",
          "description": "Unique Oracle-assigned identifier for the request. If you need to contact\nOracle about a particular request, please provide the request ID.\n"
        },
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n \"vcnId\": \"sit\",\n \"id\": \"reprehenderit Excepteur amet\",\n \"compartmentId\": \"veniam ut dolore\",\n \"cidrBlock\": \"ea aliquip Duis\",\n \"routeTableId\": \"aute et\",\n \"virtualRouterIp\": \"eiusmod do in pariatur\",\n \"virtualRouterMac\": \"sit\",\n \"lifecycleState\": \"PROVISIONING\",\n \"availabilityDomain\": \"reprehenderit est Excepteur laboris\",\n \"definedTags\": {},\n \"dhcpOptionsId\": \"in ex\",\n \"displayName\": \"ut Ut ad elit\",\n \"dnsLabel\": \"ipsum dolor sin\",\n \"freeformTags\": {},\n \"ipv6CidrBlock\": \"dolore id\",\n \"ipv6PublicCidrBlock\": \"est et nostrud adipisicing\",\n \"ipv6VirtualRouterIp\": \"enim\",\n \"prohibitPublicIpOnVnic\": false,\n \"securityListIds\": [\n  \"deserunt eiusmod sint aute\",\n  \"cupidatat tempor\"\n ],\n \"subnetDomainName\": \"ea dolore\",\n \"timeCreated\": \"1973-06-27T12:37:33.677Z\"\n}"
    },
    {
      "name": "Bad Request",
      "originalRequest": {
        "method": "POST",
        "header": [
          {
            "description": "A token that uniquely identifies a request so it can be retried in case of a timeout or\nserver error without risk of executing that same action again. Retry tokens expire after 24\nhours, but can be invalidated before then due to conflicting operations (for example, if a resource\nhas been deleted and purged from the system, then a retry of the original creation request\nmay be rejected).\n",
            "key": "opc-retry-token",
            "value": "aliqua enim i"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"compartmentId\": \"qu\",\n    \"cidrBlock\": \"exercitation D\",\n    \"vcnId\": \"deserunt fugiat occaecat\",\n    \"availabilityDomain\": \"laborum culpa\",\n    \"definedTags\": {},\n    \"dhcpOptionsId\": \"Duis\",\n    \"displayName\": \"veniam mollit ipsum\",\n    \"dnsLabel\": \"Lorem volupta\",\n    \"freeformTags\": {},\n    \"ipv6CidrBlock\": \"irure nisi sit\",\n    \"prohibitPublicIpOnVnic\": true,\n    \"routeTableId\": \"non consequat fugiat\",\n    \"securityListIds\": [\n        \"voluptate cupidatat in\",\n        \"ipsum dolor esse\"\n    ]\n}"
        },
        "url": {
          "raw": "{{baseUrl}}/subnets",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "subnets"
          ]
        }
      },
      "status": "Bad Request",
      "code": 400,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "opc-request-id",
          "value": "officia sed",
          "description": "Unique Oracle-assigned identifier for the request. If you need to contact\nOracle about a particular request, please provide the request ID.\n"
        },
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n \"code\": \"et exercitation Excepteur\",\n \"message\": \"irure sit\"\n}"
    },
    {
      "name": "Unauthorized",
      "originalRequest": {
        "method": "POST",
        "header": [
          {
            "description": "A token that uniquely identifies a request so it can be retried in case of a timeout or\nserver error without risk of executing that same action again. Retry tokens expire after 24\nhours, but can be invalidated before then due to conflicting operations (for example, if a resource\nhas been deleted and purged from the system, then a retry of the original creation request\nmay be rejected).\n",
            "key": "opc-retry-token",
            "value": "aliqua enim i"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"compartmentId\": \"qu\",\n    \"cidrBlock\": \"exercitation D\",\n    \"vcnId\": \"deserunt fugiat occaecat\",\n    \"availabilityDomain\": \"laborum culpa\",\n    \"definedTags\": {},\n    \"dhcpOptionsId\": \"Duis\",\n    \"displayName\": \"veniam mollit ipsum\",\n    \"dnsLabel\": \"Lorem volupta\",\n    \"freeformTags\": {},\n    \"ipv6CidrBlock\": \"irure nisi sit\",\n    \"prohibitPublicIpOnVnic\": true,\n    \"routeTableId\": \"non consequat fugiat\",\n    \"securityListIds\": [\n        \"voluptate cupidatat in\",\n        \"ipsum dolor esse\"\n    ]\n}"
        },
        "url": {
          "raw": "{{baseUrl}}/subnets",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "subnets"
          ]
        }
      },
      "status": "Unauthorized",
      "code": 401,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "opc-request-id",
          "value": "officia sed",
          "description": "Unique Oracle-assigned identifier for the request. If you need to contact\nOracle about a particular request, please provide the request ID.\n"
        },
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n \"code\": \"et exercitation Excepteur\",\n \"message\": \"irure sit\"\n}"
    },
    {
      "name": "Not Found",
      "originalRequest": {
        "method": "POST",
        "header": [
          {
            "description": "A token that uniquely identifies a request so it can be retried in case of a timeout or\nserver error without risk of executing that same action again. Retry tokens expire after 24\nhours, but can be invalidated before then due to conflicting operations (for example, if a resource\nhas been deleted and purged from the system, then a retry of the original creation request\nmay be rejected).\n",
            "key": "opc-retry-token",
            "value": "aliqua enim i"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"compartmentId\": \"qu\",\n    \"cidrBlock\": \"exercitation D\",\n    \"vcnId\": \"deserunt fugiat occaecat\",\n    \"availabilityDomain\": \"laborum culpa\",\n    \"definedTags\": {},\n    \"dhcpOptionsId\": \"Duis\",\n    \"displayName\": \"veniam mollit ipsum\",\n    \"dnsLabel\": \"Lorem volupta\",\n    \"freeformTags\": {},\n    \"ipv6CidrBlock\": \"irure nisi sit\",\n    \"prohibitPublicIpOnVnic\": true,\n    \"routeTableId\": \"non consequat fugiat\",\n    \"securityListIds\": [\n        \"voluptate cupidatat in\",\n        \"ipsum dolor esse\"\n    ]\n}"
        },
        "url": {
          "raw": "{{baseUrl}}/subnets",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "subnets"
          ]
        }
      },
      "status": "Not Found",
      "code": 404,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "opc-request-id",
          "value": "officia sed",
          "description": "Unique Oracle-assigned identifier for the request. If you need to contact\nOracle about a particular request, please provide the request ID.\n"
        },
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n \"code\": \"et exercitation Excepteur\",\n \"message\": \"irure sit\"\n}"
    },
    {
      "name": "Conflict",
      "originalRequest": {
        "method": "POST",
        "header": [
          {
            "description": "A token that uniquely identifies a request so it can be retried in case of a timeout or\nserver error without risk of executing that same action again. Retry tokens expire after 24\nhours, but can be invalidated before then due to conflicting operations (for example, if a resource\nhas been deleted and purged from the system, then a retry of the original creation request\nmay be rejected).\n",
            "key": "opc-retry-token",
            "value": "aliqua enim i"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"compartmentId\": \"qu\",\n    \"cidrBlock\": \"exercitation D\",\n    \"vcnId\": \"deserunt fugiat occaecat\",\n    \"availabilityDomain\": \"laborum culpa\",\n    \"definedTags\": {},\n    \"dhcpOptionsId\": \"Duis\",\n    \"displayName\": \"veniam mollit ipsum\",\n    \"dnsLabel\": \"Lorem volupta\",\n    \"freeformTags\": {},\n    \"ipv6CidrBlock\": \"irure nisi sit\",\n    \"prohibitPublicIpOnVnic\": true,\n    \"routeTableId\": \"non consequat fugiat\",\n    \"securityListIds\": [\n        \"voluptate cupidatat in\",\n        \"ipsum dolor esse\"\n    ]\n}"
        },
        "url": {
          "raw": "{{baseUrl}}/subnets",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "subnets"
          ]
        }
      },
      "status": "Conflict",
      "code": 409,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "opc-request-id",
          "value": "officia sed",
          "description": "Unique Oracle-assigned identifier for the request. If you need to contact\nOracle about a particular request, please provide the request ID.\n"
        },
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n \"code\": \"et exercitation Excepteur\",\n \"message\": \"irure sit\"\n}"
    },
    {
      "name": "Internal Server Error",
      "originalRequest": {
        "method": "POST",
        "header": [
          {
            "description": "A token that uniquely identifies a request so it can be retried in case of a timeout or\nserver error without risk of executing that same action again. Retry tokens expire after 24\nhours, but can be invalidated before then due to conflicting operations (for example, if a resource\nhas been deleted and purged from the system, then a retry of the original creation request\nmay be rejected).\n",
            "key": "opc-retry-token",
            "value": "aliqua enim i"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"compartmentId\": \"qu\",\n    \"cidrBlock\": \"exercitation D\",\n    \"vcnId\": \"deserunt fugiat occaecat\",\n    \"availabilityDomain\": \"laborum culpa\",\n    \"definedTags\": {},\n    \"dhcpOptionsId\": \"Duis\",\n    \"displayName\": \"veniam mollit ipsum\",\n    \"dnsLabel\": \"Lorem volupta\",\n    \"freeformTags\": {},\n    \"ipv6CidrBlock\": \"irure nisi sit\",\n    \"prohibitPublicIpOnVnic\": true,\n    \"routeTableId\": \"non consequat fugiat\",\n    \"securityListIds\": [\n        \"voluptate cupidatat in\",\n        \"ipsum dolor esse\"\n    ]\n}"
        },
        "url": {
          "raw": "{{baseUrl}}/subnets",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "subnets"
          ]
        }
      },
      "status": "Internal Server Error",
      "code": 500,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "opc-request-id",
          "value": "officia sed",
          "description": "Unique Oracle-assigned identifier for the request. If you need to contact\nOracle about a particular request, please provide the request ID.\n"
        },
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n \"code\": \"et exercitation Excepteur\",\n \"message\": \"irure sit\"\n}"
    },
    {
      "name": "An error has occurred.",
      "originalRequest": {
        "method": "POST",
        "header": [
          {
            "description": "A token that uniquely identifies a request so it can be retried in case of a timeout or\nserver error without risk of executing that same action again. Retry tokens expire after 24\nhours, but can be invalidated before then due to conflicting operations (for example, if a resource\nhas been deleted and purged from the system, then a retry of the original creation request\nmay be rejected).\n",
            "key": "opc-retry-token",
            "value": "aliqua enim i"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n    \"compartmentId\": \"qu\",\n    \"cidrBlock\": \"exercitation D\",\n    \"vcnId\": \"deserunt fugiat occaecat\",\n    \"availabilityDomain\": \"laborum culpa\",\n    \"definedTags\": {},\n    \"dhcpOptionsId\": \"Duis\",\n    \"displayName\": \"veniam mollit ipsum\",\n    \"dnsLabel\": \"Lorem volupta\",\n    \"freeformTags\": {},\n    \"ipv6CidrBlock\": \"irure nisi sit\",\n    \"prohibitPublicIpOnVnic\": true,\n    \"routeTableId\": \"non consequat fugiat\",\n    \"securityListIds\": [\n        \"voluptate cupidatat in\",\n        \"ipsum dolor esse\"\n    ]\n}"
        },
        "url": {
          "raw": "{{baseUrl}}/subnets",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "subnets"
          ]
        }
      },
      "status": "Internal Server Error",
      "code": 500,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "opc-request-id",
          "value": "officia sed",
          "description": "Unique Oracle-assigned identifier for the request. If you need to contact\nOracle about a particular request, please provide the request ID.\n"
        },
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n \"code\": \"et exercitation Excepteur\",\n \"message\": \"irure sit\"\n}"
    }
  ]
}