MigrationSourceMountTarget#
- class MigrationSourceMountTarget(name=None, protocol=None, bytes=0, files=0, directories=0, scan_status=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#
Bases:
ExternalizableAbstractModel
Mount target for migration source.
- Parameters:
name (min=1 chars, max=4096 chars) – (
name
) Name of the source mount target. Only the mount target name is stored in the database after discovery, but to scan you can specify the mount target name with path, in this case name including path is stored in DB.protocol – (
protocol
)bytes – (
bytes
) Total bytes present on source path. This is a read-only field. (Default 0)files – (
files
) Total files present on source path. This is a read-only field. (Default 0)directories – (
directories
) Total dirs present on source path. This is a read-only field. (Default 0)scan_status – (
scan_status
)
- property bytes#
Total bytes present on source path. This is a read-only field.
- Type:
int
- property directories#
Total dirs present on source path. This is a read-only field.
- Type:
int
- property files#
Total files present on source path. This is a read-only field.
- Type:
int
- property name#
Name of the source mount target. Only the mount target name is stored in the database after discovery, but to scan you can specify the mount target name with path, in this case name including path is stored in DB.
- Type:
str
- property protocol#
- Type:
- property scan_status#
- Type:
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model