Domain name for API request: emr.intl.tencentcloudapi.com.
This API is used to resize a Serverless HBase instance.- If the API call is successful, a Serverless HBase instance will be created. If the instance creation request is successful, the RequestID of the request will be returned.- This is an asynchronous API. The operation is not completed immediately when the API call returns. The instance operation result can be viewed by calling DescribeInstancesList to view the StatusDesc status of the current 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-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 | Region name to be changed. |
| NodeNum | Yes | Integer | Target node count after configuration change in this region. The total number of nodes across all regions should be greater than or equal to 3 and less than or equal to 50. |
| ClientToken | No | String | The unique random identifier with a time efficiency of 5 minutes, which needs to be specified by the caller to prevent the client from creating resources repeatedly. For example: a9a90aa6---****-fae360632808. |
| 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 resize 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-6",
"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 | An error occurred while calling another service API. |
| InternalError.CvmError | An error occurred while calling another service API. |
| InvalidParameter | Invalid parameter. |
| InvalidParameter.InvalidAppId | Invalid AppId. |
| InvalidParameter.InvalidInstanceName | Invalid cluster name. |
| InvalidParameter.InvalidNodeCount | Illegal node count. |
| InvalidParameter.InvalidPaymode | Invalid billing mode. |
| InvalidParameter.InvalidZone | Invalid AZ. |
| ResourceInUse.InstanceInProcess | The instance is under workflow. |
| ResourceNotFound.InstanceNotFound | The instance was not found. |
| ResourceUnavailable.ResourceSpecNotExist | The resource specification does not exist. |
| UnauthorizedOperation.CheckCamAuth | Unauthorized operation. |
| UnsupportedOperation.ServiceNotSupport | This operation is not supported. |
Feedback