Oracle Cloud Infrastructure · Example Payload

Oracle Cloud Getvcn Example

Cloud ComputingEnterprise CloudInfrastructure as a ServiceOraclePlatform as a Service

Oracle Cloud Getvcn 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": "getVcn",
  "method": "GET",
  "path": "/vcns/{vcnId}",
  "summary": "Oracle Cloud Get VCN",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "name": "GetVcn200Example",
      "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": "404",
      "contentType": "application/json",
      "name": "GetVcn404Example",
      "example": {
        "code": "NotAuthorizedOrNotFound",
        "message": "Authorization failed or requested resource not found.",
        "status": 404
      }
    }
  ]
}