|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
Details of the migration job to create. |
||
| Name |
string |
The name of the job. |
test_name |
| SrcAddress |
string |
The name of the source data address. |
test_src_address |
| DestAddress |
string |
The name of the destination data address. |
test_dest_address |
| OverwriteMode |
string |
The file overwrite mode. |
always |
| TransferMode |
string |
The file transfer mode.
|
all |
| Tags |
string |
The tags in a key-value format. |
K1:V1,K2:V2 |
| ParentVersion |
string |
The parent job ID. Specify the parent job ID when you create a sub-job to retry failed files. |
6af62558-970d-4f44-8663-4e297170fd6a |
| ConvertSymlinkTarget |
boolean |
Specifies whether to transform the symbolic link target. For migrations from OSS to Local, Local to OSS, or Local to Local, you can enable this option to ensure that the migrated symbolic links can be accessed. |
false |
| Audit | Audit |
The audit method. |
|
| EnableMultiVersioning |
boolean |
Specifies whether to migrate multiple versions. Multi-version migration is not currently supported. |
false |
| FilterRule | FilterRule |
The filter rule. |
|
| ImportQos | ImportQos |
Job traffic throttling. |
|
| ScheduleRule | ScheduleRule |
The scheduling rule. |
|
| CreateReport |
boolean |
Specifies whether to create a migration report. |
true |
| WithStorageClass |
boolean |
Specifies whether to migrate the StorageClass property. This is only allowed for OSS-to-OSS migrations. |
false |
| TargetStorageClass |
string |
Specifies the StorageClass for the destination files. The destination must be an OSS address. Valid values: Standard, IA, Archive, ColdArchive, and DeepColdArchive. |
Standard |
| WithLastModifyTime |
boolean |
Specifies whether to retain the lastModifyTime. The default value is true. |
true |
| AppendableToNormal |
boolean |
Specifies whether to migrate appendable files as normal or multipart files. The default value is false. |
false |