tencentcloud-sdk-nodejs 4.0.270 → 4.0.274
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 +705 -0
- package/SERVICE_CHANGELOG.md +681 -251
- package/package.json +1 -1
- package/products.md +36 -36
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_client.ts +39 -14
- package/src/services/antiddos/v20200309/antiddos_models.ts +104 -13
- package/src/services/api/v20201106/api_client.ts +2 -2
- package/src/services/api/v20201106/api_models.ts +2 -2
- package/src/services/apigateway/v20180808/apigateway_models.ts +35 -0
- package/src/services/apm/v20210622/apm_client.ts +19 -1
- package/src/services/apm/v20210622/apm_models.ts +195 -8
- package/src/services/cbs/v20170312/cbs_client.ts +27 -11
- package/src/services/cbs/v20170312/cbs_models.ts +38 -13
- package/src/services/cdb/v20170320/cdb_client.ts +471 -278
- package/src/services/cdb/v20170320/cdb_models.ts +4835 -3821
- package/src/services/cdn/v20180606/cdn_models.ts +7 -5
- package/src/services/cfw/v20190904/cfw_client.ts +13 -1
- package/src/services/cfw/v20190904/cfw_models.ts +44 -2
- package/src/services/clb/v20180317/clb_client.ts +3 -0
- package/src/services/clb/v20180317/clb_models.ts +1 -1
- package/src/services/cls/v20201016/cls_models.ts +4 -4
- package/src/services/cvm/v20170312/cvm_client.ts +2 -1
- package/src/services/cvm/v20170312/cvm_models.ts +10 -0
- package/src/services/cwp/v20180228/cwp_models.ts +1 -1
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +1 -1
- package/src/services/dcdb/v20180411/dcdb_client.ts +12 -0
- package/src/services/dcdb/v20180411/dcdb_models.ts +30 -0
- package/src/services/dlc/v20210125/dlc_models.ts +2 -2
- package/src/services/eiam/v20210420/eiam_client.ts +1 -1
- package/src/services/eiam/v20210420/eiam_models.ts +32 -32
- package/src/services/eis/v20210601/eis_models.ts +25 -0
- package/src/services/emr/v20190103/emr_client.ts +2 -0
- package/src/services/emr/v20190103/emr_models.ts +45 -0
- package/src/services/essbasic/v20210526/essbasic_client.ts +2 -1
- package/src/services/essbasic/v20210526/essbasic_models.ts +4 -4
- package/src/services/gme/v20180711/gme_models.ts +13 -2
- package/src/services/iotcloud/v20180614/iotcloud_client.ts +41 -2
- package/src/services/iotcloud/v20180614/iotcloud_models.ts +334 -28
- package/src/services/mariadb/v20170312/mariadb_client.ts +12 -0
- package/src/services/mariadb/v20170312/mariadb_models.ts +30 -0
- package/src/services/monitor/v20180724/monitor_models.ts +12 -0
- package/src/services/ocr/v20181119/ocr_client.ts +3 -1
- package/src/services/ocr/v20181119/ocr_models.ts +27 -17
- package/src/services/postgres/v20170312/postgres_client.ts +86 -13
- package/src/services/postgres/v20170312/postgres_models.ts +327 -10
- package/src/services/scf/v20180416/scf_models.ts +6 -0
- package/src/services/ses/v20201002/ses_models.ts +8 -3
- package/src/services/sms/v20190711/sms_client.ts +2 -1
- package/src/services/sms/v20190711/sms_models.ts +19 -15
- package/src/services/ssl/v20191205/ssl_models.ts +5 -0
- package/src/services/tat/v20201028/tat_models.ts +3 -3
- package/src/services/tcb/v20180608/tcb_client.ts +14 -0
- package/src/services/tcb/v20180608/tcb_models.ts +126 -0
- package/src/services/tcss/v20201101/tcss_models.ts +20 -8
- package/src/services/tdmq/v20200217/tdmq_models.ts +1 -1
- package/src/services/tem/v20210701/tem_models.ts +37 -3
- package/src/services/tke/v20180525/tke_models.ts +5 -0
- package/src/services/tms/v20201229/tms_client.ts +1 -1
- package/src/services/tms/v20201229/tms_models.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +13 -5
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +18 -6
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +90 -12
- package/tencentcloud/services/api/v20201106/api_client.d.ts +2 -2
- package/tencentcloud/services/api/v20201106/api_client.js +2 -2
- package/tencentcloud/services/api/v20201106/api_models.d.ts +2 -2
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +28 -0
- package/tencentcloud/services/apm/v20210622/apm_client.d.ts +5 -1
- package/tencentcloud/services/apm/v20210622/apm_client.js +6 -0
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +167 -8
- package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +14 -6
- package/tencentcloud/services/cbs/v20170312/cbs_client.js +16 -6
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +34 -12
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +76 -16
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +110 -20
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +4395 -3528
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +7 -5
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +6 -2
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +7 -1
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +38 -2
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +3 -0
- package/tencentcloud/services/clb/v20180317/clb_client.js +3 -0
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +1 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +4 -4
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +2 -1
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +2 -1
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +8 -0
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +1 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +1 -1
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +5 -1
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +6 -0
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +26 -0
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +2 -2
- package/tencentcloud/services/eiam/v20210420/eiam_models.d.ts +28 -28
- package/tencentcloud/services/eis/v20210601/eis_models.d.ts +20 -0
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +38 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +2 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +2 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +4 -4
- package/tencentcloud/services/gme/v20180711/gme_models.d.ts +11 -2
- package/tencentcloud/services/iotcloud/v20180614/iotcloud_client.d.ts +13 -1
- package/tencentcloud/services/iotcloud/v20180614/iotcloud_client.js +18 -0
- package/tencentcloud/services/iotcloud/v20180614/iotcloud_models.d.ts +282 -27
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +5 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +6 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +26 -0
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +10 -0
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +3 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +3 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +25 -17
- package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +29 -5
- package/tencentcloud/services/postgres/v20170312/postgres_client.js +42 -6
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +276 -9
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +5 -0
- package/tencentcloud/services/ses/v20201002/ses_models.d.ts +7 -3
- package/tencentcloud/services/sms/v20190711/sms_client.d.ts +2 -1
- package/tencentcloud/services/sms/v20190711/sms_client.js +2 -1
- package/tencentcloud/services/sms/v20190711/sms_models.d.ts +19 -15
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +4 -0
- package/tencentcloud/services/tat/v20201028/tat_models.d.ts +3 -3
- package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +5 -1
- package/tencentcloud/services/tcb/v20180608/tcb_client.js +6 -0
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +105 -0
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +17 -6
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +1 -1
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +31 -3
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +4 -0
- package/tencentcloud/services/tms/v20201229/tms_client.d.ts +1 -1
- package/tencentcloud/services/tms/v20201229/tms_client.js +1 -1
- package/tencentcloud/services/tms/v20201229/tms_models.d.ts +1 -1
- package/test/antiddos.v20200309.test.js +24 -4
- package/test/apm.v20210622.test.js +10 -0
- package/test/cbs.v20170312.test.js +12 -2
- package/test/cdb.v20170320.test.js +168 -18
- package/test/cfw.v20190904.test.js +10 -0
- package/test/dcdb.v20180411.test.js +10 -0
- package/test/iotcloud.v20180614.test.js +30 -0
- package/test/mariadb.v20170312.test.js +10 -0
- package/test/postgres.v20170312.test.js +64 -4
- package/test/tcb.v20180608.test.js +10 -0
|
@@ -192,9 +192,9 @@ export interface GetSendEmailStatusResponse {
|
|
|
192
192
|
*/
|
|
193
193
|
export interface SendEmailRequest {
|
|
194
194
|
/**
|
|
195
|
-
* 发信邮件地址。请填写发件人邮箱地址,例如:noreply@mail.qcloud.com
|
|
196
|
-
|
|
197
|
-
|
|
195
|
+
* 发信邮件地址。请填写发件人邮箱地址,例如:noreply@mail.qcloud.com
|
|
196
|
+
如需填写发件人说明,请按照如下方式:
|
|
197
|
+
别名 <邮箱地址>
|
|
198
198
|
*/
|
|
199
199
|
FromEmailAddress: string;
|
|
200
200
|
/**
|
|
@@ -221,6 +221,10 @@ export interface SendEmailRequest {
|
|
|
221
221
|
* 需要发送附件时,填写附件相关参数。
|
|
222
222
|
*/
|
|
223
223
|
Attachments?: Array<Attachment>;
|
|
224
|
+
/**
|
|
225
|
+
* 是否加入退订链接
|
|
226
|
+
*/
|
|
227
|
+
Unsubscribe?: string;
|
|
224
228
|
}
|
|
225
229
|
/**
|
|
226
230
|
* 用于描述发件人相关信息
|
|
@@ -32,7 +32,7 @@ export declare class Client extends AbstractClient {
|
|
|
32
32
|
*/
|
|
33
33
|
PullSmsSendStatus(req: PullSmsSendStatusRequest, cb?: (error: string, rep: PullSmsSendStatusResponse) => void): Promise<PullSmsSendStatusResponse>;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* 短信发送接口,用于给用户发短信验证码、通知类短信或营销短信。
|
|
36
36
|
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 [SDK](https://cloud.tencent.com/document/product/382/43193) 来使用云短信服务。
|
|
37
37
|
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2019-07-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
|
38
38
|
|
|
@@ -74,6 +74,7 @@ export declare class Client extends AbstractClient {
|
|
|
74
74
|
/**
|
|
75
75
|
* 拉取短信回复状态。
|
|
76
76
|
目前也支持 [配置回复回调](https://cloud.tencent.com/document/product/382/42907) 的方式来获取上行回复。
|
|
77
|
+
>- 注:此接口需要联系 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81) 开通。
|
|
77
78
|
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 [SDK](https://cloud.tencent.com/document/product/382/43193) 来使用云短信服务。
|
|
78
79
|
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2019-07-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
|
79
80
|
|
|
@@ -58,7 +58,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
58
58
|
return this.request("PullSmsSendStatus", req, cb);
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* 短信发送接口,用于给用户发短信验证码、通知类短信或营销短信。
|
|
62
62
|
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 [SDK](https://cloud.tencent.com/document/product/382/43193) 来使用云短信服务。
|
|
63
63
|
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2019-07-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
|
64
64
|
|
|
@@ -112,6 +112,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
112
112
|
/**
|
|
113
113
|
* 拉取短信回复状态。
|
|
114
114
|
目前也支持 [配置回复回调](https://cloud.tencent.com/document/product/382/42907) 的方式来获取上行回复。
|
|
115
|
+
>- 注:此接口需要联系 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81) 开通。
|
|
115
116
|
>- 注:由于云 **API3.0 安全性**有所提升,所以**接口鉴权**较为复杂,建议使用 [SDK](https://cloud.tencent.com/document/product/382/43193) 来使用云短信服务。
|
|
116
117
|
>- 您可以在 [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2019-07-11&Action=SendSms) 中直接运行该接口,可以先免去签名计算步骤。运行成功后,API Explorer可以**自动生成**SDK代码示例。
|
|
117
118
|
|
|
@@ -51,12 +51,13 @@ export interface ModifySmsSignRequest {
|
|
|
51
51
|
SignName: string;
|
|
52
52
|
/**
|
|
53
53
|
* 签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):
|
|
54
|
-
0
|
|
55
|
-
1:APP
|
|
56
|
-
2
|
|
57
|
-
3
|
|
58
|
-
4
|
|
59
|
-
5
|
|
54
|
+
0:公司,可选 DocumentType 有(0,1)。
|
|
55
|
+
1:APP,可选 DocumentType 有(0,1,2,3,4) 。
|
|
56
|
+
2:网站,可选 DocumentType 有(0,1,2,3,5)。
|
|
57
|
+
3:公众号,可选 DocumentType 有(0,1,2,3,8)。
|
|
58
|
+
4:商标,可选 DocumentType 有(7)。
|
|
59
|
+
5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。
|
|
60
|
+
6:小程序,可选 DocumentType 有(0,1,2,3,6)。
|
|
60
61
|
注:必须按照对应关系选择证明类型,否则会审核失败。
|
|
61
62
|
*/
|
|
62
63
|
SignType: number;
|
|
@@ -66,10 +67,11 @@ export interface ModifySmsSignRequest {
|
|
|
66
67
|
1:企业营业执照。
|
|
67
68
|
2:组织机构代码证书。
|
|
68
69
|
3:社会信用代码证书。
|
|
69
|
-
4
|
|
70
|
-
5
|
|
71
|
-
6
|
|
70
|
+
4:应用后台管理截图(个人开发APP)。
|
|
71
|
+
5:网站备案后台截图(个人开发网站)。
|
|
72
|
+
6:小程序设置页面截图(个人认证小程序)。
|
|
72
73
|
7:商标注册书。
|
|
74
|
+
8:公众号设置页面截图(个人认证公众号)。
|
|
73
75
|
*/
|
|
74
76
|
DocumentType: number;
|
|
75
77
|
/**
|
|
@@ -111,12 +113,13 @@ export interface AddSmsSignRequest {
|
|
|
111
113
|
SignName: string;
|
|
112
114
|
/**
|
|
113
115
|
* 签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):
|
|
114
|
-
0
|
|
115
|
-
1:APP
|
|
116
|
-
2
|
|
117
|
-
3
|
|
118
|
-
4
|
|
119
|
-
5
|
|
116
|
+
0:公司,可选 DocumentType 有(0,1)。
|
|
117
|
+
1:APP,可选 DocumentType 有(0,1,2,3,4) 。
|
|
118
|
+
2:网站,可选 DocumentType 有(0,1,2,3,5)。
|
|
119
|
+
3:公众号,可选 DocumentType 有(0,1,2,3,8)。
|
|
120
|
+
4:商标,可选 DocumentType 有(7)。
|
|
121
|
+
5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。
|
|
122
|
+
6:小程序,可选 DocumentType 有(0,1,2,3,6)。
|
|
120
123
|
注:必须按照对应关系选择证明类型,否则会审核失败。
|
|
121
124
|
*/
|
|
122
125
|
SignType: number;
|
|
@@ -130,6 +133,7 @@ export interface AddSmsSignRequest {
|
|
|
130
133
|
5:网站备案后台截图(个人开发网站)。
|
|
131
134
|
6:小程序设置页面截图(个人认证小程序)。
|
|
132
135
|
7:商标注册书。
|
|
136
|
+
8:公众号设置页面截图(个人认证公众号)。
|
|
133
137
|
*/
|
|
134
138
|
DocumentType: number;
|
|
135
139
|
/**
|
|
@@ -180,7 +180,7 @@ key为自定义参数名称,value为该参数的默认取值。kv均为字符
|
|
|
180
180
|
Tags?: Array<Tag>;
|
|
181
181
|
/**
|
|
182
182
|
* 在 CVM 或 Lighthouse 实例中执行命令的用户名称。
|
|
183
|
-
使用最小权限执行命令是权限管理的最佳实践,建议您以普通用户身份执行云助手命令。默认情况下,在 Linux 实例中以 root
|
|
183
|
+
使用最小权限执行命令是权限管理的最佳实践,建议您以普通用户身份执行云助手命令。默认情况下,在 Linux 实例中以 root 用户执行命令;在Windows 实例中以 System 用户执行命令。
|
|
184
184
|
*/
|
|
185
185
|
Username?: string;
|
|
186
186
|
/**
|
|
@@ -692,7 +692,7 @@ key为自定义参数名称,value为该参数的默认取值。kv均为字符
|
|
|
692
692
|
DefaultParameters?: string;
|
|
693
693
|
/**
|
|
694
694
|
* 在 CVM 或 Lighthouse 实例中执行命令的用户名称。
|
|
695
|
-
使用最小权限执行命令是权限管理的最佳实践,建议您以普通用户身份执行云助手命令。
|
|
695
|
+
使用最小权限执行命令是权限管理的最佳实践,建议您以普通用户身份执行云助手命令。
|
|
696
696
|
*/
|
|
697
697
|
Username?: string;
|
|
698
698
|
/**
|
|
@@ -1274,7 +1274,7 @@ key为自定义参数名称,value为该参数的默认取值。kv均为字符
|
|
|
1274
1274
|
Tags?: Array<Tag>;
|
|
1275
1275
|
/**
|
|
1276
1276
|
* 在 CVM 或 Lighthouse 实例中执行命令的用户名称。
|
|
1277
|
-
使用最小权限执行命令是权限管理的最佳实践,建议您以普通用户身份执行云助手命令。默认情况下,在 Linux 实例中以 root
|
|
1277
|
+
使用最小权限执行命令是权限管理的最佳实践,建议您以普通用户身份执行云助手命令。默认情况下,在 Linux 实例中以 root 用户执行命令;在Windows 实例中以 System 用户执行命令。
|
|
1278
1278
|
*/
|
|
1279
1279
|
Username?: string;
|
|
1280
1280
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DescribeEnvLimitResponse, DescribeCloudBaseRunAllVpcsResponse, CheckTcbServiceResponse, DescribeCloudBaseRunConfForGateWayRequest, DescribeCloudBaseRunServerVersionRequest, TurnOnStandaloneGatewayResponse, DescribeEnvLimitRequest, DescribeEnvDealRegionResponse, DeleteCloudBaseRunServerVersionResponse, CommonServiceAPIResponse, DescribeStandaloneGatewayRequest, DescribeStandaloneGatewayPackageRequest, DescribePostpayPackageFreeQuotasRequest, DescribeEndUserLoginStatisticRequest, DescribeCloudBaseBuildServiceResponse, DescribeEndUsersRequest, DescribeCloudBaseBuildServiceRequest, DescribeCloudBaseRunServerDomainNameResponse, DestroyStandaloneGatewayRequest, CreateWxCloudBaseRunServerDBClusterResponse, ReplaceActivityRecordResponse, DescribeSpecialCostItemsRequest, DescribeCloudBaseRunResourceForExtendRequest, DescribeWxCloudBaseRunSubNetsRequest, ModifyEndUserRequest, DescribeCurveDataResponse, RollUpdateCloudBaseRunServerVersionResponse, DescribeCloudBaseRunOperationTypesRequest, DescribeAuthDomainsResponse, DescribeCloudBaseRunOneClickTaskExternalRequest, DescribeStandaloneGatewayResponse, DescribeWxCloudBaseRunEnvsResponse, CreateHostingDomainRequest, DescribeCloudBaseRunResourceRequest, DescribeCloudBaseRunServerRequest, DescribePostpayFreeQuotasRequest, DescribeActivityInfoResponse, DestroyStandaloneGatewayResponse, DescribeCloudBaseRunServerVersionResponse, DeleteEndUserRequest, DescribeHostingDomainTaskRequest, DescribeQuotaDataResponse, CommonServiceAPIRequest, DestroyStaticStoreRequest, CreateWxCloudBaseRunEnvRequest, ModifyCloudBaseRunServerFlowConfRequest, DescribeActivityRecordResponse, CreateStaticStoreRequest, CreateWxCloudBaseRunServerDBClusterRequest, DeleteCloudBaseProjectLatestVersionResponse, CreateAuthDomainResponse, ModifyDatabaseACLRequest, DescribeEnvsRequest, DeleteWxGatewayRouteRequest, DescribeEnvPostpaidDeductRequest, DescribeExtraPkgBillingInfoRequest, BindEnvGatewayResponse, DescribeWxCloudBaseRunSubNetsResponse, DescribeEnvFreeQuotaRequest, DescribeEndUserLoginStatisticResponse, DescribeEnvPostpaidDeductResponse, CreateCloudBaseRunResourceResponse, DescribeStandaloneGatewayPackageResponse, DestroyStaticStoreResponse, DeleteEndUserResponse, ModifyDatabaseACLResponse, ModifyCloudBaseRunServerFlowConfResponse, DescribeCloudBaseRunOperationTypesResponse, EstablishCloudBaseRunServerResponse, DestroyEnvRequest, DestroyEnvResponse, DescribeCloudBaseProjectVersionListRequest, DescribeCloudBaseRunOneClickTaskExternalResponse, TurnOffStandaloneGatewayResponse, DescribeEnvsResponse, CreateAuthDomainRequest, CreateHostingDomainResponse, DescribeActivityRecordRequest, CreateWxCloudBaseRunEnvResponse, DeleteCloudBaseRunServerVersionRequest, CreateCloudBaseRunServerVersionRequest, DescribeCloudBaseRunServerDomainNameRequest, DescribeCloudBaseRunAllVpcsRequest, CreatePostpayPackageResponse, DescribeExtensionUploadInfoRequest, ReplaceActivityRecordRequest, DeleteWxGatewayRouteResponse, EstablishCloudBaseRunServerRequest, ReinstateEnvResponse, DescribeSpecialCostItemsResponse, CreateStandaloneGatewayRequest, DescribeCloudBaseProjectVersionListResponse, DescribeDownloadFileRequest, DescribeEndUserStatisticRequest, DescribeEnvFreeQuotaResponse, CreateAndDeployCloudBaseProjectResponse, DescribeCloudBaseRunResourceForExtendResponse, CreateAndDeployCloudBaseProjectRequest, DescribeCloudBaseRunVersionRequest, EstablishWxGatewayRouteRequest, DescribeCloudBaseRunConfForGateWayResponse, TurnOffStandaloneGatewayRequest, ReinstateEnvRequest, EstablishWxGatewayRouteResponse, DescribeDatabaseACLRequest, CreateCloudBaseRunServerVersionResponse, DeleteCloudBaseProjectLatestVersionRequest, DescribeCloudBaseProjectLatestVersionListResponse, DescribeSmsQuotasResponse, DescribeWxCloudBaseRunEnvsRequest, DescribeCloudBaseRunVersionRsByConditionResponse, DescribeCurveDataRequest, DescribeActivityInfoRequest, BindEnvGatewayRequest, ModifyEnvResponse, DescribeDownloadFileResponse, CreateStandaloneGatewayResponse, DescribeQuotaDataRequest, CreateStaticStoreResponse, DescribeCloudBaseRunResourceResponse, DescribeCloudBaseRunVersionSnapshotRequest, TurnOnStandaloneGatewayRequest, DescribeUserActivityInfoResponse, DescribePostpayFreeQuotasResponse, DescribeCloudBaseProjectLatestVersionListRequest, DescribeEndUsersResponse, DescribeHostingDomainTaskResponse, DescribeEndUserStatisticResponse, DescribeSmsQuotasRequest, DescribeCloudBaseRunVersionResponse, CreatePostpayPackageRequest, DescribeCloudBaseRunPodListResponse, CheckTcbServiceRequest, DescribeCloudBaseRunVersionRsByConditionRequest, DescribeCloudBaseRunServerResponse, DescribeUserActivityInfoRequest, DescribeCloudBaseRunPodListRequest, CreateCloudBaseRunResourceRequest, ModifyEndUserResponse, DescribeAuthDomainsRequest, DescribeEnvDealRegionRequest, DescribeDatabaseACLResponse, ModifyCloudBaseRunServerVersionResponse, DescribeExtensionUploadInfoResponse, ModifyEnvRequest, DescribeCloudBaseRunVersionSnapshotResponse, DescribePostpayPackageFreeQuotasResponse, DescribeExtraPkgBillingInfoResponse, ModifyCloudBaseRunServerVersionRequest, RollUpdateCloudBaseRunServerVersionRequest } from "./tcb_models";
|
|
3
|
+
import { DescribeEnvLimitResponse, DescribeCloudBaseRunAllVpcsResponse, CheckTcbServiceResponse, DescribeCloudBaseRunConfForGateWayRequest, DescribeCloudBaseRunServerVersionRequest, TurnOnStandaloneGatewayResponse, DescribeEnvLimitRequest, DescribeEnvDealRegionResponse, DeleteCloudBaseRunServerVersionResponse, SearchClsLogResponse, CommonServiceAPIResponse, DescribeStandaloneGatewayRequest, DescribeStandaloneGatewayPackageRequest, DescribePostpayPackageFreeQuotasRequest, DescribeEndUserLoginStatisticRequest, DescribeCloudBaseBuildServiceResponse, DescribeEndUsersRequest, DescribeCloudBaseBuildServiceRequest, DescribeCloudBaseRunServerDomainNameResponse, DestroyStandaloneGatewayRequest, CreateWxCloudBaseRunServerDBClusterResponse, ReplaceActivityRecordResponse, DescribeSpecialCostItemsRequest, DescribeCloudBaseRunResourceForExtendRequest, DescribeWxCloudBaseRunSubNetsRequest, ModifyEndUserRequest, DescribeCurveDataResponse, RollUpdateCloudBaseRunServerVersionResponse, DescribeCloudBaseRunOperationTypesRequest, DescribeAuthDomainsResponse, DescribeCloudBaseRunOneClickTaskExternalRequest, DescribeStandaloneGatewayResponse, DescribeWxCloudBaseRunEnvsResponse, CreateHostingDomainRequest, DescribeCloudBaseRunResourceRequest, DescribeCloudBaseRunServerRequest, DescribePostpayFreeQuotasRequest, DescribeActivityInfoResponse, DestroyStandaloneGatewayResponse, DescribeCloudBaseRunServerVersionResponse, DeleteEndUserRequest, DescribeHostingDomainTaskRequest, DescribeQuotaDataResponse, CommonServiceAPIRequest, DestroyStaticStoreRequest, CreateWxCloudBaseRunEnvRequest, ModifyCloudBaseRunServerFlowConfRequest, DescribeActivityRecordResponse, CreateStaticStoreRequest, CreateWxCloudBaseRunServerDBClusterRequest, DeleteCloudBaseProjectLatestVersionResponse, CreateAuthDomainResponse, ModifyDatabaseACLRequest, DescribeEnvsRequest, DeleteWxGatewayRouteRequest, DescribeEnvPostpaidDeductRequest, DescribeExtraPkgBillingInfoRequest, BindEnvGatewayResponse, DescribeWxCloudBaseRunSubNetsResponse, DescribeEnvFreeQuotaRequest, DescribeEndUserLoginStatisticResponse, DescribeEnvPostpaidDeductResponse, CreateCloudBaseRunResourceResponse, DescribeStandaloneGatewayPackageResponse, DestroyStaticStoreResponse, DeleteEndUserResponse, ModifyDatabaseACLResponse, ModifyCloudBaseRunServerFlowConfResponse, DescribeCloudBaseRunOperationTypesResponse, EstablishCloudBaseRunServerResponse, DestroyEnvRequest, DestroyEnvResponse, DescribeCloudBaseProjectVersionListRequest, DescribeCloudBaseRunOneClickTaskExternalResponse, TurnOffStandaloneGatewayResponse, DescribeEnvsResponse, CreateAuthDomainRequest, CreateHostingDomainResponse, DescribeActivityRecordRequest, CreateWxCloudBaseRunEnvResponse, DeleteCloudBaseRunServerVersionRequest, CreateCloudBaseRunServerVersionRequest, DescribeCloudBaseRunServerDomainNameRequest, DescribeCloudBaseRunAllVpcsRequest, CreatePostpayPackageResponse, DescribeExtensionUploadInfoRequest, ReplaceActivityRecordRequest, DeleteWxGatewayRouteResponse, EstablishCloudBaseRunServerRequest, ReinstateEnvResponse, DescribeSpecialCostItemsResponse, CreateStandaloneGatewayRequest, DescribeCloudBaseProjectVersionListResponse, DescribeDownloadFileRequest, DescribeEndUserStatisticRequest, DescribeEnvFreeQuotaResponse, CreateAndDeployCloudBaseProjectResponse, DescribeCloudBaseRunResourceForExtendResponse, CreateAndDeployCloudBaseProjectRequest, DescribeCloudBaseRunVersionRequest, EstablishWxGatewayRouteRequest, DescribeCloudBaseRunConfForGateWayResponse, TurnOffStandaloneGatewayRequest, ReinstateEnvRequest, EstablishWxGatewayRouteResponse, DescribeDatabaseACLRequest, CreateCloudBaseRunServerVersionResponse, DeleteCloudBaseProjectLatestVersionRequest, DescribeCloudBaseProjectLatestVersionListResponse, DescribeSmsQuotasResponse, DescribeWxCloudBaseRunEnvsRequest, DescribeCloudBaseRunVersionRsByConditionResponse, DescribeCurveDataRequest, DescribeActivityInfoRequest, BindEnvGatewayRequest, ModifyEnvResponse, DescribeDownloadFileResponse, CreateStandaloneGatewayResponse, DescribeQuotaDataRequest, CreateStaticStoreResponse, DescribeCloudBaseRunResourceResponse, DescribeCloudBaseRunVersionSnapshotRequest, TurnOnStandaloneGatewayRequest, DescribeUserActivityInfoResponse, DescribePostpayFreeQuotasResponse, DescribeCloudBaseProjectLatestVersionListRequest, DescribeEndUsersResponse, DescribeHostingDomainTaskResponse, DescribeEndUserStatisticResponse, DescribeSmsQuotasRequest, DescribeCloudBaseRunVersionResponse, CreatePostpayPackageRequest, DescribeCloudBaseRunPodListResponse, SearchClsLogRequest, CheckTcbServiceRequest, DescribeCloudBaseRunVersionRsByConditionRequest, DescribeCloudBaseRunServerResponse, DescribeUserActivityInfoRequest, DescribeCloudBaseRunPodListRequest, CreateCloudBaseRunResourceRequest, ModifyEndUserResponse, DescribeAuthDomainsRequest, DescribeEnvDealRegionRequest, DescribeDatabaseACLResponse, ModifyCloudBaseRunServerVersionResponse, DescribeExtensionUploadInfoResponse, ModifyEnvRequest, DescribeCloudBaseRunVersionSnapshotResponse, DescribePostpayPackageFreeQuotasResponse, DescribeExtraPkgBillingInfoResponse, ModifyCloudBaseRunServerVersionRequest, RollUpdateCloudBaseRunServerVersionRequest } from "./tcb_models";
|
|
4
4
|
/**
|
|
5
5
|
* tcb client
|
|
6
6
|
* @class
|
|
@@ -150,6 +150,10 @@ export declare class Client extends AbstractClient {
|
|
|
150
150
|
* 修改容器内的版本流量配置
|
|
151
151
|
*/
|
|
152
152
|
ModifyCloudBaseRunServerFlowConf(req: ModifyCloudBaseRunServerFlowConfRequest, cb?: (error: string, rep: ModifyCloudBaseRunServerFlowConfResponse) => void): Promise<ModifyCloudBaseRunServerFlowConfResponse>;
|
|
153
|
+
/**
|
|
154
|
+
* 搜索CLS日志,TCB角色秘钥访问
|
|
155
|
+
*/
|
|
156
|
+
SearchClsLog(req: SearchClsLogRequest, cb?: (error: string, rep: SearchClsLogResponse) => void): Promise<SearchClsLogResponse>;
|
|
153
157
|
/**
|
|
154
158
|
* 查看容器托管的集群状态扩展使用
|
|
155
159
|
*/
|
|
@@ -240,6 +240,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
240
240
|
async ModifyCloudBaseRunServerFlowConf(req, cb) {
|
|
241
241
|
return this.request("ModifyCloudBaseRunServerFlowConf", req, cb);
|
|
242
242
|
}
|
|
243
|
+
/**
|
|
244
|
+
* 搜索CLS日志,TCB角色秘钥访问
|
|
245
|
+
*/
|
|
246
|
+
async SearchClsLog(req, cb) {
|
|
247
|
+
return this.request("SearchClsLog", req, cb);
|
|
248
|
+
}
|
|
243
249
|
/**
|
|
244
250
|
* 查看容器托管的集群状态扩展使用
|
|
245
251
|
*/
|
|
@@ -243,6 +243,19 @@ export interface DeleteCloudBaseRunServerVersionResponse {
|
|
|
243
243
|
*/
|
|
244
244
|
RequestId?: string;
|
|
245
245
|
}
|
|
246
|
+
/**
|
|
247
|
+
* SearchClsLog返回参数结构体
|
|
248
|
+
*/
|
|
249
|
+
export interface SearchClsLogResponse {
|
|
250
|
+
/**
|
|
251
|
+
* 日志内容结果
|
|
252
|
+
*/
|
|
253
|
+
LogResults?: LogResObject;
|
|
254
|
+
/**
|
|
255
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
256
|
+
*/
|
|
257
|
+
RequestId?: string;
|
|
258
|
+
}
|
|
246
259
|
/**
|
|
247
260
|
* 独立网关信息
|
|
248
261
|
*/
|
|
@@ -524,6 +537,23 @@ export interface DescribeCloudBaseRunServerDomainNameResponse {
|
|
|
524
537
|
*/
|
|
525
538
|
RequestId?: string;
|
|
526
539
|
}
|
|
540
|
+
/**
|
|
541
|
+
* CLS日志结果
|
|
542
|
+
*/
|
|
543
|
+
export interface LogResObject {
|
|
544
|
+
/**
|
|
545
|
+
* 获取更多检索结果的游标
|
|
546
|
+
*/
|
|
547
|
+
Context: string;
|
|
548
|
+
/**
|
|
549
|
+
* 搜索结果是否已经全部返回
|
|
550
|
+
*/
|
|
551
|
+
ListOver: boolean;
|
|
552
|
+
/**
|
|
553
|
+
* 日志内容信息
|
|
554
|
+
*/
|
|
555
|
+
Results: Array<LogObject>;
|
|
556
|
+
}
|
|
527
557
|
/**
|
|
528
558
|
* DestroyStandaloneGateway请求参数结构体
|
|
529
559
|
*/
|
|
@@ -1575,6 +1605,10 @@ export interface CreateWxCloudBaseRunServerDBClusterRequest {
|
|
|
1575
1605
|
* 微信appid
|
|
1576
1606
|
*/
|
|
1577
1607
|
WxAppId?: string;
|
|
1608
|
+
/**
|
|
1609
|
+
* mysql内核版本,支持5.7,8.0
|
|
1610
|
+
*/
|
|
1611
|
+
DbVersion?: string;
|
|
1578
1612
|
}
|
|
1579
1613
|
/**
|
|
1580
1614
|
* DeleteCloudBaseProjectLatestVersion返回参数结构体
|
|
@@ -1854,6 +1888,35 @@ export interface DescribeStandaloneGatewayPackageResponse {
|
|
|
1854
1888
|
*/
|
|
1855
1889
|
RequestId?: string;
|
|
1856
1890
|
}
|
|
1891
|
+
/**
|
|
1892
|
+
* CLS日志单条信息
|
|
1893
|
+
*/
|
|
1894
|
+
export interface LogObject {
|
|
1895
|
+
/**
|
|
1896
|
+
* 日志属于的 topic ID
|
|
1897
|
+
*/
|
|
1898
|
+
TopicId: string;
|
|
1899
|
+
/**
|
|
1900
|
+
* 日志主题的名字
|
|
1901
|
+
*/
|
|
1902
|
+
TopicName: string;
|
|
1903
|
+
/**
|
|
1904
|
+
* 日志时间
|
|
1905
|
+
*/
|
|
1906
|
+
Timestamp: string;
|
|
1907
|
+
/**
|
|
1908
|
+
* 日志内容
|
|
1909
|
+
*/
|
|
1910
|
+
Content: string;
|
|
1911
|
+
/**
|
|
1912
|
+
* 采集路径
|
|
1913
|
+
*/
|
|
1914
|
+
FileName: string;
|
|
1915
|
+
/**
|
|
1916
|
+
* 日志来源设备
|
|
1917
|
+
*/
|
|
1918
|
+
Source: string;
|
|
1919
|
+
}
|
|
1857
1920
|
/**
|
|
1858
1921
|
* DestroyStaticStore返回参数结构体
|
|
1859
1922
|
*/
|
|
@@ -2128,6 +2191,11 @@ export interface EnvInfo {
|
|
|
2128
2191
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2129
2192
|
*/
|
|
2130
2193
|
CustomLogServices: Array<ClsInfo>;
|
|
2194
|
+
/**
|
|
2195
|
+
* 环境类型:baas, run, hoting, weda
|
|
2196
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2197
|
+
*/
|
|
2198
|
+
EnvType: string;
|
|
2131
2199
|
}
|
|
2132
2200
|
/**
|
|
2133
2201
|
* DestroyEnv请求参数结构体
|
|
@@ -4389,6 +4457,43 @@ export interface DescribeCloudBaseRunPodListResponse {
|
|
|
4389
4457
|
*/
|
|
4390
4458
|
RequestId?: string;
|
|
4391
4459
|
}
|
|
4460
|
+
/**
|
|
4461
|
+
* SearchClsLog请求参数结构体
|
|
4462
|
+
*/
|
|
4463
|
+
export interface SearchClsLogRequest {
|
|
4464
|
+
/**
|
|
4465
|
+
* 环境唯一ID
|
|
4466
|
+
*/
|
|
4467
|
+
EnvId: string;
|
|
4468
|
+
/**
|
|
4469
|
+
* 查询起始时间条件
|
|
4470
|
+
*/
|
|
4471
|
+
StartTime: string;
|
|
4472
|
+
/**
|
|
4473
|
+
* 查询结束时间条件
|
|
4474
|
+
*/
|
|
4475
|
+
EndTime: string;
|
|
4476
|
+
/**
|
|
4477
|
+
* 查询语句,详情参考 https://cloud.tencent.com/document/product/614/47044
|
|
4478
|
+
*/
|
|
4479
|
+
QueryString: string;
|
|
4480
|
+
/**
|
|
4481
|
+
* 单次要返回的日志条数,单次返回的最大条数为100
|
|
4482
|
+
*/
|
|
4483
|
+
Limit: number;
|
|
4484
|
+
/**
|
|
4485
|
+
* 加载更多使用,透传上次返回的 context 值,获取后续的日志内容,通过游标最多可获取10000条,请尽可能缩小时间范围
|
|
4486
|
+
*/
|
|
4487
|
+
Context?: string;
|
|
4488
|
+
/**
|
|
4489
|
+
* 按时间排序 asc(升序)或者 desc(降序),默认为 desc
|
|
4490
|
+
*/
|
|
4491
|
+
Sort?: string;
|
|
4492
|
+
/**
|
|
4493
|
+
* 是否使用Lucene语法,默认为false
|
|
4494
|
+
*/
|
|
4495
|
+
UseLucene?: boolean;
|
|
4496
|
+
}
|
|
4392
4497
|
/**
|
|
4393
4498
|
* 代码仓库里 Repo的信息描述
|
|
4394
4499
|
*/
|
|
@@ -3430,7 +3430,7 @@ export interface ModifyVirusScanSettingRequest {
|
|
|
3430
3430
|
*/
|
|
3431
3431
|
EnableScan: boolean;
|
|
3432
3432
|
/**
|
|
3433
|
-
* 检测周期每隔多少天
|
|
3433
|
+
* 检测周期每隔多少天(1|3|7)
|
|
3434
3434
|
*/
|
|
3435
3435
|
Cycle: number;
|
|
3436
3436
|
/**
|
|
@@ -3438,7 +3438,7 @@ export interface ModifyVirusScanSettingRequest {
|
|
|
3438
3438
|
*/
|
|
3439
3439
|
BeginScanAt: string;
|
|
3440
3440
|
/**
|
|
3441
|
-
* 扫描全部路径
|
|
3441
|
+
* 扫描全部路径(true:全选,false:自选)
|
|
3442
3442
|
*/
|
|
3443
3443
|
ScanPathAll: boolean;
|
|
3444
3444
|
/**
|
|
@@ -3446,7 +3446,7 @@ export interface ModifyVirusScanSettingRequest {
|
|
|
3446
3446
|
*/
|
|
3447
3447
|
ScanPathType: number;
|
|
3448
3448
|
/**
|
|
3449
|
-
* 超时时长
|
|
3449
|
+
* 超时时长(5~24h)
|
|
3450
3450
|
*/
|
|
3451
3451
|
Timeout: number;
|
|
3452
3452
|
/**
|
|
@@ -3460,11 +3460,11 @@ export interface ModifyVirusScanSettingRequest {
|
|
|
3460
3460
|
/**
|
|
3461
3461
|
* 自选扫描范围的容器id或者主机id 根据ScanRangeType决定
|
|
3462
3462
|
*/
|
|
3463
|
-
ScanIds
|
|
3463
|
+
ScanIds?: Array<string>;
|
|
3464
3464
|
/**
|
|
3465
3465
|
* 扫描路径
|
|
3466
3466
|
*/
|
|
3467
|
-
ScanPath
|
|
3467
|
+
ScanPath?: Array<string>;
|
|
3468
3468
|
}
|
|
3469
3469
|
/**
|
|
3470
3470
|
* DescribeAssetDBServiceList请求参数结构体
|
|
@@ -4754,6 +4754,10 @@ export interface DescribeContainerSecEventSummaryResponse {
|
|
|
4754
4754
|
* 未处理文件篡改
|
|
4755
4755
|
*/
|
|
4756
4756
|
UnhandledFileCnt: number;
|
|
4757
|
+
/**
|
|
4758
|
+
* 未处理木马事件
|
|
4759
|
+
*/
|
|
4760
|
+
UnhandledVirusEventCnt: number;
|
|
4757
4761
|
/**
|
|
4758
4762
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4759
4763
|
*/
|
|
@@ -5361,6 +5365,7 @@ export interface DescribeVirusScanSettingResponse {
|
|
|
5361
5365
|
ScanPath: Array<string>;
|
|
5362
5366
|
/**
|
|
5363
5367
|
* 一键检测的超时设置
|
|
5368
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5364
5369
|
*/
|
|
5365
5370
|
ClickTimeout: number;
|
|
5366
5371
|
/**
|
|
@@ -6052,6 +6057,7 @@ SCAN_SCANNING:正在扫描中,
|
|
|
6052
6057
|
SCAN_FINISH:扫描完成,
|
|
6053
6058
|
SCAN_TIMEOUT:扫描超时
|
|
6054
6059
|
SCAN_CANCELING: 取消中
|
|
6060
|
+
SCAN_CANCELED:已取消
|
|
6055
6061
|
*/
|
|
6056
6062
|
Status: string;
|
|
6057
6063
|
/**
|
|
@@ -8655,7 +8661,7 @@ export interface ImageProgress {
|
|
|
8655
8661
|
*/
|
|
8656
8662
|
export interface ModifyVirusScanTimeoutSettingRequest {
|
|
8657
8663
|
/**
|
|
8658
|
-
* 超时时长单位小时
|
|
8664
|
+
* 超时时长单位小时(5~24h)
|
|
8659
8665
|
*/
|
|
8660
8666
|
Timeout: number;
|
|
8661
8667
|
/**
|
|
@@ -9662,6 +9668,11 @@ FILE_ABNORMAL_DEAL_RECOVER:恢复文件时,文件异常
|
|
|
9662
9668
|
BACKUP_FILE_NOT_FOUND:备份文件不存在
|
|
9663
9669
|
CONTAINER_NOT_FOUND_DEAL_ISOLATE:隔离时,容器不存在
|
|
9664
9670
|
CONTAINER_NOT_FOUND_DEAL_RECOVER:恢复时,容器不存在
|
|
9671
|
+
TIMEOUT: 超时
|
|
9672
|
+
TOO_MANY: 任务过多
|
|
9673
|
+
OFFLINE: 离线
|
|
9674
|
+
INTERNAL: 服务内部错误
|
|
9675
|
+
VALIDATION: 参数非法
|
|
9665
9676
|
*/
|
|
9666
9677
|
SubStatus: string;
|
|
9667
9678
|
}
|
|
@@ -551,8 +551,10 @@ export interface DeployApplicationRequest {
|
|
|
551
551
|
PkgName?: string;
|
|
552
552
|
/**
|
|
553
553
|
* JDK 版本。
|
|
554
|
-
- KONA:使用 kona jdk。
|
|
555
|
-
- OPEN:使用 open jdk。
|
|
554
|
+
- KONA:8:使用 kona jdk 8。
|
|
555
|
+
- OPEN:8:使用 open jdk 8。
|
|
556
|
+
- KONA:11:使用 kona jdk 11。
|
|
557
|
+
- OPEN:11:使用 open jdk 11。
|
|
556
558
|
*/
|
|
557
559
|
JdkVersion?: string;
|
|
558
560
|
/**
|
|
@@ -627,6 +629,18 @@ export interface DeployApplicationRequest {
|
|
|
627
629
|
* 是否启用log,1为启用,0为不启用
|
|
628
630
|
*/
|
|
629
631
|
LogEnable?: number;
|
|
632
|
+
/**
|
|
633
|
+
* (除开镜像配置)配置是否修改
|
|
634
|
+
*/
|
|
635
|
+
ConfEdited?: boolean;
|
|
636
|
+
/**
|
|
637
|
+
* 是否开启应用加速
|
|
638
|
+
*/
|
|
639
|
+
SpeedUp?: boolean;
|
|
640
|
+
/**
|
|
641
|
+
* 启动探针配置
|
|
642
|
+
*/
|
|
643
|
+
StartupProbe?: HealthCheckConfig;
|
|
630
644
|
}
|
|
631
645
|
/**
|
|
632
646
|
* Ingress 配置
|
|
@@ -1559,6 +1573,10 @@ export interface DeployStrategyConf {
|
|
|
1559
1573
|
* 每批暂停间隔
|
|
1560
1574
|
*/
|
|
1561
1575
|
BatchInterval?: number;
|
|
1576
|
+
/**
|
|
1577
|
+
* 最小可用实例数
|
|
1578
|
+
*/
|
|
1579
|
+
MinAvailable?: number;
|
|
1562
1580
|
}
|
|
1563
1581
|
/**
|
|
1564
1582
|
* DescribeIngress请求参数结构体
|
|
@@ -1794,11 +1812,21 @@ export interface CreateEnvironmentRequest {
|
|
|
1794
1812
|
*/
|
|
1795
1813
|
export interface Pair {
|
|
1796
1814
|
/**
|
|
1797
|
-
*
|
|
1815
|
+
* 键
|
|
1798
1816
|
*/
|
|
1799
1817
|
Key: string;
|
|
1800
1818
|
/**
|
|
1801
1819
|
* 值
|
|
1802
1820
|
*/
|
|
1803
1821
|
Value: string;
|
|
1822
|
+
/**
|
|
1823
|
+
* 类型,default 为自定义,reserved 为系统变量,referenced 为引用配置项
|
|
1824
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1825
|
+
*/
|
|
1826
|
+
Type?: string;
|
|
1827
|
+
/**
|
|
1828
|
+
* 配置名称
|
|
1829
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1830
|
+
*/
|
|
1831
|
+
Config?: string;
|
|
1804
1832
|
}
|
|
@@ -22,7 +22,7 @@ export declare class Client extends AbstractClient {
|
|
|
22
22
|
- 支持在审核文本内容时同时关联账号或设备信息,可识别违规风险账号或设备。
|
|
23
23
|
|
|
24
24
|
### 接口调用说明:
|
|
25
|
-
-
|
|
25
|
+
- 文本内容大小支持:文本原文长度不能超过unicode编码长度10000个字符;
|
|
26
26
|
- 文本审核语言支持:目前支持中文、英文、阿拉伯数字的检测;
|
|
27
27
|
- 默认接口请求频率限制:**1000次/秒**,超过该频率限制则接口会报错。
|
|
28
28
|
|
|
@@ -42,7 +42,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
42
42
|
- 支持在审核文本内容时同时关联账号或设备信息,可识别违规风险账号或设备。
|
|
43
43
|
|
|
44
44
|
### 接口调用说明:
|
|
45
|
-
-
|
|
45
|
+
- 文本内容大小支持:文本原文长度不能超过unicode编码长度10000个字符;
|
|
46
46
|
- 文本审核语言支持:目前支持中文、英文、阿拉伯数字的检测;
|
|
47
47
|
- 默认接口请求频率限制:**1000次/秒**,超过该频率限制则接口会报错。
|
|
48
48
|
|
|
@@ -16,7 +16,7 @@ export interface RiskDetails {
|
|
|
16
16
|
*/
|
|
17
17
|
export interface TextModerationRequest {
|
|
18
18
|
/**
|
|
19
|
-
* 该字段表示待检测对象的文本内容,文本需要按utf-8格式编码,长度不能超过10000
|
|
19
|
+
* 该字段表示待检测对象的文本内容,文本需要按utf-8格式编码,长度不能超过10000个字符(按unicode编码计算),并进行 Base64加密
|
|
20
20
|
*/
|
|
21
21
|
Content: string;
|
|
22
22
|
/**
|
|
@@ -98,6 +98,16 @@ it("antiddos.v20200309.ModifyPacketFilterConfig", async function () {
|
|
|
98
98
|
}
|
|
99
99
|
})
|
|
100
100
|
|
|
101
|
+
it("antiddos.v20200309.DescribeListSchedulingDomain", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.DescribeListSchedulingDomain({})
|
|
104
|
+
expect(data).to.be.ok
|
|
105
|
+
} catch(error) {
|
|
106
|
+
expect(error.requestId).to.be.ok
|
|
107
|
+
expect(error.code).to.be.ok
|
|
108
|
+
}
|
|
109
|
+
})
|
|
110
|
+
|
|
101
111
|
it("antiddos.v20200309.CreatePacketFilterConfig", async function () {
|
|
102
112
|
try {
|
|
103
113
|
const data = await client.CreatePacketFilterConfig({})
|
|
@@ -188,9 +198,9 @@ it("antiddos.v20200309.CreateBoundIP", async function () {
|
|
|
188
198
|
}
|
|
189
199
|
})
|
|
190
200
|
|
|
191
|
-
it("antiddos.v20200309.
|
|
201
|
+
it("antiddos.v20200309.DeleteDDoSBlackWhiteIpList", async function () {
|
|
192
202
|
try {
|
|
193
|
-
const data = await client.
|
|
203
|
+
const data = await client.DeleteDDoSBlackWhiteIpList({})
|
|
194
204
|
expect(data).to.be.ok
|
|
195
205
|
} catch(error) {
|
|
196
206
|
expect(error.requestId).to.be.ok
|
|
@@ -318,6 +328,16 @@ it("antiddos.v20200309.DescribeListProtectThresholdConfig", async function () {
|
|
|
318
328
|
}
|
|
319
329
|
})
|
|
320
330
|
|
|
331
|
+
it("antiddos.v20200309.CreatePortAclConfig", async function () {
|
|
332
|
+
try {
|
|
333
|
+
const data = await client.CreatePortAclConfig({})
|
|
334
|
+
expect(data).to.be.ok
|
|
335
|
+
} catch(error) {
|
|
336
|
+
expect(error.requestId).to.be.ok
|
|
337
|
+
expect(error.code).to.be.ok
|
|
338
|
+
}
|
|
339
|
+
})
|
|
340
|
+
|
|
321
341
|
it("antiddos.v20200309.CreateDDoSSpeedLimitConfig", async function () {
|
|
322
342
|
try {
|
|
323
343
|
const data = await client.CreateDDoSSpeedLimitConfig({})
|
|
@@ -498,9 +518,9 @@ it("antiddos.v20200309.CreateProtocolBlockConfig", async function () {
|
|
|
498
518
|
}
|
|
499
519
|
})
|
|
500
520
|
|
|
501
|
-
it("antiddos.v20200309.
|
|
521
|
+
it("antiddos.v20200309.CreatePortAclConfigList", async function () {
|
|
502
522
|
try {
|
|
503
|
-
const data = await client.
|
|
523
|
+
const data = await client.CreatePortAclConfigList({})
|
|
504
524
|
expect(data).to.be.ok
|
|
505
525
|
} catch(error) {
|
|
506
526
|
expect(error.requestId).to.be.ok
|
|
@@ -28,6 +28,16 @@ it("apm.v20210622.CreateApmInstance", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
+
it("apm.v20210622.DescribeMetricRecords", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DescribeMetricRecords({})
|
|
34
|
+
expect(data).to.be.ok
|
|
35
|
+
} catch(error) {
|
|
36
|
+
expect(error.requestId).to.be.ok
|
|
37
|
+
expect(error.code).to.be.ok
|
|
38
|
+
}
|
|
39
|
+
})
|
|
40
|
+
|
|
31
41
|
it("apm.v20210622.DescribeApmInstances", async function () {
|
|
32
42
|
try {
|
|
33
43
|
const data = await client.DescribeApmInstances({})
|