You need to enable JavaScript to run this app.
文档中心
服务器迁移中心

服务器迁移中心

复制全文
下载 pdf
迁移任务
DescribeMigrationSystemSupportTypes - 查询源系统支持升级的目标操作系统
复制全文
下载 pdf
DescribeMigrationSystemSupportTypes - 查询源系统支持升级的目标操作系统
调用 DescribeMigrationSystemSupportTypes 接口,查询源服务器操作系统支持迁移的目标操作系统。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action string 必选 示例值:DescribeMigrationSystemSupportTypes​
要执行的操作,取值:DescribeMigrationSystemSupportTypes。​
​
Version string 必选 示例值:2020-04-01​
API的版本,取值:2020-04-01。​
​
OS string 必选 示例值:Linux​
源服务器操作系统类型。取值:​
  • Linux​
  • Windows​
​
Platform string 必选 示例值:CentOS​
操作系统平台。取值:​
  • CentOS​
​
PlatformVersion string 必选 示例值:7.1​
操作系统版本号。例如:​
  • 7.1:表示CentOS 7.1操作系统​
  • Stream 8:表示CentOS Stream 8操作系统​
​
ProjectName string 可选 示例值:project_a​
迁移源所属项目。​
说明​
  • 不填默认为default项目。​
  • 请确保调用接口账号拥有传入项目使用权限。​
​
​
​
返回参数​
下方仅列出本接口特有的返回参数。更多信息请参见返回结构。​
TargetOSInfos object[] 示例值:--​
支持迁移的目标操作系统信息。​
说明​
若为空,表示源服务器不支持进行操作系统迁移。​
OS string 示例值:Linux​
支持迁移的目标操作系统类型。​
​
OSName string 示例值:VeLinux10Centos​
操作系统名称。取值:​
  • VeLinux20Centos:veLinux 2.0 CentOS 兼容版​
  • VeLinux10Centos:veLinux 1.0 CentOS 兼容版​
​
Platform string 示例值:veLinux​
支持迁移的目标操作系统平台。取值:​
  • veLinux​
​
PlatformVersion string 示例值:1.0 CentOS Compatible​
支持迁移的目标操作系统版本号。取值:​
  • 2.0 CentOS Compatible:veLinux 2.0 CentOS 兼容版​
  • 1.0 CentOS Compatible:veLinux 1.0 CentOS 兼容版​
​
​
​
​
请求示例​
​
GET /?Action=DescribeMigrationSystemSupportTypes&Version=2020-04-01&OS=Linux&Platform=CentOS&PlatformVersion=7.1 HTTP/1.1​
Host: smc.volcengineapi.com​
Region: cn-beijing​
Service: smc​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "20240711164806E040245*****",​
"Action": "DescribeMigrationSystemSupportTypes",​
"Version": "2020-04-01",​
"Service": "smc",​
"Region": "cn-beijing"​
},​
"Result": {​
"TargetOSInfos": [​
{​
"OS": "Linux",​
"Platform": "veLinux",​
"PlatformVersion": "1.0 CentOS Compatible",​
"OSName": "VeLinux10Centos"​
},​
{​
"OS": "Linux",​
"Platform": "veLinux",​
"PlatformVersion": "2.0 CentOS Compatible",​
"OSName": "VeLinux20Centos"​
}​
]​
}​
}​
​
错误码​
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。​
​
状态码​
错误码​
错误信息​
说明​
400​
InvalidProjectName.Malformed​
The specified ProjectName is malformed.​
指定的ProjectName不合法。​
400​
MissingParameter.OS​
The required parameter OS is not supplied.​
参数OS不能为空。​
400​
MissingParameter.Platform​
The required parameter Platform is not supplied.​
参数Platform不能为空。​
400​
MissingParameter.PlatformVersion​
The required parameter PlatformVersion is not supplied.​
参数PlatformVersion不能为空。​
404​
InvalidActionOrVersion​
Could not find operation %s for version %s.​
请求的接口不存在。​
500​
InternalError​
An internal error has occurred.​
内部错误,请重试。如果多次尝试失败,请提交工单。​
​
​
最近更新时间:2025.08.28 15:30:31
这个页面对您有帮助吗?
有用
有用
无用
无用