Oracle Cloud Infrastructure · Example Payload

Oracle Cloud Getsubnet Example

Cloud ComputingEnterprise CloudInfrastructure as a ServiceOraclePlatform as a Service

Oracle Cloud Getsubnet 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": "getSubnet",
  "method": "GET",
  "path": "/subnets/{subnetId}",
  "summary": "Oracle Cloud Get Subnet",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "name": "GetSubnet200Example",
      "example": {
        "id": "ocid1.subnet.oc1.iad.abcdefg123456",
        "compartmentId": "ocid1.resource.oc1.iad.abcdefg123456",
        "vcnId": "ocid1.resource.oc1.iad.abcdefg123456",
        "displayName": "public-subnet-1",
        "cidrBlock": "10.0.0.0/24",
        "availabilityDomain": "Uocm:US-ASHBURN-AD-1",
        "dnsLabel": "myresource",
        "prohibitPublicIpOnVnic": true,
        "routeTableId": "ocid1.resource.oc1.iad.abcdefg123456",
        "securityListIds": [
          "example-value"
        ],
        "lifecycleState": "PROVISIONING",
        "timeCreated": "2026-04-18T10:30:00Z"
      }
    }
  ]
}