tencentcloud-sdk-nodejs 4.0.577 → 4.0.579
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 +144 -0
- package/SERVICE_CHANGELOG.md +161 -317
- package/package.json +1 -1
- package/products.md +25 -25
- package/src/common/sdk_version.ts +1 -1
- package/src/services/bma/v20210624/bma_client.ts +2 -16
- package/src/services/bma/v20210624/bma_models.ts +35 -105
- package/src/services/btoe/index.ts +2 -2
- package/src/services/chdfs/index.ts +2 -2
- package/src/services/cvm/v20170312/cvm_models.ts +6 -4
- package/src/services/cwp/v20180228/cwp_models.ts +27 -19
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +2 -2
- package/src/services/ess/v20201111/ess_client.ts +8 -8
- package/src/services/ess/v20201111/ess_models.ts +13 -8
- package/src/services/essbasic/index.ts +2 -2
- package/src/services/essbasic/v20210526/essbasic_models.ts +6 -0
- package/src/services/facefusion/index.ts +2 -2
- package/src/services/faceid/v20180301/faceid_models.ts +12 -0
- package/src/services/iotvideo/index.ts +2 -2
- package/src/services/mgobe/index.ts +2 -2
- package/src/services/mps/v20190612/mps_models.ts +2 -2
- package/src/services/redis/v20180412/redis_client.ts +27 -3
- package/src/services/redis/v20180412/redis_models.ts +225 -93
- package/src/services/sms/index.ts +2 -2
- package/src/services/tcaplusdb/v20190823/tcaplusdb_client.ts +51 -9
- package/src/services/tcaplusdb/v20190823/tcaplusdb_models.ts +241 -35
- package/src/services/tem/index.ts +2 -2
- package/src/services/teo/v20220901/teo_models.ts +2 -2
- package/src/services/thpc/index.ts +2 -2
- package/src/services/tiw/v20190919/tiw_client.ts +1 -1
- package/src/services/tiw/v20190919/tiw_models.ts +2 -2
- package/src/services/trp/v20210515/trp_models.ts +5 -0
- package/src/services/tsw/index.ts +2 -2
- package/src/services/vm/index.ts +4 -4
- package/src/services/vrs/v20200824/vrs_client.ts +0 -4
- package/src/services/vrs/v20200824/vrs_models.ts +3 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/bma/v20210624/bma_client.d.ts +1 -7
- package/tencentcloud/services/bma/v20210624/bma_client.js +0 -8
- package/tencentcloud/services/bma/v20210624/bma_models.d.ts +31 -89
- package/tencentcloud/services/btoe/index.d.ts +4 -4
- package/tencentcloud/services/btoe/index.js +2 -2
- package/tencentcloud/services/chdfs/index.d.ts +4 -4
- package/tencentcloud/services/chdfs/index.js +2 -2
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +6 -4
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +26 -18
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +2 -2
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +8 -8
- package/tencentcloud/services/ess/v20201111/ess_client.js +8 -8
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +12 -8
- package/tencentcloud/services/essbasic/index.d.ts +4 -4
- package/tencentcloud/services/essbasic/index.js +2 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +5 -0
- package/tencentcloud/services/facefusion/index.d.ts +4 -4
- package/tencentcloud/services/facefusion/index.js +2 -2
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +10 -0
- package/tencentcloud/services/iotvideo/index.d.ts +4 -4
- package/tencentcloud/services/iotvideo/index.js +2 -2
- package/tencentcloud/services/mgobe/index.d.ts +4 -4
- package/tencentcloud/services/mgobe/index.js +2 -2
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +2 -2
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +11 -3
- package/tencentcloud/services/redis/v20180412/redis_client.js +14 -2
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +201 -80
- package/tencentcloud/services/sms/index.d.ts +4 -4
- package/tencentcloud/services/sms/index.js +2 -2
- package/tencentcloud/services/tcaplusdb/v20190823/tcaplusdb_client.d.ts +19 -3
- package/tencentcloud/services/tcaplusdb/v20190823/tcaplusdb_client.js +25 -3
- package/tencentcloud/services/tcaplusdb/v20190823/tcaplusdb_models.d.ts +207 -32
- package/tencentcloud/services/tem/index.d.ts +4 -4
- package/tencentcloud/services/tem/index.js +2 -2
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +2 -2
- package/tencentcloud/services/thpc/index.d.ts +4 -4
- package/tencentcloud/services/thpc/index.js +2 -2
- package/tencentcloud/services/tiw/v20190919/tiw_client.d.ts +1 -1
- package/tencentcloud/services/tiw/v20190919/tiw_client.js +1 -1
- package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +2 -2
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +4 -0
- package/tencentcloud/services/tsw/index.d.ts +4 -4
- package/tencentcloud/services/tsw/index.js +2 -2
- package/tencentcloud/services/vm/index.d.ts +6 -6
- package/tencentcloud/services/vm/index.js +4 -4
- package/tencentcloud/services/vrs/v20200824/vrs_client.d.ts +0 -4
- package/tencentcloud/services/vrs/v20200824/vrs_client.js +0 -4
- package/tencentcloud/services/vrs/v20200824/vrs_models.d.ts +2 -1
- package/test/bma.v20210624.test.js +0 -10
- package/test/redis.v20180412.test.js +20 -0
- package/test/tcaplusdb.v20190823.test.js +32 -2
|
@@ -27,6 +27,7 @@ import {
|
|
|
27
27
|
DeleteClusterResponse,
|
|
28
28
|
DeleteTableIndexResponse,
|
|
29
29
|
TableRollbackResultNew,
|
|
30
|
+
DescribeBackupRecordsResponse,
|
|
30
31
|
ApplyStatus,
|
|
31
32
|
RegionInfo,
|
|
32
33
|
DescribeTablesResponse,
|
|
@@ -76,11 +77,13 @@ import {
|
|
|
76
77
|
SetTableIndexRequest,
|
|
77
78
|
ModifyTableQuotasResponse,
|
|
78
79
|
RecoverRecycleTablesRequest,
|
|
80
|
+
ModifyClusterMachineRequest,
|
|
79
81
|
DeleteSnapshotsResponse,
|
|
80
82
|
DeleteTablesResponse,
|
|
81
83
|
ModifyTableGroupNameRequest,
|
|
84
|
+
BackupExpireRuleInfo,
|
|
82
85
|
DescribeTableGroupsRequest,
|
|
83
|
-
|
|
86
|
+
ModifyCensorshipResponse,
|
|
84
87
|
MergeTablesDataRequest,
|
|
85
88
|
CreateClusterRequest,
|
|
86
89
|
ModifyTableGroupTagsRequest,
|
|
@@ -99,6 +102,8 @@ import {
|
|
|
99
102
|
DescribeIdlFileInfosResponse,
|
|
100
103
|
ServerMachineInfo,
|
|
101
104
|
CreateSnapshotsResponse,
|
|
105
|
+
SetBackupExpireRuleRequest,
|
|
106
|
+
DeleteBackupRecordsResponse,
|
|
102
107
|
IdlFileInfo,
|
|
103
108
|
DisableRestProxyResponse,
|
|
104
109
|
TagInfoUnit,
|
|
@@ -115,6 +120,8 @@ import {
|
|
|
115
120
|
DescribeTableTagsResponse,
|
|
116
121
|
CreateTableGroupResponse,
|
|
117
122
|
DescribeSnapshotsResponse,
|
|
123
|
+
SetBackupExpireRuleResponse,
|
|
124
|
+
DeleteBackupRecordsRequest,
|
|
118
125
|
VerifyIdlFilesRequest,
|
|
119
126
|
EnableRestProxyResponse,
|
|
120
127
|
ModifyClusterNameResponse,
|
|
@@ -141,15 +148,16 @@ import {
|
|
|
141
148
|
DescribeApplicationsRequest,
|
|
142
149
|
DescribeTableGroupsResponse,
|
|
143
150
|
DeleteTableGroupResponse,
|
|
151
|
+
DescribeBackupRecordsRequest,
|
|
144
152
|
PoolInfo,
|
|
145
153
|
DescribeMachineRequest,
|
|
146
154
|
RollbackTablesRequest,
|
|
147
|
-
|
|
155
|
+
DescribeUinInWhitelistRequest,
|
|
148
156
|
CompareIdlFilesRequest,
|
|
149
157
|
ProxyDetailInfo,
|
|
150
158
|
IdlFileInfoWithoutContent,
|
|
151
159
|
ModifyTableMemosResponse,
|
|
152
|
-
|
|
160
|
+
BackupRecords,
|
|
153
161
|
Filter,
|
|
154
162
|
ModifySnapshotsRequest,
|
|
155
163
|
ImportSnapshotsRequest,
|
|
@@ -257,6 +265,16 @@ export class Client extends AbstractClient {
|
|
|
257
265
|
return this.request("DescribeTablesInRecycle", req, cb)
|
|
258
266
|
}
|
|
259
267
|
|
|
268
|
+
/**
|
|
269
|
+
* 修改指定的集群名称
|
|
270
|
+
*/
|
|
271
|
+
async ModifyClusterName(
|
|
272
|
+
req: ModifyClusterNameRequest,
|
|
273
|
+
cb?: (error: string, rep: ModifyClusterNameResponse) => void
|
|
274
|
+
): Promise<ModifyClusterNameResponse> {
|
|
275
|
+
return this.request("ModifyClusterName", req, cb)
|
|
276
|
+
}
|
|
277
|
+
|
|
260
278
|
/**
|
|
261
279
|
* 当restful api为关闭状态时,可以通过此接口关闭restful api
|
|
262
280
|
*/
|
|
@@ -278,13 +296,13 @@ export class Client extends AbstractClient {
|
|
|
278
296
|
}
|
|
279
297
|
|
|
280
298
|
/**
|
|
281
|
-
*
|
|
299
|
+
* 删除手工备份
|
|
282
300
|
*/
|
|
283
|
-
async
|
|
284
|
-
req:
|
|
285
|
-
cb?: (error: string, rep:
|
|
286
|
-
): Promise<
|
|
287
|
-
return this.request("
|
|
301
|
+
async DeleteBackupRecords(
|
|
302
|
+
req: DeleteBackupRecordsRequest,
|
|
303
|
+
cb?: (error: string, rep: DeleteBackupRecordsResponse) => void
|
|
304
|
+
): Promise<DeleteBackupRecordsResponse> {
|
|
305
|
+
return this.request("DeleteBackupRecords", req, cb)
|
|
288
306
|
}
|
|
289
307
|
|
|
290
308
|
/**
|
|
@@ -357,6 +375,16 @@ export class Client extends AbstractClient {
|
|
|
357
375
|
return this.request("EnableRestProxy", req, cb)
|
|
358
376
|
}
|
|
359
377
|
|
|
378
|
+
/**
|
|
379
|
+
* 新增、删除、修改备份过期策略, ClusterId必须为具体的集群Id(appid)
|
|
380
|
+
*/
|
|
381
|
+
async SetBackupExpireRule(
|
|
382
|
+
req: SetBackupExpireRuleRequest,
|
|
383
|
+
cb?: (error: string, rep: SetBackupExpireRuleResponse) => void
|
|
384
|
+
): Promise<SetBackupExpireRuleResponse> {
|
|
385
|
+
return this.request("SetBackupExpireRule", req, cb)
|
|
386
|
+
}
|
|
387
|
+
|
|
360
388
|
/**
|
|
361
389
|
* 用户创建备份任务
|
|
362
390
|
*/
|
|
@@ -497,6 +525,20 @@ export class Client extends AbstractClient {
|
|
|
497
525
|
return this.request("DescribeSnapshots", req, cb)
|
|
498
526
|
}
|
|
499
527
|
|
|
528
|
+
/**
|
|
529
|
+
* 查询备份记录
|
|
530
|
+
|
|
531
|
+
查询集群级别时, 将TableGroupId设置为"-1", 将TableName设置为"-1"
|
|
532
|
+
查询集群+表格组级别时, 将TableName设置为"-1"
|
|
533
|
+
查询集群+表格组+表格级别时, 都不能设置为“-1”
|
|
534
|
+
*/
|
|
535
|
+
async DescribeBackupRecords(
|
|
536
|
+
req: DescribeBackupRecordsRequest,
|
|
537
|
+
cb?: (error: string, rep: DescribeBackupRecordsResponse) => void
|
|
538
|
+
): Promise<DescribeBackupRecordsResponse> {
|
|
539
|
+
return this.request("DescribeBackupRecords", req, cb)
|
|
540
|
+
}
|
|
541
|
+
|
|
500
542
|
/**
|
|
501
543
|
* 修改集群标签
|
|
502
544
|
*/
|
|
@@ -232,6 +232,26 @@ export interface TableRollbackResultNew {
|
|
|
232
232
|
TotalKeyNum: number
|
|
233
233
|
}
|
|
234
234
|
|
|
235
|
+
/**
|
|
236
|
+
* DescribeBackupRecords返回参数结构体
|
|
237
|
+
*/
|
|
238
|
+
export interface DescribeBackupRecordsResponse {
|
|
239
|
+
/**
|
|
240
|
+
* 备份记录详情
|
|
241
|
+
*/
|
|
242
|
+
BackupRecords: Array<BackupRecords>
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* 返回记录条数
|
|
246
|
+
*/
|
|
247
|
+
TotalCount: number
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
251
|
+
*/
|
|
252
|
+
RequestId?: string
|
|
253
|
+
}
|
|
254
|
+
|
|
235
255
|
/**
|
|
236
256
|
* 申请单id及其状态
|
|
237
257
|
*/
|
|
@@ -1609,6 +1629,31 @@ export interface RecoverRecycleTablesRequest {
|
|
|
1609
1629
|
SelectedTables: Array<SelectedTableInfoNew>
|
|
1610
1630
|
}
|
|
1611
1631
|
|
|
1632
|
+
/**
|
|
1633
|
+
* ModifyClusterMachine请求参数结构体
|
|
1634
|
+
*/
|
|
1635
|
+
export interface ModifyClusterMachineRequest {
|
|
1636
|
+
/**
|
|
1637
|
+
* 集群id
|
|
1638
|
+
*/
|
|
1639
|
+
ClusterId: string
|
|
1640
|
+
|
|
1641
|
+
/**
|
|
1642
|
+
* svr占用的机器
|
|
1643
|
+
*/
|
|
1644
|
+
ServerList: Array<MachineInfo>
|
|
1645
|
+
|
|
1646
|
+
/**
|
|
1647
|
+
* proxy占用的机器
|
|
1648
|
+
*/
|
|
1649
|
+
ProxyList: Array<MachineInfo>
|
|
1650
|
+
|
|
1651
|
+
/**
|
|
1652
|
+
* 集群类型1共享集群2独占集群
|
|
1653
|
+
*/
|
|
1654
|
+
ClusterType: number
|
|
1655
|
+
}
|
|
1656
|
+
|
|
1612
1657
|
/**
|
|
1613
1658
|
* DeleteSnapshots返回参数结构体
|
|
1614
1659
|
*/
|
|
@@ -1669,6 +1714,43 @@ export interface ModifyTableGroupNameRequest {
|
|
|
1669
1714
|
TableGroupName: string
|
|
1670
1715
|
}
|
|
1671
1716
|
|
|
1717
|
+
/**
|
|
1718
|
+
* 备份保留策略详情
|
|
1719
|
+
集群策略: ClueterId=集群Id, TableGroupId=-1, TableName="-1"
|
|
1720
|
+
集群+表格组策略: ClueterId=集群Id, TableGroupId=表格组Id, TableName="-1"
|
|
1721
|
+
集群+表格组+表格策略: ClueterId=集群Id, TableGroupId=表格组Id, TableName="表格名"
|
|
1722
|
+
|
|
1723
|
+
FileTag=0 txh引擎文件, =1 ulog流水文件, 当要设置为=1时, 这两项不可变 TableGroupId=-1和TableName="-1"
|
|
1724
|
+
ExpireDay为大于等于1,小于999的整形数字
|
|
1725
|
+
OperType=0 代表动作为新增, =1 代表动作为删除, =2 代表动作为修改, 其中0和2可以混用,后端实现兼容
|
|
1726
|
+
*/
|
|
1727
|
+
export interface BackupExpireRuleInfo {
|
|
1728
|
+
/**
|
|
1729
|
+
* 所属表格组ID
|
|
1730
|
+
*/
|
|
1731
|
+
TableGroupId: string
|
|
1732
|
+
|
|
1733
|
+
/**
|
|
1734
|
+
* 表名称
|
|
1735
|
+
*/
|
|
1736
|
+
TableName: string
|
|
1737
|
+
|
|
1738
|
+
/**
|
|
1739
|
+
* 文件标签,见上面描述
|
|
1740
|
+
*/
|
|
1741
|
+
FileTag: number
|
|
1742
|
+
|
|
1743
|
+
/**
|
|
1744
|
+
* 淘汰天数,见上面描述
|
|
1745
|
+
*/
|
|
1746
|
+
ExpireDay: number
|
|
1747
|
+
|
|
1748
|
+
/**
|
|
1749
|
+
* 操作类型,见上面描述
|
|
1750
|
+
*/
|
|
1751
|
+
OperType: number
|
|
1752
|
+
}
|
|
1753
|
+
|
|
1672
1754
|
/**
|
|
1673
1755
|
* DescribeTableGroups请求参数结构体
|
|
1674
1756
|
*/
|
|
@@ -1700,9 +1782,30 @@ export interface DescribeTableGroupsRequest {
|
|
|
1700
1782
|
}
|
|
1701
1783
|
|
|
1702
1784
|
/**
|
|
1703
|
-
*
|
|
1785
|
+
* ModifyCensorship返回参数结构体
|
|
1704
1786
|
*/
|
|
1705
|
-
export
|
|
1787
|
+
export interface ModifyCensorshipResponse {
|
|
1788
|
+
/**
|
|
1789
|
+
* 集群id
|
|
1790
|
+
*/
|
|
1791
|
+
ClusterId: string
|
|
1792
|
+
|
|
1793
|
+
/**
|
|
1794
|
+
* 已加入审批人的uin
|
|
1795
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1796
|
+
*/
|
|
1797
|
+
Uins: Array<string>
|
|
1798
|
+
|
|
1799
|
+
/**
|
|
1800
|
+
* 集群是否开启审核 0-关闭 1-开启
|
|
1801
|
+
*/
|
|
1802
|
+
Censorship: number
|
|
1803
|
+
|
|
1804
|
+
/**
|
|
1805
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1806
|
+
*/
|
|
1807
|
+
RequestId?: string
|
|
1808
|
+
}
|
|
1706
1809
|
|
|
1707
1810
|
/**
|
|
1708
1811
|
* MergeTablesData请求参数结构体
|
|
@@ -2065,6 +2168,37 @@ export interface CreateSnapshotsResponse {
|
|
|
2065
2168
|
RequestId?: string
|
|
2066
2169
|
}
|
|
2067
2170
|
|
|
2171
|
+
/**
|
|
2172
|
+
* SetBackupExpireRule请求参数结构体
|
|
2173
|
+
*/
|
|
2174
|
+
export interface SetBackupExpireRuleRequest {
|
|
2175
|
+
/**
|
|
2176
|
+
* 表所属集群实例ID
|
|
2177
|
+
*/
|
|
2178
|
+
ClusterId: string
|
|
2179
|
+
|
|
2180
|
+
/**
|
|
2181
|
+
* 淘汰策略数组
|
|
2182
|
+
*/
|
|
2183
|
+
BackupExpireRules: Array<BackupExpireRuleInfo>
|
|
2184
|
+
}
|
|
2185
|
+
|
|
2186
|
+
/**
|
|
2187
|
+
* DeleteBackupRecords返回参数结构体
|
|
2188
|
+
*/
|
|
2189
|
+
export interface DeleteBackupRecordsResponse {
|
|
2190
|
+
/**
|
|
2191
|
+
* TaskId由 AppInstanceId-taskId 组成,以区分不同集群的任务
|
|
2192
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2193
|
+
*/
|
|
2194
|
+
TaskId: string
|
|
2195
|
+
|
|
2196
|
+
/**
|
|
2197
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2198
|
+
*/
|
|
2199
|
+
RequestId?: string
|
|
2200
|
+
}
|
|
2201
|
+
|
|
2068
2202
|
/**
|
|
2069
2203
|
* 表定义描述文件详情,包含文件内容
|
|
2070
2204
|
*/
|
|
@@ -2660,6 +2794,37 @@ export interface DescribeSnapshotsResponse {
|
|
|
2660
2794
|
RequestId?: string
|
|
2661
2795
|
}
|
|
2662
2796
|
|
|
2797
|
+
/**
|
|
2798
|
+
* SetBackupExpireRule返回参数结构体
|
|
2799
|
+
*/
|
|
2800
|
+
export interface SetBackupExpireRuleResponse {
|
|
2801
|
+
/**
|
|
2802
|
+
* TaskId由 AppInstanceId-taskId 组成,以区分不同集群的任务
|
|
2803
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2804
|
+
*/
|
|
2805
|
+
TaskId: string
|
|
2806
|
+
|
|
2807
|
+
/**
|
|
2808
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2809
|
+
*/
|
|
2810
|
+
RequestId?: string
|
|
2811
|
+
}
|
|
2812
|
+
|
|
2813
|
+
/**
|
|
2814
|
+
* DeleteBackupRecords请求参数结构体
|
|
2815
|
+
*/
|
|
2816
|
+
export interface DeleteBackupRecordsRequest {
|
|
2817
|
+
/**
|
|
2818
|
+
* 待删除备份记录的所在集群ID
|
|
2819
|
+
*/
|
|
2820
|
+
ClusterId: string
|
|
2821
|
+
|
|
2822
|
+
/**
|
|
2823
|
+
* 待删除备份记录的详情
|
|
2824
|
+
*/
|
|
2825
|
+
BackupRecords: Array<BackupRecords>
|
|
2826
|
+
}
|
|
2827
|
+
|
|
2663
2828
|
/**
|
|
2664
2829
|
* VerifyIdlFiles请求参数结构体
|
|
2665
2830
|
*/
|
|
@@ -3332,6 +3497,36 @@ export interface DeleteTableGroupResponse {
|
|
|
3332
3497
|
RequestId?: string
|
|
3333
3498
|
}
|
|
3334
3499
|
|
|
3500
|
+
/**
|
|
3501
|
+
* DescribeBackupRecords请求参数结构体
|
|
3502
|
+
*/
|
|
3503
|
+
export interface DescribeBackupRecordsRequest {
|
|
3504
|
+
/**
|
|
3505
|
+
* 集群ID,用于获取指定集群的单据
|
|
3506
|
+
*/
|
|
3507
|
+
ClusterId?: string
|
|
3508
|
+
|
|
3509
|
+
/**
|
|
3510
|
+
* 分页
|
|
3511
|
+
*/
|
|
3512
|
+
Limit?: number
|
|
3513
|
+
|
|
3514
|
+
/**
|
|
3515
|
+
* 分页
|
|
3516
|
+
*/
|
|
3517
|
+
Offset?: number
|
|
3518
|
+
|
|
3519
|
+
/**
|
|
3520
|
+
* 表格组id,用于过滤
|
|
3521
|
+
*/
|
|
3522
|
+
TableGroupId?: string
|
|
3523
|
+
|
|
3524
|
+
/**
|
|
3525
|
+
* 表格名,用于过滤
|
|
3526
|
+
*/
|
|
3527
|
+
TableName?: string
|
|
3528
|
+
}
|
|
3529
|
+
|
|
3335
3530
|
/**
|
|
3336
3531
|
* center资源池中的机器信息
|
|
3337
3532
|
*/
|
|
@@ -3398,30 +3593,9 @@ export interface RollbackTablesRequest {
|
|
|
3398
3593
|
}
|
|
3399
3594
|
|
|
3400
3595
|
/**
|
|
3401
|
-
*
|
|
3596
|
+
* DescribeUinInWhitelist请求参数结构体
|
|
3402
3597
|
*/
|
|
3403
|
-
export
|
|
3404
|
-
/**
|
|
3405
|
-
* 集群id
|
|
3406
|
-
*/
|
|
3407
|
-
ClusterId: string
|
|
3408
|
-
|
|
3409
|
-
/**
|
|
3410
|
-
* 已加入审批人的uin
|
|
3411
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3412
|
-
*/
|
|
3413
|
-
Uins: Array<string>
|
|
3414
|
-
|
|
3415
|
-
/**
|
|
3416
|
-
* 集群是否开启审核 0-关闭 1-开启
|
|
3417
|
-
*/
|
|
3418
|
-
Censorship: number
|
|
3419
|
-
|
|
3420
|
-
/**
|
|
3421
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3422
|
-
*/
|
|
3423
|
-
RequestId?: string
|
|
3424
|
-
}
|
|
3598
|
+
export type DescribeUinInWhitelistRequest = null
|
|
3425
3599
|
|
|
3426
3600
|
/**
|
|
3427
3601
|
* CompareIdlFiles请求参数结构体
|
|
@@ -3546,28 +3720,60 @@ export interface ModifyTableMemosResponse {
|
|
|
3546
3720
|
}
|
|
3547
3721
|
|
|
3548
3722
|
/**
|
|
3549
|
-
*
|
|
3723
|
+
* 备份记录
|
|
3724
|
+
作为出参时,每个字段都会填充
|
|
3725
|
+
作为入参时, 原封不动将每个字段填回结构体, 注意只有FIleTag=OSDATA才可以调用此接口
|
|
3550
3726
|
*/
|
|
3551
|
-
export interface
|
|
3727
|
+
export interface BackupRecords {
|
|
3552
3728
|
/**
|
|
3553
|
-
*
|
|
3729
|
+
* 表格组ID
|
|
3554
3730
|
*/
|
|
3555
|
-
|
|
3731
|
+
ZoneId: number
|
|
3556
3732
|
|
|
3557
3733
|
/**
|
|
3558
|
-
*
|
|
3734
|
+
* 表名称
|
|
3559
3735
|
*/
|
|
3560
|
-
|
|
3736
|
+
TableName: string
|
|
3561
3737
|
|
|
3562
3738
|
/**
|
|
3563
|
-
*
|
|
3739
|
+
* 备份源
|
|
3564
3740
|
*/
|
|
3565
|
-
|
|
3741
|
+
BackupType: string
|
|
3566
3742
|
|
|
3567
3743
|
/**
|
|
3568
|
-
*
|
|
3744
|
+
* 文件标签:TCAPLUS_FULL或OSDATA
|
|
3569
3745
|
*/
|
|
3570
|
-
|
|
3746
|
+
FileTag: string
|
|
3747
|
+
|
|
3748
|
+
/**
|
|
3749
|
+
* 分片数量
|
|
3750
|
+
*/
|
|
3751
|
+
ShardCount: number
|
|
3752
|
+
|
|
3753
|
+
/**
|
|
3754
|
+
* 备份批次日期
|
|
3755
|
+
*/
|
|
3756
|
+
BackupBatchTime: string
|
|
3757
|
+
|
|
3758
|
+
/**
|
|
3759
|
+
* 备份文件汇总大小
|
|
3760
|
+
*/
|
|
3761
|
+
BackupFileSize: number
|
|
3762
|
+
|
|
3763
|
+
/**
|
|
3764
|
+
* 备份成功率
|
|
3765
|
+
*/
|
|
3766
|
+
BackupSuccRate: string
|
|
3767
|
+
|
|
3768
|
+
/**
|
|
3769
|
+
* 备份文件过期时间
|
|
3770
|
+
*/
|
|
3771
|
+
BackupExpireTime: string
|
|
3772
|
+
|
|
3773
|
+
/**
|
|
3774
|
+
* 业务ID
|
|
3775
|
+
*/
|
|
3776
|
+
AppId: number
|
|
3571
3777
|
}
|
|
3572
3778
|
|
|
3573
3779
|
/**
|
|
@@ -4174,12 +4174,12 @@ export interface WafRule {
|
|
|
4174
4174
|
Switch: string
|
|
4175
4175
|
|
|
4176
4176
|
/**
|
|
4177
|
-
*
|
|
4177
|
+
* 黑名单ID列表,将规则ID加入本参数列表中代表该ID关闭,即该规则ID不再生效。
|
|
4178
4178
|
*/
|
|
4179
4179
|
BlockRuleIDs: Array<number>
|
|
4180
4180
|
|
|
4181
4181
|
/**
|
|
4182
|
-
* 观察模式ID列表,将规则ID加入本参数列表中代表该ID使用观察模式生效,即该规则ID进入观察模式。
|
|
4182
|
+
* 观察模式ID列表,将规则ID加入本参数列表中代表该ID使用观察模式生效,即该规则ID进入观察模式。
|
|
4183
4183
|
*/
|
|
4184
4184
|
ObserveRuleIDs: Array<number>
|
|
4185
4185
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { v20230321 } from "./v20230321"
|
|
1
2
|
import { v20220401 } from "./v20220401"
|
|
2
3
|
import { v20211109 } from "./v20211109"
|
|
3
|
-
import { v20230321 } from "./v20230321"
|
|
4
4
|
|
|
5
5
|
export const thpc = {
|
|
6
|
+
v20230321: v20230321,
|
|
6
7
|
v20220401: v20220401,
|
|
7
8
|
v20211109: v20211109,
|
|
8
|
-
v20230321: v20230321,
|
|
9
9
|
}
|
|
@@ -395,7 +395,7 @@ export class Client extends AbstractClient {
|
|
|
395
395
|
}
|
|
396
396
|
|
|
397
397
|
/**
|
|
398
|
-
* 设置PPT检测任务回调地址,回调数据格式请参考文档:https://cloud.tencent.com/document/product/1137/40260
|
|
398
|
+
* 设置PPT检测任务回调地址,回调数据格式请参考文档:https://cloud.tencent.com/document/product/1137/40260#c9cbe05f-fe1a-4410-b4dc-40cc301c7b81
|
|
399
399
|
*/
|
|
400
400
|
async SetPPTCheckCallback(
|
|
401
401
|
req: SetPPTCheckCallbackRequest,
|
|
@@ -2288,7 +2288,7 @@ export interface CreatePPTCheckTaskRequest {
|
|
|
2288
2288
|
SdkAppId: number
|
|
2289
2289
|
|
|
2290
2290
|
/**
|
|
2291
|
-
* 经过URL编码后的PPT文件地址。URL
|
|
2291
|
+
* 经过URL编码后的PPT文件地址。URL 编码会将字符转换为可通过因特网传输的格式,例如文档地址为http://example.com/测试.pptx,经过URL编码之后为http://example.com/%E6%B5%8B%E8%AF%95.pptx。为了提高URL解析的成功率,请对URL进行编码。
|
|
2292
2292
|
*/
|
|
2293
2293
|
Url: string
|
|
2294
2294
|
|
|
@@ -3322,7 +3322,7 @@ export interface SetPPTCheckCallbackRequest {
|
|
|
3322
3322
|
SdkAppId: number
|
|
3323
3323
|
|
|
3324
3324
|
/**
|
|
3325
|
-
* 进度回调地址,如果传空字符串会删除原来的回调地址配置,回调地址仅支持http或https协议,即回调地址以http://或https://开头。 回调数据格式请参考文档:https://cloud.tencent.com/document/product/1137/40260
|
|
3325
|
+
* 进度回调地址,如果传空字符串会删除原来的回调地址配置,回调地址仅支持http或https协议,即回调地址以http://或https://开头。 回调数据格式请参考文档:https://cloud.tencent.com/document/product/1137/40260#c9cbe05f-fe1a-4410-b4dc-40cc301c7b81
|
|
3326
3326
|
*/
|
|
3327
3327
|
Callback: string
|
|
3328
3328
|
}
|
package/src/services/vm/index.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { v20210922 } from "./v20210922"
|
|
2
|
-
import { v20201229 } from "./v20201229"
|
|
3
1
|
import { v20200709 } from "./v20200709"
|
|
2
|
+
import { v20201229 } from "./v20201229"
|
|
3
|
+
import { v20210922 } from "./v20210922"
|
|
4
4
|
|
|
5
5
|
export const vm = {
|
|
6
|
-
v20210922: v20210922,
|
|
7
|
-
v20201229: v20201229,
|
|
8
6
|
v20200709: v20200709,
|
|
7
|
+
v20201229: v20201229,
|
|
8
|
+
v20210922: v20210922,
|
|
9
9
|
}
|
|
@@ -47,7 +47,6 @@ export class Client extends AbstractClient {
|
|
|
47
47
|
* 本接口服务对提交音频进行声音复刻任务创建接口,异步返回复刻结果。
|
|
48
48
|
• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"
|
|
49
49
|
• 签名方法参考 公共参数 中签名方法v3。
|
|
50
|
-
• 默认接口请求频率限制:30次/秒,
|
|
51
50
|
*/
|
|
52
51
|
async CreateVRSTask(
|
|
53
52
|
req: CreateVRSTaskRequest,
|
|
@@ -60,7 +59,6 @@ export class Client extends AbstractClient {
|
|
|
60
59
|
* 本接口用于获取声音复刻训练文本信息。
|
|
61
60
|
请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"
|
|
62
61
|
• 签名方法参考 公共参数 中签名方法v3。
|
|
63
|
-
• 默认接口请求频率限制:20次/秒。
|
|
64
62
|
*/
|
|
65
63
|
async GetTrainingText(
|
|
66
64
|
req?: GetTrainingTextRequest,
|
|
@@ -73,7 +71,6 @@ export class Client extends AbstractClient {
|
|
|
73
71
|
* 本接口用于检测音频的环境和音频质量。
|
|
74
72
|
• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"
|
|
75
73
|
• 签名方法参考 公共参数 中签名方法v3。
|
|
76
|
-
• 默认接口请求频率限制:20次/秒。
|
|
77
74
|
*/
|
|
78
75
|
async DetectEnvAndSoundQuality(
|
|
79
76
|
req: DetectEnvAndSoundQualityRequest,
|
|
@@ -88,7 +85,6 @@ export class Client extends AbstractClient {
|
|
|
88
85
|
• 当采用轮询方式时,需要主动提交任务ID来轮询识别结果,共有任务成功、等待、执行中和失败四种结果,具体信息请参见下文说明。
|
|
89
86
|
• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"
|
|
90
87
|
• 签名方法参考 公共参数 中签名方法v3。
|
|
91
|
-
• 默认接口请求频率限制:20次/秒,如您有提高请求频率限制的需求,请提工单进行咨询。
|
|
92
88
|
*/
|
|
93
89
|
async DescribeVRSTaskStatus(
|
|
94
90
|
req: DescribeVRSTaskStatusRequest,
|
|
@@ -307,7 +307,8 @@ export interface CreateVRSTaskRequest {
|
|
|
307
307
|
AudioIdList: Array<string>
|
|
308
308
|
|
|
309
309
|
/**
|
|
310
|
-
|
|
311
|
-
|
|
310
|
+
* 回调 URL,用户自行搭建的用于接收结果的服务URL。如果用户使用轮询方式获取识别结果,则无需提交该参数。
|
|
311
|
+
回调采用POST请求方式,Content-Type为application/x-www-form-urlencoded,回调数据格式如下:callback_body=checksum=&data={"TaskId":"xxxxxxxxxxxxxx","Status":2,"StatusStr":"success","VoiceType":xxxxx,"ErrorMsg":""}
|
|
312
|
+
*/
|
|
312
313
|
CallbackUrl?: string
|
|
313
314
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.579";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import {
|
|
3
|
+
import { ModifyCRWhiteListRequest, CreateCRUserVerifyRequest, CreateBPFalseTicketResponse, CreateCRRightFileRequest, CreateCRRightResponse, CreateCRWorkResponse, CreateCRRightRequest, CreateBPOfflineTicketResponse, CreateCRTortRequest, UpdateCRWorkRequest, DescribeBPFakeURLsRequest, ModifyCRBlockStatusResponse, ModifyCRObtainStatusRequest, DescribeCRWorkInfoRequest, ModifyBPOfflineAttachmentRequest, DescribeBPFakeURLsResponse, CreateBPOfflineAttachmentResponse, DescribeBPReportFakeURLsRequest, DescribeCRMonitorDetailResponse, CreateBPFakeURLRequest, CreateBPProtectURLsResponse, DescribeBPProtectURLsResponse, DescribeCRMonitorsResponse, CreateCRCompanyVerifyResponse, CreateBPOfflineAttachmentRequest, CreateCRDesktopCodeResponse, CreateBPProtectURLsRequest, UpdateCRWorkResponse, ModifyCRBlockStatusRequest, ModifyCRMonitorRequest, CreateCRDesktopCodeRequest, CreateCRWorkRequest, DescribeBPCompanyInfoRequest, DescribeCRObtainDetailRequest, DescribeBPReportFakeURLsResponse, DescribeCRMonitorDetailRequest, CreateCRBlockResponse, ModifyCRRightStatusRequest, DescribeCRMonitorsRequest, DescribeCRWorkInfoResponse, DescribeCRObtainDetailResponse, CreateCRRightFileResponse, ModifyCRWhiteListResponse, CreateBPOfflineTicketRequest, CreateCRUserVerifyResponse, ModifyCRRightStatusResponse, DescribeBPCompanyInfoResponse, ModifyBPOfflineAttachmentResponse, CreateCRBlockRequest, CreateBPFakeURLResponse, CreateCRTortResponse, CreateBPFalseTicketRequest, ModifyCRMonitorResponse, DescribeBPProtectURLsRequest, ModifyCRObtainStatusResponse, CreateCRCompanyVerifyRequest } from "./bma_models";
|
|
4
4
|
/**
|
|
5
5
|
* bma client
|
|
6
6
|
* @class
|
|
@@ -52,12 +52,6 @@ export declare class Client extends AbstractClient {
|
|
|
52
52
|
* 修改下线材料
|
|
53
53
|
*/
|
|
54
54
|
ModifyBPOfflineAttachment(req: ModifyBPOfflineAttachmentRequest, cb?: (error: string, rep: ModifyBPOfflineAttachmentResponse) => void): Promise<ModifyBPOfflineAttachmentResponse>;
|
|
55
|
-
/**
|
|
56
|
-
* 不对外提供接口能力了
|
|
57
|
-
|
|
58
|
-
版权保护-新建取证接口
|
|
59
|
-
*/
|
|
60
|
-
CreateCRObtain(req: CreateCRObtainRequest, cb?: (error: string, rep: CreateCRObtainResponse) => void): Promise<CreateCRObtainResponse>;
|
|
61
55
|
/**
|
|
62
56
|
* 开启/关闭监测
|
|
63
57
|
*/
|
|
@@ -94,14 +94,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
94
94
|
async ModifyBPOfflineAttachment(req, cb) {
|
|
95
95
|
return this.request("ModifyBPOfflineAttachment", req, cb);
|
|
96
96
|
}
|
|
97
|
-
/**
|
|
98
|
-
* 不对外提供接口能力了
|
|
99
|
-
|
|
100
|
-
版权保护-新建取证接口
|
|
101
|
-
*/
|
|
102
|
-
async CreateCRObtain(req, cb) {
|
|
103
|
-
return this.request("CreateCRObtain", req, cb);
|
|
104
|
-
}
|
|
105
97
|
/**
|
|
106
98
|
* 开启/关闭监测
|
|
107
99
|
*/
|