ComputeInstanceNonMovableBlockVolumeAttachOperationDetails¶
- class oci.disaster_recovery.models.ComputeInstanceNonMovableBlockVolumeAttachOperationDetails(**kwargs)¶
Bases:
objectThe details for attaching or detaching a block volume to a non-movable compute instance.
Methods:
__init__(**kwargs)Initializes a new ComputeInstanceNonMovableBlockVolumeAttachOperationDetails object with values from keyword arguments.
Attributes:
[Required] Gets the block_volume_id of this ComputeInstanceNonMovableBlockVolumeAttachOperationDetails.
Gets the volume_attachment_reference_instance_id of this ComputeInstanceNonMovableBlockVolumeAttachOperationDetails.
- __init__(**kwargs)¶
Initializes a new ComputeInstanceNonMovableBlockVolumeAttachOperationDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
block_volume_id (str) – The value to assign to the block_volume_id property of this ComputeInstanceNonMovableBlockVolumeAttachOperationDetails.
volume_attachment_reference_instance_id (str) – The value to assign to the volume_attachment_reference_instance_id property of this ComputeInstanceNonMovableBlockVolumeAttachOperationDetails.
- property block_volume_id¶
[Required] Gets the block_volume_id of this ComputeInstanceNonMovableBlockVolumeAttachOperationDetails. The OCID of the block volume.
Example: ocid1.volume.oc1..uniqueID
- Returns
The block_volume_id of this ComputeInstanceNonMovableBlockVolumeAttachOperationDetails.
- Return type
str
- property volume_attachment_reference_instance_id¶
Gets the volume_attachment_reference_instance_id of this ComputeInstanceNonMovableBlockVolumeAttachOperationDetails. The OCID of the reference compute instance needed to obtain the volume attachment details. This reference compute instance belongs to the peer DR protection group.
Example: ocid1.instance.oc1..uniqueID
- Returns
The volume_attachment_reference_instance_id of this ComputeInstanceNonMovableBlockVolumeAttachOperationDetails.
- Return type
str