NewTransferDevice

class oci.dts.models.NewTransferDevice(**kwargs)

Bases: object

NewTransferDevice model.

Attributes

LIFECYCLE_STATE_PREPARING A constant which can be used with the lifecycle_state property of a NewTransferDevice.
creation_time Gets the creation_time of this NewTransferDevice.
encryption_passphrase Gets the encryption_passphrase of this NewTransferDevice.
iscsi_iqn Gets the iscsi_iqn of this NewTransferDevice.
label [Required] Gets the label of this NewTransferDevice.
lifecycle_state Gets the lifecycle_state of this NewTransferDevice.
serial_number Gets the serial_number of this NewTransferDevice.
transfer_job_id Gets the transfer_job_id of this NewTransferDevice.

Methods

__init__(**kwargs) Initializes a new NewTransferDevice object with values from keyword arguments.
LIFECYCLE_STATE_PREPARING = 'PREPARING'

A constant which can be used with the lifecycle_state property of a NewTransferDevice. This constant has a value of “PREPARING”

__init__(**kwargs)

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

Parameters:
  • label (str) – The value to assign to the label property of this NewTransferDevice.
  • serial_number (str) – The value to assign to the serial_number property of this NewTransferDevice.
  • iscsi_iqn (str) – The value to assign to the iscsi_iqn property of this NewTransferDevice.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this NewTransferDevice. Allowed values for this property are: “PREPARING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • encryption_passphrase (str) – The value to assign to the encryption_passphrase property of this NewTransferDevice.
  • transfer_job_id (str) – The value to assign to the transfer_job_id property of this NewTransferDevice.
  • creation_time (datetime) – The value to assign to the creation_time property of this NewTransferDevice.
creation_time

Gets the creation_time of this NewTransferDevice.

Returns:The creation_time of this NewTransferDevice.
Return type:datetime
encryption_passphrase

Gets the encryption_passphrase of this NewTransferDevice.

Returns:The encryption_passphrase of this NewTransferDevice.
Return type:str
iscsi_iqn

Gets the iscsi_iqn of this NewTransferDevice.

Returns:The iscsi_iqn of this NewTransferDevice.
Return type:str
label

[Required] Gets the label of this NewTransferDevice.

Returns:The label of this NewTransferDevice.
Return type:str
lifecycle_state

Gets the lifecycle_state of this NewTransferDevice. Allowed values for this property are: “PREPARING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this NewTransferDevice.
Return type:str
serial_number

Gets the serial_number of this NewTransferDevice.

Returns:The serial_number of this NewTransferDevice.
Return type:str
transfer_job_id

Gets the transfer_job_id of this NewTransferDevice.

Returns:The transfer_job_id of this NewTransferDevice.
Return type:str