AttachParavirtualizedVolumeDetails

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

Bases: oci.core.models.attach_volume_details.AttachVolumeDetails

AttachParavirtualizedVolumeDetails model.

Methods

__init__(**kwargs) Initializes a new AttachParavirtualizedVolumeDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

Attributes

device Gets the device of this AttachVolumeDetails.
display_name Gets the display_name of this AttachVolumeDetails.
instance_id [Required] Gets the instance_id of this AttachVolumeDetails.
is_pv_encryption_in_transit_enabled Gets the is_pv_encryption_in_transit_enabled of this AttachParavirtualizedVolumeDetails.
is_read_only Gets the is_read_only of this AttachVolumeDetails.
is_shareable Gets the is_shareable of this AttachVolumeDetails.
type [Required] Gets the type of this AttachVolumeDetails.
volume_id [Required] Gets the volume_id of this AttachVolumeDetails.
__init__(**kwargs)

Initializes a new AttachParavirtualizedVolumeDetails object with values from keyword arguments. The default value of the type attribute of this class is paravirtualized and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • device (str) – The value to assign to the device property of this AttachParavirtualizedVolumeDetails.
  • display_name (str) – The value to assign to the display_name property of this AttachParavirtualizedVolumeDetails.
  • instance_id (str) – The value to assign to the instance_id property of this AttachParavirtualizedVolumeDetails.
  • is_read_only (bool) – The value to assign to the is_read_only property of this AttachParavirtualizedVolumeDetails.
  • is_shareable (bool) – The value to assign to the is_shareable property of this AttachParavirtualizedVolumeDetails.
  • type (str) – The value to assign to the type property of this AttachParavirtualizedVolumeDetails.
  • volume_id (str) – The value to assign to the volume_id property of this AttachParavirtualizedVolumeDetails.
  • is_pv_encryption_in_transit_enabled (bool) – The value to assign to the is_pv_encryption_in_transit_enabled property of this AttachParavirtualizedVolumeDetails.
device

Gets the device of this AttachVolumeDetails. The device name.

Returns:The device of this AttachVolumeDetails.
Return type:str
display_name

Gets the display_name of this AttachVolumeDetails. A user-friendly name. Does not have to be unique, and it cannot be changed. Avoid entering confidential information.

Returns:The display_name of this AttachVolumeDetails.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

instance_id

[Required] Gets the instance_id of this AttachVolumeDetails. The OCID of the instance.

Returns:The instance_id of this AttachVolumeDetails.
Return type:str
is_pv_encryption_in_transit_enabled

Gets the is_pv_encryption_in_transit_enabled of this AttachParavirtualizedVolumeDetails. Whether to enable in-transit encryption for the data volume’s paravirtualized attachment. The default value is false.

Returns:The is_pv_encryption_in_transit_enabled of this AttachParavirtualizedVolumeDetails.
Return type:bool
is_read_only

Gets the is_read_only of this AttachVolumeDetails. Whether the attachment was created in read-only mode.

Returns:The is_read_only of this AttachVolumeDetails.
Return type:bool
is_shareable

Gets the is_shareable of this AttachVolumeDetails. 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.

Returns:The is_shareable of this AttachVolumeDetails.
Return type:bool
type

[Required] Gets the type of this AttachVolumeDetails. The type of volume. The only supported value are “iscsi” and “paravirtualized”.

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

[Required] Gets the volume_id of this AttachVolumeDetails. The OCID of the volume.

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