Domain name for API request: emr.intl.tencentcloudapi.com.
This API is used to query basic information 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: DescribeSLInstance. |
| 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). |
| Parameter Name | Type | Description |
|---|---|---|
| InstanceId | String | Character string identifier of the instance. |
| InstanceName | String | Instance name. |
| PayMode | Integer | Instance billing mode. Valid values: 0 (postpaid, that is, pay-as-you-go) and 1 (prepaid, that is, yearly/monthly subscription). |
| DiskType | String | Instance storage type. |
| DiskSize | Integer | Instance single-node disk capacity (GB). |
| NodeType | String | Instance node specifications. |
| ZoneSettings | Array of ZoneSetting | Detailed configuration of the instance AZ, including the AZ name, VPC information, and number of nodes. |
| Tags | Array of Tag | List of tags bound to the instance. |
| ClusterId | Integer | Numeric identifier of the instance. |
| RegionId | Integer | Instance region ID. |
| Zone | String | Primary AZ of the instance. |
| ExpireTime | String | Instance expiration time. For postpaid instances, 0000-00-00 00:00:00 is returned. |
| IsolateTime | String | Instance isolation time. For instances that are not isolated, 0000-00-00 00:00:00 is returned. |
| CreateTime | String | Instance creation time. |
| Status | Integer | Instance status code. Valid values: -2 ("TERMINATED"), 2 ("RUNNING"), 14 ("TERMINATING"), 19 ("ISOLATING"), 22 ("ADJUSTING"), and 201 ("ISOLATED"). |
| AutoRenewFlag | Integer | Auto-renewal flag. Valid values: 0 (notifies before expiration but does not trigger auto-renewal), 1 (notifies before expiration and triggers auto-renewal), and 2 (does not notify before expiration and does not trigger auto-renewal). If the business does not support renewal, the value is 0. |
| NodeNum | Integer | Total number of instance nodes. |
| SLInstance | Array of SLInstance | Serverless Instance infomation |
| 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 query Serverless HBase instance information.
POST / HTTP/1.1
Host: emr.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeSLInstance
<Common request parameters>
{
"InstanceId": "emr-3o9tms4i"
}
{
"Response": {
"DiskSize": 100,
"DiskType": "Premium Disk",
"InstanceName": "sl-haoyuhua-test-create",
"NodeType": "4C16G",
"PayMode": 0,
"RequestId": "a316989f-9316-4205-a2a3-64ab841aee14",
"ZoneSettings": [
{
"NodeNum": 1,
"VPCSettings": {
"SubnetId": "subnet-5bhc4kly",
"VpcId": "vpc-dcfhrh73"
},
"Zone": "ap-guangzhou-2"
},
{
"NodeNum": 1,
"VPCSettings": {
"SubnetId": "subnet-5bhc4kly",
"VpcId": "vpc-dcfhrh73"
},
"Zone": "ap-guangzhou-2"
},
{
"NodeNum": 1,
"VPCSettings": {
"SubnetId": "subnet-5bhc4kly",
"VpcId": "vpc-dcfhrh73"
},
"Zone": "ap-guangzhou-2"
}
]
}
}
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.InvalidClusterId | Invalid parameter: ClusterId. |
| InvalidParameter.InvalidInstanceName | Invalid cluster name. |
| InvalidParameter.InvalidZone | Invalid AZ. |
| 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. |
フィードバック