Domain name for API request: emr.intl.tencentcloudapi.com.
This API is used to change the configuration of a Serverless HBase instance.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: ModifySLInstance. |
| Version | Yes | String | Common Params. The value used for this API: 2019-01-03. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. This API only supports: ap-bangkok, ap-beijing, ap-chongqing, ap-guangzhou, ap-jakarta, ap-nanjing, ap-shanghai, ap-singapore, eu-frankfurt. |
| InstanceId | Yes | String | Instance unique identifier (string). |
| Zone | Yes | String | Name of the region to be changed. |
| NodeNum | No | Integer | Target number of nodes in this region after the configuration change. The total number of nodes in all regions should be greater than or equal to 3 and less than or equal to 50. |
| ClientToken | No | String | Unique random identifier with a time-to-live of 5 minutes, which needs to be specified by the caller to prevent the client from repeatedly creating resources, for example, a9a90aa6---****-fae360632808. |
| DiskSize | No | Integer | Storage space size. It must be a multiple of 100 and cannot be smaller than the current storage space (only scale-out is allowed). Unit: GB. |
| Parameter Name | Type | Description |
|---|---|---|
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
This example shows you how to change the configuration of a Serverless HBase instance.
POST / HTTP/1.1
Host: emr.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ModifySLInstance
<Common request parameters>
{
"InstanceId": "emr-3o9tms4i",
"Zone": "ap-guangzhou-2",
"NodeNum": 2
}
{
"Response": {
"RequestId": "7837b979-fcc2-4bfb-b81b-88a532345b82"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| FailedOperation | Operation failed. |
| FailedOperation.RefundCvmFailed | Operation failed. |
| InternalError | Internal error. |
| InternalError.CamCgwError | Internal service call exception. |
| InternalError.CvmError | Internal service call exception. |
| InvalidParameter | Parameter error. |
| InvalidParameter.InvalidAppId | Invalid parameter: APPID. |
| InvalidParameter.InvalidInstanceName | Invalid cluster name. |
| InvalidParameter.InvalidNodeCount | Number of illegal nodes. |
| InvalidParameter.InvalidPaymode | Invalid payment type. |
| InvalidParameter.InvalidZone | Invalid AZ. |
| ResourceInUse.InstanceInProcess | The instance is in process. |
| ResourceNotFound.InstanceNotFound | The instance cannot be found. |
| ResourceUnavailable.ResourceSpecNotExist | The resource specifications do not exist. |
| UnauthorizedOperation.CheckCamAuth | No permission to verify account operations. |
| UnsupportedOperation.ServiceNotSupport | This service does not support this operation. |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan