Oracle Cloud Infrastructure · Schema
AttachVolumeDetails
Details for attaching a volume.
Cloud ComputingEnterprise CloudInfrastructure as a ServiceOraclePlatform as a Service
Properties
| Name | Type | Description |
|---|---|---|
| instanceId | string | The OCID of the instance. |
| volumeId | string | The OCID of the volume. |
| type | string | The type of volume attachment. |
| displayName | string | A user-friendly name. |
| isReadOnly | boolean | Whether the attachment is read-only. |
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/compute-attach-volume-details-schema.json",
"title": "AttachVolumeDetails",
"description": "Details for attaching a volume.",
"type": "object",
"required": [
"instanceId",
"volumeId",
"type"
],
"properties": {
"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"
},
"type": {
"type": "string",
"description": "The type of volume attachment.",
"enum": "['iscsi', 'paravirtualized']",
"example": "iscsi"
},
"displayName": {
"type": "string",
"description": "A user-friendly name.",
"example": "my-resource"
},
"isReadOnly": {
"type": "boolean",
"description": "Whether the attachment is read-only.",
"example": false,
"default": false
}
}
}