Domain name for API request: redis.intl.tencentcloudapi.com.
This API is used to query information related to backup encryption for an instance, including the enabled status and encryption keys.
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: DescribeBackupEncryptConfig. |
| Version | Yes | String | Common Params. The value used for this API: 2018-04-12. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| InstanceId | Yes | String | Instance ID. Log in to the Redis console and copy it from the instance list. |
| Parameter Name | Type | Description |
|---|---|---|
| BackupEncrypt | Boolean | Whether the backup is encrypted or not Enumeration value:
|
| EncryptKeyType | Integer | Encryption key type. Enumeration value:
|
| KmsKeyId | String | Key ID of KMS. Parameter format: xxxxxxx-xxxx-xxxx-xxxx-xxxxxxx |
| KmsRegion | String | KMS regional information. Parameter format: ap-xxxx |
| 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. |
POST / HTTP/1.1
Host: redis.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeBackupEncryptConfig
<Common request parameters>
{
"InstanceId": "crs-lpj0rplv"
}
{
"Response": {
"BackupEncrypt": true,
"EncryptKeyType": 0,
"KmsKeyId": "b2f531ee-59a6-11f1-b8b2-5254008764f7",
"KmsRegion": "ap-guangzhou",
"RequestId": "e15c50dc-2147-4c6d-adb1-6a3d7c3cf9dc"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
There is no error code related to the API business logic. For other error codes, please see Common Error Codes.
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan