CreateSubnetDetails

CreateSubnetDetails schema from oracle-cloud-networking-openapi.yaml

Cloud ComputingEnterprise CloudInfrastructure as a ServiceOraclePlatform as a Service

Properties

Name Type Description
compartmentId string
vcnId string
cidrBlock string
displayName string
dnsLabel string
prohibitPublicIpOnVnic boolean
routeTableId string
securityListIds array
View JSON Schema on GitHub

JSON Schema

networking-create-subnet-details-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/oracle-cloud/refs/heads/main/json-schema/networking-create-subnet-details-schema.json",
  "title": "CreateSubnetDetails",
  "description": "CreateSubnetDetails schema from oracle-cloud-networking-openapi.yaml",
  "type": "object",
  "required": [
    "compartmentId",
    "vcnId",
    "cidrBlock"
  ],
  "properties": {
    "compartmentId": {
      "type": "string",
      "example": "ocid1.resource.oc1.iad.abcdefg123456"
    },
    "vcnId": {
      "type": "string",
      "example": "ocid1.resource.oc1.iad.abcdefg123456"
    },
    "cidrBlock": {
      "type": "string",
      "example": "10.0.0.0/24"
    },
    "displayName": {
      "type": "string",
      "example": "public-subnet-1"
    },
    "dnsLabel": {
      "type": "string",
      "example": "myresource"
    },
    "prohibitPublicIpOnVnic": {
      "type": "boolean",
      "example": false,
      "default": false
    },
    "routeTableId": {
      "type": "string",
      "example": "ocid1.resource.oc1.iad.abcdefg123456"
    },
    "securityListIds": {
      "type": "array",
      "example": "['example-value']",
      "items": {
        "type": "string"
      }
    }
  }
}