API接口
重装算力平台实例-ReinstallCompShareInstance

重装算力平台实例-ReinstallCompShareInstance

重装算力平台实例

Request Parameters

Parameter nameTypeDescriptionRequired
Regionstring地域。 cn-wlcbYes
Zonestring可用区。cn-wlcb-01Yes
ProjectIdstring项目ID。不填写为默认项目,子帐号必须填写。 请参考GetProjectList接口 (opens in a new tab)No
UHostIdstring实例IdYes
CompShareImageIdstring镜像IdYes
Passwordstring实例的新密码No

Response Elements

Parameter nameTypeDescriptionRequired
RetCodeint返回码Yes
Actionstring操作名称Yes
UHostIdstring实例IdYes

Request Example

https://api.compshare.cn/?Action=ReinstallCompShareInstance
&Region=cn-zj
&Zone=cn-zj-01
&ProjectId=vQBurWEY
&UHostId=YNAiIZEC
&CompShareImageId=lXjZDcTq
&Password=FtKctudQ

Response Example

{
    "Action": "ReinstallCompShareInstanceResponse", 
    "UHostId": "YHksHalJ", 
    "RetCode": 0
}
Copyright © 2025 沪ICP备12020087号-61