Oracle Cloud Infrastructure · Schema
Vcn
A virtual cloud network in Oracle Cloud Infrastructure.
Cloud ComputingEnterprise CloudInfrastructure as a ServiceOraclePlatform as a Service
Properties
| Name | Type | Description |
|---|---|---|
| id | string | The OCID of the VCN. |
| compartmentId | string | The OCID of the compartment. |
| displayName | string | A user-friendly name. |
| cidrBlock | string | The CIDR block of the VCN. |
| cidrBlocks | array | List of CIDR blocks. |
| defaultDhcpOptionsId | string | The OCID of the default DHCP options. |
| defaultRouteTableId | string | The OCID of the default route table. |
| defaultSecurityListId | string | The OCID of the default security list. |
| dnsLabel | string | The DNS label for the VCN. |
| lifecycleState | string | |
| timeCreated | string | |
| freeformTags | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/oracle-cloud/refs/heads/main/json-schema/networking-vcn-schema.json",
"title": "Vcn",
"description": "A virtual cloud network in Oracle Cloud Infrastructure.",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The OCID of the VCN.",
"example": "ocid1.vcn.oc1.iad.abcdefg123456"
},
"compartmentId": {
"type": "string",
"description": "The OCID of the compartment.",
"example": "ocid1.resource.oc1.iad.abcdefg123456"
},
"displayName": {
"type": "string",
"description": "A user-friendly name.",
"example": "my-vcn"
},
"cidrBlock": {
"type": "string",
"description": "The CIDR block of the VCN.",
"example": "10.0.0.0/16"
},
"cidrBlocks": {
"type": "array",
"description": "List of CIDR blocks.",
"example": "['10.0.0.0/16']",
"items": {
"type": "string"
}
},
"defaultDhcpOptionsId": {
"type": "string",
"description": "The OCID of the default DHCP options.",
"example": "ocid1.resource.oc1.iad.abcdefg123456"
},
"defaultRouteTableId": {
"type": "string",
"description": "The OCID of the default route table.",
"example": "ocid1.resource.oc1.iad.abcdefg123456"
},
"defaultSecurityListId": {
"type": "string",
"description": "The OCID of the default security list.",
"example": "ocid1.resource.oc1.iad.abcdefg123456"
},
"dnsLabel": {
"type": "string",
"description": "The DNS label for the VCN.",
"example": "myvcn"
},
"lifecycleState": {
"type": "string",
"enum": "['PROVISIONING', 'AVAILABLE', 'TERMINATING', 'TERMINATED']",
"example": "PROVISIONING"
},
"timeCreated": {
"type": "string",
"format": "date-time",
"example": "2026-04-18T10:30:00Z"
},
"freeformTags": {
"type": "object",
"example": {
"key1": "value1"
},
"additionalProperties": {
"type": "string"
}
}
}
}