tencentcloud-sdk-nodejs 4.0.977 → 4.0.978
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 +120 -0
- package/SERVICE_CHANGELOG.md +137 -194
- package/package.json +1 -1
- package/products.md +10 -10
- package/src/common/sdk_version.ts +1 -1
- package/src/services/as/v20180419/as_models.ts +3 -1
- package/src/services/cdwch/v20200915/cdwch_client.ts +12 -0
- package/src/services/cdwch/v20200915/cdwch_models.ts +51 -0
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +5 -1
- package/src/services/ess/v20201111/ess_models.ts +13 -2
- package/src/services/essbasic/v20210526/essbasic_models.ts +17 -2
- package/src/services/market/v20191010/market_models.ts +0 -1
- package/src/services/mps/v20190612/mps_client.ts +17 -0
- package/src/services/mps/v20190612/mps_models.ts +79 -0
- package/src/services/wedata/v20210820/wedata_models.ts +22 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/as/v20180419/as_models.d.ts +3 -1
- package/tencentcloud/services/cdwch/v20200915/cdwch_client.d.ts +5 -1
- package/tencentcloud/services/cdwch/v20200915/cdwch_client.js +6 -0
- package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +49 -0
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +5 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +13 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +17 -2
- package/tencentcloud/services/market/v20191010/market_models.d.ts +0 -1
- package/tencentcloud/services/mps/v20190612/mps_client.d.ts +7 -1
- package/tencentcloud/services/mps/v20190612/mps_client.js +8 -0
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +74 -0
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +22 -2
- package/test/cdwch.v20200915.test.js +10 -0
- package/test/mps.v20190612.test.js +10 -0
package/products.md
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
| api | [云 API](https://cloud.tencent.com/document/product/1278) | 2023-01-05 01:02:52 |
|
|
17
17
|
| apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2024-11-19 21:27:23 |
|
|
18
18
|
| apm | [应用性能监控](https://cloud.tencent.com/document/product/1463) | 2024-11-15 01:09:10 |
|
|
19
|
-
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2024-11-
|
|
19
|
+
| as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2024-11-25 01:07:54 |
|
|
20
20
|
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2024-11-21 01:05:01 |
|
|
21
21
|
| asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2023-05-18 01:04:02 |
|
|
22
22
|
| ba | [ICP备案](https://cloud.tencent.com/document/product/243) | 2024-04-22 01:08:02 |
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-11-15 01:15:46 |
|
|
47
47
|
| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-10-25 01:16:59 |
|
|
48
48
|
| cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2024-11-08 01:17:02 |
|
|
49
|
-
| cdwch | [腾讯云数据仓库TCHouse-C](https://cloud.tencent.com/document/product/1299) | 2024-11-
|
|
49
|
+
| cdwch | [腾讯云数据仓库TCHouse-C](https://cloud.tencent.com/document/product/1299) | 2024-11-22 15:17:51 |
|
|
50
50
|
| cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-11-07 01:17:24 |
|
|
51
51
|
| cdwpg | [云数据仓库 PostgreSQL](https://cloud.tencent.com/document/product/878) | 2024-03-28 01:10:53 |
|
|
52
52
|
| cdz | [专属可用区](https://cloud.tencent.com/document/product/1629) | 2024-11-14 01:17:55 |
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-11-15 01:22:53 |
|
|
77
77
|
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-11-22 11:36:06 |
|
|
78
78
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
79
|
-
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-11-
|
|
79
|
+
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-11-25 01:14:07 |
|
|
80
80
|
| dasb | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2024-11-19 01:26:13 |
|
|
81
81
|
| dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
|
|
82
82
|
| dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 |
|
|
@@ -100,8 +100,8 @@
|
|
|
100
100
|
| eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
|
|
101
101
|
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-11-21 01:30:48 |
|
|
102
102
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-11-15 01:34:50 |
|
|
103
|
-
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-11-
|
|
104
|
-
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-11-
|
|
103
|
+
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-11-25 01:17:07 |
|
|
104
|
+
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-11-25 01:17:27 |
|
|
105
105
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-11-21 01:33:53 |
|
|
106
106
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-11-22 11:46:40 |
|
|
107
107
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-11-15 01:37:24 |
|
|
@@ -147,14 +147,14 @@
|
|
|
147
147
|
| lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
|
|
148
148
|
| mall | [商场客留大数据](https://cloud.tencent.com/document/product/1707) | 2024-03-20 01:20:11 |
|
|
149
149
|
| mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2024-11-07 01:48:13 |
|
|
150
|
-
| market | [云市场](https://cloud.tencent.com/document/product/306) | 2024-11-
|
|
150
|
+
| market | [云市场](https://cloud.tencent.com/document/product/306) | 2024-11-25 01:21:47 |
|
|
151
151
|
| memcached | [云数据库Memcached](https://cloud.tencent.com/document/product/241) | 2024-08-28 02:03:45 |
|
|
152
152
|
| mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-07-08 06:11:32 |
|
|
153
153
|
| mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2024-11-11 01:49:22 |
|
|
154
154
|
| mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2024-08-23 01:55:12 |
|
|
155
155
|
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-11-05 01:57:16 |
|
|
156
156
|
| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-11-21 01:46:37 |
|
|
157
|
-
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-11-
|
|
157
|
+
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-11-24 11:37:11 |
|
|
158
158
|
| mqtt | [消息队列 MQTT 版](https://cloud.tencent.com/document/product/1778) | 2024-11-01 01:51:29 |
|
|
159
159
|
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-11-18 01:47:53 |
|
|
160
160
|
| ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2024-11-14 01:54:52 |
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
| nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2024-09-27 01:23:18 |
|
|
164
164
|
| npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
|
|
165
165
|
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-11-05 02:01:14 |
|
|
166
|
-
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-11-
|
|
166
|
+
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-11-25 01:23:14 |
|
|
167
167
|
| omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-11-21 01:50:50 |
|
|
168
168
|
| organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-11-08 01:54:14 |
|
|
169
169
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2024-11-22 12:03:22 |
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
| sslpod | [证书监控 SSLPod](https://cloud.tencent.com/document/product/1084) | 2024-03-20 01:24:03 |
|
|
192
192
|
| ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2024-11-08 02:01:05 |
|
|
193
193
|
| sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2024-10-24 01:29:59 |
|
|
194
|
-
| svp | [节省计划](https://cloud.tencent.com/document/product/1761) | 2024-11-
|
|
194
|
+
| svp | [节省计划](https://cloud.tencent.com/document/product/1761) | 2024-11-25 01:26:07 |
|
|
195
195
|
| taf | [流量反欺诈](https://cloud.tencent.com/document/product/1031) | 2024-11-04 02:00:37 |
|
|
196
196
|
| tag | [标签](https://cloud.tencent.com/document/product/651) | 2024-11-11 02:03:20 |
|
|
197
197
|
| tan | [碳引擎](https://cloud.tencent.com/document/product/1498) | 2024-03-20 01:24:15 |
|
|
@@ -251,7 +251,7 @@
|
|
|
251
251
|
| vtc | [视频转译](https://cloud.tencent.com/document/product/1769) | 2024-10-16 01:32:39 |
|
|
252
252
|
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-11-19 02:12:25 |
|
|
253
253
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2024-11-20 02:21:21 |
|
|
254
|
-
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-11-
|
|
254
|
+
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-11-25 01:32:25 |
|
|
255
255
|
| weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2024-11-07 02:23:06 |
|
|
256
256
|
| wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
|
|
257
257
|
| yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2024-06-05 02:38:46 |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.978"
|
|
@@ -3360,7 +3360,9 @@ export interface StartInstanceRefreshRequest {
|
|
|
3360
3360
|
*/
|
|
3361
3361
|
RefreshSettings: RefreshSettings
|
|
3362
3362
|
/**
|
|
3363
|
-
*
|
|
3363
|
+
* 刷新模式。取值范围:
|
|
3364
|
+
<li>ROLLING_UPDATE_RESET:重装系统进行滚动更新</li>
|
|
3365
|
+
<li>ROLLING_UPDATE_REPLACE:新建实例替换进行滚动更新,该模式暂不支持回滚接口</li>
|
|
3364
3366
|
*/
|
|
3365
3367
|
RefreshMode?: string
|
|
3366
3368
|
}
|
|
@@ -33,6 +33,7 @@ import {
|
|
|
33
33
|
DescribeBackUpScheduleRequest,
|
|
34
34
|
DescribeSpecResponse,
|
|
35
35
|
DescribeSpecRequest,
|
|
36
|
+
ScaleCNOutUpInstanceResponse,
|
|
36
37
|
DestroyInstanceRequest,
|
|
37
38
|
ModifyUserNewPrivilegeRequest,
|
|
38
39
|
DescribeBackUpTablesResponse,
|
|
@@ -94,6 +95,7 @@ import {
|
|
|
94
95
|
DestroyInstanceResponse,
|
|
95
96
|
ResizeDiskResponse,
|
|
96
97
|
DescribeBackUpScheduleResponse,
|
|
98
|
+
ScaleCNOutUpInstanceRequest,
|
|
97
99
|
DescribeCkSqlApisResponse,
|
|
98
100
|
DescribeBackUpJobRequest,
|
|
99
101
|
ScaleUpInstanceResponse,
|
|
@@ -269,6 +271,16 @@ export class Client extends AbstractClient {
|
|
|
269
271
|
return this.request("ModifyClusterConfigs", req, cb)
|
|
270
272
|
}
|
|
271
273
|
|
|
274
|
+
/**
|
|
275
|
+
* open-api接口提供弹性伸缩云原生集群能力
|
|
276
|
+
*/
|
|
277
|
+
async ScaleCNOutUpInstance(
|
|
278
|
+
req: ScaleCNOutUpInstanceRequest,
|
|
279
|
+
cb?: (error: string, rep: ScaleCNOutUpInstanceResponse) => void
|
|
280
|
+
): Promise<ScaleCNOutUpInstanceResponse> {
|
|
281
|
+
return this.request("ScaleCNOutUpInstance", req, cb)
|
|
282
|
+
}
|
|
283
|
+
|
|
272
284
|
/**
|
|
273
285
|
* 备份恢复
|
|
274
286
|
*/
|
|
@@ -329,6 +329,31 @@ export interface DescribeSpecRequest {
|
|
|
329
329
|
CaseType?: number
|
|
330
330
|
}
|
|
331
331
|
|
|
332
|
+
/**
|
|
333
|
+
* ScaleCNOutUpInstance返回参数结构体
|
|
334
|
+
*/
|
|
335
|
+
export interface ScaleCNOutUpInstanceResponse {
|
|
336
|
+
/**
|
|
337
|
+
* 流程ID
|
|
338
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
339
|
+
*/
|
|
340
|
+
FlowId?: string
|
|
341
|
+
/**
|
|
342
|
+
* 实例ID
|
|
343
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
344
|
+
*/
|
|
345
|
+
InstanceId?: string
|
|
346
|
+
/**
|
|
347
|
+
* 错误信息
|
|
348
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
349
|
+
*/
|
|
350
|
+
ErrorMsg?: string
|
|
351
|
+
/**
|
|
352
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
353
|
+
*/
|
|
354
|
+
RequestId?: string
|
|
355
|
+
}
|
|
356
|
+
|
|
332
357
|
/**
|
|
333
358
|
* DestroyInstance请求参数结构体
|
|
334
359
|
*/
|
|
@@ -1995,6 +2020,32 @@ export interface DescribeBackUpScheduleResponse {
|
|
|
1995
2020
|
RequestId?: string
|
|
1996
2021
|
}
|
|
1997
2022
|
|
|
2023
|
+
/**
|
|
2024
|
+
* ScaleCNOutUpInstance请求参数结构体
|
|
2025
|
+
*/
|
|
2026
|
+
export interface ScaleCNOutUpInstanceRequest {
|
|
2027
|
+
/**
|
|
2028
|
+
* 实例唯一ID
|
|
2029
|
+
*/
|
|
2030
|
+
InstanceId: string
|
|
2031
|
+
/**
|
|
2032
|
+
* warehouse名称
|
|
2033
|
+
*/
|
|
2034
|
+
VirtualCluster: string
|
|
2035
|
+
/**
|
|
2036
|
+
* 子网id
|
|
2037
|
+
*/
|
|
2038
|
+
UserSubnetID: string
|
|
2039
|
+
/**
|
|
2040
|
+
* 新的warehouse的个数
|
|
2041
|
+
*/
|
|
2042
|
+
NewCount: number
|
|
2043
|
+
/**
|
|
2044
|
+
* 集群的规格2X-Small、X-Small、Small
|
|
2045
|
+
*/
|
|
2046
|
+
NewSpecName: string
|
|
2047
|
+
}
|
|
2048
|
+
|
|
1998
2049
|
/**
|
|
1999
2050
|
* DescribeCkSqlApis返回参数结构体
|
|
2000
2051
|
*/
|
|
@@ -7899,7 +7899,7 @@ pausing
|
|
|
7899
7899
|
*/
|
|
7900
7900
|
DbType?: string
|
|
7901
7901
|
/**
|
|
7902
|
-
*
|
|
7902
|
+
* Db类型:<li>NORMAL</li><li>SERVERLESS</li>
|
|
7903
7903
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7904
7904
|
*/
|
|
7905
7905
|
DbMode?: string
|
|
@@ -8550,6 +8550,10 @@ export interface ClusterInstanceDetail {
|
|
|
8550
8550
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8551
8551
|
*/
|
|
8552
8552
|
InstanceStorageType?: string
|
|
8553
|
+
/**
|
|
8554
|
+
* 数据库类型
|
|
8555
|
+
*/
|
|
8556
|
+
DbMode?: string
|
|
8553
8557
|
}
|
|
8554
8558
|
|
|
8555
8559
|
/**
|
|
@@ -2960,9 +2960,12 @@ export interface CreateBatchInitOrganizationUrlRequest {
|
|
|
2960
2960
|
Operator: UserInfo
|
|
2961
2961
|
/**
|
|
2962
2962
|
* 初始化操作类型
|
|
2963
|
-
<ul
|
|
2963
|
+
<ul>
|
|
2964
|
+
<li>CREATE_SEAL : 创建印章</li>
|
|
2964
2965
|
<li>AUTH_JOIN_ORGANIZATION_GROUP : 加入集团企业</li>
|
|
2965
|
-
<li>OPEN_AUTO_SIGN :开通企业自动签署</li
|
|
2966
|
+
<li>OPEN_AUTO_SIGN :开通企业自动签署</li>
|
|
2967
|
+
<li>PARTNER_AUTO_SIGN_AUTH :合作方企业授权自动签</li>
|
|
2968
|
+
</ul>
|
|
2966
2969
|
*/
|
|
2967
2970
|
OperateTypes: Array<string>
|
|
2968
2971
|
/**
|
|
@@ -2973,6 +2976,14 @@ export interface CreateBatchInitOrganizationUrlRequest {
|
|
|
2973
2976
|
* 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
|
|
2974
2977
|
*/
|
|
2975
2978
|
Agent?: Agent
|
|
2979
|
+
/**
|
|
2980
|
+
* 被授权的合作方企业在电子签的企业电子签账号,当操作类型包含 PARTNER_AUTO_SIGN_AUTH (合作方企业授权自动签)时必传。
|
|
2981
|
+
|
|
2982
|
+
企业电子签账号可在[电子签的网页端](https://qian.tencent.com/console/company-settings/company-center) ,于企业设置-企业信息菜单栏下复制获取。
|
|
2983
|
+
|
|
2984
|
+

|
|
2985
|
+
*/
|
|
2986
|
+
AuthorizedOrganizationId?: string
|
|
2976
2987
|
}
|
|
2977
2988
|
|
|
2978
2989
|
/**
|
|
@@ -7615,14 +7615,29 @@ export interface CreateBatchInitOrganizationUrlRequest {
|
|
|
7615
7615
|
Agent: Agent
|
|
7616
7616
|
/**
|
|
7617
7617
|
* 初始化操作类型
|
|
7618
|
-
<ul
|
|
7619
|
-
<li>
|
|
7618
|
+
<ul>
|
|
7619
|
+
<li>CREATE_SEAL : 创建印章</li>
|
|
7620
|
+
<li>OPEN_AUTO_SIGN :开通企业自动签署</li>
|
|
7621
|
+
<li>PARTNER_AUTO_SIGN_AUTH :合作方企业或应用平台方授权自动签</li>
|
|
7622
|
+
</ul>
|
|
7620
7623
|
*/
|
|
7621
7624
|
OperateTypes: Array<string>
|
|
7622
7625
|
/**
|
|
7623
7626
|
* 批量操作的企业列表在第三方平台的企业Id列表,即ProxyOrganizationOpenId列表,最大支持50个
|
|
7624
7627
|
*/
|
|
7625
7628
|
ProxyOrganizationOpenIds: Array<string>
|
|
7629
|
+
/**
|
|
7630
|
+
* 当操作类型包含 PARTNER_AUTO_SIGN_AUTH 且是给应用平台方授权自动签时传true。
|
|
7631
|
+

|
|
7632
|
+
*/
|
|
7633
|
+
IsAuthorizePlatformApplication?: boolean
|
|
7634
|
+
/**
|
|
7635
|
+
* 被授权的合作方企业在第三方平台子客企业标识,即ProxyOrganizationOpenId,当操作类型包含 PARTNER_AUTO_SIGN_AUTH 且要进行合作方企业授权自动签时必传。
|
|
7636
|
+
|
|
7637
|
+
|
|
7638
|
+
|
|
7639
|
+
*/
|
|
7640
|
+
AuthorizedProxyOrganizationOpenId?: string
|
|
7626
7641
|
}
|
|
7627
7642
|
|
|
7628
7643
|
/**
|
|
@@ -122,6 +122,7 @@ import {
|
|
|
122
122
|
ScheduleTask,
|
|
123
123
|
CreateStreamLinkEventRequest,
|
|
124
124
|
CreatePersonSampleRequest,
|
|
125
|
+
ImageTaskInput,
|
|
125
126
|
DescribeOutputHLSPullServerUrl,
|
|
126
127
|
DescribeStreamLinkFlowSRTStatisticsRequest,
|
|
127
128
|
MediaAiAnalysisCoverItem,
|
|
@@ -273,6 +274,7 @@ import {
|
|
|
273
274
|
CreateStreamLinkEventResponse,
|
|
274
275
|
AdaptiveDynamicStreamingInfoItem,
|
|
275
276
|
ProcessMediaRequest,
|
|
277
|
+
ProcessImageResponse,
|
|
276
278
|
DescribeRTSPPullSourceAddress,
|
|
277
279
|
DescribeOutputRTSPPullSettings,
|
|
278
280
|
AiRecognitionTaskOcrFullTextResult,
|
|
@@ -365,6 +367,7 @@ import {
|
|
|
365
367
|
DescribeAIAnalysisTemplatesRequest,
|
|
366
368
|
FlowVideo,
|
|
367
369
|
AiRecognitionTaskOcrWordsResultItem,
|
|
370
|
+
ProcessImageRequest,
|
|
368
371
|
DeleteSampleSnapshotTemplateResponse,
|
|
369
372
|
AiAnalysisTaskTagInput,
|
|
370
373
|
AiAnalysisTaskDescriptionResult,
|
|
@@ -416,6 +419,7 @@ import {
|
|
|
416
419
|
DescribeMediaMetaDataResponse,
|
|
417
420
|
TerrorismOcrReviewTemplateInfo,
|
|
418
421
|
SharpEnhanceConfig,
|
|
422
|
+
ImageEncodeConfig,
|
|
419
423
|
AiReviewTaskPornResult,
|
|
420
424
|
DescribeStreamLinkFlowRealtimeStatusRequest,
|
|
421
425
|
AiAnalysisTaskDelLogoOutput,
|
|
@@ -469,6 +473,7 @@ import {
|
|
|
469
473
|
FlowLogInfo,
|
|
470
474
|
DeleteWordSamplesResponse,
|
|
471
475
|
DeleteStreamLinkOutputResponse,
|
|
476
|
+
ImageEnhanceConfig,
|
|
472
477
|
WatermarkInput,
|
|
473
478
|
EnableWorkflowResponse,
|
|
474
479
|
Activity,
|
|
@@ -1144,6 +1149,18 @@ export class Client extends AbstractClient {
|
|
|
1144
1149
|
return this.request("StartStreamLinkFlow", req, cb)
|
|
1145
1150
|
}
|
|
1146
1151
|
|
|
1152
|
+
/**
|
|
1153
|
+
* 发起图片处理,功能包括:
|
|
1154
|
+
1. 格式转换;
|
|
1155
|
+
2. 图像增强;
|
|
1156
|
+
*/
|
|
1157
|
+
async ProcessImage(
|
|
1158
|
+
req: ProcessImageRequest,
|
|
1159
|
+
cb?: (error: string, rep: ProcessImageResponse) => void
|
|
1160
|
+
): Promise<ProcessImageResponse> {
|
|
1161
|
+
return this.request("ProcessImage", req, cb)
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1147
1164
|
/**
|
|
1148
1165
|
* 修改媒体传输流的输入信息。
|
|
1149
1166
|
*/
|
|
@@ -2898,6 +2898,22 @@ export interface CreatePersonSampleRequest {
|
|
|
2898
2898
|
Tags?: Array<string>
|
|
2899
2899
|
}
|
|
2900
2900
|
|
|
2901
|
+
/**
|
|
2902
|
+
* 图片任务输入参数
|
|
2903
|
+
*/
|
|
2904
|
+
export interface ImageTaskInput {
|
|
2905
|
+
/**
|
|
2906
|
+
* 图片编码配置。
|
|
2907
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2908
|
+
*/
|
|
2909
|
+
EncodeConfig?: ImageEncodeConfig
|
|
2910
|
+
/**
|
|
2911
|
+
* 图片增强配置。
|
|
2912
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2913
|
+
*/
|
|
2914
|
+
EnhanceConfig?: ImageEnhanceConfig
|
|
2915
|
+
}
|
|
2916
|
+
|
|
2901
2917
|
/**
|
|
2902
2918
|
* 查询输出的HLS拉流URL信息。
|
|
2903
2919
|
*/
|
|
@@ -6560,6 +6576,20 @@ export interface ProcessMediaRequest {
|
|
|
6560
6576
|
TaskType?: string
|
|
6561
6577
|
}
|
|
6562
6578
|
|
|
6579
|
+
/**
|
|
6580
|
+
* ProcessImage返回参数结构体
|
|
6581
|
+
*/
|
|
6582
|
+
export interface ProcessImageResponse {
|
|
6583
|
+
/**
|
|
6584
|
+
* 任务 ID。
|
|
6585
|
+
*/
|
|
6586
|
+
TaskId?: string
|
|
6587
|
+
/**
|
|
6588
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6589
|
+
*/
|
|
6590
|
+
RequestId?: string
|
|
6591
|
+
}
|
|
6592
|
+
|
|
6563
6593
|
/**
|
|
6564
6594
|
* 查询输入的RTSP配置信息。
|
|
6565
6595
|
*/
|
|
@@ -8813,6 +8843,28 @@ export interface AiRecognitionTaskOcrWordsResultItem {
|
|
|
8813
8843
|
SegmentSet: Array<AiRecognitionTaskOcrWordsSegmentItem>
|
|
8814
8844
|
}
|
|
8815
8845
|
|
|
8846
|
+
/**
|
|
8847
|
+
* ProcessImage请求参数结构体
|
|
8848
|
+
*/
|
|
8849
|
+
export interface ProcessImageRequest {
|
|
8850
|
+
/**
|
|
8851
|
+
* 图片处理的文件输入信息。
|
|
8852
|
+
*/
|
|
8853
|
+
InputInfo: MediaInputInfo
|
|
8854
|
+
/**
|
|
8855
|
+
* 图片处理输出文件的目标存储。不填则继承 InputInfo 中的存储位置。
|
|
8856
|
+
*/
|
|
8857
|
+
OutputStorage?: TaskOutputStorage
|
|
8858
|
+
/**
|
|
8859
|
+
* 图片处理生成的文件输出的路径。如果不填表示与 InputInfo 中文件所在的目录一致。如果是目录,如`/image/201907/`,表示继承原文件名输出到该目录。
|
|
8860
|
+
*/
|
|
8861
|
+
OutputDir?: string
|
|
8862
|
+
/**
|
|
8863
|
+
* 图片处理参数。
|
|
8864
|
+
*/
|
|
8865
|
+
ImageTask?: ImageTaskInput
|
|
8866
|
+
}
|
|
8867
|
+
|
|
8816
8868
|
/**
|
|
8817
8869
|
* DeleteSampleSnapshotTemplate返回参数结构体
|
|
8818
8870
|
*/
|
|
@@ -10046,6 +10098,22 @@ export interface SharpEnhanceConfig {
|
|
|
10046
10098
|
Intensity?: number
|
|
10047
10099
|
}
|
|
10048
10100
|
|
|
10101
|
+
/**
|
|
10102
|
+
* 图片编码格式参数
|
|
10103
|
+
*/
|
|
10104
|
+
export interface ImageEncodeConfig {
|
|
10105
|
+
/**
|
|
10106
|
+
* 图片格式,取值范围:JPG、BMP、GIF、PNG、WebP,缺省为原图格式。
|
|
10107
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10108
|
+
*/
|
|
10109
|
+
Format?: string
|
|
10110
|
+
/**
|
|
10111
|
+
* 图片的相对质量,取值范围:1 - 100,数值以原图质量为标准,缺省为原图质量。
|
|
10112
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10113
|
+
*/
|
|
10114
|
+
Quality?: number
|
|
10115
|
+
}
|
|
10116
|
+
|
|
10049
10117
|
/**
|
|
10050
10118
|
* 内容审核鉴黄任务结果类型
|
|
10051
10119
|
*/
|
|
@@ -11333,6 +11401,17 @@ export interface DeleteStreamLinkOutputResponse {
|
|
|
11333
11401
|
RequestId?: string
|
|
11334
11402
|
}
|
|
11335
11403
|
|
|
11404
|
+
/**
|
|
11405
|
+
* 图片增强参数
|
|
11406
|
+
*/
|
|
11407
|
+
export interface ImageEnhanceConfig {
|
|
11408
|
+
/**
|
|
11409
|
+
* 超分配置。
|
|
11410
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11411
|
+
*/
|
|
11412
|
+
SuperResolution?: SuperResolutionConfig
|
|
11413
|
+
}
|
|
11414
|
+
|
|
11336
11415
|
/**
|
|
11337
11416
|
* 媒体处理任务中的水印参数类型
|
|
11338
11417
|
*/
|
|
@@ -808,11 +808,11 @@ export interface UpdateDataModelRegistryInfoRequest {
|
|
|
808
808
|
*/
|
|
809
809
|
AppCamRole: string
|
|
810
810
|
/**
|
|
811
|
-
*
|
|
811
|
+
* 数语的公网访问ip
|
|
812
812
|
*/
|
|
813
813
|
Ip?: string
|
|
814
814
|
/**
|
|
815
|
-
*
|
|
815
|
+
* 数语的公网访问端口
|
|
816
816
|
*/
|
|
817
817
|
Port?: number
|
|
818
818
|
/**
|
|
@@ -831,6 +831,26 @@ export interface UpdateDataModelRegistryInfoRequest {
|
|
|
831
831
|
* 主账号id
|
|
832
832
|
*/
|
|
833
833
|
OwnId?: string
|
|
834
|
+
/**
|
|
835
|
+
* VpcId
|
|
836
|
+
*/
|
|
837
|
+
VpcId?: string
|
|
838
|
+
/**
|
|
839
|
+
* Vpc地域
|
|
840
|
+
*/
|
|
841
|
+
VpcRegion?: string
|
|
842
|
+
/**
|
|
843
|
+
* 数语的内网访问ip
|
|
844
|
+
*/
|
|
845
|
+
Pip?: string
|
|
846
|
+
/**
|
|
847
|
+
* 数语的内网访问端口
|
|
848
|
+
*/
|
|
849
|
+
Pport?: number
|
|
850
|
+
/**
|
|
851
|
+
* 是否开放公网访问数语, 1:是,0:否,默认1开放
|
|
852
|
+
*/
|
|
853
|
+
IsPublic?: number
|
|
834
854
|
}
|
|
835
855
|
|
|
836
856
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.978";
|
|
@@ -3218,7 +3218,9 @@ export interface StartInstanceRefreshRequest {
|
|
|
3218
3218
|
*/
|
|
3219
3219
|
RefreshSettings: RefreshSettings;
|
|
3220
3220
|
/**
|
|
3221
|
-
*
|
|
3221
|
+
* 刷新模式。取值范围:
|
|
3222
|
+
<li>ROLLING_UPDATE_RESET:重装系统进行滚动更新</li>
|
|
3223
|
+
<li>ROLLING_UPDATE_REPLACE:新建实例替换进行滚动更新,该模式暂不支持回滚接口</li>
|
|
3222
3224
|
*/
|
|
3223
3225
|
RefreshMode?: string;
|
|
3224
3226
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DescribeInstanceShardsRequest, ScaleOutInstanceRequest, ScaleOutInstanceResponse, DescribeInstancesNewResponse, DescribeInstanceKeyValConfigsRequest, DescribeInstanceNodesRequest, DescribeClusterConfigsResponse, ActionAlterCkUserRequest, DescribeCkSqlApisRequest, DescribeBackUpScheduleRequest, DescribeSpecResponse, DescribeSpecRequest, DestroyInstanceRequest, ModifyUserNewPrivilegeRequest, DescribeBackUpTablesResponse, OpenBackUpRequest, ModifyInstanceKeyValConfigsResponse, OpenBackUpResponse, CreateInstanceNewResponse, DescribeInstanceClustersResponse, CreateInstanceNewRequest, DescribeBackUpJobDetailResponse, ModifyClusterConfigsRequest, ScaleUpInstanceRequest, DescribeInstanceKeyValConfigsResponse, ModifyClusterConfigsResponse, RecoverBackUpJobRequest, DescribeInstancesNewRequest, DeleteBackUpDataResponse, ModifyInstanceKeyValConfigsRequest, DescribeInstanceNodesResponse, DescribeClusterConfigsRequest, CreateBackUpScheduleResponse, RecoverBackUpJobResponse, DescribeInstanceResponse, DescribeBackUpJobResponse, DescribeInstanceClustersRequest, ResizeDiskRequest, DescribeInstanceStateRequest, DescribeInstanceShardsResponse, DescribeBackUpJobDetailRequest, CreateBackUpScheduleRequest, DeleteBackUpDataRequest, DescribeInstanceRequest, ActionAlterCkUserResponse, DescribeInstanceStateResponse, DescribeBackUpTablesRequest, DestroyInstanceResponse, ResizeDiskResponse, DescribeBackUpScheduleResponse, DescribeCkSqlApisResponse, DescribeBackUpJobRequest, ScaleUpInstanceResponse, ModifyUserNewPrivilegeResponse } from "./cdwch_models";
|
|
3
|
+
import { DescribeInstanceShardsRequest, ScaleOutInstanceRequest, ScaleOutInstanceResponse, DescribeInstancesNewResponse, DescribeInstanceKeyValConfigsRequest, DescribeInstanceNodesRequest, DescribeClusterConfigsResponse, ActionAlterCkUserRequest, DescribeCkSqlApisRequest, DescribeBackUpScheduleRequest, DescribeSpecResponse, DescribeSpecRequest, ScaleCNOutUpInstanceResponse, DestroyInstanceRequest, ModifyUserNewPrivilegeRequest, DescribeBackUpTablesResponse, OpenBackUpRequest, ModifyInstanceKeyValConfigsResponse, OpenBackUpResponse, CreateInstanceNewResponse, DescribeInstanceClustersResponse, CreateInstanceNewRequest, DescribeBackUpJobDetailResponse, ModifyClusterConfigsRequest, ScaleUpInstanceRequest, DescribeInstanceKeyValConfigsResponse, ModifyClusterConfigsResponse, RecoverBackUpJobRequest, DescribeInstancesNewRequest, DeleteBackUpDataResponse, ModifyInstanceKeyValConfigsRequest, DescribeInstanceNodesResponse, DescribeClusterConfigsRequest, CreateBackUpScheduleResponse, RecoverBackUpJobResponse, DescribeInstanceResponse, DescribeBackUpJobResponse, DescribeInstanceClustersRequest, ResizeDiskRequest, DescribeInstanceStateRequest, DescribeInstanceShardsResponse, DescribeBackUpJobDetailRequest, CreateBackUpScheduleRequest, DeleteBackUpDataRequest, DescribeInstanceRequest, ActionAlterCkUserResponse, DescribeInstanceStateResponse, DescribeBackUpTablesRequest, DestroyInstanceResponse, ResizeDiskResponse, DescribeBackUpScheduleResponse, ScaleCNOutUpInstanceRequest, DescribeCkSqlApisResponse, DescribeBackUpJobRequest, ScaleUpInstanceResponse, ModifyUserNewPrivilegeResponse } from "./cdwch_models";
|
|
4
4
|
/**
|
|
5
5
|
* cdwch client
|
|
6
6
|
* @class
|
|
@@ -71,6 +71,10 @@ export declare class Client extends AbstractClient {
|
|
|
71
71
|
* 在集群配置页面修改集群配置文件接口,xml模式
|
|
72
72
|
*/
|
|
73
73
|
ModifyClusterConfigs(req: ModifyClusterConfigsRequest, cb?: (error: string, rep: ModifyClusterConfigsResponse) => void): Promise<ModifyClusterConfigsResponse>;
|
|
74
|
+
/**
|
|
75
|
+
* open-api接口提供弹性伸缩云原生集群能力
|
|
76
|
+
*/
|
|
77
|
+
ScaleCNOutUpInstance(req: ScaleCNOutUpInstanceRequest, cb?: (error: string, rep: ScaleCNOutUpInstanceResponse) => void): Promise<ScaleCNOutUpInstanceResponse>;
|
|
74
78
|
/**
|
|
75
79
|
* 备份恢复
|
|
76
80
|
*/
|
|
@@ -123,6 +123,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
123
123
|
async ModifyClusterConfigs(req, cb) {
|
|
124
124
|
return this.request("ModifyClusterConfigs", req, cb);
|
|
125
125
|
}
|
|
126
|
+
/**
|
|
127
|
+
* open-api接口提供弹性伸缩云原生集群能力
|
|
128
|
+
*/
|
|
129
|
+
async ScaleCNOutUpInstance(req, cb) {
|
|
130
|
+
return this.request("ScaleCNOutUpInstance", req, cb);
|
|
131
|
+
}
|
|
126
132
|
/**
|
|
127
133
|
* 备份恢复
|
|
128
134
|
*/
|
|
@@ -297,6 +297,30 @@ export interface DescribeSpecRequest {
|
|
|
297
297
|
*/
|
|
298
298
|
CaseType?: number;
|
|
299
299
|
}
|
|
300
|
+
/**
|
|
301
|
+
* ScaleCNOutUpInstance返回参数结构体
|
|
302
|
+
*/
|
|
303
|
+
export interface ScaleCNOutUpInstanceResponse {
|
|
304
|
+
/**
|
|
305
|
+
* 流程ID
|
|
306
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
307
|
+
*/
|
|
308
|
+
FlowId?: string;
|
|
309
|
+
/**
|
|
310
|
+
* 实例ID
|
|
311
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
312
|
+
*/
|
|
313
|
+
InstanceId?: string;
|
|
314
|
+
/**
|
|
315
|
+
* 错误信息
|
|
316
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
317
|
+
*/
|
|
318
|
+
ErrorMsg?: string;
|
|
319
|
+
/**
|
|
320
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
321
|
+
*/
|
|
322
|
+
RequestId?: string;
|
|
323
|
+
}
|
|
300
324
|
/**
|
|
301
325
|
* DestroyInstance请求参数结构体
|
|
302
326
|
*/
|
|
@@ -1902,6 +1926,31 @@ export interface DescribeBackUpScheduleResponse {
|
|
|
1902
1926
|
*/
|
|
1903
1927
|
RequestId?: string;
|
|
1904
1928
|
}
|
|
1929
|
+
/**
|
|
1930
|
+
* ScaleCNOutUpInstance请求参数结构体
|
|
1931
|
+
*/
|
|
1932
|
+
export interface ScaleCNOutUpInstanceRequest {
|
|
1933
|
+
/**
|
|
1934
|
+
* 实例唯一ID
|
|
1935
|
+
*/
|
|
1936
|
+
InstanceId: string;
|
|
1937
|
+
/**
|
|
1938
|
+
* warehouse名称
|
|
1939
|
+
*/
|
|
1940
|
+
VirtualCluster: string;
|
|
1941
|
+
/**
|
|
1942
|
+
* 子网id
|
|
1943
|
+
*/
|
|
1944
|
+
UserSubnetID: string;
|
|
1945
|
+
/**
|
|
1946
|
+
* 新的warehouse的个数
|
|
1947
|
+
*/
|
|
1948
|
+
NewCount: number;
|
|
1949
|
+
/**
|
|
1950
|
+
* 集群的规格2X-Small、X-Small、Small
|
|
1951
|
+
*/
|
|
1952
|
+
NewSpecName: string;
|
|
1953
|
+
}
|
|
1905
1954
|
/**
|
|
1906
1955
|
* DescribeCkSqlApis返回参数结构体
|
|
1907
1956
|
*/
|
|
@@ -7589,7 +7589,7 @@ export interface CynosdbClusterDetail {
|
|
|
7589
7589
|
*/
|
|
7590
7590
|
DbType?: string;
|
|
7591
7591
|
/**
|
|
7592
|
-
*
|
|
7592
|
+
* Db类型:<li>NORMAL</li><li>SERVERLESS</li>
|
|
7593
7593
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7594
7594
|
*/
|
|
7595
7595
|
DbMode?: string;
|
|
@@ -8218,6 +8218,10 @@ export interface ClusterInstanceDetail {
|
|
|
8218
8218
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8219
8219
|
*/
|
|
8220
8220
|
InstanceStorageType?: string;
|
|
8221
|
+
/**
|
|
8222
|
+
* 数据库类型
|
|
8223
|
+
*/
|
|
8224
|
+
DbMode?: string;
|
|
8221
8225
|
}
|
|
8222
8226
|
/**
|
|
8223
8227
|
* 集群从可用区信息
|