tencentcloud-sdk-nodejs 4.0.607 → 4.0.608
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 +180 -0
- package/SERVICE_CHANGELOG.md +236 -46
- package/package.json +1 -1
- package/products.md +19 -19
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cdb/v20170320/cdb_models.ts +1 -1
- package/src/services/cfw/v20190904/cfw_models.ts +3 -3
- package/src/services/cls/v20201016/cls_models.ts +10 -3
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +4 -4
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +8 -8
- package/src/services/dcdb/v20180411/dcdb_client.ts +31 -18
- package/src/services/dcdb/v20180411/dcdb_models.ts +155 -85
- package/src/services/dlc/v20210125/dlc_client.ts +40 -2
- package/src/services/dlc/v20210125/dlc_models.ts +181 -8
- package/src/services/ess/v20201111/ess_client.ts +1 -1
- package/src/services/ess/v20201111/ess_models.ts +3 -3
- package/src/services/essbasic/v20210526/essbasic_client.ts +4 -3
- package/src/services/essbasic/v20210526/essbasic_models.ts +10 -2
- package/src/services/mariadb/v20170312/mariadb_client.ts +8 -7
- package/src/services/mariadb/v20170312/mariadb_models.ts +55 -15
- package/src/services/mongodb/v20190725/mongodb_models.ts +3 -5
- package/src/services/monitor/v20180724/monitor_client.ts +1 -1
- package/src/services/oceanus/v20190422/oceanus_models.ts +18 -1
- package/src/services/ocr/v20181119/ocr_client.ts +4 -2
- package/src/services/tcss/v20201101/tcss_models.ts +6 -0
- package/src/services/tiia/v20190529/tiia_client.ts +0 -2
- package/src/services/tiia/v20190529/tiia_models.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +1 -1
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +3 -3
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +9 -3
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +4 -4
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +4 -4
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +8 -8
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +17 -13
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +19 -13
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +134 -75
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +13 -1
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +18 -0
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +156 -8
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +1 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +3 -3
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +4 -3
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +4 -3
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +9 -2
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +7 -7
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +7 -7
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +48 -15
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +2 -4
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +1 -1
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +1 -1
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +15 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +2 -0
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +2 -0
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +5 -0
- package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +0 -2
- package/tencentcloud/services/tiia/v20190529/tiia_client.js +0 -2
- package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +1 -1
- package/test/dcdb.v20180411.test.js +12 -2
- package/test/dlc.v20210125.test.js +30 -0
|
@@ -60,7 +60,7 @@ callbackinfo包含: 回调地址和签名key
|
|
|
60
60
|
*/
|
|
61
61
|
UnbindEmployeeUserIdWithClientOpenId(req: UnbindEmployeeUserIdWithClientOpenIdRequest, cb?: (error: string, rep: UnbindEmployeeUserIdWithClientOpenIdResponse) => void): Promise<UnbindEmployeeUserIdWithClientOpenIdResponse>;
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
63
|
+
* 注:此接口将会废弃,请使用撤销单个签署流程(CancelFlow)接口。
|
|
64
64
|
指定需要批量撤回的签署流程Id,获取批量撤销链接。
|
|
65
65
|
客户指定需要撤回的签署流程Id,最多100个,超过100不处理;接口调用成功返回批量撤回合同的链接,通过链接跳转到电子签小程序完成批量撤回。
|
|
66
66
|
*/
|
|
@@ -102,7 +102,7 @@ callbackinfo包含: 回调地址和签名key
|
|
|
102
102
|
return this.request("UnbindEmployeeUserIdWithClientOpenId", req, cb);
|
|
103
103
|
}
|
|
104
104
|
/**
|
|
105
|
-
*
|
|
105
|
+
* 注:此接口将会废弃,请使用撤销单个签署流程(CancelFlow)接口。
|
|
106
106
|
指定需要批量撤回的签署流程Id,获取批量撤销链接。
|
|
107
107
|
客户指定需要撤回的签署流程Id,最多100个,超过100不处理;接口调用成功返回批量撤回合同的链接,通过链接跳转到电子签小程序完成批量撤回。
|
|
108
108
|
*/
|
|
@@ -1760,18 +1760,18 @@ export interface CreateFlowEvidenceReportResponse {
|
|
|
1760
1760
|
* 出证报告 ID,用于查询出证报告DescribeFlowEvidenceReport接口时用到
|
|
1761
1761
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1762
1762
|
*/
|
|
1763
|
-
ReportId
|
|
1763
|
+
ReportId?: string;
|
|
1764
1764
|
/**
|
|
1765
1765
|
* 执行中:EvidenceStatusExecuting
|
|
1766
1766
|
成功:EvidenceStatusSuccess
|
|
1767
1767
|
失败:EvidenceStatusFailed
|
|
1768
1768
|
*/
|
|
1769
|
-
Status
|
|
1769
|
+
Status?: string;
|
|
1770
1770
|
/**
|
|
1771
1771
|
* 废除,字段无效
|
|
1772
1772
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1773
1773
|
*/
|
|
1774
|
-
ReportUrl
|
|
1774
|
+
ReportUrl?: string;
|
|
1775
1775
|
/**
|
|
1776
1776
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1777
1777
|
*/
|
|
@@ -12,10 +12,11 @@ export declare class Client extends AbstractClient {
|
|
|
12
12
|
*/
|
|
13
13
|
ChannelDeleteSealPolicies(req: ChannelDeleteSealPoliciesRequest, cb?: (error: string, rep: ChannelDeleteSealPoliciesResponse) => void): Promise<ChannelDeleteSealPoliciesResponse>;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* 提交企业流程审批结果
|
|
16
|
+
目前存在两种审核操作,签署审核,发起审核
|
|
17
|
+
签署审核:通过接口(CreateFlowsByTemplates或ChannelCreateFlowByFiles或ChannelCreatePrepareFlow)发起签署流程后,若指定了参数 NeedSignReview 为true,则可以调用此接口,指定operate=SignReview,提交企业内部签署审批结果;若签署流程状态正常,且本企业存在签署方未签署,同一签署流程可以多次提交签署审批结果,签署时的最后一个“审批结果”有效
|
|
16
18
|
|
|
17
|
-
|
|
18
|
-
若签署流程状态正常,且本企业存在签署方未签署,同一签署流程可以多次提交签署审批结果,签署时的最后一个“审批结果”有效。
|
|
19
|
+
发起审核:通过接口ChannelCreatePrepareFlow指定发起后需要审核,则可以通过调用此接口,指定operate=CreateReview,提交企业内部审批结果,可多次提交,当通过后,后续提交结果无效
|
|
19
20
|
*/
|
|
20
21
|
ChannelCreateFlowSignReview(req: ChannelCreateFlowSignReviewRequest, cb?: (error: string, rep: ChannelCreateFlowSignReviewResponse) => void): Promise<ChannelCreateFlowSignReviewResponse>;
|
|
21
22
|
/**
|
|
@@ -34,10 +34,11 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
34
34
|
return this.request("ChannelDeleteSealPolicies", req, cb);
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* 提交企业流程审批结果
|
|
38
|
+
目前存在两种审核操作,签署审核,发起审核
|
|
39
|
+
签署审核:通过接口(CreateFlowsByTemplates或ChannelCreateFlowByFiles或ChannelCreatePrepareFlow)发起签署流程后,若指定了参数 NeedSignReview 为true,则可以调用此接口,指定operate=SignReview,提交企业内部签署审批结果;若签署流程状态正常,且本企业存在签署方未签署,同一签署流程可以多次提交签署审批结果,签署时的最后一个“审批结果”有效
|
|
38
40
|
|
|
39
|
-
|
|
40
|
-
若签署流程状态正常,且本企业存在签署方未签署,同一签署流程可以多次提交签署审批结果,签署时的最后一个“审批结果”有效。
|
|
41
|
+
发起审核:通过接口ChannelCreatePrepareFlow指定发起后需要审核,则可以通过调用此接口,指定operate=CreateReview,提交企业内部审批结果,可多次提交,当通过后,后续提交结果无效
|
|
41
42
|
*/
|
|
42
43
|
async ChannelCreateFlowSignReview(req, cb) {
|
|
43
44
|
return this.request("ChannelCreateFlowSignReview", req, cb);
|
|
@@ -123,6 +123,13 @@ SIGN_REJECT:拒签(流程结束)
|
|
|
123
123
|
* 签署节点审核时需要指定
|
|
124
124
|
*/
|
|
125
125
|
RecipientId?: string;
|
|
126
|
+
/**
|
|
127
|
+
* 操作类型,默认:SignReview;SignReview:签署审核,CreateReview:发起审核
|
|
128
|
+
注:接口通过该字段区分操作类型
|
|
129
|
+
该字段不传或者为空,则默认为SignReview签署审核,走签署审核流程
|
|
130
|
+
若想使用发起审核,请指定该字段为:CreateReview
|
|
131
|
+
*/
|
|
132
|
+
OperateType?: string;
|
|
126
133
|
}
|
|
127
134
|
/**
|
|
128
135
|
* 授权出错信息
|
|
@@ -427,7 +434,7 @@ export interface ChannelDeleteRoleUsersRequest {
|
|
|
427
434
|
*/
|
|
428
435
|
Agent: Agent;
|
|
429
436
|
/**
|
|
430
|
-
* 角色Id
|
|
437
|
+
* 角色Id(非超管或法人角色Id)
|
|
431
438
|
*/
|
|
432
439
|
RoleId: string;
|
|
433
440
|
/**
|
|
@@ -511,7 +518,7 @@ export interface ChannelCreatePrepareFlowRequest {
|
|
|
511
518
|
*/
|
|
512
519
|
FlowOption?: CreateFlowOption;
|
|
513
520
|
/**
|
|
514
|
-
*
|
|
521
|
+
* 通过flowid快速获得之前成功通过页面发起的合同生成链接
|
|
515
522
|
*/
|
|
516
523
|
FlowId?: string;
|
|
517
524
|
/**
|
|
@@ -17,7 +17,7 @@ export declare class Client extends AbstractClient {
|
|
|
17
17
|
*/
|
|
18
18
|
DescribeRenewalPrice(req: DescribeRenewalPriceRequest, cb?: (error: string, rep: DescribeRenewalPriceResponse) => void): Promise<DescribeRenewalPriceResponse>;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* 创建MariaDB按量计费实例
|
|
21
21
|
*/
|
|
22
22
|
CreateHourDBInstance(req: CreateHourDBInstanceRequest, cb?: (error: string, rep: CreateHourDBInstanceResponse) => void): Promise<CreateHourDBInstanceResponse>;
|
|
23
23
|
/**
|
|
@@ -58,7 +58,7 @@ export declare class Client extends AbstractClient {
|
|
|
58
58
|
*/
|
|
59
59
|
DescribeBackupTime(req: DescribeBackupTimeRequest, cb?: (error: string, rep: DescribeBackupTimeResponse) => void): Promise<DescribeBackupTimeResponse>;
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* 解隔离MariaDB按量计费实例
|
|
62
62
|
*/
|
|
63
63
|
ActivateHourDBInstance(req: ActivateHourDBInstanceRequest, cb?: (error: string, rep: ActivateHourDBInstanceResponse) => void): Promise<ActivateHourDBInstanceResponse>;
|
|
64
64
|
/**
|
|
@@ -83,7 +83,7 @@ export declare class Client extends AbstractClient {
|
|
|
83
83
|
*/
|
|
84
84
|
DescribeFlow(req: DescribeFlowRequest, cb?: (error: string, rep: DescribeFlowResponse) => void): Promise<DescribeFlowResponse>;
|
|
85
85
|
/**
|
|
86
|
-
*
|
|
86
|
+
* 创建Mariadb独享集群实例
|
|
87
87
|
*/
|
|
88
88
|
CreateDedicatedClusterDBInstance(req: CreateDedicatedClusterDBInstanceRequest, cb?: (error: string, rep: CreateDedicatedClusterDBInstanceResponse) => void): Promise<CreateDedicatedClusterDBInstanceResponse>;
|
|
89
89
|
/**
|
|
@@ -123,7 +123,7 @@ export declare class Client extends AbstractClient {
|
|
|
123
123
|
*/
|
|
124
124
|
ModifyInstanceVip(req: ModifyInstanceVipRequest, cb?: (error: string, rep: ModifyInstanceVipResponse) => void): Promise<ModifyInstanceVipResponse>;
|
|
125
125
|
/**
|
|
126
|
-
* 本接口(IsolateDBInstance)
|
|
126
|
+
* 本接口(IsolateDBInstance)用于隔离云数据库MariaDB实例(包年包月),隔离后不能通过IP和端口访问数据库。隔离的实例可在回收站中进行开机。若为欠费隔离,请尽快进行充值。
|
|
127
127
|
*/
|
|
128
128
|
IsolateDBInstance(req: IsolateDBInstanceRequest, cb?: (error: string, rep: IsolateDBInstanceResponse) => void): Promise<IsolateDBInstanceResponse>;
|
|
129
129
|
/**
|
|
@@ -144,7 +144,7 @@ export declare class Client extends AbstractClient {
|
|
|
144
144
|
*/
|
|
145
145
|
ModifyInstanceNetwork(req: ModifyInstanceNetworkRequest, cb?: (error: string, rep: ModifyInstanceNetworkResponse) => void): Promise<ModifyInstanceNetworkResponse>;
|
|
146
146
|
/**
|
|
147
|
-
* 本接口(DestroyHourDBInstance
|
|
147
|
+
* 本接口(DestroyHourDBInstance)用于销毁MariaDB按量计费实例。
|
|
148
148
|
*/
|
|
149
149
|
DestroyHourDBInstance(req: DestroyHourDBInstanceRequest, cb?: (error: string, rep: DestroyHourDBInstanceResponse) => void): Promise<DestroyHourDBInstanceResponse>;
|
|
150
150
|
/**
|
|
@@ -185,7 +185,7 @@ export declare class Client extends AbstractClient {
|
|
|
185
185
|
*/
|
|
186
186
|
InitDBInstances(req: InitDBInstancesRequest, cb?: (error: string, rep: InitDBInstancesResponse) => void): Promise<InitDBInstancesResponse>;
|
|
187
187
|
/**
|
|
188
|
-
* 本接口(CreateDBInstance
|
|
188
|
+
* 本接口(CreateDBInstance)用于创建包年包月的MariaDB云数据库实例,可通过传入实例规格、数据库版本号、购买时长和数量等信息创建云数据库实例。
|
|
189
189
|
*/
|
|
190
190
|
CreateDBInstance(req: CreateDBInstanceRequest, cb?: (error: string, rep: CreateDBInstanceResponse) => void): Promise<CreateDBInstanceResponse>;
|
|
191
191
|
/**
|
|
@@ -244,7 +244,7 @@ export declare class Client extends AbstractClient {
|
|
|
244
244
|
*/
|
|
245
245
|
CopyAccountPrivileges(req: CopyAccountPrivilegesRequest, cb?: (error: string, rep: CopyAccountPrivilegesResponse) => void): Promise<CopyAccountPrivilegesResponse>;
|
|
246
246
|
/**
|
|
247
|
-
*
|
|
247
|
+
* 隔离MariaDB按量计费实例
|
|
248
248
|
*/
|
|
249
249
|
IsolateHourDBInstance(req: IsolateHourDBInstanceRequest, cb?: (error: string, rep: IsolateHourDBInstanceResponse) => void): Promise<IsolateHourDBInstanceResponse>;
|
|
250
250
|
/**
|
|
@@ -41,7 +41,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
41
41
|
return this.request("DescribeRenewalPrice", req, cb);
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* 创建MariaDB按量计费实例
|
|
45
45
|
*/
|
|
46
46
|
async CreateHourDBInstance(req, cb) {
|
|
47
47
|
return this.request("CreateHourDBInstance", req, cb);
|
|
@@ -102,7 +102,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
102
102
|
return this.request("DescribeBackupTime", req, cb);
|
|
103
103
|
}
|
|
104
104
|
/**
|
|
105
|
-
*
|
|
105
|
+
* 解隔离MariaDB按量计费实例
|
|
106
106
|
*/
|
|
107
107
|
async ActivateHourDBInstance(req, cb) {
|
|
108
108
|
return this.request("ActivateHourDBInstance", req, cb);
|
|
@@ -139,7 +139,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
139
139
|
return this.request("DescribeFlow", req, cb);
|
|
140
140
|
}
|
|
141
141
|
/**
|
|
142
|
-
*
|
|
142
|
+
* 创建Mariadb独享集群实例
|
|
143
143
|
*/
|
|
144
144
|
async CreateDedicatedClusterDBInstance(req, cb) {
|
|
145
145
|
return this.request("CreateDedicatedClusterDBInstance", req, cb);
|
|
@@ -199,7 +199,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
199
199
|
return this.request("ModifyInstanceVip", req, cb);
|
|
200
200
|
}
|
|
201
201
|
/**
|
|
202
|
-
* 本接口(IsolateDBInstance)
|
|
202
|
+
* 本接口(IsolateDBInstance)用于隔离云数据库MariaDB实例(包年包月),隔离后不能通过IP和端口访问数据库。隔离的实例可在回收站中进行开机。若为欠费隔离,请尽快进行充值。
|
|
203
203
|
*/
|
|
204
204
|
async IsolateDBInstance(req, cb) {
|
|
205
205
|
return this.request("IsolateDBInstance", req, cb);
|
|
@@ -228,7 +228,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
228
228
|
return this.request("ModifyInstanceNetwork", req, cb);
|
|
229
229
|
}
|
|
230
230
|
/**
|
|
231
|
-
* 本接口(DestroyHourDBInstance
|
|
231
|
+
* 本接口(DestroyHourDBInstance)用于销毁MariaDB按量计费实例。
|
|
232
232
|
*/
|
|
233
233
|
async DestroyHourDBInstance(req, cb) {
|
|
234
234
|
return this.request("DestroyHourDBInstance", req, cb);
|
|
@@ -289,7 +289,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
289
289
|
return this.request("InitDBInstances", req, cb);
|
|
290
290
|
}
|
|
291
291
|
/**
|
|
292
|
-
* 本接口(CreateDBInstance
|
|
292
|
+
* 本接口(CreateDBInstance)用于创建包年包月的MariaDB云数据库实例,可通过传入实例规格、数据库版本号、购买时长和数量等信息创建云数据库实例。
|
|
293
293
|
*/
|
|
294
294
|
async CreateDBInstance(req, cb) {
|
|
295
295
|
return this.request("CreateDBInstance", req, cb);
|
|
@@ -374,7 +374,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
374
374
|
return this.request("CopyAccountPrivileges", req, cb);
|
|
375
375
|
}
|
|
376
376
|
/**
|
|
377
|
-
*
|
|
377
|
+
* 隔离MariaDB按量计费实例
|
|
378
378
|
*/
|
|
379
379
|
async IsolateHourDBInstance(req, cb) {
|
|
380
380
|
return this.request("IsolateHourDBInstance", req, cb);
|
|
@@ -5,11 +5,11 @@ export interface IsolateHourDBInstanceResponse {
|
|
|
5
5
|
/**
|
|
6
6
|
* 解隔离成功的实例id列表
|
|
7
7
|
*/
|
|
8
|
-
SuccessInstanceIds
|
|
8
|
+
SuccessInstanceIds?: Array<string>;
|
|
9
9
|
/**
|
|
10
10
|
* 解隔离失败的实例id列表
|
|
11
11
|
*/
|
|
12
|
-
FailedInstanceIds
|
|
12
|
+
FailedInstanceIds?: Array<string>;
|
|
13
13
|
/**
|
|
14
14
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
15
15
|
*/
|
|
@@ -83,7 +83,7 @@ export interface CreateDBInstanceRequest {
|
|
|
83
83
|
*/
|
|
84
84
|
AutoRenewFlag?: number;
|
|
85
85
|
/**
|
|
86
|
-
* 是否支持IPv6
|
|
86
|
+
* 是否支持IPv6,0:不支持,1:支持
|
|
87
87
|
*/
|
|
88
88
|
Ipv6Flag?: number;
|
|
89
89
|
/**
|
|
@@ -252,11 +252,11 @@ export interface CreateDedicatedClusterDBInstanceResponse {
|
|
|
252
252
|
/**
|
|
253
253
|
* 分配资源ID数组
|
|
254
254
|
*/
|
|
255
|
-
InstanceIds
|
|
255
|
+
InstanceIds?: Array<string>;
|
|
256
256
|
/**
|
|
257
257
|
* 流程ID
|
|
258
258
|
*/
|
|
259
|
-
FlowId
|
|
259
|
+
FlowId?: number;
|
|
260
260
|
/**
|
|
261
261
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
262
262
|
*/
|
|
@@ -430,11 +430,11 @@ export interface DestroyHourDBInstanceResponse {
|
|
|
430
430
|
/**
|
|
431
431
|
* 异步任务的请求 ID,可使用此 ID [查询异步任务的执行结果](https://cloud.tencent.com/document/product/237/16177)。
|
|
432
432
|
*/
|
|
433
|
-
FlowId
|
|
433
|
+
FlowId?: number;
|
|
434
434
|
/**
|
|
435
435
|
* 实例 ID,与入参InstanceId一致。
|
|
436
436
|
*/
|
|
437
|
-
InstanceId
|
|
437
|
+
InstanceId?: string;
|
|
438
438
|
/**
|
|
439
439
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
440
440
|
*/
|
|
@@ -598,11 +598,11 @@ export interface IsolateDBInstanceResponse {
|
|
|
598
598
|
/**
|
|
599
599
|
* 隔离成功实例ID列表。
|
|
600
600
|
*/
|
|
601
|
-
SuccessInstanceIds
|
|
601
|
+
SuccessInstanceIds?: Array<string>;
|
|
602
602
|
/**
|
|
603
603
|
* 隔离失败实例ID列表。
|
|
604
604
|
*/
|
|
605
|
-
FailedInstanceIds
|
|
605
|
+
FailedInstanceIds?: Array<string>;
|
|
606
606
|
/**
|
|
607
607
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
608
608
|
*/
|
|
@@ -1585,6 +1585,10 @@ export interface DescribeDBInstanceDetailResponse {
|
|
|
1585
1585
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1586
1586
|
*/
|
|
1587
1587
|
RsAccessStrategy?: number;
|
|
1588
|
+
/**
|
|
1589
|
+
* 尚未回收的网络资源
|
|
1590
|
+
*/
|
|
1591
|
+
ReservedNetResources?: Array<ReservedNetResource>;
|
|
1588
1592
|
/**
|
|
1589
1593
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1590
1594
|
*/
|
|
@@ -2712,7 +2716,7 @@ export interface ModifyAccountPrivilegesResponse {
|
|
|
2712
2716
|
/**
|
|
2713
2717
|
* 异步任务的请求 ID,可使用此 ID [查询异步任务的执行结果](https://cloud.tencent.com/document/product/237/16177)。
|
|
2714
2718
|
*/
|
|
2715
|
-
FlowId
|
|
2719
|
+
FlowId?: number;
|
|
2716
2720
|
/**
|
|
2717
2721
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2718
2722
|
*/
|
|
@@ -2792,6 +2796,31 @@ export interface OpenDBExtranetAccessRequest {
|
|
|
2792
2796
|
*/
|
|
2793
2797
|
Ipv6Flag?: number;
|
|
2794
2798
|
}
|
|
2799
|
+
/**
|
|
2800
|
+
* 保留的网络资源信息
|
|
2801
|
+
*/
|
|
2802
|
+
export interface ReservedNetResource {
|
|
2803
|
+
/**
|
|
2804
|
+
* 私有网络
|
|
2805
|
+
*/
|
|
2806
|
+
VpcId?: string;
|
|
2807
|
+
/**
|
|
2808
|
+
* 子网
|
|
2809
|
+
*/
|
|
2810
|
+
SubnetId?: string;
|
|
2811
|
+
/**
|
|
2812
|
+
* VpcId,SubnetId下保留的内网ip
|
|
2813
|
+
*/
|
|
2814
|
+
Vip?: string;
|
|
2815
|
+
/**
|
|
2816
|
+
* Vip下的端口
|
|
2817
|
+
*/
|
|
2818
|
+
Vports?: Array<number>;
|
|
2819
|
+
/**
|
|
2820
|
+
* vip的回收时间
|
|
2821
|
+
*/
|
|
2822
|
+
RecycleTime?: string;
|
|
2823
|
+
}
|
|
2795
2824
|
/**
|
|
2796
2825
|
* 数据库权限
|
|
2797
2826
|
*/
|
|
@@ -3074,7 +3103,7 @@ export interface DescribeDcnDetailResponse {
|
|
|
3074
3103
|
/**
|
|
3075
3104
|
* DCN同步详情
|
|
3076
3105
|
*/
|
|
3077
|
-
DcnDetails
|
|
3106
|
+
DcnDetails?: Array<DcnDetailItem>;
|
|
3078
3107
|
/**
|
|
3079
3108
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3080
3109
|
*/
|
|
@@ -3213,11 +3242,11 @@ export interface ActivateHourDBInstanceResponse {
|
|
|
3213
3242
|
/**
|
|
3214
3243
|
* 隔离成功的实例id列表
|
|
3215
3244
|
*/
|
|
3216
|
-
SuccessInstanceIds
|
|
3245
|
+
SuccessInstanceIds?: Array<string>;
|
|
3217
3246
|
/**
|
|
3218
3247
|
* 隔离失败的实例id列表
|
|
3219
3248
|
*/
|
|
3220
|
-
FailedInstanceIds
|
|
3249
|
+
FailedInstanceIds?: Array<string>;
|
|
3221
3250
|
/**
|
|
3222
3251
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3223
3252
|
*/
|
|
@@ -3545,6 +3574,10 @@ export interface DBAccount {
|
|
|
3545
3574
|
* 针对只读账号,设置策略是否固定备机,0:不固定备机,即备机不满足条件与客户端不断开连接,Proxy选择其他可用备机,1:备机不满足条件断开连接,确保一个连接固定备机。
|
|
3546
3575
|
*/
|
|
3547
3576
|
SlaveConst: number;
|
|
3577
|
+
/**
|
|
3578
|
+
* 用户最大连接数,0代表无限制
|
|
3579
|
+
*/
|
|
3580
|
+
MaxUserConnections?: number;
|
|
3548
3581
|
}
|
|
3549
3582
|
/**
|
|
3550
3583
|
* CreateHourDBInstance请求参数结构体
|
|
@@ -3595,7 +3628,7 @@ export interface CreateHourDBInstanceRequest {
|
|
|
3595
3628
|
*/
|
|
3596
3629
|
SecurityGroupIds?: Array<string>;
|
|
3597
3630
|
/**
|
|
3598
|
-
* 是否支持IPv6
|
|
3631
|
+
* 是否支持IPv6,0:不支持,1:支持
|
|
3599
3632
|
*/
|
|
3600
3633
|
Ipv6Flag?: number;
|
|
3601
3634
|
/**
|
|
@@ -3617,7 +3650,7 @@ innodb_page_size(innodb数据页,默认16K),sync_mode(同步模式:0
|
|
|
3617
3650
|
*/
|
|
3618
3651
|
InitParams?: Array<DBParamValue>;
|
|
3619
3652
|
/**
|
|
3620
|
-
* 回档源实例ID
|
|
3653
|
+
* 回档源实例ID,例如“2021-11-22 00:00:00”
|
|
3621
3654
|
*/
|
|
3622
3655
|
RollbackInstanceId?: string;
|
|
3623
3656
|
/**
|
|
@@ -1917,7 +1917,7 @@ export interface CreateDBInstanceHourRequest {
|
|
|
1917
1917
|
*/
|
|
1918
1918
|
ClusterType: string;
|
|
1919
1919
|
/**
|
|
1920
|
-
* 私有网络ID
|
|
1920
|
+
* 私有网络ID。如果不设置该参数,则默认选择基础网络。
|
|
1921
1921
|
*/
|
|
1922
1922
|
VpcId?: string;
|
|
1923
1923
|
/**
|
|
@@ -1925,9 +1925,7 @@ export interface CreateDBInstanceHourRequest {
|
|
|
1925
1925
|
*/
|
|
1926
1926
|
SubnetId?: string;
|
|
1927
1927
|
/**
|
|
1928
|
-
*
|
|
1929
|
-
- 不设置该参数,则默认密码格式为:实例ID+@+主账户uin。例如:实例 ID 为cmgo-higv73ed,UIN 为100000001,则默认密码为:cmgo-higv73ed@100000001。
|
|
1930
|
-
- 自定义密码长度为8-32个字符,至少包含字母、数字和字符(!@#%^*()_)中的两种。
|
|
1928
|
+
* 实例密码。自定义密码长度为8-32个字符,至少包含字母、数字和字符(!@#%^*()_)中的两种。
|
|
1931
1929
|
*/
|
|
1932
1930
|
Password?: string;
|
|
1933
1931
|
/**
|
|
@@ -303,7 +303,7 @@ export declare class Client extends AbstractClient {
|
|
|
303
303
|
*/
|
|
304
304
|
SendCustomAlarmMsg(req: SendCustomAlarmMsgRequest, cb?: (error: string, rep: SendCustomAlarmMsgResponse) => void): Promise<SendCustomAlarmMsgResponse>;
|
|
305
305
|
/**
|
|
306
|
-
*
|
|
306
|
+
* 修改告警策略绑定的告警通知模板
|
|
307
307
|
*/
|
|
308
308
|
ModifyAlarmPolicyNotice(req: ModifyAlarmPolicyNoticeRequest, cb?: (error: string, rep: ModifyAlarmPolicyNoticeResponse) => void): Promise<ModifyAlarmPolicyNoticeResponse>;
|
|
309
309
|
/**
|
|
@@ -465,7 +465,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
465
465
|
return this.request("SendCustomAlarmMsg", req, cb);
|
|
466
466
|
}
|
|
467
467
|
/**
|
|
468
|
-
*
|
|
468
|
+
* 修改告警策略绑定的告警通知模板
|
|
469
469
|
*/
|
|
470
470
|
async ModifyAlarmPolicyNotice(req, cb) {
|
|
471
471
|
return this.request("ModifyAlarmPolicyNotice", req, cb);
|
|
@@ -146,6 +146,10 @@ export interface CreateJobRequest {
|
|
|
146
146
|
* 工作空间 SerialId
|
|
147
147
|
*/
|
|
148
148
|
WorkSpaceId?: string;
|
|
149
|
+
/**
|
|
150
|
+
* 作业标签
|
|
151
|
+
*/
|
|
152
|
+
Tags?: Array<Tag>;
|
|
149
153
|
}
|
|
150
154
|
/**
|
|
151
155
|
* JobConfig引用资源信息
|
|
@@ -192,7 +196,7 @@ export interface CreateJobResponse {
|
|
|
192
196
|
/**
|
|
193
197
|
* 作业Id
|
|
194
198
|
*/
|
|
195
|
-
JobId
|
|
199
|
+
JobId?: string;
|
|
196
200
|
/**
|
|
197
201
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
198
202
|
*/
|
|
@@ -905,6 +909,11 @@ export interface TreeResourceItem {
|
|
|
905
909
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
906
910
|
*/
|
|
907
911
|
FolderId: string;
|
|
912
|
+
/**
|
|
913
|
+
* 分状态统计关联作业数
|
|
914
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
915
|
+
*/
|
|
916
|
+
RefJobStatusCountSet?: Array<RefJobStatusCountItem>;
|
|
908
917
|
}
|
|
909
918
|
/**
|
|
910
919
|
* 依赖作业分状态计数信息
|
|
@@ -1952,6 +1961,11 @@ export interface JobV1 {
|
|
|
1952
1961
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1953
1962
|
*/
|
|
1954
1963
|
WorkSpaceName: string;
|
|
1964
|
+
/**
|
|
1965
|
+
* 作业标签
|
|
1966
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1967
|
+
*/
|
|
1968
|
+
Tags?: Array<Tag>;
|
|
1955
1969
|
}
|
|
1956
1970
|
/**
|
|
1957
1971
|
* 作业配置详情
|
|
@@ -207,6 +207,8 @@ export declare class Client extends AbstractClient {
|
|
|
207
207
|
RecognizeContainerOCR(req: RecognizeContainerOCRRequest, cb?: (error: string, rep: RecognizeContainerOCRResponse) => void): Promise<RecognizeContainerOCRResponse>;
|
|
208
208
|
/**
|
|
209
209
|
* 本接口支持中英文图片/PDF内常规表格、无线表格、多表格的检测和识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。识别效果比表格识别V2更好,覆盖场景更加广泛,对表格难例场景,如无线表格、嵌套表格(有线表格中包含无线表格)的识别效果均优于表格识别V2。点击[立即体验](https://cloud.tencent.com/product/smart-ocr)。
|
|
210
|
+
|
|
211
|
+
默认接口请求频率限制:2次/秒。
|
|
210
212
|
*/
|
|
211
213
|
RecognizeTableAccurateOCR(req: RecognizeTableAccurateOCRRequest, cb?: (error: string, rep: RecognizeTableAccurateOCRResponse) => void): Promise<RecognizeTableAccurateOCRResponse>;
|
|
212
214
|
/**
|
|
@@ -257,6 +257,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
257
257
|
}
|
|
258
258
|
/**
|
|
259
259
|
* 本接口支持中英文图片/PDF内常规表格、无线表格、多表格的检测和识别,返回每个单元格的文字内容,支持旋转的表格图片识别,且支持将识别结果保存为 Excel 格式。识别效果比表格识别V2更好,覆盖场景更加广泛,对表格难例场景,如无线表格、嵌套表格(有线表格中包含无线表格)的识别效果均优于表格识别V2。点击[立即体验](https://cloud.tencent.com/product/smart-ocr)。
|
|
260
|
+
|
|
261
|
+
默认接口请求频率限制:2次/秒。
|
|
260
262
|
*/
|
|
261
263
|
async RecognizeTableAccurateOCR(req, cb) {
|
|
262
264
|
return this.request("RecognizeTableAccurateOCR", req, cb);
|
|
@@ -7200,6 +7200,11 @@ export interface NetworkClusterInfoItem {
|
|
|
7200
7200
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7201
7201
|
*/
|
|
7202
7202
|
NetworkPolicyPluginError: string;
|
|
7203
|
+
/**
|
|
7204
|
+
* 容器网络插件
|
|
7205
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7206
|
+
*/
|
|
7207
|
+
ClusterNetworkSettings?: string;
|
|
7203
7208
|
}
|
|
7204
7209
|
/**
|
|
7205
7210
|
* AddEscapeWhiteList返回参数结构体
|
|
@@ -58,8 +58,6 @@ export declare class Client extends AbstractClient {
|
|
|
58
58
|
|
|
59
59
|
>
|
|
60
60
|
- 可前往 [图像搜索](https://cloud.tencent.com/document/product/1589) 产品文档中查看更多产品信息。
|
|
61
|
-
|
|
62
|
-
|
|
63
61
|
*/
|
|
64
62
|
CreateGroup(req: CreateGroupRequest, cb?: (error: string, rep: CreateGroupResponse) => void): Promise<CreateGroupResponse>;
|
|
65
63
|
/**
|
|
@@ -288,9 +288,9 @@ it("dcdb.v20180411.ModifyDBInstancesProject", async function () {
|
|
|
288
288
|
}
|
|
289
289
|
})
|
|
290
290
|
|
|
291
|
-
it("dcdb.v20180411.
|
|
291
|
+
it("dcdb.v20180411.CreateTmpDCDBInstance", async function () {
|
|
292
292
|
try {
|
|
293
|
-
const data = await client.
|
|
293
|
+
const data = await client.CreateTmpDCDBInstance({})
|
|
294
294
|
expect(data).to.be.ok
|
|
295
295
|
} catch(error) {
|
|
296
296
|
expect(error.requestId).to.be.ok
|
|
@@ -598,6 +598,16 @@ it("dcdb.v20180411.DescribeDBSecurityGroups", async function () {
|
|
|
598
598
|
}
|
|
599
599
|
})
|
|
600
600
|
|
|
601
|
+
it("dcdb.v20180411.ModifyInstanceVip", async function () {
|
|
602
|
+
try {
|
|
603
|
+
const data = await client.ModifyInstanceVip({})
|
|
604
|
+
expect(data).to.be.ok
|
|
605
|
+
} catch(error) {
|
|
606
|
+
expect(error.requestId).to.be.ok
|
|
607
|
+
expect(error.code).to.be.ok
|
|
608
|
+
}
|
|
609
|
+
})
|
|
610
|
+
|
|
601
611
|
it("dcdb.v20180411.DescribeDCDBUpgradePrice", async function () {
|
|
602
612
|
try {
|
|
603
613
|
const data = await client.DescribeDCDBUpgradePrice({})
|
|
@@ -118,6 +118,16 @@ it("dlc.v20210125.CreateNotebookSessionStatementSupportBatchSQL", async function
|
|
|
118
118
|
}
|
|
119
119
|
})
|
|
120
120
|
|
|
121
|
+
it("dlc.v20210125.DescribeSparkSessionBatchSqlLog", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.DescribeSparkSessionBatchSqlLog({})
|
|
124
|
+
expect(data).to.be.ok
|
|
125
|
+
} catch(error) {
|
|
126
|
+
expect(error.requestId).to.be.ok
|
|
127
|
+
expect(error.code).to.be.ok
|
|
128
|
+
}
|
|
129
|
+
})
|
|
130
|
+
|
|
121
131
|
it("dlc.v20210125.SwitchDataEngine", async function () {
|
|
122
132
|
try {
|
|
123
133
|
const data = await client.SwitchDataEngine({})
|
|
@@ -388,6 +398,16 @@ it("dlc.v20210125.CreateDatabase", async function () {
|
|
|
388
398
|
}
|
|
389
399
|
})
|
|
390
400
|
|
|
401
|
+
it("dlc.v20210125.CreateSparkSessionBatchSQL", async function () {
|
|
402
|
+
try {
|
|
403
|
+
const data = await client.CreateSparkSessionBatchSQL({})
|
|
404
|
+
expect(data).to.be.ok
|
|
405
|
+
} catch(error) {
|
|
406
|
+
expect(error.requestId).to.be.ok
|
|
407
|
+
expect(error.code).to.be.ok
|
|
408
|
+
}
|
|
409
|
+
})
|
|
410
|
+
|
|
391
411
|
it("dlc.v20210125.DescribeNotebookSessionStatements", async function () {
|
|
392
412
|
try {
|
|
393
413
|
const data = await client.DescribeNotebookSessionStatements({})
|
|
@@ -568,6 +588,16 @@ it("dlc.v20210125.CreateWorkGroup", async function () {
|
|
|
568
588
|
}
|
|
569
589
|
})
|
|
570
590
|
|
|
591
|
+
it("dlc.v20210125.CancelSparkSessionBatchSQL", async function () {
|
|
592
|
+
try {
|
|
593
|
+
const data = await client.CancelSparkSessionBatchSQL({})
|
|
594
|
+
expect(data).to.be.ok
|
|
595
|
+
} catch(error) {
|
|
596
|
+
expect(error.requestId).to.be.ok
|
|
597
|
+
expect(error.code).to.be.ok
|
|
598
|
+
}
|
|
599
|
+
})
|
|
600
|
+
|
|
571
601
|
it("dlc.v20210125.CancelTask", async function () {
|
|
572
602
|
try {
|
|
573
603
|
const data = await client.CancelTask({})
|