tencentcloud-sdk-nodejs 4.0.503 → 4.0.505
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 +297 -0
- package/SERVICE_CHANGELOG.md +368 -8
- package/package.json +1 -1
- package/products.md +28 -28
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_models.ts +23 -1
- package/src/services/bda/v20200324/bda_models.ts +13 -5
- package/src/services/bpaas/v20181217/bpaas_models.ts +25 -1
- package/src/services/captcha/v20190722/captcha_client.ts +1 -1
- package/src/services/cbs/v20170312/cbs_client.ts +1 -3
- package/src/services/cbs/v20170312/cbs_models.ts +24 -24
- package/src/services/ccc/v20200210/ccc_client.ts +13 -1
- package/src/services/ccc/v20200210/ccc_models.ts +54 -29
- package/src/services/cdc/v20201214/cdc_models.ts +6 -0
- package/src/services/cfw/v20190904/cfw_models.ts +1 -1
- package/src/services/cvm/v20170312/cvm_models.ts +18 -38
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +65 -10
- package/src/services/gme/v20180711/gme_client.ts +6 -6
- package/src/services/gme/v20180711/gme_models.ts +7 -7
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +2 -2
- package/src/services/mps/v20190612/mps_models.ts +15 -6
- package/src/services/nlp/v20190408/nlp_client.ts +28 -4
- package/src/services/nlp/v20190408/nlp_models.ts +118 -38
- package/src/services/postgres/v20170312/postgres_client.ts +143 -44
- package/src/services/postgres/v20170312/postgres_models.ts +620 -212
- package/src/services/redis/v20180412/redis_client.ts +1 -1
- package/src/services/redis/v20180412/redis_models.ts +33 -33
- package/src/services/ses/v20201002/ses_client.ts +12 -0
- package/src/services/ses/v20201002/ses_models.ts +25 -0
- package/src/services/tcss/v20201101/tcss_client.ts +1 -1
- package/src/services/tcss/v20201101/tcss_models.ts +1 -1
- package/src/services/tem/v20210701/tem_models.ts +5 -0
- package/src/services/tiia/v20190529/tiia_client.ts +1 -1
- package/src/services/tiia/v20190529/tiia_models.ts +1 -1
- package/src/services/tione/v20211111/tione_models.ts +5 -0
- package/src/services/tsf/v20180326/tsf_models.ts +3 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +19 -1
- package/tencentcloud/services/bda/v20200324/bda_models.d.ts +12 -5
- package/tencentcloud/services/bpaas/v20181217/bpaas_models.d.ts +21 -1
- package/tencentcloud/services/captcha/v20190722/captcha_client.d.ts +1 -1
- package/tencentcloud/services/captcha/v20190722/captcha_client.js +1 -1
- package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +1 -3
- package/tencentcloud/services/cbs/v20170312/cbs_client.js +1 -3
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +21 -21
- package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +5 -1
- package/tencentcloud/services/ccc/v20200210/ccc_client.js +6 -0
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +46 -24
- package/tencentcloud/services/cdc/v20201214/cdc_models.d.ts +5 -0
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +1 -1
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +14 -37
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +47 -2
- package/tencentcloud/services/gme/v20180711/gme_client.d.ts +6 -6
- package/tencentcloud/services/gme/v20180711/gme_client.js +6 -6
- package/tencentcloud/services/gme/v20180711/gme_models.d.ts +7 -7
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +2 -2
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +12 -4
- package/tencentcloud/services/nlp/v20190408/nlp_client.d.ts +9 -1
- package/tencentcloud/services/nlp/v20190408/nlp_client.js +12 -0
- package/tencentcloud/services/nlp/v20190408/nlp_models.d.ts +103 -35
- package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +45 -13
- package/tencentcloud/services/postgres/v20170312/postgres_client.js +66 -18
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +517 -170
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +1 -1
- package/tencentcloud/services/redis/v20180412/redis_client.js +1 -1
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +33 -33
- package/tencentcloud/services/ses/v20201002/ses_client.d.ts +5 -1
- package/tencentcloud/services/ses/v20201002/ses_client.js +6 -0
- package/tencentcloud/services/ses/v20201002/ses_models.d.ts +22 -0
- package/tencentcloud/services/tcss/v20201101/tcss_client.d.ts +1 -1
- package/tencentcloud/services/tcss/v20201101/tcss_client.js +1 -1
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +1 -1
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +4 -0
- package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +1 -1
- package/tencentcloud/services/tiia/v20190529/tiia_client.js +1 -1
- package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +1 -1
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +4 -0
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +1 -0
- package/test/ccc.v20200210.test.js +10 -0
- package/test/nlp.v20190408.test.js +20 -0
- package/test/postgres.v20170312.test.js +92 -12
- package/test/ses.v20201002.test.js +10 -0
|
@@ -4995,6 +4995,11 @@ export interface SwitchWaterPrintConfigRequest {
|
|
|
4995
4995
|
* 水印开启/关闭状态,1表示开启;0表示关闭
|
|
4996
4996
|
*/
|
|
4997
4997
|
OpenStatus: number
|
|
4998
|
+
|
|
4999
|
+
/**
|
|
5000
|
+
* 是否开启代理,1开启则忽略IP+端口校验;0关闭则需要IP+端口校验
|
|
5001
|
+
*/
|
|
5002
|
+
CloudSdkProxy?: number
|
|
4998
5003
|
}
|
|
4999
5004
|
|
|
5000
5005
|
/**
|
|
@@ -5136,6 +5141,12 @@ shortfpcheckall(精简模式)
|
|
|
5136
5141
|
]
|
|
5137
5142
|
*/
|
|
5138
5143
|
Verify?: string
|
|
5144
|
+
|
|
5145
|
+
/**
|
|
5146
|
+
* 是否开启代理,1开启则忽略IP+端口校验;0关闭则需要IP+端口校验
|
|
5147
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5148
|
+
*/
|
|
5149
|
+
CloudSdkProxy?: number
|
|
5139
5150
|
}
|
|
5140
5151
|
|
|
5141
5152
|
/**
|
|
@@ -5554,6 +5565,17 @@ export interface BGPInstance {
|
|
|
5554
5565
|
* 攻击封堵套餐标记
|
|
5555
5566
|
*/
|
|
5556
5567
|
VitalityVersion: number
|
|
5568
|
+
|
|
5569
|
+
/**
|
|
5570
|
+
* 网络线路
|
|
5571
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5572
|
+
*/
|
|
5573
|
+
Line: number
|
|
5574
|
+
|
|
5575
|
+
/**
|
|
5576
|
+
* 弹性业务带宽开关
|
|
5577
|
+
*/
|
|
5578
|
+
ElasticServiceBandwidth: number
|
|
5557
5579
|
}
|
|
5558
5580
|
|
|
5559
5581
|
/**
|
|
@@ -5636,7 +5658,7 @@ export interface DescribeBizTrendRequest {
|
|
|
5636
5658
|
Business: string
|
|
5637
5659
|
|
|
5638
5660
|
/**
|
|
5639
|
-
* 统计周期,可取值300,1800,3600,21600,86400,单位秒
|
|
5661
|
+
* 统计周期,可取值60,300,1800,3600,21600,86400,单位秒
|
|
5640
5662
|
*/
|
|
5641
5663
|
Period: number
|
|
5642
5664
|
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
*/
|
|
21
21
|
export interface SegmentPortraitPicResponse {
|
|
22
22
|
/**
|
|
23
|
-
* 处理后的图片 base64
|
|
23
|
+
* 处理后的图片 base64 数据,透明背景图。
|
|
24
24
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
25
25
|
*/
|
|
26
26
|
ResultImage: string
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
|
-
* 一个通过
|
|
29
|
+
* 一个通过 base64 编码的文件,解码后文件由 Float 型浮点数组成。这些浮点数代表原图从左上角开始的每一行的每一个像素点,每一个浮点数的值是原图相应像素点位于人体轮廓内的置信度(0-1)转化的灰度值(0-255)。
|
|
30
30
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
31
31
|
*/
|
|
32
32
|
ResultMask: string
|
|
@@ -38,13 +38,13 @@ export interface SegmentPortraitPicResponse {
|
|
|
38
38
|
HasForeground: boolean
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
|
-
* 支持将处理过的图片 base64 数据,透明背景图以
|
|
41
|
+
* 支持将处理过的图片 base64 数据,透明背景图以Url的形式返回值,Url有效期为30分钟。
|
|
42
42
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
43
43
|
*/
|
|
44
44
|
ResultImageUrl: string
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
|
-
* 一个通过
|
|
47
|
+
* 一个通过 base64 编码的文件,解码后文件由 Float 型浮点数组成。支持以Url形式的返回值;Url有效期为30分钟。
|
|
48
48
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
49
49
|
*/
|
|
50
50
|
ResultMaskUrl: string
|
|
@@ -1004,9 +1004,17 @@ Url、Image必须提供一个,如果都提供,只使用 Url。
|
|
|
1004
1004
|
Url?: string
|
|
1005
1005
|
|
|
1006
1006
|
/**
|
|
1007
|
-
* 返回图像方式(base64 或
|
|
1007
|
+
* 返回图像方式(base64 或 Url ) ,二选一。url有效期为30分钟。
|
|
1008
1008
|
*/
|
|
1009
1009
|
RspImgType?: string
|
|
1010
|
+
|
|
1011
|
+
/**
|
|
1012
|
+
* 适用场景类型。
|
|
1013
|
+
|
|
1014
|
+
取值:GEN/GS。GEN为通用场景模式;GS为绿幕场景模式,针对绿幕场景下的人像分割效果更好。
|
|
1015
|
+
两种模式选择一种传入,默认为GEN。
|
|
1016
|
+
*/
|
|
1017
|
+
Scene?: string
|
|
1010
1018
|
}
|
|
1011
1019
|
|
|
1012
1020
|
/**
|
|
@@ -52,7 +52,7 @@ export interface StatusNode {
|
|
|
52
52
|
ScfName: string
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
|
-
* 状态(0:待审批,1:审批通过,2:拒绝,3:scf执行失败,4:scf执行成功)
|
|
55
|
+
* 状态(0:待审批,1:审批通过,2:拒绝,3:scf执行失败,4:scf执行成功)18: 外部审批中
|
|
56
56
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
57
57
|
*/
|
|
58
58
|
SubStatus: number
|
|
@@ -110,6 +110,30 @@ export interface StatusNode {
|
|
|
110
110
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
111
111
|
*/
|
|
112
112
|
CallMethod: number
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* CKafka - 接入资源ID
|
|
116
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
117
|
+
*/
|
|
118
|
+
DataHubId: string
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* CKafka - 任务名称
|
|
122
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
123
|
+
*/
|
|
124
|
+
TaskName: string
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* CKafka - 地域
|
|
128
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
129
|
+
*/
|
|
130
|
+
CKafkaRegion: string
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* 外部审批Url
|
|
134
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
135
|
+
*/
|
|
136
|
+
ExternalUrl: string
|
|
113
137
|
}
|
|
114
138
|
|
|
115
139
|
/**
|
|
@@ -566,9 +566,7 @@ export class Client extends AbstractClient {
|
|
|
566
566
|
}
|
|
567
567
|
|
|
568
568
|
/**
|
|
569
|
-
*
|
|
570
|
-
|
|
571
|
-
可根据快照ID过滤。快照ID形如:snap-a1kmcp13。
|
|
569
|
+
* 查询快照操作日志功能已迁移至LookUpEvents接口(https://cloud.tencent.com/document/product/629/12359),本接口(DescribeSnapshotOperationLogs)即将下线,后续不再提供调用,请知悉。
|
|
572
570
|
|
|
573
571
|
*/
|
|
574
572
|
async DescribeSnapshotOperationLogs(
|
|
@@ -16,15 +16,33 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* 快照操作日志,已废弃。
|
|
20
20
|
*/
|
|
21
21
|
export interface SnapshotOperationLog {
|
|
22
|
+
/**
|
|
23
|
+
* 操作的状态。取值范围:
|
|
24
|
+
SUCCESS :表示操作成功
|
|
25
|
+
FAILED :表示操作失败
|
|
26
|
+
PROCESSING :表示操作中。
|
|
27
|
+
*/
|
|
28
|
+
OperationState: string
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* 开始时间。
|
|
32
|
+
*/
|
|
33
|
+
StartTime: string
|
|
34
|
+
|
|
22
35
|
/**
|
|
23
36
|
* 操作者的UIN。
|
|
24
37
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
25
38
|
*/
|
|
26
39
|
Operator: string
|
|
27
40
|
|
|
41
|
+
/**
|
|
42
|
+
* 操作的快照ID。
|
|
43
|
+
*/
|
|
44
|
+
SnapshotId: string
|
|
45
|
+
|
|
28
46
|
/**
|
|
29
47
|
* 操作类型。取值范围:
|
|
30
48
|
SNAP_OPERATION_DELETE:删除快照
|
|
@@ -37,24 +55,6 @@ ASP_OPERATION_DELETE_SNAP:由定期快照策略删除快照
|
|
|
37
55
|
*/
|
|
38
56
|
Operation: string
|
|
39
57
|
|
|
40
|
-
/**
|
|
41
|
-
* 操作的快照ID。
|
|
42
|
-
*/
|
|
43
|
-
SnapshotId: string
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* 操作的状态。取值范围:
|
|
47
|
-
SUCCESS :表示操作成功
|
|
48
|
-
FAILED :表示操作失败
|
|
49
|
-
PROCESSING :表示操作中。
|
|
50
|
-
*/
|
|
51
|
-
OperationState: string
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* 开始时间。
|
|
55
|
-
*/
|
|
56
|
-
StartTime: string
|
|
57
|
-
|
|
58
58
|
/**
|
|
59
59
|
* 结束时间。
|
|
60
60
|
*/
|
|
@@ -207,14 +207,14 @@ export interface DescribeSnapshotOperationLogsRequest {
|
|
|
207
207
|
Filters: Array<Filter>
|
|
208
208
|
|
|
209
209
|
/**
|
|
210
|
-
*
|
|
210
|
+
* 要查询的操作日志的截止时间,例如:“2019-11-22 23:59:59"
|
|
211
211
|
*/
|
|
212
|
-
|
|
212
|
+
EndTime?: string
|
|
213
213
|
|
|
214
214
|
/**
|
|
215
|
-
*
|
|
215
|
+
* 要查询的操作日志的起始时间,例如:“2019-11-22 00:00:00"
|
|
216
216
|
*/
|
|
217
|
-
|
|
217
|
+
BeginTime?: string
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
/**
|
|
@@ -1109,7 +1109,7 @@ export interface DescribeSnapshotOperationLogsResponse {
|
|
|
1109
1109
|
/**
|
|
1110
1110
|
* 快照操作日志列表。
|
|
1111
1111
|
*/
|
|
1112
|
-
SnapshotOperationLogSet
|
|
1112
|
+
SnapshotOperationLogSet: Array<SnapshotOperationLog>
|
|
1113
1113
|
|
|
1114
1114
|
/**
|
|
1115
1115
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -20,6 +20,7 @@ import { ClientConfig } from "../../../common/interface"
|
|
|
20
20
|
import {
|
|
21
21
|
DescribeExtensionRequest,
|
|
22
22
|
StopAutoCalloutTaskRequest,
|
|
23
|
+
HangUpCallRequest,
|
|
23
24
|
CreateSDKLoginTokenResponse,
|
|
24
25
|
ModifyStaffRequest,
|
|
25
26
|
DeleteStaffResponse,
|
|
@@ -82,6 +83,7 @@ import {
|
|
|
82
83
|
CreateAutoCalloutTaskRequest,
|
|
83
84
|
Filter,
|
|
84
85
|
UnbindStaffSkillGroupListRequest,
|
|
86
|
+
CreateCallOutSessionRequest,
|
|
85
87
|
StopAutoCalloutTaskResponse,
|
|
86
88
|
SkillGroupItem,
|
|
87
89
|
MessageBody,
|
|
@@ -109,7 +111,7 @@ import {
|
|
|
109
111
|
ModifyStaffResponse,
|
|
110
112
|
DescribeStaffStatusMetricsResponse,
|
|
111
113
|
DescribeCarrierPrivilegeNumberApplicantsResponse,
|
|
112
|
-
|
|
114
|
+
HangUpCallResponse,
|
|
113
115
|
BindStaffSkillGroupListResponse,
|
|
114
116
|
DescribeExtensionsRequest,
|
|
115
117
|
DescribeProtectedTelCdrRequest,
|
|
@@ -159,6 +161,16 @@ export class Client extends AbstractClient {
|
|
|
159
161
|
return this.request("DescribeStaffInfoList", req, cb)
|
|
160
162
|
}
|
|
161
163
|
|
|
164
|
+
/**
|
|
165
|
+
* 挂断电话
|
|
166
|
+
*/
|
|
167
|
+
async HangUpCall(
|
|
168
|
+
req: HangUpCallRequest,
|
|
169
|
+
cb?: (error: string, rep: HangUpCallResponse) => void
|
|
170
|
+
): Promise<HangUpCallResponse> {
|
|
171
|
+
return this.request("HangUpCall", req, cb)
|
|
172
|
+
}
|
|
173
|
+
|
|
162
174
|
/**
|
|
163
175
|
* 获取当前正在通话的会话列表
|
|
164
176
|
*/
|
|
@@ -45,6 +45,21 @@ export interface StopAutoCalloutTaskRequest {
|
|
|
45
45
|
TaskId: number
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
+
/**
|
|
49
|
+
* HangUpCall请求参数结构体
|
|
50
|
+
*/
|
|
51
|
+
export interface HangUpCallRequest {
|
|
52
|
+
/**
|
|
53
|
+
* TCCC 实例应用 ID
|
|
54
|
+
*/
|
|
55
|
+
SdkAppId: number
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* 会话ID
|
|
59
|
+
*/
|
|
60
|
+
SessionId: string
|
|
61
|
+
}
|
|
62
|
+
|
|
48
63
|
/**
|
|
49
64
|
* CreateSDKLoginToken返回参数结构体
|
|
50
65
|
*/
|
|
@@ -2063,6 +2078,41 @@ export interface UnbindStaffSkillGroupListRequest {
|
|
|
2063
2078
|
SkillGroupList: Array<number>
|
|
2064
2079
|
}
|
|
2065
2080
|
|
|
2081
|
+
/**
|
|
2082
|
+
* CreateCallOutSession请求参数结构体
|
|
2083
|
+
*/
|
|
2084
|
+
export interface CreateCallOutSessionRequest {
|
|
2085
|
+
/**
|
|
2086
|
+
* 应用 ID
|
|
2087
|
+
*/
|
|
2088
|
+
SdkAppId: number
|
|
2089
|
+
|
|
2090
|
+
/**
|
|
2091
|
+
* 客服用户 ID,一般为客服邮箱
|
|
2092
|
+
*/
|
|
2093
|
+
UserId: string
|
|
2094
|
+
|
|
2095
|
+
/**
|
|
2096
|
+
* 被叫号码,须带 0086 前缀
|
|
2097
|
+
*/
|
|
2098
|
+
Callee: string
|
|
2099
|
+
|
|
2100
|
+
/**
|
|
2101
|
+
* 主叫号码,须带 0086 前缀
|
|
2102
|
+
*/
|
|
2103
|
+
Caller?: string
|
|
2104
|
+
|
|
2105
|
+
/**
|
|
2106
|
+
* 是否强制使用手机外呼,当前只支持 true,若为 true 请确保已配置白名单
|
|
2107
|
+
*/
|
|
2108
|
+
IsForceUseMobile?: boolean
|
|
2109
|
+
|
|
2110
|
+
/**
|
|
2111
|
+
* 自定义数据,长度限制 1024 字节
|
|
2112
|
+
*/
|
|
2113
|
+
Uui?: string
|
|
2114
|
+
}
|
|
2115
|
+
|
|
2066
2116
|
/**
|
|
2067
2117
|
* StopAutoCalloutTask返回参数结构体
|
|
2068
2118
|
*/
|
|
@@ -2676,38 +2726,13 @@ export interface DescribeCarrierPrivilegeNumberApplicantsResponse {
|
|
|
2676
2726
|
}
|
|
2677
2727
|
|
|
2678
2728
|
/**
|
|
2679
|
-
*
|
|
2729
|
+
* HangUpCall返回参数结构体
|
|
2680
2730
|
*/
|
|
2681
|
-
export interface
|
|
2682
|
-
/**
|
|
2683
|
-
* 应用 ID
|
|
2684
|
-
*/
|
|
2685
|
-
SdkAppId: number
|
|
2686
|
-
|
|
2687
|
-
/**
|
|
2688
|
-
* 客服用户 ID,一般为客服邮箱
|
|
2689
|
-
*/
|
|
2690
|
-
UserId: string
|
|
2691
|
-
|
|
2731
|
+
export interface HangUpCallResponse {
|
|
2692
2732
|
/**
|
|
2693
|
-
*
|
|
2694
|
-
*/
|
|
2695
|
-
Callee: string
|
|
2696
|
-
|
|
2697
|
-
/**
|
|
2698
|
-
* 主叫号码,须带 0086 前缀
|
|
2699
|
-
*/
|
|
2700
|
-
Caller?: string
|
|
2701
|
-
|
|
2702
|
-
/**
|
|
2703
|
-
* 是否强制使用手机外呼,当前只支持 true,若为 true 请确保已配置白名单
|
|
2704
|
-
*/
|
|
2705
|
-
IsForceUseMobile?: boolean
|
|
2706
|
-
|
|
2707
|
-
/**
|
|
2708
|
-
* 自定义数据,长度限制 1024 字节
|
|
2733
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2709
2734
|
*/
|
|
2710
|
-
|
|
2735
|
+
RequestId?: string
|
|
2711
2736
|
}
|
|
2712
2737
|
|
|
2713
2738
|
/**
|
|
@@ -3198,6 +3198,22 @@ export interface Instance {
|
|
|
3198
3198
|
* 实例销毁保护标志,表示是否允许通过api接口删除实例。取值范围:<br><li>TRUE:表示开启实例保护,不允许通过api接口删除实例<br><li>FALSE:表示关闭实例保护,允许通过api接口删除实例<br><br>默认取值:FALSE。
|
|
3199
3199
|
*/
|
|
3200
3200
|
DisableApiTermination?: boolean
|
|
3201
|
+
|
|
3202
|
+
/**
|
|
3203
|
+
* 默认登录用户。
|
|
3204
|
+
*/
|
|
3205
|
+
DefaultLoginUser?: string
|
|
3206
|
+
|
|
3207
|
+
/**
|
|
3208
|
+
* 默认登录端口。
|
|
3209
|
+
*/
|
|
3210
|
+
DefaultLoginPort?: number
|
|
3211
|
+
|
|
3212
|
+
/**
|
|
3213
|
+
* 实例的最新操作错误信息。
|
|
3214
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3215
|
+
*/
|
|
3216
|
+
LatestOperationErrorMsg?: string
|
|
3201
3217
|
}
|
|
3202
3218
|
|
|
3203
3219
|
/**
|
|
@@ -4066,44 +4082,8 @@ export interface DescribeInstancesRequest {
|
|
|
4066
4082
|
InstanceIds?: Array<string>
|
|
4067
4083
|
|
|
4068
4084
|
/**
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
<li><strong>project-id</strong></li>
|
|
4072
|
-
<p style="padding-left: 30px;">按照【<strong>项目ID</strong>】进行过滤,可通过调用[DescribeProject](https://cloud.tencent.com/document/api/378/4400)查询已创建的项目列表或登录[控制台](https://console.cloud.tencent.com/cvm/index)进行查看;也可以调用[AddProject](https://cloud.tencent.com/document/api/378/4398)创建新的项目。项目ID形如:1002189。</p><p style="padding-left: 30px;">类型:Integer</p><p style="padding-left: 30px;">必选:否</p>
|
|
4073
|
-
<li><strong>host-id</strong></li>
|
|
4074
|
-
<p style="padding-left: 30px;">按照【<strong>[CDH](https://cloud.tencent.com/document/product/416) ID</strong>】进行过滤。[CDH](https://cloud.tencent.com/document/product/416) ID形如:host-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
4075
|
-
<li><strong>dedicated-cluster-id</strong></li>
|
|
4076
|
-
<p style="padding-left: 30px;">按照【<strong>[CDC](https://cloud.tencent.com/document/product/1346) ID</strong>】进行过滤。[CDC](https://cloud.tencent.com/document/product/1346) ID形如:cluster-xxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
4077
|
-
<li><strong>vpc-id</strong></li>
|
|
4078
|
-
<p style="padding-left: 30px;">按照【<strong>VPC ID</strong>】进行过滤。VPC ID形如:vpc-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
4079
|
-
<li><strong>subnet-id</strong></li>
|
|
4080
|
-
<p style="padding-left: 30px;">按照【<strong>子网ID</strong>】进行过滤。子网ID形如:subnet-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
4081
|
-
<li><strong>instance-id</strong></li>
|
|
4082
|
-
<p style="padding-left: 30px;">按照【<strong>实例ID</strong>】进行过滤。实例ID形如:ins-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
4083
|
-
<li><strong>uuid</strong></li>
|
|
4084
|
-
<p style="padding-left: 30px;">按照【<strong>实例UUID</strong>】进行过滤。实例UUID形如:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
4085
|
-
<li><strong>security-group-id</strong></li>
|
|
4086
|
-
<p style="padding-left: 30px;">按照【<strong>安全组ID</strong>】进行过滤。安全组ID形如: sg-8jlk3f3r。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
4087
|
-
<li><strong>instance-name</strong></li>
|
|
4088
|
-
<p style="padding-left: 30px;">按照【<strong>实例名称</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
4089
|
-
<li><strong>instance-charge-type</strong></li>
|
|
4090
|
-
<p style="padding-left: 30px;">按照【<strong>实例计费模式</strong>】进行过滤。(PREPAID:表示预付费,即包年包月 | POSTPAID_BY_HOUR:表示后付费,即按量计费 | CDHPAID:表示[CDH](https://cloud.tencent.com/document/product/416)付费,即只对[CDH](https://cloud.tencent.com/document/product/416)计费,不对[CDH](https://cloud.tencent.com/document/product/416)上的实例计费。)</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
4091
|
-
<li><strong>instance-state</strong></li>
|
|
4092
|
-
<p style="padding-left: 30px;">按照【<strong>实例状态</strong>】进行过滤。状态类型详见[实例状态表](https://cloud.tencent.com/document/api/213/15753#InstanceStatus)</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
4093
|
-
<li><strong>private-ip-address</strong></li>
|
|
4094
|
-
<p style="padding-left: 30px;">按照【<strong>实例主网卡的内网IP</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
4095
|
-
<li><strong>public-ip-address</strong></li>
|
|
4096
|
-
<p style="padding-left: 30px;">按照【<strong>实例主网卡的公网IP</strong>】进行过滤,包含实例创建时自动分配的IP和实例创建后手动绑定的弹性IP。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
4097
|
-
<li><strong>ipv6-address</strong></li>
|
|
4098
|
-
<p style="padding-left: 30px;">按照【<strong>实例的IPv6地址</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
4099
|
-
<li><strong>tag-key</strong></li>
|
|
4100
|
-
<p style="padding-left: 30px;">按照【<strong>标签键</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
4101
|
-
<li><strong>tag-value</strong></li>
|
|
4102
|
-
<p style="padding-left: 30px;">按照【<strong>标签值</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
4103
|
-
<li><strong>tag:tag-key</strong></li>
|
|
4104
|
-
<p style="padding-left: 30px;">按照【<strong>标签键值对</strong>】进行过滤。tag-key使用具体的标签键进行替换。使用请参考示例2。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p>
|
|
4105
|
-
每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`InstanceIds`和`Filters`。
|
|
4106
|
-
*/
|
|
4085
|
+
* <li><strong>zone</strong></li> <p style="padding-left: 30px;">按照【<strong>可用区</strong>】进行过滤。可用区形如:ap-guangzhou-1。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p><p style="padding-left: 30px;">可选项:<a href="https://cloud.tencent.com/document/product/213/6091">可用区列表</a></p> <li><strong>project-id</strong></li> <p style="padding-left: 30px;">按照【<strong>项目ID</strong>】进行过滤,可通过调用[DescribeProject](https://cloud.tencent.com/document/api/378/4400)查询已创建的项目列表或登录[控制台](https://console.cloud.tencent.com/cvm/index)进行查看;也可以调用[AddProject](https://cloud.tencent.com/document/api/378/4398)创建新的项目。项目ID形如:1002189。</p><p style="padding-left: 30px;">类型:Integer</p><p style="padding-left: 30px;">必选:否</p> <li><strong>host-id</strong></li> <p style="padding-left: 30px;">按照【<strong>[CDH](https://cloud.tencent.com/document/product/416) ID</strong>】进行过滤。[CDH](https://cloud.tencent.com/document/product/416) ID形如:host-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>dedicated-cluster-id</strong></li> <p style="padding-left: 30px;">按照【<strong>[CDC](https://cloud.tencent.com/document/product/1346) ID</strong>】进行过滤。[CDC](https://cloud.tencent.com/document/product/1346) ID形如:cluster-xxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>vpc-id</strong></li> <p style="padding-left: 30px;">按照【<strong>VPC ID</strong>】进行过滤。VPC ID形如:vpc-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>subnet-id</strong></li> <p style="padding-left: 30px;">按照【<strong>子网ID</strong>】进行过滤。子网ID形如:subnet-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>instance-id</strong></li> <p style="padding-left: 30px;">按照【<strong>实例ID</strong>】进行过滤。实例ID形如:ins-xxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>uuid</strong></li> <p style="padding-left: 30px;">按照【<strong>实例UUID</strong>】进行过滤。实例UUID形如:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>security-group-id</strong></li> <p style="padding-left: 30px;">按照【<strong>安全组ID</strong>】进行过滤。安全组ID形如: sg-8jlk3f3r。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>instance-name</strong></li> <p style="padding-left: 30px;">按照【<strong>实例名称</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>instance-charge-type</strong></li> <p style="padding-left: 30px;">按照【<strong>实例计费模式</strong>】进行过滤。(PREPAID:表示预付费,即包年包月 | POSTPAID_BY_HOUR:表示后付费,即按量计费 | CDHPAID:表示[CDH](https://cloud.tencent.com/document/product/416)付费,即只对[CDH](https://cloud.tencent.com/document/product/416)计费,不对[CDH](https://cloud.tencent.com/document/product/416)上的实例计费。)</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>instance-state</strong></li> <p style="padding-left: 30px;">按照【<strong>实例状态</strong>】进行过滤。状态类型详见[实例状态表](https://cloud.tencent.com/document/api/213/15753#InstanceStatus)</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>private-ip-address</strong></li> <p style="padding-left: 30px;">按照【<strong>实例主网卡的内网IP</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>public-ip-address</strong></li> <p style="padding-left: 30px;">按照【<strong>实例主网卡的公网IP</strong>】进行过滤,包含实例创建时自动分配的IP和实例创建后手动绑定的弹性IP。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>ipv6-address</strong></li> <p style="padding-left: 30px;">按照【<strong>实例的IPv6地址</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>tag-key</strong></li> <p style="padding-left: 30px;">按照【<strong>标签键</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>tag-value</strong></li> <p style="padding-left: 30px;">按照【<strong>标签值</strong>】进行过滤。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> <li><strong>tag:tag-key</strong></li> <p style="padding-left: 30px;">按照【<strong>标签键值对</strong>】进行过滤。tag-key使用具体的标签键进行替换。使用请参考示例2。</p><p style="padding-left: 30px;">类型:String</p><p style="padding-left: 30px;">必选:否</p> 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`InstanceIds`和`Filters`。
|
|
4086
|
+
*/
|
|
4107
4087
|
Filters?: Array<Filter>
|
|
4108
4088
|
|
|
4109
4089
|
/**
|
|
@@ -150,8 +150,24 @@ export interface DescribeAccountsRequest {
|
|
|
150
150
|
/**
|
|
151
151
|
* 数据库类型,取值范围:
|
|
152
152
|
<li> MYSQL </li>
|
|
153
|
+
该参数已废用
|
|
153
154
|
*/
|
|
154
155
|
DbType?: string
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* 需要过滤的账户列表
|
|
159
|
+
*/
|
|
160
|
+
Hosts?: Array<string>
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* 限制量
|
|
164
|
+
*/
|
|
165
|
+
Limit?: number
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* 偏移量
|
|
169
|
+
*/
|
|
170
|
+
Offset?: number
|
|
155
171
|
}
|
|
156
172
|
|
|
157
173
|
/**
|
|
@@ -184,13 +200,15 @@ export interface ModifyMaintainPeriodConfigRequest {
|
|
|
184
200
|
*/
|
|
185
201
|
export interface DescribeRollbackTimeRangeResponse {
|
|
186
202
|
/**
|
|
187
|
-
|
|
188
|
-
|
|
203
|
+
* 有效回归时间范围开始时间点(已废弃)
|
|
204
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
205
|
+
*/
|
|
189
206
|
TimeRangeStart: string
|
|
190
207
|
|
|
191
208
|
/**
|
|
192
|
-
|
|
193
|
-
|
|
209
|
+
* 有效回归时间范围结束时间点(已废弃)
|
|
210
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
211
|
+
*/
|
|
194
212
|
TimeRangeEnd: string
|
|
195
213
|
|
|
196
214
|
/**
|
|
@@ -495,8 +513,9 @@ export interface DescribeClusterParamsResponse {
|
|
|
495
513
|
TotalCount: number
|
|
496
514
|
|
|
497
515
|
/**
|
|
498
|
-
|
|
499
|
-
|
|
516
|
+
* 实例参数列表
|
|
517
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
518
|
+
*/
|
|
500
519
|
Items: Array<ParamInfo>
|
|
501
520
|
|
|
502
521
|
/**
|
|
@@ -1459,6 +1478,11 @@ export interface DescribeProjectSecurityGroupsResponse {
|
|
|
1459
1478
|
*/
|
|
1460
1479
|
Groups: Array<SecurityGroup>
|
|
1461
1480
|
|
|
1481
|
+
/**
|
|
1482
|
+
* 总数量
|
|
1483
|
+
*/
|
|
1484
|
+
Total: number
|
|
1485
|
+
|
|
1462
1486
|
/**
|
|
1463
1487
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1464
1488
|
*/
|
|
@@ -1722,6 +1746,11 @@ export interface DescribeBackupListRequest {
|
|
|
1722
1746
|
* 备份备注名,模糊查询
|
|
1723
1747
|
*/
|
|
1724
1748
|
BackupNames?: Array<string>
|
|
1749
|
+
|
|
1750
|
+
/**
|
|
1751
|
+
* 快照备份Id列表
|
|
1752
|
+
*/
|
|
1753
|
+
SnapshotIdList?: Array<number>
|
|
1725
1754
|
}
|
|
1726
1755
|
|
|
1727
1756
|
/**
|
|
@@ -2284,7 +2313,7 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
|
|
|
2284
2313
|
AlarmPolicyIds?: Array<string>
|
|
2285
2314
|
|
|
2286
2315
|
/**
|
|
2287
|
-
*
|
|
2316
|
+
* 参数数组,暂时支持character_set_server (utf8|latin1|gbk|utf8mb4) ,lower_case_table_names,1-大小写不敏感,0-大小写敏感
|
|
2288
2317
|
*/
|
|
2289
2318
|
ClusterParams?: Array<ParamItem>
|
|
2290
2319
|
|
|
@@ -2623,7 +2652,22 @@ export interface DescribeProjectSecurityGroupsRequest {
|
|
|
2623
2652
|
/**
|
|
2624
2653
|
* 项目ID
|
|
2625
2654
|
*/
|
|
2626
|
-
ProjectId
|
|
2655
|
+
ProjectId?: number
|
|
2656
|
+
|
|
2657
|
+
/**
|
|
2658
|
+
* 限制量
|
|
2659
|
+
*/
|
|
2660
|
+
Limit?: number
|
|
2661
|
+
|
|
2662
|
+
/**
|
|
2663
|
+
* 偏移量
|
|
2664
|
+
*/
|
|
2665
|
+
Offset?: number
|
|
2666
|
+
|
|
2667
|
+
/**
|
|
2668
|
+
* 搜索关键字
|
|
2669
|
+
*/
|
|
2670
|
+
SearchKey?: string
|
|
2627
2671
|
}
|
|
2628
2672
|
|
|
2629
2673
|
/**
|
|
@@ -4647,10 +4691,16 @@ export interface ModifyClusterParamRequest {
|
|
|
4647
4691
|
*/
|
|
4648
4692
|
export interface DescribeAccountsResponse {
|
|
4649
4693
|
/**
|
|
4650
|
-
|
|
4651
|
-
|
|
4694
|
+
* 数据库账号列表
|
|
4695
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4696
|
+
*/
|
|
4652
4697
|
AccountSet: Array<Account>
|
|
4653
4698
|
|
|
4699
|
+
/**
|
|
4700
|
+
* 账号总数量
|
|
4701
|
+
*/
|
|
4702
|
+
TotalCount: number
|
|
4703
|
+
|
|
4654
4704
|
/**
|
|
4655
4705
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4656
4706
|
*/
|
|
@@ -4729,6 +4779,11 @@ export interface DescribeClusterParamsRequest {
|
|
|
4729
4779
|
* 集群ID
|
|
4730
4780
|
*/
|
|
4731
4781
|
ClusterId: string
|
|
4782
|
+
|
|
4783
|
+
/**
|
|
4784
|
+
* 参数名字
|
|
4785
|
+
*/
|
|
4786
|
+
ParamName?: string
|
|
4732
4787
|
}
|
|
4733
4788
|
|
|
4734
4789
|
/**
|