InstanceConfigurationBlockVolumeDetails

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

Bases: object

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

__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 (InstanceConfigurationAttachVolumeDetails) -- The value to assign to the attach_details property of this InstanceConfigurationBlockVolumeDetails.
  • create_details (InstanceConfigurationCreateVolumeDetails) -- The value to assign to the create_details property of this InstanceConfigurationBlockVolumeDetails.
  • volume_id (str) -- The value to assign to the volume_id property of this InstanceConfigurationBlockVolumeDetails.
attach_details

Gets the attach_details of this InstanceConfigurationBlockVolumeDetails.

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

Gets the create_details of this InstanceConfigurationBlockVolumeDetails.

Returns:The create_details of this InstanceConfigurationBlockVolumeDetails.
Return type: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