PowerOffULHostInstance
Introduction
Power off the UHost instance directly without waiting for the instance to shut down normally.
This operation may affect data integrity or cause file system corruption
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 PoweroffULHostInstance | 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=PoweroffULHostInstance
&Region=vn-sng
&ProjectId=BZmWNsrK
&ULHostId=lPIOgyow
Example response
{
"Action": "PoweroffULHostInstanceResponse",
"RetCode": 0,
"ULHostId": "KDjfmgFz"
}