Chilkat Online Tools

DataFlex / Core Services API / CreateSubnet

Back to Collection Items

Use ChilkatAx-win32.pkg

Procedure Test
    Handle hoHttp
    Boolean iSuccess
    Variant vJson
    Handle hoJson
    Variant vResp
    Handle hoResp
    Variant vSbResponseBody
    Handle hoSbResponseBody
    Handle hoJResp
    Integer iRespStatusCode
    String sStrVal
    String sVcnId
    String sId
    String sCompartmentId
    String sCidrBlock
    String sRouteTableId
    String sVirtualRouterIp
    String sVirtualRouterMac
    String sLifecycleState
    String sAvailabilityDomain
    String sDhcpOptionsId
    String sDisplayName
    String sDnsLabel
    String sIpv6CidrBlock
    String sIpv6PublicCidrBlock
    String sIpv6VirtualRouterIp
    Boolean iProhibitPublicIpOnVnic
    String sSubnetDomainName
    String sTimeCreated
    Integer i
    Integer iCount_i
    String sTemp1
    Boolean bTemp1

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

    Get Create (RefClass(cComChilkatHttp)) To hoHttp
    If (Not(IsComObjectCreated(hoHttp))) Begin
        Send CreateComObject of hoHttp
    End

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

    Get Create (RefClass(cComChilkatJsonObject)) To hoJson
    If (Not(IsComObjectCreated(hoJson))) Begin
        Send CreateComObject of hoJson
    End
    Get ComUpdateString Of hoJson "compartmentId" "{{compartment_ocid}}" To iSuccess
    Get ComUpdateString Of hoJson "cidrBlock" "et ut irure" To iSuccess
    Get ComUpdateString Of hoJson "vcnId" "officia nostrud veniam dolore" To iSuccess
    Get ComUpdateString Of hoJson "availabilityDomain" "ea" To iSuccess
    Get ComUpdateNewObject Of hoJson "definedTags" To iSuccess
    Get ComUpdateString Of hoJson "dhcpOptionsId" "sed qui" To iSuccess
    Get ComUpdateString Of hoJson "displayName" "ex aliquip consectetur" To iSuccess
    Get ComUpdateString Of hoJson "dnsLabel" "quis ut" To iSuccess
    Get ComUpdateNewObject Of hoJson "freeformTags" To iSuccess
    Get ComUpdateString Of hoJson "ipv6CidrBlock" "exercitation" To iSuccess
    Get ComUpdateBool Of hoJson "prohibitPublicIpOnVnic" True To iSuccess
    Get ComUpdateString Of hoJson "routeTableId" "occaecat fugiat veniam" To iSuccess
    Get ComUpdateString Of hoJson "securityListIds[0]" "do" To iSuccess
    Get ComUpdateString Of hoJson "securityListIds[1]" "laboris aliqua aute voluptate eu" To iSuccess

    Send ComSetRequestHeader To hoHttp "opc-retry-token" "aliqua enim i"
    Send ComSetRequestHeader To hoHttp "Content-Type" "application/json"
    Send ComSetRequestHeader To hoHttp "x-content-sha256" "{{content_sha256}}"
    Send ComSetRequestHeader To hoHttp "Authorization" "{{signature}}"
    Send ComSetRequestHeader To hoHttp "Date" "{{date}}"

    Get pvComObject of hoJson to vJson
    Get ComPostJson3 Of hoHttp "https://iaas.{{region}}.oraclecloud.com/20160918/subnets" "application/json" vJson To vResp
    If (IsComObject(vResp)) Begin
        Get Create (RefClass(cComChilkatHttpResponse)) To hoResp
        Set pvComObject Of hoResp To vResp
    End
    Get ComLastMethodSuccess Of hoHttp To bTemp1
    If (bTemp1 = False) Begin
        Get ComLastErrorText Of hoHttp To sTemp1
        Showln sTemp1
        Procedure_Return
    End

    Get Create (RefClass(cComChilkatStringBuilder)) To hoSbResponseBody
    If (Not(IsComObjectCreated(hoSbResponseBody))) Begin
        Send CreateComObject of hoSbResponseBody
    End
    Get pvComObject of hoSbResponseBody to vSbResponseBody
    Get ComGetBodySb Of hoResp vSbResponseBody To iSuccess

    Get Create (RefClass(cComChilkatJsonObject)) To hoJResp
    If (Not(IsComObjectCreated(hoJResp))) Begin
        Send CreateComObject of hoJResp
    End
    Get pvComObject of hoSbResponseBody to vSbResponseBody
    Get ComLoadSb Of hoJResp vSbResponseBody To iSuccess
    Set ComEmitCompact Of hoJResp To False

    Showln "Response Body:"
    Get ComEmit Of hoJResp To sTemp1
    Showln sTemp1

    Get ComStatusCode Of hoResp To iRespStatusCode
    Showln "Response Status Code = " iRespStatusCode
    If (iRespStatusCode >= 400) Begin
        Showln "Response Header:"
        Get ComHeader Of hoResp To sTemp1
        Showln sTemp1
        Showln "Failed."
        Send Destroy of hoResp
        Procedure_Return
    End

    Send Destroy of hoResp

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

    Get ComStringOf Of hoJResp "vcnId" To sVcnId
    Get ComStringOf Of hoJResp "id" To sId
    Get ComStringOf Of hoJResp "compartmentId" To sCompartmentId
    Get ComStringOf Of hoJResp "cidrBlock" To sCidrBlock
    Get ComStringOf Of hoJResp "routeTableId" To sRouteTableId
    Get ComStringOf Of hoJResp "virtualRouterIp" To sVirtualRouterIp
    Get ComStringOf Of hoJResp "virtualRouterMac" To sVirtualRouterMac
    Get ComStringOf Of hoJResp "lifecycleState" To sLifecycleState
    Get ComStringOf Of hoJResp "availabilityDomain" To sAvailabilityDomain
    Get ComStringOf Of hoJResp "dhcpOptionsId" To sDhcpOptionsId
    Get ComStringOf Of hoJResp "displayName" To sDisplayName
    Get ComStringOf Of hoJResp "dnsLabel" To sDnsLabel
    Get ComStringOf Of hoJResp "ipv6CidrBlock" To sIpv6CidrBlock
    Get ComStringOf Of hoJResp "ipv6PublicCidrBlock" To sIpv6PublicCidrBlock
    Get ComStringOf Of hoJResp "ipv6VirtualRouterIp" To sIpv6VirtualRouterIp
    Get ComBoolOf Of hoJResp "prohibitPublicIpOnVnic" To iProhibitPublicIpOnVnic
    Get ComStringOf Of hoJResp "subnetDomainName" To sSubnetDomainName
    Get ComStringOf Of hoJResp "timeCreated" To sTimeCreated
    Move 0 To i
    Get ComSizeOfArray Of hoJResp "securityListIds" To iCount_i
    While (i < iCount_i)
        Set ComI Of hoJResp To i
        Get ComStringOf Of hoJResp "securityListIds[i]" To sStrVal
        Move (i + 1) To i
    Loop



End_Procedure

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