Compartment

A compartment for organizing cloud resources.

Cloud ComputingEnterprise CloudInfrastructure as a ServiceOraclePlatform as a Service

Properties

Name Type Description
id string
compartmentId string
name string
description string
lifecycleState string
timeCreated string
View JSON Schema on GitHub

JSON Schema

oracle-cloud-compartment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Compartment",
  "title": "Compartment",
  "type": "object",
  "description": "A compartment for organizing cloud resources.",
  "properties": {
    "id": {
      "type": "string",
      "example": "ocid1.resource.oc1.iad.abcdefg123456"
    },
    "compartmentId": {
      "type": "string",
      "example": "ocid1.resource.oc1.iad.abcdefg123456"
    },
    "name": {
      "type": "string",
      "example": "my-compartment"
    },
    "description": {
      "type": "string",
      "example": "example-value"
    },
    "lifecycleState": {
      "type": "string",
      "enum": [
        "CREATING",
        "ACTIVE",
        "INACTIVE",
        "DELETING",
        "DELETED"
      ],
      "example": "CREATING"
    },
    "timeCreated": {
      "type": "string",
      "format": "date-time",
      "example": "2026-04-18T10:30:00Z"
    }
  }
}