Oracle Cloud Infrastructure · JSON Structure

Networking Subnet Structure

A subnet in a virtual cloud network.

Type: object Properties: 12
Cloud ComputingEnterprise CloudInfrastructure-as-a-ServiceOraclePlatform-as-a-ServiceComputeObject StorageIdentity and Access ManagementDatabaseKubernetesServerlessMonitoringEvent-Driven

Subnet is a JSON Structure definition published by Oracle Cloud Infrastructure, describing 12 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id compartmentId vcnId displayName cidrBlock availabilityDomain dnsLabel prohibitPublicIpOnVnic routeTableId securityListIds lifecycleState timeCreated

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/oracle-cloud/refs/heads/main/json-structure/networking-subnet-structure.json",
  "name": "Subnet",
  "description": "A subnet in a virtual cloud network.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The OCID of the subnet.",
      "example": "ocid1.subnet.oc1.iad.abcdefg123456"
    },
    "compartmentId": {
      "type": "string",
      "example": "ocid1.resource.oc1.iad.abcdefg123456"
    },
    "vcnId": {
      "type": "string",
      "description": "The OCID of the VCN.",
      "example": "ocid1.resource.oc1.iad.abcdefg123456"
    },
    "displayName": {
      "type": "string",
      "example": "public-subnet-1"
    },
    "cidrBlock": {
      "type": "string",
      "description": "The CIDR block of the subnet.",
      "example": "10.0.0.0/24"
    },
    "availabilityDomain": {
      "type": "string",
      "description": "The availability domain.",
      "example": "Uocm:US-ASHBURN-AD-1"
    },
    "dnsLabel": {
      "type": "string",
      "example": "myresource"
    },
    "prohibitPublicIpOnVnic": {
      "type": "boolean",
      "description": "Whether VNICs can have public IPs.",
      "example": true
    },
    "routeTableId": {
      "type": "string",
      "example": "ocid1.resource.oc1.iad.abcdefg123456"
    },
    "securityListIds": {
      "type": "array",
      "example": "['example-value']",
      "items": {
        "type": "string"
      }
    },
    "lifecycleState": {
      "type": "string",
      "enum": "['PROVISIONING', 'AVAILABLE', 'TERMINATING', 'TERMINATED']",
      "example": "PROVISIONING"
    },
    "timeCreated": {
      "type": "datetime",
      "example": "2026-04-18T10:30:00Z"
    }
  }
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/networking-subnet-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.