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

Bases: oci.core.models.instance_configuration_attach_volume_details.InstanceConfigurationAttachVolumeDetails

InstanceConfigurationIscsiAttachVolumeDetails model.


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

  • display_name (str) -- The value to assign to the display_name property of this InstanceConfigurationIscsiAttachVolumeDetails.
  • is_read_only (bool) -- The value to assign to the is_read_only property of this InstanceConfigurationIscsiAttachVolumeDetails.
  • type (str) -- The value to assign to the type property of this InstanceConfigurationIscsiAttachVolumeDetails.
  • use_chap (bool) -- The value to assign to the use_chap property of this InstanceConfigurationIscsiAttachVolumeDetails.

Gets the display_name of this InstanceConfigurationAttachVolumeDetails. 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 InstanceConfigurationAttachVolumeDetails.
Return type:str

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


Gets the is_read_only of this InstanceConfigurationAttachVolumeDetails. Whether the attachment should be created in read-only mode.

Returns:The is_read_only of this InstanceConfigurationAttachVolumeDetails.
Return type:bool

[Required] Gets the type of this InstanceConfigurationAttachVolumeDetails. The type of volume. The only supported values are "iscsi" and "paravirtualized".

Returns:The type of this InstanceConfigurationAttachVolumeDetails.
Return type:str

Gets the use_chap of this InstanceConfigurationIscsiAttachVolumeDetails. Whether to use CHAP authentication for the volume attachment. Defaults to false.

Returns:The use_chap of this InstanceConfigurationIscsiAttachVolumeDetails.
Return type:bool