Oracle Cloud Infrastructure · Schema
VolumeAttachment
A volume attached to a compute instance.
Cloud ComputingEnterprise CloudInfrastructure as a ServiceOraclePlatform as a Service
Properties
| Name | Type | Description |
|---|---|---|
| id | string | The OCID of the volume attachment. |
| instanceId | string | The OCID of the instance. |
| volumeId | string | The OCID of the volume. |
| displayName | string | A user-friendly name. |
| lifecycleState | string | |
| timeCreated | string | |
| attachmentType | string | The type of volume attachment. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/VolumeAttachment",
"title": "VolumeAttachment",
"type": "object",
"description": "A volume attached to a compute instance.",
"properties": {
"id": {
"type": "string",
"description": "The OCID of the volume attachment.",
"example": "ocid1.resource.oc1.iad.abcdefg123456"
},
"instanceId": {
"type": "string",
"description": "The OCID of the instance.",
"example": "ocid1.resource.oc1.iad.abcdefg123456"
},
"volumeId": {
"type": "string",
"description": "The OCID of the volume.",
"example": "ocid1.resource.oc1.iad.abcdefg123456"
},
"displayName": {
"type": "string",
"description": "A user-friendly name.",
"example": "my-resource"
},
"lifecycleState": {
"type": "string",
"enum": [
"ATTACHING",
"ATTACHED",
"DETACHING",
"DETACHED"
],
"example": "ATTACHING"
},
"timeCreated": {
"type": "string",
"format": "date-time",
"example": "2026-04-18T10:30:00Z"
},
"attachmentType": {
"type": "string",
"description": "The type of volume attachment.",
"enum": [
"iscsi",
"paravirtualized"
],
"example": "iscsi"
}
}
}