MigrationSource#
- class MigrationSource(name=None, address=None, credential=None, description=None, should_discover_mount_targets=False, mount_target_ext_ids=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#
Bases:
ExternalizableAbstractModel
Migration source server details to be used by migration plans.
- Parameters:
name (required min=1 chars, max=30 chars) – (
name
) Migration source nameaddress (required) – (
address
)credential – (
credential
)description (max=120 chars) – (
description
) Description for migration sourceshould_discover_mount_targets – (
should_discover_mount_targets
) A flag to indicate if the backend should start mount-target discovery for migration source server. Upon completion of source creation task, list of discovered mount target can be fetched using GET mount-targets API on migration-sources. Note: Credential field is required for SMB mount-targets discovery and shouldStartDiscoveryDesc is write only field. (Default False)mount_target_ext_ids – (
mount_target_ext_ids
) List of mount target extIds for migration source server. This is a read-only field.
- property address#
- Type:
- property credential#
- Type:
- property description#
Description for migration source
- Type:
str
- property mount_target_ext_ids#
List of mount target extIds for migration source server. This is a read-only field.
- Type:
list[
str
]
- property name#
Migration source name
- Type:
str
- property should_discover_mount_targets#
A flag to indicate if the backend should start mount-target discovery for migration source server. Upon completion of source creation task, list of discovered mount target can be fetched using GET mount-targets API on migration-sources. Note: Credential field is required for SMB mount-targets discovery and shouldStartDiscoveryDesc is write only field.
- Type:
bool
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model