StartULHostInstance
Introduction
Start the ULightHost instance that is in shutdown state.
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 StartULHostInstance | 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 |
ULHostId | string | ULHost instance ID | 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=StartULHostInstance
&Region=osJhEaIz
&Zone=gXiEooEt
&ProjectId=tCennAdr
&UHostId=nDaCwZRX
&DiskPassword=iVbfdWkm
Example response
{
"Action": "StartULHostInstanceResponse",
"RetCode": 0,
"UHostId": "bfinAcwk"
}