TransferJob

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

Bases: object

TransferJob model.

Attributes

DEVICE_TYPE_APPLIANCE A constant which can be used with the device_type property of a TransferJob.
DEVICE_TYPE_DISK A constant which can be used with the device_type property of a TransferJob.
LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a TransferJob.
LIFECYCLE_STATE_CLOSED A constant which can be used with the lifecycle_state property of a TransferJob.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a TransferJob.
LIFECYCLE_STATE_INITIATED A constant which can be used with the lifecycle_state property of a TransferJob.
LIFECYCLE_STATE_PREPARING A constant which can be used with the lifecycle_state property of a TransferJob.
attached_transfer_appliance_labels Gets the attached_transfer_appliance_labels of this TransferJob.
attached_transfer_device_labels Gets the attached_transfer_device_labels of this TransferJob.
attached_transfer_package_labels Gets the attached_transfer_package_labels of this TransferJob.
compartment_id Gets the compartment_id of this TransferJob.
creation_time Gets the creation_time of this TransferJob.
defined_tags Gets the defined_tags of this TransferJob.
device_type Gets the device_type of this TransferJob.
display_name Gets the display_name of this TransferJob.
freeform_tags Gets the freeform_tags of this TransferJob.
id [Required] Gets the id of this TransferJob.
label Gets the label of this TransferJob.
lifecycle_state Gets the lifecycle_state of this TransferJob.
upload_bucket_name Gets the upload_bucket_name of this TransferJob.

Methods

__init__(**kwargs) Initializes a new TransferJob object with values from keyword arguments.
DEVICE_TYPE_APPLIANCE = 'APPLIANCE'

A constant which can be used with the device_type property of a TransferJob. This constant has a value of “APPLIANCE”

DEVICE_TYPE_DISK = 'DISK'

A constant which can be used with the device_type property of a TransferJob. This constant has a value of “DISK”

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

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

LIFECYCLE_STATE_CLOSED = 'CLOSED'

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

LIFECYCLE_STATE_DELETED = 'DELETED'

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

LIFECYCLE_STATE_INITIATED = 'INITIATED'

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

LIFECYCLE_STATE_PREPARING = 'PREPARING'

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

__init__(**kwargs)

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

Parameters:
  • id (str) – The value to assign to the id property of this TransferJob.
  • compartment_id (str) – The value to assign to the compartment_id property of this TransferJob.
  • upload_bucket_name (str) – The value to assign to the upload_bucket_name property of this TransferJob.
  • display_name (str) – The value to assign to the display_name property of this TransferJob.
  • label (str) – The value to assign to the label property of this TransferJob.
  • creation_time (datetime) – The value to assign to the creation_time property of this TransferJob.
  • device_type (str) – The value to assign to the device_type property of this TransferJob. Allowed values for this property are: “DISK”, “APPLIANCE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this TransferJob. Allowed values for this property are: “INITIATED”, “PREPARING”, “ACTIVE”, “DELETED”, “CLOSED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • attached_transfer_appliance_labels (list[str]) – The value to assign to the attached_transfer_appliance_labels property of this TransferJob.
  • attached_transfer_package_labels (list[str]) – The value to assign to the attached_transfer_package_labels property of this TransferJob.
  • attached_transfer_device_labels (list[str]) – The value to assign to the attached_transfer_device_labels property of this TransferJob.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this TransferJob.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this TransferJob.
attached_transfer_appliance_labels

Gets the attached_transfer_appliance_labels of this TransferJob. Transfer Appliance labels associated with this transfer Job

Returns:The attached_transfer_appliance_labels of this TransferJob.
Return type:list[str]
attached_transfer_device_labels

Gets the attached_transfer_device_labels of this TransferJob. Transfer Device labels associated with this transfer Job

Returns:The attached_transfer_device_labels of this TransferJob.
Return type:list[str]
attached_transfer_package_labels

Gets the attached_transfer_package_labels of this TransferJob. Transfer Package labels associated with this transfer Job

Returns:The attached_transfer_package_labels of this TransferJob.
Return type:list[str]
compartment_id

Gets the compartment_id of this TransferJob.

Returns:The compartment_id of this TransferJob.
Return type:str
creation_time

Gets the creation_time of this TransferJob.

Returns:The creation_time of this TransferJob.
Return type:datetime
defined_tags

Gets the defined_tags of this TransferJob. Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {“foo-namespace”: {“bar-key”: “foo-value”}}

Returns:The defined_tags of this TransferJob.
Return type:dict(str, dict(str, object))
device_type

Gets the device_type of this TransferJob. Allowed values for this property are: “DISK”, “APPLIANCE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The device_type of this TransferJob.
Return type:str
display_name

Gets the display_name of this TransferJob.

Returns:The display_name of this TransferJob.
Return type:str
freeform_tags

Gets the freeform_tags of this TransferJob. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this TransferJob.
Return type:dict(str, str)
id

[Required] Gets the id of this TransferJob.

Returns:The id of this TransferJob.
Return type:str
label

Gets the label of this TransferJob.

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

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

Returns:The lifecycle_state of this TransferJob.
Return type:str
upload_bucket_name

Gets the upload_bucket_name of this TransferJob.

Returns:The upload_bucket_name of this TransferJob.
Return type:str