📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
libexec
›
oracle-cloud-agent
›
plugins
›
osms
›
oci
›
core
›
📁 models
📍
Lokasi:
/usr/libexec/oracle-cloud-agent/plugins/osms/oci/core/models
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: attach_i_scsi_volume_details.pyc
a N��fS � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�AttachVolumeDetails� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zdd� Zdd� Z dd� ZdS )�AttachIScsiVolumeDetailsz) AttachIScsiVolumeDetails model. �NONE�BM_ENCRYPTION_IN_TRANSITc K s~ ddddddddddd� | _ dddddd d ddd d� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _dS )a Initializes a new AttachIScsiVolumeDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.core.models.AttachIScsiVolumeDetails.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): :param device: The value to assign to the device property of this AttachIScsiVolumeDetails. :type device: str :param display_name: The value to assign to the display_name property of this AttachIScsiVolumeDetails. :type display_name: str :param instance_id: The value to assign to the instance_id property of this AttachIScsiVolumeDetails. :type instance_id: str :param is_read_only: The value to assign to the is_read_only property of this AttachIScsiVolumeDetails. :type is_read_only: bool :param is_shareable: The value to assign to the is_shareable property of this AttachIScsiVolumeDetails. :type is_shareable: bool :param type: The value to assign to the type property of this AttachIScsiVolumeDetails. :type type: str :param volume_id: The value to assign to the volume_id property of this AttachIScsiVolumeDetails. :type volume_id: str :param use_chap: The value to assign to the use_chap property of this AttachIScsiVolumeDetails. :type use_chap: bool :param encryption_in_transit_type: The value to assign to the encryption_in_transit_type property of this AttachIScsiVolumeDetails. Allowed values for this property are: "NONE", "BM_ENCRYPTION_IN_TRANSIT" :type encryption_in_transit_type: str :param is_agent_auto_iscsi_login_enabled: The value to assign to the is_agent_auto_iscsi_login_enabled property of this AttachIScsiVolumeDetails. :type is_agent_auto_iscsi_login_enabled: bool �str�bool) �device�display_name�instance_id�is_read_only�is_shareable�type� volume_id�use_chap�encryption_in_transit_type�!is_agent_auto_iscsi_login_enabledr �displayName� instanceId� isReadOnly�isShareabler �volumeId�useChap�encryptionInTransitType�isAgentAutoIscsiLoginEnabledN�iscsi)� swagger_types� attribute_map�_device� _display_name�_instance_id� _is_read_only� _is_shareable�_type� _volume_id� _use_chap�_encryption_in_transit_type�"_is_agent_auto_iscsi_login_enabled)�self�kwargs� r. ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/core/models/attach_i_scsi_volume_details.py�__init__ sB 1�� z!AttachIScsiVolumeDetails.__init__c C s | j S )z� Gets the use_chap of this AttachIScsiVolumeDetails. Whether to use CHAP authentication for the volume attachment. Defaults to false. :return: The use_chap of this AttachIScsiVolumeDetails. :rtype: bool �r) �r, r. r. r/ r n s z!AttachIScsiVolumeDetails.use_chapc C s || _ dS )z� Sets the use_chap of this AttachIScsiVolumeDetails. Whether to use CHAP authentication for the volume attachment. Defaults to false. :param use_chap: The use_chap of this AttachIScsiVolumeDetails. :type: bool Nr1 )r, r r. r. r/ r z s c C s | j S )aw Gets the encryption_in_transit_type of this AttachIScsiVolumeDetails. Refer the top-level definition of encryptionInTransitType. The default value is NONE. Allowed values for this property are: "NONE", "BM_ENCRYPTION_IN_TRANSIT" :return: The encryption_in_transit_type of this AttachIScsiVolumeDetails. :rtype: str )r* r2 r. r. r/ r � s z3AttachIScsiVolumeDetails.encryption_in_transit_typec C s* ddg}t ||�s td�|���|| _dS )a> Sets the encryption_in_transit_type of this AttachIScsiVolumeDetails. Refer the top-level definition of encryptionInTransitType. The default value is NONE. :param encryption_in_transit_type: The encryption_in_transit_type of this AttachIScsiVolumeDetails. :type: str r r zJInvalid value for `encryption_in_transit_type`, must be None or one of {0}N)r � ValueError�formatr* )r, r �allowed_valuesr. r. r/ r � s ��c C s | j S )a� Gets the is_agent_auto_iscsi_login_enabled of this AttachIScsiVolumeDetails. Whether to enable Oracle Cloud Agent to perform the iSCSI login and logout commands after the volume attach or detach operations for non multipath-enabled iSCSI attachments. :return: The is_agent_auto_iscsi_login_enabled of this AttachIScsiVolumeDetails. :rtype: bool �r+ r2 r. r. r/ r � s z:AttachIScsiVolumeDetails.is_agent_auto_iscsi_login_enabledc C s || _ dS )a� Sets the is_agent_auto_iscsi_login_enabled of this AttachIScsiVolumeDetails. Whether to enable Oracle Cloud Agent to perform the iSCSI login and logout commands after the volume attach or detach operations for non multipath-enabled iSCSI attachments. :param is_agent_auto_iscsi_login_enabled: The is_agent_auto_iscsi_login_enabled of this AttachIScsiVolumeDetails. :type: bool Nr6 )r, r r. r. r/ r � s c C s t | �S �N)r r2 r. r. r/ �__repr__� s z!AttachIScsiVolumeDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r, �otherr. r. r/ �__eq__� s zAttachIScsiVolumeDetails.__eq__c C s | |k S r7 r. r: r. r. r/ �__ne__� s zAttachIScsiVolumeDetails.__ne__N)�__name__� __module__�__qualname__�__doc__�ENCRYPTION_IN_TRANSIT_TYPE_NONE�3ENCRYPTION_IN_TRANSIT_TYPE_BM_ENCRYPTION_IN_TRANSITr0 �propertyr �setterr r r8 r<