Skip to main content Link Menu Expand (external link) Document Search Copy Copied

ReinstallULHostInstance

Introduction

Reinstall the lightweight application cloud host

Instructions

You can choose any of the following methods to initiate an API request:

Multilingual OpenSDK / Java /

CloudShell cloud command line

Definition

Common parameter

Parameter name Type   Required
Action string The corresponding API instruction name, the current API is ReinstallULHostInstance Yes
PublicKey string The user’s public key, available from Console fetch Yes
Signature string According to the public key and API The user signature generated by the directive is found in Signature algorithm Yes

Request parameter

Parameter Name Type Description Required
Region string See List of Regions and Availability Zones Yes
ProjectId string Project ID (example: org-04ibqy), This field, by default, is empty and is only required when the account is a Sub-Account Please refer to GetProjectList interface No
ImageId string Image Id. Reinstallation using a custom image is not currently supported Yes
ULHostId string ULHost instance ID Yes
Password string Login password Yes

Response field

Field Name Type Description Required
RetCode int Return status code, if it is 0, it returns successfully, if it is not 0, it fails Yes
Action string Action command name Yes
Message string Returns an error message, and provides detailed description information when RetCode is not 0 No
ULHostId string ULHost instance ID Yes

Example

Example request

https://api.scloud.sg?Action=ReinstallULHostInstance
&Region=vn-sng
&ProjectId=bxzxgGNK
&ImageId=LbGXPEzb
&ULHostId=ntKQcCyG
&Password=bqXEssJc
&ReserveDisk=GDwLvMMA

Example response

{
  "Action": "ReinstallULHostInstanceResponse",
  "Message": "gQIoyMie",
  "RetCode": 0,
  "ULHostId": "eqcGTPgz"
}