tencentcloud-sdk-nodejs 4.0.590 → 4.0.592
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +447 -0
- package/SERVICE_CHANGELOG.md +401 -192
- package/package.json +1 -1
- package/products.md +23 -23
- package/src/common/sdk_version.ts +1 -1
- package/src/services/asr/v20190614/asr_models.ts +4 -4
- package/src/services/bma/v20221115/bma_models.ts +12 -1
- package/src/services/cdn/v20180606/cdn_models.ts +21 -11
- package/src/services/cfw/v20190904/cfw_models.ts +12 -6
- package/src/services/cpdp/v20190820/cpdp_client.ts +27 -1
- package/src/services/cpdp/v20190820/cpdp_models.ts +273 -22
- package/src/services/dasb/v20191018/dasb_models.ts +146 -7
- package/src/services/ess/v20201111/ess_client.ts +11 -5
- package/src/services/ess/v20201111/ess_models.ts +6 -5
- package/src/services/essbasic/v20210526/essbasic_client.ts +9 -2
- package/src/services/kms/v20190118/kms_client.ts +48 -0
- package/src/services/kms/v20190118/kms_models.ts +141 -0
- package/src/services/live/v20180801/live_models.ts +7 -2
- package/src/services/mps/v20190612/mps_models.ts +6 -1
- package/src/services/redis/v20180412/redis_client.ts +2 -2
- package/src/services/redis/v20180412/redis_models.ts +24 -19
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +13 -13
- package/src/services/teo/v20220901/teo_models.ts +5 -1
- package/src/services/thpc/v20230321/thpc_client.ts +13 -0
- package/src/services/thpc/v20230321/thpc_models.ts +61 -2
- package/src/services/vod/v20180717/vod_models.ts +8 -2
- package/src/services/vpc/v20170312/vpc_models.ts +21 -1
- package/src/services/waf/v20180125/waf_models.ts +26 -8
- package/src/services/wedata/v20210820/wedata_client.ts +24 -11
- package/src/services/wedata/v20210820/wedata_models.ts +225 -73
- package/src/services/yinsuda/v20220527/yinsuda_models.ts +23 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +4 -4
- package/tencentcloud/services/bma/v20221115/bma_models.d.ts +10 -1
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +20 -11
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +11 -6
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +9 -1
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +12 -0
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +231 -18
- package/tencentcloud/services/dasb/v20191018/dasb_models.d.ts +123 -7
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +11 -5
- package/tencentcloud/services/ess/v20201111/ess_client.js +11 -5
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +5 -4
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +9 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +9 -2
- package/tencentcloud/services/kms/v20190118/kms_client.d.ts +17 -1
- package/tencentcloud/services/kms/v20190118/kms_client.js +24 -0
- package/tencentcloud/services/kms/v20190118/kms_models.d.ts +121 -0
- package/tencentcloud/services/live/v20180801/live_models.d.ts +6 -2
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +5 -1
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +2 -2
- package/tencentcloud/services/redis/v20180412/redis_client.js +2 -2
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +21 -16
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +13 -13
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +4 -1
- package/tencentcloud/services/thpc/v20230321/thpc_client.d.ts +5 -1
- package/tencentcloud/services/thpc/v20230321/thpc_client.js +6 -0
- package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +53 -2
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +7 -2
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +17 -1
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +22 -7
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +8 -4
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +10 -4
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +190 -65
- package/tencentcloud/services/yinsuda/v20220527/yinsuda_models.d.ts +20 -2
- package/test/cpdp.v20190820.test.js +20 -0
- package/test/kms.v20190118.test.js +40 -0
- package/test/thpc.v20230321.test.js +10 -0
- package/test/wedata.v20210820.test.js +12 -2
|
@@ -77,7 +77,7 @@ callbackinfo包含: 回调地址和签名key
|
|
|
77
77
|
return this.request("DescribeFileUrls", req, cb);
|
|
78
78
|
}
|
|
79
79
|
/**
|
|
80
|
-
*
|
|
80
|
+
* 企业方可以通过此接口获取个人用户开启自动签的跳转链接(处方单场景专用,使用此接口请与客户经理确认)
|
|
81
81
|
*/
|
|
82
82
|
async CreateUserAutoSignEnableUrl(req, cb) {
|
|
83
83
|
return this.request("CreateUserAutoSignEnableUrl", req, cb);
|
|
@@ -116,7 +116,7 @@ callbackinfo包含: 回调地址和签名key
|
|
|
116
116
|
return this.request("BindEmployeeUserIdWithClientOpenId", req, cb);
|
|
117
117
|
}
|
|
118
118
|
/**
|
|
119
|
-
* 本接口(CreatePreparedPersonalEsign
|
|
119
|
+
* 本接口(CreatePreparedPersonalEsign)用于创建导入个人印章(处方单场景专用,在开通个人自动签之后调用,使用此接口请与客户经理确认)。
|
|
120
120
|
*/
|
|
121
121
|
async CreatePreparedPersonalEsign(req, cb) {
|
|
122
122
|
return this.request("CreatePreparedPersonalEsign", req, cb);
|
|
@@ -132,7 +132,7 @@ callbackinfo包含: 回调地址和签名key
|
|
|
132
132
|
return this.request("CreateFlowApprovers", req, cb);
|
|
133
133
|
}
|
|
134
134
|
/**
|
|
135
|
-
*
|
|
135
|
+
* 企业方可以通过此接口关闭个人的自动签功能(处方单场景专用,使用此接口请与客户经理确认)
|
|
136
136
|
*/
|
|
137
137
|
async DisableUserAutoSign(req, cb) {
|
|
138
138
|
return this.request("DisableUserAutoSign", req, cb);
|
|
@@ -197,7 +197,7 @@ callbackinfo包含: 回调地址和签名key
|
|
|
197
197
|
return this.request("CreateReleaseFlow", req, cb);
|
|
198
198
|
}
|
|
199
199
|
/**
|
|
200
|
-
*
|
|
200
|
+
* 企业方可以通过此接口查询个人用户自动签开启状态。(处方单场景专用,使用此接口请与客户经理确认)
|
|
201
201
|
*/
|
|
202
202
|
async DescribeUserAutoSignStatus(req, cb) {
|
|
203
203
|
return this.request("DescribeUserAutoSignStatus", req, cb);
|
|
@@ -226,7 +226,13 @@ callbackinfo包含: 回调地址和签名key
|
|
|
226
226
|
/**
|
|
227
227
|
* 此接口(CreateMultiFlowSignQRCode)用于创建一码多扫流程签署二维码。
|
|
228
228
|
适用场景:无需填写签署人信息,可通过模板id生成签署二维码,签署人可通过扫描二维码补充签署信息进行实名签署。常用于提前不知道签署人的身份信息场景,例如:劳务工招工、大批量员工入职等场景。
|
|
229
|
-
|
|
229
|
+
|
|
230
|
+
**本接口适用于发起方没有填写控件的 B2C或者单C模板**
|
|
231
|
+
|
|
232
|
+
**若是B2C模板,还要满足以下任意一个条件**
|
|
233
|
+
- 模板中配置的签署顺序是无序
|
|
234
|
+
- B端企业的签署方式是静默签署
|
|
235
|
+
- B端企业是非首位签署
|
|
230
236
|
*/
|
|
231
237
|
async CreateMultiFlowSignQRCode(req, cb) {
|
|
232
238
|
return this.request("CreateMultiFlowSignQRCode", req, cb);
|
|
@@ -204,11 +204,11 @@ HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证(格式同居民身份证)
|
|
|
204
204
|
*/
|
|
205
205
|
NotifyType?: string;
|
|
206
206
|
/**
|
|
207
|
-
*
|
|
207
|
+
* 合同强制需要阅读全文,无需传此参数
|
|
208
208
|
*/
|
|
209
209
|
IsFullText?: boolean;
|
|
210
210
|
/**
|
|
211
|
-
*
|
|
211
|
+
* 合同的强制预览时间:3~300s,未指定则按合同页数计算
|
|
212
212
|
*/
|
|
213
213
|
PreReadTime?: number;
|
|
214
214
|
/**
|
|
@@ -1748,7 +1748,8 @@ export interface CreateFlowEvidenceReportResponse {
|
|
|
1748
1748
|
*/
|
|
1749
1749
|
export interface DescribeFileUrlsResponse {
|
|
1750
1750
|
/**
|
|
1751
|
-
* URL
|
|
1751
|
+
* 文件URL信息;
|
|
1752
|
+
链接不是永久链接,有效期5分钟后链接失效。
|
|
1752
1753
|
*/
|
|
1753
1754
|
FileUrls?: Array<FileUrl>;
|
|
1754
1755
|
/**
|
|
@@ -2468,7 +2469,7 @@ E_PRESCRIPTION_AUTO_SIGN 电子处方
|
|
|
2468
2469
|
*/
|
|
2469
2470
|
UrlType?: string;
|
|
2470
2471
|
/**
|
|
2471
|
-
* 通知类型,默认不填为不通知开通方,填写 SMS
|
|
2472
|
+
* 通知类型,默认不填为不通知开通方,填写 SMS 为短信通知。
|
|
2472
2473
|
*/
|
|
2473
2474
|
NotifyType?: string;
|
|
2474
2475
|
/**
|
|
@@ -19,8 +19,15 @@ export declare class Client extends AbstractClient {
|
|
|
19
19
|
*/
|
|
20
20
|
ChannelCreateFlowSignReview(req: ChannelCreateFlowSignReviewRequest, cb?: (error: string, rep: ChannelCreateFlowSignReviewResponse) => void): Promise<ChannelCreateFlowSignReviewResponse>;
|
|
21
21
|
/**
|
|
22
|
-
* 此接口(ChannelCreateMultiFlowSignQRCode
|
|
23
|
-
|
|
22
|
+
* 此接口(ChannelCreateMultiFlowSignQRCode)用于创建一码多扫流程签署二维码。 适用场景:无需填写签署人信息,可通过模板id生成签署二维码,签署人可通过扫描二维码补充签署信息进行实名签署。常用于提前不知道签署人的身份信息场景,例如:劳务工招工、大批量员工入职等场景。
|
|
23
|
+
|
|
24
|
+
**本接口适用于发起方没有填写控件的 B2C或者单C模板**
|
|
25
|
+
|
|
26
|
+
**若是B2C模板,还要满足以下任意一个条件**
|
|
27
|
+
|
|
28
|
+
- 模板中配置的签署顺序是无序
|
|
29
|
+
- B端企业的签署方式是静默签署
|
|
30
|
+
- B端企业是非首位签署
|
|
24
31
|
*/
|
|
25
32
|
ChannelCreateMultiFlowSignQRCode(req: ChannelCreateMultiFlowSignQRCodeRequest, cb?: (error: string, rep: ChannelCreateMultiFlowSignQRCodeResponse) => void): Promise<ChannelCreateMultiFlowSignQRCodeResponse>;
|
|
26
33
|
/**
|
|
@@ -43,8 +43,15 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
43
43
|
return this.request("ChannelCreateFlowSignReview", req, cb);
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
|
-
* 此接口(ChannelCreateMultiFlowSignQRCode
|
|
47
|
-
|
|
46
|
+
* 此接口(ChannelCreateMultiFlowSignQRCode)用于创建一码多扫流程签署二维码。 适用场景:无需填写签署人信息,可通过模板id生成签署二维码,签署人可通过扫描二维码补充签署信息进行实名签署。常用于提前不知道签署人的身份信息场景,例如:劳务工招工、大批量员工入职等场景。
|
|
47
|
+
|
|
48
|
+
**本接口适用于发起方没有填写控件的 B2C或者单C模板**
|
|
49
|
+
|
|
50
|
+
**若是B2C模板,还要满足以下任意一个条件**
|
|
51
|
+
|
|
52
|
+
- 模板中配置的签署顺序是无序
|
|
53
|
+
- B端企业的签署方式是静默签署
|
|
54
|
+
- B端企业是非首位签署
|
|
48
55
|
*/
|
|
49
56
|
async ChannelCreateMultiFlowSignQRCode(req, cb) {
|
|
50
57
|
return this.request("ChannelCreateMultiFlowSignQRCode", req, cb);
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { UpdateAliasRequest, EnableWhiteBoxKeyRequest, AsymmetricRsaDecryptRequest, EnableKeyRotationRequest, DescribeWhiteBoxKeyDetailsResponse, CreateKeyRequest, DisableWhiteBoxKeyResponse, DisableKeyResponse, DescribeWhiteBoxServiceStatusRequest, VerifyByAsymmetricKeyRequest, DescribeKeyRequest, ListAlgorithmsResponse, DisableKeysResponse, DescribeWhiteBoxKeyResponse, UpdateKeyDescriptionResponse, DescribeWhiteBoxServiceStatusResponse, ImportKeyMaterialRequest, EnableKeyRequest, GetKeyRotationStatusRequest, ListAlgorithmsRequest, ListKeyDetailResponse, GenerateDataKeyRequest, UpdateAliasResponse, ScheduleKeyDeletionResponse, GenerateRandomResponse, DescribeKeysRequest, GetPublicKeyRequest, GetServiceStatusRequest, EnableWhiteBoxKeysResponse, ArchiveKeyResponse, VerifyByAsymmetricKeyResponse, DescribeWhiteBoxKeyRequest, GetParametersForImportResponse, DecryptResponse, CreateWhiteBoxKeyResponse, DeleteImportedKeyMaterialResponse, EnableKeysRequest, EnableWhiteBoxKeysRequest, EncryptByWhiteBoxResponse, DescribeKeysResponse, EnableWhiteBoxKeyResponse, ReEncryptRequest, ListKeysResponse, AsymmetricSm2DecryptResponse, DisableKeyRotationResponse, DisableWhiteBoxKeysRequest, ListKeyDetailRequest, DeleteWhiteBoxKeyRequest, GetRegionsResponse, GenerateDataKeyResponse, CreateWhiteBoxKeyRequest, OverwriteWhiteBoxDeviceFingerprintsResponse, DisableWhiteBoxKeysResponse, ArchiveKeyRequest, GetParametersForImportRequest, CreateKeyResponse, ReEncryptResponse, EncryptResponse, CancelKeyDeletionRequest, DeleteImportedKeyMaterialRequest, EnableKeyResponse, GetServiceStatusResponse, GetKeyRotationStatusResponse, EncryptRequest, AsymmetricSm2DecryptRequest, DeleteWhiteBoxKeyResponse, ListKeysRequest, DescribeWhiteBoxDecryptKeyRequest, CancelKeyArchiveResponse, DecryptRequest, DescribeWhiteBoxKeyDetailsRequest, AsymmetricRsaDecryptResponse, CancelKeyDeletionResponse, DisableKeysRequest, DisableWhiteBoxKeyRequest, UnbindCloudResourceRequest, OverwriteWhiteBoxDeviceFingerprintsRequest, EnableKeyRotationResponse, BindCloudResourceResponse, EnableKeysResponse, SignByAsymmetricKeyRequest, DescribeWhiteBoxDeviceFingerprintsRequest, GetRegionsRequest, EncryptByWhiteBoxRequest, GenerateRandomRequest, ScheduleKeyDeletionRequest, DisableKeyRequest, ImportKeyMaterialResponse, GetPublicKeyResponse, BindCloudResourceRequest, SignByAsymmetricKeyResponse, DescribeWhiteBoxDecryptKeyResponse, DescribeWhiteBoxDeviceFingerprintsResponse, UpdateKeyDescriptionRequest, UnbindCloudResourceResponse, DescribeKeyResponse, CancelKeyArchiveRequest, DisableKeyRotationRequest } from "./kms_models";
|
|
3
|
+
import { UpdateAliasRequest, EnableWhiteBoxKeyRequest, AsymmetricRsaDecryptRequest, EnableKeyRotationRequest, DescribeWhiteBoxKeyDetailsResponse, CreateKeyRequest, DisableWhiteBoxKeyResponse, DisableKeyResponse, DescribeWhiteBoxServiceStatusRequest, VerifyByAsymmetricKeyRequest, DescribeKeyRequest, ListAlgorithmsResponse, DisableKeysResponse, DescribeWhiteBoxKeyResponse, UpdateKeyDescriptionResponse, DescribeWhiteBoxServiceStatusResponse, ImportKeyMaterialRequest, EnableKeyRequest, GetKeyRotationStatusRequest, ListAlgorithmsRequest, ListKeyDetailResponse, GenerateDataKeyRequest, UpdateAliasResponse, ScheduleKeyDeletionResponse, PostQuantumCryptoVerifyRequest, GenerateRandomResponse, DescribeKeysRequest, GetPublicKeyRequest, GetServiceStatusRequest, EnableWhiteBoxKeysResponse, ArchiveKeyResponse, VerifyByAsymmetricKeyResponse, DescribeWhiteBoxKeyRequest, GetParametersForImportResponse, DecryptResponse, CreateWhiteBoxKeyResponse, DeleteImportedKeyMaterialResponse, EnableKeysRequest, EnableWhiteBoxKeysRequest, EncryptByWhiteBoxResponse, DescribeKeysResponse, EnableWhiteBoxKeyResponse, ReEncryptRequest, ListKeysResponse, AsymmetricSm2DecryptResponse, DisableKeyRotationResponse, DisableWhiteBoxKeysRequest, ListKeyDetailRequest, DeleteWhiteBoxKeyRequest, GetRegionsResponse, GenerateDataKeyResponse, CreateWhiteBoxKeyRequest, OverwriteWhiteBoxDeviceFingerprintsResponse, DisableWhiteBoxKeysResponse, ArchiveKeyRequest, GetParametersForImportRequest, CreateKeyResponse, ReEncryptResponse, EncryptResponse, CancelKeyDeletionRequest, DeleteImportedKeyMaterialRequest, EnableKeyResponse, GetServiceStatusResponse, GetKeyRotationStatusResponse, EncryptRequest, AsymmetricSm2DecryptRequest, DeleteWhiteBoxKeyResponse, ListKeysRequest, DescribeWhiteBoxDecryptKeyRequest, CancelKeyArchiveResponse, DecryptRequest, DescribeWhiteBoxKeyDetailsRequest, PostQuantumCryptoSignRequest, PostQuantumCryptoDecryptRequest, AsymmetricRsaDecryptResponse, CancelKeyDeletionResponse, DisableKeysRequest, DisableWhiteBoxKeyRequest, UnbindCloudResourceRequest, OverwriteWhiteBoxDeviceFingerprintsRequest, EnableKeyRotationResponse, BindCloudResourceResponse, EnableKeysResponse, SignByAsymmetricKeyRequest, DescribeWhiteBoxDeviceFingerprintsRequest, GetRegionsRequest, PostQuantumCryptoEncryptResponse, EncryptByWhiteBoxRequest, GenerateRandomRequest, ScheduleKeyDeletionRequest, PostQuantumCryptoEncryptRequest, DisableKeyRequest, ImportKeyMaterialResponse, GetPublicKeyResponse, BindCloudResourceRequest, PostQuantumCryptoSignResponse, SignByAsymmetricKeyResponse, PostQuantumCryptoVerifyResponse, DescribeWhiteBoxDecryptKeyResponse, DescribeWhiteBoxDeviceFingerprintsResponse, PostQuantumCryptoDecryptResponse, UpdateKeyDescriptionRequest, UnbindCloudResourceResponse, DescribeKeyResponse, CancelKeyArchiveRequest, DisableKeyRotationRequest } from "./kms_models";
|
|
4
4
|
/**
|
|
5
5
|
* kms client
|
|
6
6
|
* @class
|
|
7
7
|
*/
|
|
8
8
|
export declare class Client extends AbstractClient {
|
|
9
9
|
constructor(clientConfig: ClientConfig);
|
|
10
|
+
/**
|
|
11
|
+
* 使用后量子密码算法密钥对签名进行验证。
|
|
12
|
+
*/
|
|
13
|
+
PostQuantumCryptoVerify(req: PostQuantumCryptoVerifyRequest, cb?: (error: string, rep: PostQuantumCryptoVerifyResponse) => void): Promise<PostQuantumCryptoVerifyResponse>;
|
|
10
14
|
/**
|
|
11
15
|
* 本接口用于加密最多为4KB任意数据,可用于加密数据库密码,RSA Key,或其它较小的敏感信息。对于应用的数据加密,使用GenerateDataKey生成的DataKey进行本地数据的加解密操作
|
|
12
16
|
*/
|
|
@@ -101,6 +105,10 @@ export declare class Client extends AbstractClient {
|
|
|
101
105
|
* 随机数生成接口。
|
|
102
106
|
*/
|
|
103
107
|
GenerateRandom(req: GenerateRandomRequest, cb?: (error: string, rep: GenerateRandomResponse) => void): Promise<GenerateRandomResponse>;
|
|
108
|
+
/**
|
|
109
|
+
* 本接口使用后量子密码算法密钥,解密密文,并得到明文数据。
|
|
110
|
+
*/
|
|
111
|
+
PostQuantumCryptoDecrypt(req: PostQuantumCryptoDecryptRequest, cb?: (error: string, rep: PostQuantumCryptoDecryptResponse) => void): Promise<PostQuantumCryptoDecryptResponse>;
|
|
104
112
|
/**
|
|
105
113
|
* 覆盖指定密钥的设备指纹信息
|
|
106
114
|
*/
|
|
@@ -165,6 +173,10 @@ export declare class Client extends AbstractClient {
|
|
|
165
173
|
* 创建白盒密钥。 密钥个数的上限为 50。
|
|
166
174
|
*/
|
|
167
175
|
CreateWhiteBoxKey(req: CreateWhiteBoxKeyRequest, cb?: (error: string, rep: CreateWhiteBoxKeyResponse) => void): Promise<CreateWhiteBoxKeyResponse>;
|
|
176
|
+
/**
|
|
177
|
+
* 本接口使用后量子密码算法密钥,可加密最多为4KB任意数据,可用于加密数据库密码,RSA Key,或其它较小的敏感信息。对于应用的数据加密,使用GenerateDataKey生成的DataKey进行本地数据的加解密操作。
|
|
178
|
+
*/
|
|
179
|
+
PostQuantumCryptoEncrypt(req: PostQuantumCryptoEncryptRequest, cb?: (error: string, rep: PostQuantumCryptoEncryptResponse) => void): Promise<PostQuantumCryptoEncryptResponse>;
|
|
168
180
|
/**
|
|
169
181
|
* 启用白盒密钥
|
|
170
182
|
*/
|
|
@@ -197,6 +209,10 @@ export declare class Client extends AbstractClient {
|
|
|
197
209
|
* 获取白盒解密密钥
|
|
198
210
|
*/
|
|
199
211
|
DescribeWhiteBoxDecryptKey(req: DescribeWhiteBoxDecryptKeyRequest, cb?: (error: string, rep: DescribeWhiteBoxDecryptKeyResponse) => void): Promise<DescribeWhiteBoxDecryptKeyResponse>;
|
|
212
|
+
/**
|
|
213
|
+
* 使用后量子密码算法签名验签密钥进行签名。
|
|
214
|
+
*/
|
|
215
|
+
PostQuantumCryptoSign(req: PostQuantumCryptoSignRequest, cb?: (error: string, rep: PostQuantumCryptoSignResponse) => void): Promise<PostQuantumCryptoSignResponse>;
|
|
200
216
|
/**
|
|
201
217
|
* 获取可以提供KMS服务的地域列表
|
|
202
218
|
*/
|
|
@@ -27,6 +27,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
27
27
|
constructor(clientConfig) {
|
|
28
28
|
super("kms.tencentcloudapi.com", "2019-01-18", clientConfig);
|
|
29
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* 使用后量子密码算法密钥对签名进行验证。
|
|
32
|
+
*/
|
|
33
|
+
async PostQuantumCryptoVerify(req, cb) {
|
|
34
|
+
return this.request("PostQuantumCryptoVerify", req, cb);
|
|
35
|
+
}
|
|
30
36
|
/**
|
|
31
37
|
* 本接口用于加密最多为4KB任意数据,可用于加密数据库密码,RSA Key,或其它较小的敏感信息。对于应用的数据加密,使用GenerateDataKey生成的DataKey进行本地数据的加解密操作
|
|
32
38
|
*/
|
|
@@ -167,6 +173,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
167
173
|
async GenerateRandom(req, cb) {
|
|
168
174
|
return this.request("GenerateRandom", req, cb);
|
|
169
175
|
}
|
|
176
|
+
/**
|
|
177
|
+
* 本接口使用后量子密码算法密钥,解密密文,并得到明文数据。
|
|
178
|
+
*/
|
|
179
|
+
async PostQuantumCryptoDecrypt(req, cb) {
|
|
180
|
+
return this.request("PostQuantumCryptoDecrypt", req, cb);
|
|
181
|
+
}
|
|
170
182
|
/**
|
|
171
183
|
* 覆盖指定密钥的设备指纹信息
|
|
172
184
|
*/
|
|
@@ -263,6 +275,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
263
275
|
async CreateWhiteBoxKey(req, cb) {
|
|
264
276
|
return this.request("CreateWhiteBoxKey", req, cb);
|
|
265
277
|
}
|
|
278
|
+
/**
|
|
279
|
+
* 本接口使用后量子密码算法密钥,可加密最多为4KB任意数据,可用于加密数据库密码,RSA Key,或其它较小的敏感信息。对于应用的数据加密,使用GenerateDataKey生成的DataKey进行本地数据的加解密操作。
|
|
280
|
+
*/
|
|
281
|
+
async PostQuantumCryptoEncrypt(req, cb) {
|
|
282
|
+
return this.request("PostQuantumCryptoEncrypt", req, cb);
|
|
283
|
+
}
|
|
266
284
|
/**
|
|
267
285
|
* 启用白盒密钥
|
|
268
286
|
*/
|
|
@@ -311,6 +329,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
311
329
|
async DescribeWhiteBoxDecryptKey(req, cb) {
|
|
312
330
|
return this.request("DescribeWhiteBoxDecryptKey", req, cb);
|
|
313
331
|
}
|
|
332
|
+
/**
|
|
333
|
+
* 使用后量子密码算法签名验签密钥进行签名。
|
|
334
|
+
*/
|
|
335
|
+
async PostQuantumCryptoSign(req, cb) {
|
|
336
|
+
return this.request("PostQuantumCryptoSign", req, cb);
|
|
337
|
+
}
|
|
314
338
|
/**
|
|
315
339
|
* 获取可以提供KMS服务的地域列表
|
|
316
340
|
*/
|
|
@@ -401,6 +401,23 @@ export interface ScheduleKeyDeletionResponse {
|
|
|
401
401
|
*/
|
|
402
402
|
RequestId?: string;
|
|
403
403
|
}
|
|
404
|
+
/**
|
|
405
|
+
* PostQuantumCryptoVerify请求参数结构体
|
|
406
|
+
*/
|
|
407
|
+
export interface PostQuantumCryptoVerifyRequest {
|
|
408
|
+
/**
|
|
409
|
+
* 密钥的唯一标识
|
|
410
|
+
*/
|
|
411
|
+
KeyId: string;
|
|
412
|
+
/**
|
|
413
|
+
* 签名值,通过调用KMS PostQuantumCryptoSign签名接口生成
|
|
414
|
+
*/
|
|
415
|
+
SignatureValue: string;
|
|
416
|
+
/**
|
|
417
|
+
* Base64 编码的消息原文,消息原文的长度(Base64编码前的长度)不超过4096字节。
|
|
418
|
+
*/
|
|
419
|
+
Message: string;
|
|
420
|
+
}
|
|
404
421
|
/**
|
|
405
422
|
* GenerateRandom返回参数结构体
|
|
406
423
|
*/
|
|
@@ -1258,6 +1275,36 @@ export interface DescribeWhiteBoxKeyDetailsRequest {
|
|
|
1258
1275
|
*/
|
|
1259
1276
|
TagFilters?: Array<TagFilter>;
|
|
1260
1277
|
}
|
|
1278
|
+
/**
|
|
1279
|
+
* PostQuantumCryptoSign请求参数结构体
|
|
1280
|
+
*/
|
|
1281
|
+
export interface PostQuantumCryptoSignRequest {
|
|
1282
|
+
/**
|
|
1283
|
+
* Base64 编码的消息原文。消息原文的长度(Base64编码前的长度)不超过4096字节。
|
|
1284
|
+
*/
|
|
1285
|
+
Message: string;
|
|
1286
|
+
/**
|
|
1287
|
+
* 密钥的唯一标识
|
|
1288
|
+
*/
|
|
1289
|
+
KeyId: string;
|
|
1290
|
+
}
|
|
1291
|
+
/**
|
|
1292
|
+
* PostQuantumCryptoDecrypt请求参数结构体
|
|
1293
|
+
*/
|
|
1294
|
+
export interface PostQuantumCryptoDecryptRequest {
|
|
1295
|
+
/**
|
|
1296
|
+
* 待解密的密文数据
|
|
1297
|
+
*/
|
|
1298
|
+
CiphertextBlob: string;
|
|
1299
|
+
/**
|
|
1300
|
+
* PEM 格式公钥字符串,支持 RSA2048 和 SM2 公钥,用于对返回数据中的 Plaintext 值进行加密。若为空,则不对 Plaintext 值加密。
|
|
1301
|
+
*/
|
|
1302
|
+
EncryptionPublicKey?: string;
|
|
1303
|
+
/**
|
|
1304
|
+
* 非对称加密算法,配合 EncryptionPublicKey 对返回数据进行加密。目前支持:SM2(以 C1C3C2 格式返回密文),SM2_C1C3C2_ASN1 (以 C1C3C2 ASN1 格式返回密文),RSAES_PKCS1_V1_5,RSAES_OAEP_SHA_1,RSAES_OAEP_SHA_256。若为空,则默认为 SM2。
|
|
1305
|
+
*/
|
|
1306
|
+
EncryptionAlgorithm?: string;
|
|
1307
|
+
}
|
|
1261
1308
|
/**
|
|
1262
1309
|
* AsymmetricRsaDecrypt返回参数结构体
|
|
1263
1310
|
*/
|
|
@@ -1397,6 +1444,23 @@ export interface DescribeWhiteBoxDeviceFingerprintsRequest {
|
|
|
1397
1444
|
* GetRegions请求参数结构体
|
|
1398
1445
|
*/
|
|
1399
1446
|
export declare type GetRegionsRequest = null;
|
|
1447
|
+
/**
|
|
1448
|
+
* PostQuantumCryptoEncrypt返回参数结构体
|
|
1449
|
+
*/
|
|
1450
|
+
export interface PostQuantumCryptoEncryptResponse {
|
|
1451
|
+
/**
|
|
1452
|
+
* 加密后的密文,base64编码。注意:本字段中打包了密文和密钥的相关信息,不是对明文的直接加密结果,只有将该字段作为PostQuantumCryptoDecrypt接口的输入参数,才可以解密出原文。
|
|
1453
|
+
*/
|
|
1454
|
+
CiphertextBlob?: string;
|
|
1455
|
+
/**
|
|
1456
|
+
* 加密使用的CMK的全局唯一标识
|
|
1457
|
+
*/
|
|
1458
|
+
KeyId?: string;
|
|
1459
|
+
/**
|
|
1460
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1461
|
+
*/
|
|
1462
|
+
RequestId?: string;
|
|
1463
|
+
}
|
|
1400
1464
|
/**
|
|
1401
1465
|
* EncryptByWhiteBox请求参数结构体
|
|
1402
1466
|
*/
|
|
@@ -1436,6 +1500,19 @@ export interface ScheduleKeyDeletionRequest {
|
|
|
1436
1500
|
*/
|
|
1437
1501
|
PendingWindowInDays: number;
|
|
1438
1502
|
}
|
|
1503
|
+
/**
|
|
1504
|
+
* PostQuantumCryptoEncrypt请求参数结构体
|
|
1505
|
+
*/
|
|
1506
|
+
export interface PostQuantumCryptoEncryptRequest {
|
|
1507
|
+
/**
|
|
1508
|
+
* 调用CreateKey生成的CMK全局唯一标识符
|
|
1509
|
+
*/
|
|
1510
|
+
KeyId: string;
|
|
1511
|
+
/**
|
|
1512
|
+
* 被加密的明文数据,该字段必须使用base64编码,原文最大长度支持4K
|
|
1513
|
+
*/
|
|
1514
|
+
PlainText: string;
|
|
1515
|
+
}
|
|
1439
1516
|
/**
|
|
1440
1517
|
* DisableKey请求参数结构体
|
|
1441
1518
|
*/
|
|
@@ -1505,6 +1582,19 @@ export interface TagFilter {
|
|
|
1505
1582
|
*/
|
|
1506
1583
|
TagValue?: Array<string>;
|
|
1507
1584
|
}
|
|
1585
|
+
/**
|
|
1586
|
+
* PostQuantumCryptoSign返回参数结构体
|
|
1587
|
+
*/
|
|
1588
|
+
export interface PostQuantumCryptoSignResponse {
|
|
1589
|
+
/**
|
|
1590
|
+
* 签名值,Base64编码。可使用 PostQuantumCryptoVerify接口对签名值进行验证。
|
|
1591
|
+
*/
|
|
1592
|
+
Signature?: string;
|
|
1593
|
+
/**
|
|
1594
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1595
|
+
*/
|
|
1596
|
+
RequestId?: string;
|
|
1597
|
+
}
|
|
1508
1598
|
/**
|
|
1509
1599
|
* SignByAsymmetricKey返回参数结构体
|
|
1510
1600
|
*/
|
|
@@ -1518,6 +1608,19 @@ export interface SignByAsymmetricKeyResponse {
|
|
|
1518
1608
|
*/
|
|
1519
1609
|
RequestId?: string;
|
|
1520
1610
|
}
|
|
1611
|
+
/**
|
|
1612
|
+
* PostQuantumCryptoVerify返回参数结构体
|
|
1613
|
+
*/
|
|
1614
|
+
export interface PostQuantumCryptoVerifyResponse {
|
|
1615
|
+
/**
|
|
1616
|
+
* 签名是否有效。true:签名有效,false:签名无效。
|
|
1617
|
+
*/
|
|
1618
|
+
SignatureValid?: boolean;
|
|
1619
|
+
/**
|
|
1620
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1621
|
+
*/
|
|
1622
|
+
RequestId?: string;
|
|
1623
|
+
}
|
|
1521
1624
|
/**
|
|
1522
1625
|
* DescribeWhiteBoxDecryptKey返回参数结构体
|
|
1523
1626
|
*/
|
|
@@ -1544,6 +1647,24 @@ export interface DescribeWhiteBoxDeviceFingerprintsResponse {
|
|
|
1544
1647
|
*/
|
|
1545
1648
|
RequestId?: string;
|
|
1546
1649
|
}
|
|
1650
|
+
/**
|
|
1651
|
+
* PostQuantumCryptoDecrypt返回参数结构体
|
|
1652
|
+
*/
|
|
1653
|
+
export interface PostQuantumCryptoDecryptResponse {
|
|
1654
|
+
/**
|
|
1655
|
+
* CMK的全局唯一标识
|
|
1656
|
+
*/
|
|
1657
|
+
KeyId?: string;
|
|
1658
|
+
/**
|
|
1659
|
+
* 若调用时未提供 EncryptionPublicKey,该字段值为 Base64 编码的明文,需进行 Base64 解码以获取明文。
|
|
1660
|
+
若调用时提供了 EncryptionPublicKey,则该字段值为使用 EncryptionPublicKey 公钥进行非对称加密后的 Base64 编码的密文。需在 Base64 解码后,使用用户上传的公钥对应的私钥进行进一步解密,以获取明文。
|
|
1661
|
+
*/
|
|
1662
|
+
PlainText?: string;
|
|
1663
|
+
/**
|
|
1664
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1665
|
+
*/
|
|
1666
|
+
RequestId?: string;
|
|
1667
|
+
}
|
|
1547
1668
|
/**
|
|
1548
1669
|
* UpdateKeyDescription请求参数结构体
|
|
1549
1670
|
*/
|
|
@@ -2966,7 +2966,7 @@ export interface CreateLiveCallbackTemplateRequest {
|
|
|
2966
2966
|
*/
|
|
2967
2967
|
SnapshotNotifyUrl?: string;
|
|
2968
2968
|
/**
|
|
2969
|
-
* 鉴黄回调 URL,
|
|
2969
|
+
* 鉴黄回调 URL ,
|
|
2970
2970
|
相关协议文档:[事件消息通知](/document/product/267/32741)。
|
|
2971
2971
|
*/
|
|
2972
2972
|
PornCensorshipNotifyUrl?: string;
|
|
@@ -2983,6 +2983,10 @@ export interface CreateLiveCallbackTemplateRequest {
|
|
|
2983
2983
|
* 推流异常回调 URL。
|
|
2984
2984
|
*/
|
|
2985
2985
|
PushExceptionNotifyUrl?: string;
|
|
2986
|
+
/**
|
|
2987
|
+
* 音频审核回调 URL。
|
|
2988
|
+
*/
|
|
2989
|
+
AudioAuditNotifyUrl?: string;
|
|
2986
2990
|
}
|
|
2987
2991
|
/**
|
|
2988
2992
|
* 回调事件信息
|
|
@@ -6771,7 +6775,7 @@ export interface CreateLiveCallbackTemplateResponse {
|
|
|
6771
6775
|
/**
|
|
6772
6776
|
* 模板ID。
|
|
6773
6777
|
*/
|
|
6774
|
-
TemplateId
|
|
6778
|
+
TemplateId?: number;
|
|
6775
6779
|
/**
|
|
6776
6780
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6777
6781
|
*/
|
|
@@ -330,7 +330,7 @@ export interface ProcessLiveStreamResponse {
|
|
|
330
330
|
/**
|
|
331
331
|
* 任务 ID
|
|
332
332
|
*/
|
|
333
|
-
TaskId
|
|
333
|
+
TaskId?: string;
|
|
334
334
|
/**
|
|
335
335
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
336
336
|
*/
|
|
@@ -10036,6 +10036,10 @@ export interface ProcessLiveStreamRequest {
|
|
|
10036
10036
|
* 视频内容识别类型任务参数。
|
|
10037
10037
|
*/
|
|
10038
10038
|
AiRecognitionTask?: AiRecognitionTaskInput;
|
|
10039
|
+
/**
|
|
10040
|
+
* 视频内容分析类型任务参数。
|
|
10041
|
+
*/
|
|
10042
|
+
AiAnalysisTask?: AiAnalysisTaskInput;
|
|
10039
10043
|
/**
|
|
10040
10044
|
* 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
|
|
10041
10045
|
*/
|
|
@@ -308,7 +308,7 @@ export declare class Client extends AbstractClient {
|
|
|
308
308
|
*/
|
|
309
309
|
ModifyNetworkConfig(req: ModifyNetworkConfigRequest, cb?: (error: string, rep: ModifyNetworkConfigResponse) => void): Promise<ModifyNetworkConfigResponse>;
|
|
310
310
|
/**
|
|
311
|
-
*
|
|
311
|
+
* 本接口(DescribeInstanceShards)用于获取集群架构实例的分片信息。
|
|
312
312
|
*/
|
|
313
313
|
DescribeInstanceShards(req: DescribeInstanceShardsRequest, cb?: (error: string, rep: DescribeInstanceShardsResponse) => void): Promise<DescribeInstanceShardsResponse>;
|
|
314
314
|
/**
|
|
@@ -316,7 +316,7 @@ export declare class Client extends AbstractClient {
|
|
|
316
316
|
*/
|
|
317
317
|
RestoreInstance(req: RestoreInstanceRequest, cb?: (error: string, rep: RestoreInstanceResponse) => void): Promise<RestoreInstanceResponse>;
|
|
318
318
|
/**
|
|
319
|
-
*
|
|
319
|
+
* 本接口(DescribeInstances)用于查询Redis实例列表。
|
|
320
320
|
*/
|
|
321
321
|
DescribeInstances(req: DescribeInstancesRequest, cb?: (error: string, rep: DescribeInstancesResponse) => void): Promise<DescribeInstancesResponse>;
|
|
322
322
|
/**
|
|
@@ -478,7 +478,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
478
478
|
return this.request("ModifyNetworkConfig", req, cb);
|
|
479
479
|
}
|
|
480
480
|
/**
|
|
481
|
-
*
|
|
481
|
+
* 本接口(DescribeInstanceShards)用于获取集群架构实例的分片信息。
|
|
482
482
|
*/
|
|
483
483
|
async DescribeInstanceShards(req, cb) {
|
|
484
484
|
return this.request("DescribeInstanceShards", req, cb);
|
|
@@ -490,7 +490,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
490
490
|
return this.request("RestoreInstance", req, cb);
|
|
491
491
|
}
|
|
492
492
|
/**
|
|
493
|
-
*
|
|
493
|
+
* 本接口(DescribeInstances)用于查询Redis实例列表。
|
|
494
494
|
*/
|
|
495
495
|
async DescribeInstances(req, cb) {
|
|
496
496
|
return this.request("DescribeInstances", req, cb);
|
|
@@ -1250,13 +1250,13 @@ export interface ParameterDetail {
|
|
|
1250
1250
|
*/
|
|
1251
1251
|
export interface DescribeInstanceShardsResponse {
|
|
1252
1252
|
/**
|
|
1253
|
-
*
|
|
1253
|
+
* 实例分片列表信息,包括:节点信息、节点ID、Key数量、使用容量、容量倾斜率等信息。
|
|
1254
1254
|
*/
|
|
1255
|
-
InstanceShards
|
|
1255
|
+
InstanceShards?: Array<InstanceClusterShard>;
|
|
1256
1256
|
/**
|
|
1257
|
-
*
|
|
1257
|
+
* 实例分片节点数量。
|
|
1258
1258
|
*/
|
|
1259
|
-
TotalCount
|
|
1259
|
+
TotalCount?: number;
|
|
1260
1260
|
/**
|
|
1261
1261
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1262
1262
|
*/
|
|
@@ -2669,11 +2669,13 @@ export interface DescribeParamTemplatesResponse {
|
|
|
2669
2669
|
*/
|
|
2670
2670
|
export interface DescribeInstanceShardsRequest {
|
|
2671
2671
|
/**
|
|
2672
|
-
*
|
|
2672
|
+
* 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
|
2673
2673
|
*/
|
|
2674
2674
|
InstanceId: string;
|
|
2675
2675
|
/**
|
|
2676
|
-
*
|
|
2676
|
+
* 是否过滤掉从节信息。
|
|
2677
|
+
- true;过滤从节点。
|
|
2678
|
+
- false:不过滤。
|
|
2677
2679
|
*/
|
|
2678
2680
|
FilterSlave?: boolean;
|
|
2679
2681
|
}
|
|
@@ -3409,15 +3411,17 @@ export interface DescribeInstancesRequest {
|
|
|
3409
3411
|
*/
|
|
3410
3412
|
Limit?: number;
|
|
3411
3413
|
/**
|
|
3412
|
-
* 分页偏移量,取Limit
|
|
3414
|
+
* 分页偏移量,取Limit整数倍。计算公式:offset=limit*(页码-1)。
|
|
3413
3415
|
*/
|
|
3414
3416
|
Offset?: number;
|
|
3415
3417
|
/**
|
|
3416
|
-
*
|
|
3418
|
+
* 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
|
3419
|
+
|
|
3420
|
+
|
|
3417
3421
|
*/
|
|
3418
3422
|
InstanceId?: string;
|
|
3419
3423
|
/**
|
|
3420
|
-
*
|
|
3424
|
+
* 实例列表排序依据,枚举值如下所示:<ul><li>projectId:依据项目ID排序。</li><li>createtime:依据实例创建时间排序。</li><li>instancename:依据实例名称排序。</li><li>type:依据实例类型排序。</li><li>curDeadline:依据实例到期时间排序。</li></ul>
|
|
3421
3425
|
*/
|
|
3422
3426
|
OrderBy?: string;
|
|
3423
3427
|
/**
|
|
@@ -3469,7 +3473,7 @@ export interface DescribeInstancesRequest {
|
|
|
3469
3473
|
*/
|
|
3470
3474
|
EngineName?: string;
|
|
3471
3475
|
/**
|
|
3472
|
-
* 续费模式。<ul><li>0
|
|
3476
|
+
* 续费模式。<ul><li>0:手动续费。</li><li>1:自动续费。</li><li>2:到期不再续费。</ul>
|
|
3473
3477
|
*/
|
|
3474
3478
|
AutoRenew?: Array<number>;
|
|
3475
3479
|
/**
|
|
@@ -3501,7 +3505,7 @@ export interface DescribeInstancesRequest {
|
|
|
3501
3505
|
*/
|
|
3502
3506
|
TagKeys?: Array<string>;
|
|
3503
3507
|
/**
|
|
3504
|
-
* 实例的产品版本。如果该参数不配置或者数组设置为空值,则默认不依据此参数过滤实例。<ul><li>local:本地盘版。</li><li>
|
|
3508
|
+
* 实例的产品版本。如果该参数不配置或者数组设置为空值,则默认不依据此参数过滤实例。<ul><li>local:本地盘版。</li><li>cdc:独享集群版。</li></ul>
|
|
3505
3509
|
*/
|
|
3506
3510
|
ProductVersions?: Array<string>;
|
|
3507
3511
|
/**
|
|
@@ -3551,19 +3555,20 @@ export interface ModfiyInstancePasswordRequest {
|
|
|
3551
3555
|
*/
|
|
3552
3556
|
export interface DescribeSlowLogRequest {
|
|
3553
3557
|
/**
|
|
3554
|
-
*
|
|
3558
|
+
* 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
|
3559
|
+
|
|
3555
3560
|
*/
|
|
3556
3561
|
InstanceId: string;
|
|
3557
3562
|
/**
|
|
3558
|
-
*
|
|
3563
|
+
* 预查询慢日志的起始时间。
|
|
3559
3564
|
*/
|
|
3560
3565
|
BeginTime: string;
|
|
3561
3566
|
/**
|
|
3562
|
-
*
|
|
3567
|
+
* 预查询慢日志的结束时间。
|
|
3563
3568
|
*/
|
|
3564
3569
|
EndTime: string;
|
|
3565
3570
|
/**
|
|
3566
|
-
*
|
|
3571
|
+
* 慢查询平均执行时间阈值,单位:毫秒。
|
|
3567
3572
|
*/
|
|
3568
3573
|
MinQueryTime?: number;
|
|
3569
3574
|
/**
|
|
@@ -3571,7 +3576,7 @@ export interface DescribeSlowLogRequest {
|
|
|
3571
3576
|
*/
|
|
3572
3577
|
Limit?: number;
|
|
3573
3578
|
/**
|
|
3574
|
-
* 慢查询条数的偏移量,取Limit
|
|
3579
|
+
* 慢查询条数的偏移量,取Limit整数倍。计算公式:offset=limit*(页码-1)。
|
|
3575
3580
|
*/
|
|
3576
3581
|
Offset?: number;
|
|
3577
3582
|
/**
|
|
@@ -1397,55 +1397,55 @@ export interface DescribeBackupByFlowIdResponse {
|
|
|
1397
1397
|
/**
|
|
1398
1398
|
* 备份文件唯一标识,RestoreInstance接口会用到该字段,对于单库备份文件只返回第一条记录的备份文件唯一标识;单库备份文件需要通过DescribeBackupFiles接口获取全部记录的可回档的ID
|
|
1399
1399
|
*/
|
|
1400
|
-
Id
|
|
1400
|
+
Id?: number;
|
|
1401
1401
|
/**
|
|
1402
1402
|
* 文件名,对于单库备份文件只返回第一条记录的文件名;单库备份文件需要通过DescribeBackupFiles接口获取全部记录的文件名
|
|
1403
1403
|
*/
|
|
1404
|
-
FileName
|
|
1404
|
+
FileName?: string;
|
|
1405
1405
|
/**
|
|
1406
1406
|
* 备份任务名称,可自定义
|
|
1407
1407
|
*/
|
|
1408
|
-
BackupName
|
|
1408
|
+
BackupName?: string;
|
|
1409
1409
|
/**
|
|
1410
1410
|
* 备份开始时间
|
|
1411
1411
|
*/
|
|
1412
|
-
StartTime
|
|
1412
|
+
StartTime?: string;
|
|
1413
1413
|
/**
|
|
1414
1414
|
* 备份结束时间
|
|
1415
1415
|
*/
|
|
1416
|
-
EndTime
|
|
1416
|
+
EndTime?: string;
|
|
1417
1417
|
/**
|
|
1418
1418
|
* 文件大小,单位 KB,对于单库备份文件只返回第一条记录的文件大小;单库备份文件需要通过DescribeBackupFiles接口获取全部记录的文件大小
|
|
1419
1419
|
*/
|
|
1420
|
-
Size
|
|
1420
|
+
Size?: number;
|
|
1421
1421
|
/**
|
|
1422
1422
|
* 备份策略,0-实例备份;1-多库备份;实例状态是0-创建中时,该字段为默认值0,无实际意义
|
|
1423
1423
|
*/
|
|
1424
|
-
Strategy
|
|
1424
|
+
Strategy?: number;
|
|
1425
1425
|
/**
|
|
1426
1426
|
* 备份文件状态,0-创建中;1-成功;2-失败
|
|
1427
1427
|
*/
|
|
1428
|
-
Status
|
|
1428
|
+
Status?: number;
|
|
1429
1429
|
/**
|
|
1430
1430
|
* 备份方式,0-定时备份;1-手动临时备份;实例状态是0-创建中时,该字段为默认值0,无实际意义
|
|
1431
1431
|
*/
|
|
1432
|
-
BackupWay
|
|
1432
|
+
BackupWay?: number;
|
|
1433
1433
|
/**
|
|
1434
1434
|
* DB列表,对于单库备份文件只返回第一条记录包含的库名;单库备份文件需要通过DescribeBackupFiles接口获取全部记录的库名。
|
|
1435
1435
|
*/
|
|
1436
|
-
DBs
|
|
1436
|
+
DBs?: Array<string>;
|
|
1437
1437
|
/**
|
|
1438
1438
|
* 内网下载地址,对于单库备份文件只返回第一条记录的内网下载地址;单库备份文件需要通过DescribeBackupFiles接口获取全部记录的下载地址
|
|
1439
1439
|
*/
|
|
1440
|
-
InternalAddr
|
|
1440
|
+
InternalAddr?: string;
|
|
1441
1441
|
/**
|
|
1442
1442
|
* 外网下载地址,对于单库备份文件只返回第一条记录的外网下载地址;单库备份文件需要通过DescribeBackupFiles接口获取全部记录的下载地址
|
|
1443
1443
|
*/
|
|
1444
|
-
ExternalAddr
|
|
1444
|
+
ExternalAddr?: string;
|
|
1445
1445
|
/**
|
|
1446
1446
|
* 聚合Id,对于打包备份文件不返回此值。通过此值调用DescribeBackupFiles接口,获取单库备份文件的详细信息
|
|
1447
1447
|
*/
|
|
1448
|
-
GroupId
|
|
1448
|
+
GroupId?: string;
|
|
1449
1449
|
/**
|
|
1450
1450
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1451
1451
|
*/
|