UpdateVolumeAttachmentDetails

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

Bases: object

details for updating a volume attachment.

Attributes:

ISCSI_LOGIN_STATE_LOGGING_IN

A constant which can be used with the iscsi_login_state property of a UpdateVolumeAttachmentDetails.

ISCSI_LOGIN_STATE_LOGGING_OUT

A constant which can be used with the iscsi_login_state property of a UpdateVolumeAttachmentDetails.

ISCSI_LOGIN_STATE_LOGIN_FAILED

A constant which can be used with the iscsi_login_state property of a UpdateVolumeAttachmentDetails.

ISCSI_LOGIN_STATE_LOGIN_SUCCEEDED

A constant which can be used with the iscsi_login_state property of a UpdateVolumeAttachmentDetails.

ISCSI_LOGIN_STATE_LOGOUT_FAILED

A constant which can be used with the iscsi_login_state property of a UpdateVolumeAttachmentDetails.

ISCSI_LOGIN_STATE_LOGOUT_SUCCEEDED

A constant which can be used with the iscsi_login_state property of a UpdateVolumeAttachmentDetails.

ISCSI_LOGIN_STATE_UNKNOWN

A constant which can be used with the iscsi_login_state property of a UpdateVolumeAttachmentDetails.

iscsi_login_state

Gets the iscsi_login_state of this UpdateVolumeAttachmentDetails.

Methods:

__init__(**kwargs)

Initializes a new UpdateVolumeAttachmentDetails object with values from keyword arguments.

ISCSI_LOGIN_STATE_LOGGING_IN = 'LOGGING_IN'

A constant which can be used with the iscsi_login_state property of a UpdateVolumeAttachmentDetails. This constant has a value of “LOGGING_IN”

ISCSI_LOGIN_STATE_LOGGING_OUT = 'LOGGING_OUT'

A constant which can be used with the iscsi_login_state property of a UpdateVolumeAttachmentDetails. This constant has a value of “LOGGING_OUT”

ISCSI_LOGIN_STATE_LOGIN_FAILED = 'LOGIN_FAILED'

A constant which can be used with the iscsi_login_state property of a UpdateVolumeAttachmentDetails. This constant has a value of “LOGIN_FAILED”

ISCSI_LOGIN_STATE_LOGIN_SUCCEEDED = 'LOGIN_SUCCEEDED'

A constant which can be used with the iscsi_login_state property of a UpdateVolumeAttachmentDetails. This constant has a value of “LOGIN_SUCCEEDED”

ISCSI_LOGIN_STATE_LOGOUT_FAILED = 'LOGOUT_FAILED'

A constant which can be used with the iscsi_login_state property of a UpdateVolumeAttachmentDetails. This constant has a value of “LOGOUT_FAILED”

ISCSI_LOGIN_STATE_LOGOUT_SUCCEEDED = 'LOGOUT_SUCCEEDED'

A constant which can be used with the iscsi_login_state property of a UpdateVolumeAttachmentDetails. This constant has a value of “LOGOUT_SUCCEEDED”

ISCSI_LOGIN_STATE_UNKNOWN = 'UNKNOWN'

A constant which can be used with the iscsi_login_state property of a UpdateVolumeAttachmentDetails. This constant has a value of “UNKNOWN”

__init__(**kwargs)

Initializes a new UpdateVolumeAttachmentDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters

iscsi_login_state (str) – The value to assign to the iscsi_login_state property of this UpdateVolumeAttachmentDetails. Allowed values for this property are: “UNKNOWN”, “LOGGING_IN”, “LOGIN_SUCCEEDED”, “LOGIN_FAILED”, “LOGGING_OUT”, “LOGOUT_SUCCEEDED”, “LOGOUT_FAILED”

property iscsi_login_state

Gets the iscsi_login_state of this UpdateVolumeAttachmentDetails. The iscsi login state of the volume attachment. For a multipath volume attachment, all iscsi sessions need to be all logged-in or logged-out to be in logged-in or logged-out state.

Allowed values for this property are: “UNKNOWN”, “LOGGING_IN”, “LOGIN_SUCCEEDED”, “LOGIN_FAILED”, “LOGGING_OUT”, “LOGOUT_SUCCEEDED”, “LOGOUT_FAILED”

Returns

The iscsi_login_state of this UpdateVolumeAttachmentDetails.

Return type

str