InstanceConfigurationAttachVolumeDetails

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

Bases: object

Volume attachmentDetails. Please see AttachVolumeDetails

__init__(**kwargs)

Initializes a new InstanceConfigurationAttachVolumeDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • display_name (str) -- The value to assign to the display_name property of this InstanceConfigurationAttachVolumeDetails.
  • is_read_only (bool) -- The value to assign to the is_read_only property of this InstanceConfigurationAttachVolumeDetails.
  • type (str) -- The value to assign to the type property of this InstanceConfigurationAttachVolumeDetails.
display_name

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
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.

is_read_only

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
type

[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