InstanceConfigurationBlockVolumeDetails

class oci.core.models.InstanceConfigurationBlockVolumeDetails(**kwargs)

Bases: object

Create new block volumes or attach to an existing volume. Specify either createDetails or volumeId.

Methods

__init__(**kwargs) Initializes a new InstanceConfigurationBlockVolumeDetails object with values from keyword arguments.

Attributes

attach_details Gets the attach_details of this InstanceConfigurationBlockVolumeDetails.
create_details Gets the create_details of this InstanceConfigurationBlockVolumeDetails.
volume_id Gets the volume_id of this InstanceConfigurationBlockVolumeDetails.
__init__(**kwargs)

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

Parameters:
attach_details

Gets the attach_details of this InstanceConfigurationBlockVolumeDetails.

Returns:The attach_details of this InstanceConfigurationBlockVolumeDetails.
Return type:oci.core.models.InstanceConfigurationAttachVolumeDetails
create_details

Gets the create_details of this InstanceConfigurationBlockVolumeDetails.

Returns:The create_details of this InstanceConfigurationBlockVolumeDetails.
Return type:oci.core.models.InstanceConfigurationCreateVolumeDetails
volume_id

Gets the volume_id of this InstanceConfigurationBlockVolumeDetails. The OCID of the volume.

Returns:The volume_id of this InstanceConfigurationBlockVolumeDetails.
Return type:str