Oracle Cloud Infrastructure · Example Payload

Oracle Cloud Listvcns Example

Cloud ComputingEnterprise CloudInfrastructure as a ServiceOraclePlatform as a Service

Oracle Cloud Listvcns Example is an example object payload from Oracle Cloud Infrastructure, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "listVcns",
  "method": "GET",
  "path": "/vcns",
  "summary": "Oracle Cloud List VCNs",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "name": "ListVcns200Example",
      "example": [
        {
          "id": "ocid1.vcn.oc1.iad.abcdefg123456",
          "compartmentId": "ocid1.resource.oc1.iad.abcdefg123456",
          "displayName": "my-vcn",
          "cidrBlock": "10.0.0.0/16",
          "cidrBlocks": [
            "10.0.0.0/16"
          ],
          "defaultDhcpOptionsId": "ocid1.resource.oc1.iad.abcdefg123456",
          "defaultRouteTableId": "ocid1.resource.oc1.iad.abcdefg123456",
          "defaultSecurityListId": "ocid1.resource.oc1.iad.abcdefg123456",
          "dnsLabel": "myvcn",
          "lifecycleState": "PROVISIONING",
          "timeCreated": "2026-04-18T10:30:00Z",
          "freeformTags": {
            "key1": "value1"
          }
        }
      ]
    },
    {
      "status": "401",
      "contentType": "application/json",
      "name": "ListVcns401Example",
      "example": {
        "code": "NotAuthorizedOrNotFound",
        "message": "Authorization failed or requested resource not found.",
        "status": 404
      }
    }
  ]
}