Domain name for API request: dcdb.tencentcloudapi.com.
This API is used to isolate a pay-as-you-go TDSQL 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: IsolateHourDCDBInstance. |
Version | Yes | String | Common Params. The value used for this API: 2018-04-11. |
Region | No | String | Common Params. This parameter is not required for this API. |
InstanceIds.N | Yes | Array of String | ID list of the instances to be upgraded in the format of dcdbt-ow728lmc , which can be obtained through the DescribeDCDBInstances API. |
Parameter Name | Type | Description |
---|---|---|
SuccessInstanceIds | Array of String | IDs of isolated instances |
FailedInstanceIds | Array of String | IDs of instances failed to be isolated |
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 isolate a pay-as-you-go TDSQL instance.
POST / HTTP/1.1Host: dcdb.tencentcloudapi.comContent-Type: application/jsonX-TC-Action: IsolateHourDCDBInstance<common request parameters>{ "InstanceIds": [ "dcdbt-21dfpcv1" ]}
{
"Response": {
"FailedInstanceIds": [],
"RequestId": "204d03dc-2308-45e0-8ef8-aed2b3254e13",
"SuccessInstanceIds": [
"dcdbt-21dfpcv1"
]
}
}
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 |
---|---|
InvalidParameter | Parameter error. |
InvalidParameter.InstanceNotFound | Failed to find the requested instance. |
ResourceNotFound.NoInstanceFound | The specified database instance was not found. |
UnauthorizedOperation.PermissionDenied | You have no permission to manipulate this API or resource. |
Was this page helpful?