VolumeAttachment

class oci.cloud_migrations.models.VolumeAttachment(**kwargs)

Bases: object

Describes volume attachment details.

Methods:

__init__(**kwargs)

Initializes a new VolumeAttachment object with values from keyword arguments.

Attributes:

device

Gets the device of this VolumeAttachment.

instance_key

Gets the instance_key of this VolumeAttachment.

is_delete_on_termination

Gets the is_delete_on_termination of this VolumeAttachment.

status

Gets the status of this VolumeAttachment.

volume_key

Gets the volume_key of this VolumeAttachment.

__init__(**kwargs)

Initializes a new VolumeAttachment object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • is_delete_on_termination (bool) – The value to assign to the is_delete_on_termination property of this VolumeAttachment.

  • device (str) – The value to assign to the device property of this VolumeAttachment.

  • instance_key (str) – The value to assign to the instance_key property of this VolumeAttachment.

  • status (str) – The value to assign to the status property of this VolumeAttachment.

  • volume_key (str) – The value to assign to the volume_key property of this VolumeAttachment.

property device

Gets the device of this VolumeAttachment. The device name.

Returns

The device of this VolumeAttachment.

Return type

str

property instance_key

Gets the instance_key of this VolumeAttachment. The ID of the instance.

Returns

The instance_key of this VolumeAttachment.

Return type

str

property is_delete_on_termination

Gets the is_delete_on_termination of this VolumeAttachment. Indicates whether the EBS volume is deleted on instance termination.

Returns

The is_delete_on_termination of this VolumeAttachment.

Return type

bool

property status

Gets the status of this VolumeAttachment. The attachment state of the volume.

Returns

The status of this VolumeAttachment.

Return type

str

property volume_key

Gets the volume_key of this VolumeAttachment. The ID of the volume.

Returns

The volume_key of this VolumeAttachment.

Return type

str