docs
api
Server Migration Center(USMC)
CreateUSMCPlan

Create USMC Migration Plan - CreateUSMCPlan

Overview

Create USMC Migration Plan

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is CreateUSMCPlan.Yes
PublicKeystringThe user's public key can be obtained from Console (opens in a new tab)Yes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
ProjectIdstringProject ID. Please refer to the GetProjectList interface.Yes
NamestringName, length cannot exceed 128Yes
SourceVendorstringMigration source, possible values "Ali, Tecent, IDC, Huawei, Amazon"Yes
SourceRegionstringMigration Source RegionYes
TargetRegionstringMigrate Target RegionYes
NetworkTypestringNetwork type, 10: Public network, 20: Private network, 30: Dedicated line. Default 10: Public networkNo

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
DataCreatePlanResDataCreatePlanResDataYes

Data Model

CreatePlanResData

Field NameTypeDescription InformationRequired
PlanIdstringMigration Plan IDNo

Example

Request Example

https://api.surfercloud.com/?Action=CreateUSMCPlan
&Name=rmvfupfL
&SourceVendor=sLaorqHq
&SourceRegion=NMRiCsGz
&TargetRegion=LIzZTRLB
&NetworkType=dLNBcUHK
&ProjectId=GODKXUnL
&ProjectId=RhLwgeXu

Response Example

{
  "Action": "CreateUSMCPlanResponse",
  "Data": "aWdcVAmx",
  "Message": "yCphtYrj",
  "RetCode": 0
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved