Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace AttachVolumeDetails

Properties

Optional device

device: undefined | string

The device name. To retrieve a list of devices for a given instance, see {@link #listInstanceDevices(ListInstanceDevicesRequest) listInstanceDevices}.

Optional displayName

displayName: undefined | string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

instanceId

instanceId: string

The OCID of the instance. For AttachVolume operation, this is a required field for the request, see {@link #attachVolume(AttachVolumeRequest) attachVolume}.

Optional isReadOnly

isReadOnly: undefined | false | true

Whether the attachment was created in read-only mode.

Optional isShareable

isShareable: undefined | false | true

Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified.

type

type: string

volumeId

volumeId: string

The OCID of the volume. If CreateVolumeDetails is specified, this field must be omitted from the request.

Functions

getDeserializedJsonObj

getJsonObj