TerminateInstance

Last updated: 2019-07-22 16:53:15

1. API Description

API domain name: emr.tencentcloudapi.com.

This API terminates the specified EMR instance.

Default API request rate limit: 20 requests/sec.

2. Input Parameters

The following parameters are required for requesting this API, including action-specific parameters and common parameters. For more information about common parameters for all requests, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common parameter. The name of this API: TerminateInstance
Version Yes String Common parameter. The version of this API: 2019-01-03
Region Yes String Common parameter. For more information, see the list of regions supported by the product.
InstanceId Yes String ID of the terminated instance

3. Output Parameters

Parameter name Type Description
Result TerminateResult Termination description
RequestId String The unique ID of a request, which is required for each troubleshooting case.

4. Examples

Example 1. Terminating an Instance

Terminate the entire cluster

Input Sample Code

https://emr.tencentcloudapi.com/?Action=TerminateInstance
&InstanceId=emr-4slr7ad7
&<Common request parameter>

Output Sample Code

{
  "Response": {
    "Result": {
      "InstanceId": "emr-4slr7ad7",
      "ResourceIds": []
    },
    "RequestId": "4d701c1e-8507-47e1-8c69-a8f06a236f24"
  }
}

5. Developer Resources

API Explorer

This tool provides various capabilities such as online call, signature verification, SDK code generation, and quick API retrieval that significantly reduce the difficulty of using TencentCloud API.

SDK

TencentCloud API 3.0 integrates software development toolkits (SDKs) that support various programming languages to make it easier for you to call the APIs.

TCCLI

6. Error Codes

This API has no error codes related to business logic. For other error codes, see Common Error Codes.