tencent cloud

弹性 MapReduce

ModifySLInstance

下载
聚焦模式
字号
最后更新时间: 2026-10-10 14:58:06

1. API Description

Domain name for API request: emr.intl.tencentcloudapi.com.

This API is used to change the configuration of a Serverless HBase instance.

  • This API is successfully called, and a Serverless HBase instance is created. If the instance creation request succeeds, RequestID of the request is 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 the DescribeInstancesList API, and the StatusDesc field for the current instance can be returned.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

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.

3. Output Parameters

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.

4. Example

Example1 Changing the Configuration of a Serverless HBase Instance

This example shows you how to change the configuration of a Serverless HBase instance.

Input Example

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
}

Output Example

{
    "Response": {
        "RequestId": "7837b979-fcc2-4bfb-b81b-88a532345b82"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

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.

帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈