Chilkat Online Tools

C# / Core Services API / CreateSubnet

Back to Collection Items

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

Chilkat.Http http = new Chilkat.Http();
bool success;

// 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"
//   ]
// }

Chilkat.JsonObject json = new Chilkat.JsonObject();
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}}");

Chilkat.HttpResponse resp = http.PostJson3("https://iaas.{{region}}.oraclecloud.com/20160918/subnets","application/json",json);
if (http.LastMethodSuccess == false) {
    Debug.WriteLine(http.LastErrorText);
    return;
}

Chilkat.StringBuilder sbResponseBody = new Chilkat.StringBuilder();
resp.GetBodySb(sbResponseBody);

Chilkat.JsonObject jResp = new Chilkat.JsonObject();
jResp.LoadSb(sbResponseBody);
jResp.EmitCompact = false;

Debug.WriteLine("Response Body:");
Debug.WriteLine(jResp.Emit());

int respStatusCode = resp.StatusCode;
Debug.WriteLine("Response Status Code = " + Convert.ToString(respStatusCode));
if (respStatusCode >= 400) {
    Debug.WriteLine("Response Header:");
    Debug.WriteLine(resp.Header);
    Debug.WriteLine("Failed.");

    return;
}

// 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

string strVal;

string vcnId = jResp.StringOf("vcnId");
string id = jResp.StringOf("id");
string compartmentId = jResp.StringOf("compartmentId");
string cidrBlock = jResp.StringOf("cidrBlock");
string routeTableId = jResp.StringOf("routeTableId");
string virtualRouterIp = jResp.StringOf("virtualRouterIp");
string virtualRouterMac = jResp.StringOf("virtualRouterMac");
string lifecycleState = jResp.StringOf("lifecycleState");
string availabilityDomain = jResp.StringOf("availabilityDomain");
string dhcpOptionsId = jResp.StringOf("dhcpOptionsId");
string displayName = jResp.StringOf("displayName");
string dnsLabel = jResp.StringOf("dnsLabel");
string ipv6CidrBlock = jResp.StringOf("ipv6CidrBlock");
string ipv6PublicCidrBlock = jResp.StringOf("ipv6PublicCidrBlock");
string ipv6VirtualRouterIp = jResp.StringOf("ipv6VirtualRouterIp");
bool prohibitPublicIpOnVnic = jResp.BoolOf("prohibitPublicIpOnVnic");
string subnetDomainName = jResp.StringOf("subnetDomainName");
string timeCreated = jResp.StringOf("timeCreated");
int i = 0;
int count_i = jResp.SizeOfArray("securityListIds");
while (i < count_i) {
    jResp.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}"
    }
  ]
}