docs
api
Server Migration Center(USMC)
ListUSMCPlan

Obtain USMC Migration Plan - ListUSMCPlan

Overview

Obtain USMC Migration Plan

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is ListUSMCPlan.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
PlanIdstringMigration Plan IDNo
OffsetstringList start position offset, default is 0No
LimitstringReturn data length, default is 20, maximum 100No

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
Dataarray[ListPlanItem][]ListPlanItemYes

Data Model

ListPlanItem

Field NameTypeDescription InformationRequired
PlanIdstringMigration Plan IDNo
NamestringNameNo
SourceVendorstringMigration SourceNo
SourceRegionstringMigration Source RegionNo
TargetRegionstringMigrate Target RegionNo
NetworkTypeintNetwork Type, 10: Public Network, 20: Private Network, 30: Dedicated LineNo
AgentDownloadUrlstringClient Download AddressNo
CreateTimeintCreation TimeNo

Example

Request Example

https://api.surfercloud.com/?Action=ListUSMCPlan
&PlanId=NTbVurgb
&Offset=LAXVrJkb
&Limit=pdkNUQvA

Response Example

{
  "Action": "ListUSMCPlanResponse",
  "Data": [
    {
      "AgentDownloadUrl": "jSdNWvqa",
      "CreateTime": 4,
      "Id": "QhPxRTiO",
      "Name": "dKcNkBwb",
      "NetWorkType": 2,
      "Source": "PnAACDVz",
      "SourceRegion": "XFajGCiY",
      "TargetRegion": "lvrBfwZI"
    }
  ],
  "Message": "SdLiVRxr",
  "RetCode": 0
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved