Server Migration Center (SMC), bir Alibaba Cloud Elastic Compute Service (ECS) örneğini aynı bölge içinde farklı bir kullanılabilirlik bölgesine geçirmenize ve aynı örnek ailesi içinde vCPU ve bellek dahil olmak üzere örnek türünü değiştirmenize olanak tanır. Bu özellik, örnek geçişi ve teknik özellik değişikliklerine yönelik iş gereksinimlerini karşılamanıza yardımcı olur. Kullanılabilirlik bölgeleri arası geçiş işi oluşturmak için bu işlemi çağırın.
Operation description
Kullanılabilirlik bölgeleri arası geçişin sınırları ve etkileri hakkında daha fazla bilgi için bkz. Kullanılabilirlik bölgeleri arası geçiş.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
smc:CreateCrossZoneMigrationJob |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
Hedef Alibaba Cloud bölgesinin kimliği. Örneğin, bir kaynak sunucuyu China (Hangzhou) bölgesine geçirmek istiyorsanız bölge kimliği |
cn-hangzhou |
| ClientToken |
string |
No |
İsteğin idempotent olmasını sağlamak için kullanılan bir istemci belirteci. İstemcinizden bu parametre için benzersiz bir değer oluşturun. |
123e4567-e89b-12d3-a456-426655440000 |
| InstanceId |
string |
No |
ECS örneğinin kimliği. |
i-bp1ff25rzvnul6kr**** |
| TargetVSwitchId |
string |
No |
Hedef vSwitch kimliği. |
vsw-bp1mxqnssl8nafltc**** |
| TargetZoneId |
string |
No |
Hedef kullanılabilirlik bölgesinin kimliği. |
cn-hangzhou-i |
| TargetInstanceType |
string |
No |
Hedef örnek türü. |
ecs.g7.large |
| AutoPay |
boolean |
No |
Otomatik ödemenin etkinleştirilip etkinleştirilmeyeceğini belirtir. Geçerli değerler:
|
false |
| Disk |
array<object> |
No |
Disk bilgileri. |
|
|
object |
No |
Bir disk nesnesi. |
||
| DiskId |
string |
No |
Disk kimliği. |
d-bp1eeplkn4j29wf7**** |
| Category |
string |
No |
Disk kategorisi. |
cloud_essd |
| PerformanceLevel |
string |
No |
ESSD'nin performans seviyesi. Geçerli değerler:
|
PL0 |
| ResourceGroupId |
string |
No |
Kaynak grubunun kimliği. |
rg-acfmw3ty5y7**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Yanıt parametreleri. |
||
| RequestId |
string |
İstek kimliği. |
A9DBD2F8-DE5A-5844-BA6F-957A996CBD78 |
| JobId |
string |
Geçiş işi kimliği. |
j-bp17bclvg344jlyt**** |
Examples
Success response
JSON format
{
"RequestId": "A9DBD2F8-DE5A-5844-BA6F-957A996CBD78",
"JobId": "j-bp17bclvg344jlyt****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ReplicationJobDataDiskIndex.Invalid | The specified replication job contains data disk index not found in source server. | The specified replication job contains data disk indexes that do not exist in the source server. |
| 400 | VSwitchIdVpcId.Mismatch | The specified VSwitchId and VpcId does not match. | The specified VSwitchId and VpcId does not match. |
| 400 | InvalidSecurityGroupId.IncorrectNetworkType | The network type of the specified security group does not support this action. | The network type of the specified security group does not support this action. |
| 400 | InvalidSecurityGroupId.VPCMismatch | The specified security group and the specified virtual switch are not in the same VPC. | The specified security group and the specified virtual switch are not in the same VPC. |
| 400 | QuotaExceeded.ReplicationJob | The maximum number of replication jobs is exceeded. Please submit a ticket to raise the quota. | The maximum number of replication jobs is exceeded. Please submit a ticket to raise the quota. |
| 400 | ReplicationJobName.Duplicate | The specified replication job name already exists. | The specified replication job name already exists. |
| 400 | SourceServerState.Invalid | The specified source server status: %s is invalid. This operation can only be performed in the following status: %s. | The specified source server status: %s is invalid. This operation can only be performed in the following status: %s. |
| 500 | InternalError | An error occurred while processing your request. Please try again. If the problem still exists, please submit a ticket. | An error occurred while processing your request. Please try again. If the problem still exists, please submit a ticket. |
| 403 | EntityNotExist.Role | The account is unauthorized. Please assign the role AliyunServiceRoleForSMC to your account. | The account does not have the operation permission, please assign the account AliyunServiceRoleForSMC role. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.