TransferDevice¶
-
class
oci.dts.models.
TransferDevice
(**kwargs)¶ Bases:
object
TransferDevice model.
Attributes
LIFECYCLE_STATE_ACTIVE
A constant which can be used with the lifecycle_state property of a TransferDevice. LIFECYCLE_STATE_CANCELLED
A constant which can be used with the lifecycle_state property of a TransferDevice. LIFECYCLE_STATE_COMPLETE
A constant which can be used with the lifecycle_state property of a TransferDevice. LIFECYCLE_STATE_DELETED
A constant which can be used with the lifecycle_state property of a TransferDevice. LIFECYCLE_STATE_ERROR
A constant which can be used with the lifecycle_state property of a TransferDevice. LIFECYCLE_STATE_MISSING
A constant which can be used with the lifecycle_state property of a TransferDevice. LIFECYCLE_STATE_PACKAGED
A constant which can be used with the lifecycle_state property of a TransferDevice. LIFECYCLE_STATE_PREPARING
A constant which can be used with the lifecycle_state property of a TransferDevice. LIFECYCLE_STATE_PROCESSING
A constant which can be used with the lifecycle_state property of a TransferDevice. LIFECYCLE_STATE_READY
A constant which can be used with the lifecycle_state property of a TransferDevice. attached_transfer_package_label
Gets the attached_transfer_package_label of this TransferDevice. creation_time
Gets the creation_time of this TransferDevice. iscsi_iqn
Gets the iscsi_iqn of this TransferDevice. label
[Required] Gets the label of this TransferDevice. lifecycle_state
Gets the lifecycle_state of this TransferDevice. serial_number
Gets the serial_number of this TransferDevice. transfer_job_id
Gets the transfer_job_id of this TransferDevice. upload_status_log_uri
Gets the upload_status_log_uri of this TransferDevice. Methods
__init__
(**kwargs)Initializes a new TransferDevice object with values from keyword arguments. -
LIFECYCLE_STATE_ACTIVE
= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a TransferDevice. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CANCELLED
= 'CANCELLED'¶ A constant which can be used with the lifecycle_state property of a TransferDevice. This constant has a value of “CANCELLED”
-
LIFECYCLE_STATE_COMPLETE
= 'COMPLETE'¶ A constant which can be used with the lifecycle_state property of a TransferDevice. This constant has a value of “COMPLETE”
-
LIFECYCLE_STATE_DELETED
= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a TransferDevice. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_ERROR
= 'ERROR'¶ A constant which can be used with the lifecycle_state property of a TransferDevice. This constant has a value of “ERROR”
-
LIFECYCLE_STATE_MISSING
= 'MISSING'¶ A constant which can be used with the lifecycle_state property of a TransferDevice. This constant has a value of “MISSING”
-
LIFECYCLE_STATE_PACKAGED
= 'PACKAGED'¶ A constant which can be used with the lifecycle_state property of a TransferDevice. This constant has a value of “PACKAGED”
-
LIFECYCLE_STATE_PREPARING
= 'PREPARING'¶ A constant which can be used with the lifecycle_state property of a TransferDevice. This constant has a value of “PREPARING”
-
LIFECYCLE_STATE_PROCESSING
= 'PROCESSING'¶ A constant which can be used with the lifecycle_state property of a TransferDevice. This constant has a value of “PROCESSING”
-
LIFECYCLE_STATE_READY
= 'READY'¶ A constant which can be used with the lifecycle_state property of a TransferDevice. This constant has a value of “READY”
-
__init__
(**kwargs)¶ Initializes a new TransferDevice object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - serial_number (str) – The value to assign to the serial_number property of this TransferDevice.
- iscsi_iqn (str) – The value to assign to the iscsi_iqn property of this TransferDevice.
- label (str) – The value to assign to the label property of this TransferDevice.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this TransferDevice. Allowed values for this property are: “PREPARING”, “READY”, “PACKAGED”, “ACTIVE”, “PROCESSING”, “COMPLETE”, “MISSING”, “ERROR”, “DELETED”, “CANCELLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- transfer_job_id (str) – The value to assign to the transfer_job_id property of this TransferDevice.
- attached_transfer_package_label (str) – The value to assign to the attached_transfer_package_label property of this TransferDevice.
- creation_time (datetime) – The value to assign to the creation_time property of this TransferDevice.
- upload_status_log_uri (str) – The value to assign to the upload_status_log_uri property of this TransferDevice.
-
attached_transfer_package_label
¶ Gets the attached_transfer_package_label of this TransferDevice.
Returns: The attached_transfer_package_label of this TransferDevice. Return type: str
-
creation_time
¶ Gets the creation_time of this TransferDevice.
Returns: The creation_time of this TransferDevice. Return type: datetime
-
iscsi_iqn
¶ Gets the iscsi_iqn of this TransferDevice.
Returns: The iscsi_iqn of this TransferDevice. Return type: str
-
label
¶ [Required] Gets the label of this TransferDevice.
Returns: The label of this TransferDevice. Return type: str
-
lifecycle_state
¶ Gets the lifecycle_state of this TransferDevice. Allowed values for this property are: “PREPARING”, “READY”, “PACKAGED”, “ACTIVE”, “PROCESSING”, “COMPLETE”, “MISSING”, “ERROR”, “DELETED”, “CANCELLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this TransferDevice. Return type: str
-
serial_number
¶ Gets the serial_number of this TransferDevice.
Returns: The serial_number of this TransferDevice. Return type: str
-
transfer_job_id
¶ Gets the transfer_job_id of this TransferDevice.
Returns: The transfer_job_id of this TransferDevice. Return type: str
-
upload_status_log_uri
¶ Gets the upload_status_log_uri of this TransferDevice.
Returns: The upload_status_log_uri of this TransferDevice. Return type: str
-