tencentcloud-sdk-nodejs 4.0.899 → 4.0.901
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 +174 -0
- package/SERVICE_CHANGELOG.md +239 -25
- package/package.json +1 -1
- package/products.md +24 -24
- package/src/common/sdk_version.ts +1 -1
- package/src/services/billing/v20180709/billing_client.ts +5 -2
- package/src/services/ccc/v20200210/ccc_models.ts +7 -2
- package/src/services/cdb/v20170320/cdb_models.ts +2 -1
- package/src/services/ckafka/v20190819/ckafka_client.ts +13 -1
- package/src/services/ckafka/v20190819/ckafka_models.ts +72 -8
- package/src/services/clb/v20180317/clb_client.ts +1 -0
- package/src/services/cloudapp/v20220530/cloudapp_models.ts +3 -66
- package/src/services/cvm/v20170312/cvm_client.ts +26 -2
- package/src/services/cvm/v20170312/cvm_models.ts +70 -18
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +40 -15
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +266 -168
- package/src/services/es/v20180416/es_models.ts +16 -0
- package/src/services/ess/v20201111/ess_client.ts +36 -20
- package/src/services/ess/v20201111/ess_models.ts +9 -16
- package/src/services/essbasic/v20210526/essbasic_client.ts +45 -30
- package/src/services/essbasic/v20210526/essbasic_models.ts +13 -13
- package/src/services/faceid/v20180301/faceid_models.ts +5 -2
- package/src/services/hunyuan/v20230901/hunyuan_client.ts +5 -3
- package/src/services/hunyuan/v20230901/hunyuan_models.ts +87 -44
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +2 -2
- package/src/services/live/v20180801/live_client.ts +1 -1
- package/src/services/mna/v20210119/mna_client.ts +74 -1
- package/src/services/mna/v20210119/mna_models.ts +244 -25
- package/src/services/oceanus/v20190422/oceanus_models.ts +10 -0
- package/src/services/tke/v20180525/tke_models.ts +4 -4
- package/src/services/trtc/v20190722/trtc_client.ts +2 -3
- package/src/services/trtc/v20190722/trtc_models.ts +1 -1
- package/src/services/vpc/v20170312/vpc_models.ts +9 -9
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/billing/v20180709/billing_client.d.ts +3 -0
- package/tencentcloud/services/billing/v20180709/billing_client.js +3 -0
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +7 -2
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +2 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +5 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +6 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +70 -8
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +1 -0
- package/tencentcloud/services/clb/v20180317/clb_client.js +1 -0
- package/tencentcloud/services/cloudapp/v20220530/cloudapp_models.d.ts +3 -66
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +9 -1
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +12 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +66 -18
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +13 -5
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +18 -6
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +261 -168
- package/tencentcloud/services/es/v20180416/es_models.d.ts +16 -0
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +36 -20
- package/tencentcloud/services/ess/v20201111/ess_client.js +36 -20
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +9 -16
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +45 -30
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +45 -30
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +13 -13
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +5 -2
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.d.ts +1 -1
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.js +1 -1
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +83 -42
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +2 -2
- package/tencentcloud/services/live/v20180801/live_client.d.ts +1 -1
- package/tencentcloud/services/live/v20180801/live_client.js +1 -1
- package/tencentcloud/services/mna/v20210119/mna_client.d.ts +25 -1
- package/tencentcloud/services/mna/v20210119/mna_client.js +36 -0
- package/tencentcloud/services/mna/v20210119/mna_models.d.ts +231 -25
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +10 -0
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +4 -4
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +2 -3
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +2 -3
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +9 -9
- package/test/ckafka.v20190819.test.js +10 -0
- package/test/cvm.v20170312.test.js +20 -0
- package/test/cynosdb.v20190107.test.js +24 -4
- package/test/mna.v20210119.test.js +60 -0
|
@@ -2411,6 +2411,11 @@ export interface ClusterGroupSetItem {
|
|
|
2411
2411
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2412
2412
|
*/
|
|
2413
2413
|
SubEks?: SubEks;
|
|
2414
|
+
/**
|
|
2415
|
+
* 默认 "" 包销模式 "exclusiveSale"
|
|
2416
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2417
|
+
*/
|
|
2418
|
+
BillingResourceMode?: string;
|
|
2414
2419
|
}
|
|
2415
2420
|
/**
|
|
2416
2421
|
* DescribeJobConfigs请求参数结构体
|
|
@@ -2731,6 +2736,11 @@ export interface Cluster {
|
|
|
2731
2736
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2732
2737
|
*/
|
|
2733
2738
|
ResourceType?: number;
|
|
2739
|
+
/**
|
|
2740
|
+
* 集群类型
|
|
2741
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2742
|
+
*/
|
|
2743
|
+
BillingResourceMode?: string;
|
|
2734
2744
|
}
|
|
2735
2745
|
/**
|
|
2736
2746
|
* DescribeJobSubmissionLog请求参数结构体
|
|
@@ -421,7 +421,7 @@ export interface UpgradeClusterReleaseRequest {
|
|
|
421
421
|
*/
|
|
422
422
|
Values?: ReleaseValues;
|
|
423
423
|
/**
|
|
424
|
-
* 制品来源,范围:tke-market 或 other默认值:tke-market
|
|
424
|
+
* 制品来源,范围:tke-market 或 other 默认值:tke-market,示例值:tke-market
|
|
425
425
|
*/
|
|
426
426
|
ChartFrom?: string;
|
|
427
427
|
/**
|
|
@@ -441,7 +441,7 @@ export interface UpgradeClusterReleaseRequest {
|
|
|
441
441
|
*/
|
|
442
442
|
Password?: string;
|
|
443
443
|
/**
|
|
444
|
-
*
|
|
444
|
+
* 制品命名空间,ChartFrom为tke-market时ChartNamespace不为空,值为DescribeProducts接口反馈的Namespace
|
|
445
445
|
*/
|
|
446
446
|
ChartNamespace?: string;
|
|
447
447
|
/**
|
|
@@ -8320,7 +8320,7 @@ export interface CreateClusterReleaseRequest {
|
|
|
8320
8320
|
*/
|
|
8321
8321
|
Values?: ReleaseValues;
|
|
8322
8322
|
/**
|
|
8323
|
-
* 制品来源,范围:tke-market 或 other
|
|
8323
|
+
* 制品来源,范围:tke-market 或 other默认值:tke-market。
|
|
8324
8324
|
*/
|
|
8325
8325
|
ChartFrom?: string;
|
|
8326
8326
|
/**
|
|
@@ -8340,7 +8340,7 @@ export interface CreateClusterReleaseRequest {
|
|
|
8340
8340
|
*/
|
|
8341
8341
|
Password?: string;
|
|
8342
8342
|
/**
|
|
8343
|
-
*
|
|
8343
|
+
* 制品命名空间,ChartFrom为tke-market时ChartNamespace不为空,值为DescribeProducts接口反馈的Namespace
|
|
8344
8344
|
*/
|
|
8345
8345
|
ChartNamespace?: string;
|
|
8346
8346
|
/**
|
|
@@ -207,9 +207,8 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
207
207
|
*/
|
|
208
208
|
StartMCUMixTranscodeByStrRoomId(req: StartMCUMixTranscodeByStrRoomIdRequest, cb?: (error: string, rep: StartMCUMixTranscodeByStrRoomIdResponse) => void): Promise<StartMCUMixTranscodeByStrRoomIdResponse>;
|
|
209
209
|
/**
|
|
210
|
-
* 将一个在线媒体流推到TRTC
|
|
211
|
-
|
|
212
|
-
)
|
|
210
|
+
* 将一个在线媒体流推到TRTC房间,更多功能说明见[输入媒体流进房](https://cloud.tencent.com/document/product/647/102957#50940aad-d90f-4473-9f46-d5dd46917653)。
|
|
211
|
+
使用输入在线媒体流功能需先订阅 [尊享版或旗舰版套餐包](https://cloud.tencent.com/document/product/647/85386) 解锁能力位。
|
|
213
212
|
*/
|
|
214
213
|
StartStreamIngest(req: StartStreamIngestRequest, cb?: (error: string, rep: StartStreamIngestResponse) => void): Promise<StartStreamIngestResponse>;
|
|
215
214
|
/**
|
|
@@ -253,9 +253,8 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
253
253
|
return this.request("StartMCUMixTranscodeByStrRoomId", req, cb);
|
|
254
254
|
}
|
|
255
255
|
/**
|
|
256
|
-
* 将一个在线媒体流推到TRTC
|
|
257
|
-
|
|
258
|
-
)
|
|
256
|
+
* 将一个在线媒体流推到TRTC房间,更多功能说明见[输入媒体流进房](https://cloud.tencent.com/document/product/647/102957#50940aad-d90f-4473-9f46-d5dd46917653)。
|
|
257
|
+
使用输入在线媒体流功能需先订阅 [尊享版或旗舰版套餐包](https://cloud.tencent.com/document/product/647/85386) 解锁能力位。
|
|
259
258
|
*/
|
|
260
259
|
async StartStreamIngest(req, cb) {
|
|
261
260
|
return this.request("StartStreamIngest", req, cb);
|
|
@@ -983,35 +983,35 @@ export interface InstanceBind {
|
|
|
983
983
|
/**
|
|
984
984
|
* 云联网ID。
|
|
985
985
|
*/
|
|
986
|
-
CcnId
|
|
986
|
+
CcnId?: string;
|
|
987
987
|
/**
|
|
988
988
|
* 实例类型:VPC,DIRECTCONNECT,BMVPC,EDGE,EDGE_TUNNEL,EDGE_VPNGW,VPNGW。
|
|
989
989
|
*/
|
|
990
|
-
InstanceType
|
|
990
|
+
InstanceType?: string;
|
|
991
991
|
/**
|
|
992
992
|
* 实例ID。
|
|
993
993
|
*/
|
|
994
|
-
InstanceId
|
|
994
|
+
InstanceId?: string;
|
|
995
995
|
/**
|
|
996
996
|
* 实例绑定路由表的时间。
|
|
997
997
|
*/
|
|
998
|
-
InstanceBindTime
|
|
998
|
+
InstanceBindTime?: string;
|
|
999
999
|
/**
|
|
1000
1000
|
* 路由表ID。
|
|
1001
1001
|
*/
|
|
1002
|
-
RouteTableId
|
|
1002
|
+
RouteTableId?: string;
|
|
1003
1003
|
/**
|
|
1004
1004
|
* 实例名称。
|
|
1005
1005
|
*/
|
|
1006
|
-
InstanceName
|
|
1006
|
+
InstanceName?: string;
|
|
1007
1007
|
/**
|
|
1008
1008
|
* 实例所在地域。
|
|
1009
1009
|
*/
|
|
1010
|
-
InstanceRegion
|
|
1010
|
+
InstanceRegion?: string;
|
|
1011
1011
|
/**
|
|
1012
1012
|
* 实例所属的账户uin。
|
|
1013
1013
|
*/
|
|
1014
|
-
InstanceUin
|
|
1014
|
+
InstanceUin?: string;
|
|
1015
1015
|
/**
|
|
1016
1016
|
* 关联实例状态:
|
|
1017
1017
|
<li>`PENDING`:申请中</li>
|
|
@@ -1024,7 +1024,7 @@ export interface InstanceBind {
|
|
|
1024
1024
|
<li>`DETACHING`:解关联中</li>
|
|
1025
1025
|
<li>`DETACHFAILED`:解关联失败(2小时后将异步强制解关联)</li>
|
|
1026
1026
|
*/
|
|
1027
|
-
State
|
|
1027
|
+
State?: string;
|
|
1028
1028
|
}
|
|
1029
1029
|
/**
|
|
1030
1030
|
* AddBandwidthPackageResources请求参数结构体
|
|
@@ -168,6 +168,16 @@ it("ckafka.v20190819.ModifyDatahubTopic", async function () {
|
|
|
168
168
|
}
|
|
169
169
|
})
|
|
170
170
|
|
|
171
|
+
it("ckafka.v20190819.ModifyRoutineMaintenanceTask", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.ModifyRoutineMaintenanceTask({})
|
|
174
|
+
expect(data).to.be.ok
|
|
175
|
+
} catch(error) {
|
|
176
|
+
expect(error.requestId).to.be.ok
|
|
177
|
+
expect(error.code).to.be.ok
|
|
178
|
+
}
|
|
179
|
+
})
|
|
180
|
+
|
|
171
181
|
it("ckafka.v20190819.CreateTopicIpWhiteList", async function () {
|
|
172
182
|
try {
|
|
173
183
|
const data = await client.CreateTopicIpWhiteList({})
|
|
@@ -278,6 +278,16 @@ it("cvm.v20170312.DescribeInstancesModification", async function () {
|
|
|
278
278
|
}
|
|
279
279
|
})
|
|
280
280
|
|
|
281
|
+
it("cvm.v20170312.ExitRescueMode", async function () {
|
|
282
|
+
try {
|
|
283
|
+
const data = await client.ExitRescueMode({})
|
|
284
|
+
expect(data).to.be.ok
|
|
285
|
+
} catch(error) {
|
|
286
|
+
expect(error.requestId).to.be.ok
|
|
287
|
+
expect(error.code).to.be.ok
|
|
288
|
+
}
|
|
289
|
+
})
|
|
290
|
+
|
|
281
291
|
it("cvm.v20170312.AssociateInstancesKeyPairs", async function () {
|
|
282
292
|
try {
|
|
283
293
|
const data = await client.AssociateInstancesKeyPairs({})
|
|
@@ -438,6 +448,16 @@ it("cvm.v20170312.DescribeHosts", async function () {
|
|
|
438
448
|
}
|
|
439
449
|
})
|
|
440
450
|
|
|
451
|
+
it("cvm.v20170312.EnterRescueMode", async function () {
|
|
452
|
+
try {
|
|
453
|
+
const data = await client.EnterRescueMode({})
|
|
454
|
+
expect(data).to.be.ok
|
|
455
|
+
} catch(error) {
|
|
456
|
+
expect(error.requestId).to.be.ok
|
|
457
|
+
expect(error.code).to.be.ok
|
|
458
|
+
}
|
|
459
|
+
})
|
|
460
|
+
|
|
441
461
|
it("cvm.v20170312.DescribeInstancesStatus", async function () {
|
|
442
462
|
try {
|
|
443
463
|
const data = await client.DescribeInstancesStatus({})
|
|
@@ -168,9 +168,19 @@ it("cynosdb.v20190107.CloseProxy", async function () {
|
|
|
168
168
|
}
|
|
169
169
|
})
|
|
170
170
|
|
|
171
|
-
it("cynosdb.v20190107.
|
|
171
|
+
it("cynosdb.v20190107.ExportResourcePackageDeductDetails", async function () {
|
|
172
172
|
try {
|
|
173
|
-
const data = await client.
|
|
173
|
+
const data = await client.ExportResourcePackageDeductDetails({})
|
|
174
|
+
expect(data).to.be.ok
|
|
175
|
+
} catch(error) {
|
|
176
|
+
expect(error.requestId).to.be.ok
|
|
177
|
+
expect(error.code).to.be.ok
|
|
178
|
+
}
|
|
179
|
+
})
|
|
180
|
+
|
|
181
|
+
it("cynosdb.v20190107.SwitchProxyVpc", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.SwitchProxyVpc({})
|
|
174
184
|
expect(data).to.be.ok
|
|
175
185
|
} catch(error) {
|
|
176
186
|
expect(error.requestId).to.be.ok
|
|
@@ -558,6 +568,16 @@ it("cynosdb.v20190107.ModifyParamTemplate", async function () {
|
|
|
558
568
|
}
|
|
559
569
|
})
|
|
560
570
|
|
|
571
|
+
it("cynosdb.v20190107.ModifyResourcePackagesDeductionPriority", async function () {
|
|
572
|
+
try {
|
|
573
|
+
const data = await client.ModifyResourcePackagesDeductionPriority({})
|
|
574
|
+
expect(data).to.be.ok
|
|
575
|
+
} catch(error) {
|
|
576
|
+
expect(error.requestId).to.be.ok
|
|
577
|
+
expect(error.code).to.be.ok
|
|
578
|
+
}
|
|
579
|
+
})
|
|
580
|
+
|
|
561
581
|
it("cynosdb.v20190107.DescribeInstanceParams", async function () {
|
|
562
582
|
try {
|
|
563
583
|
const data = await client.DescribeInstanceParams({})
|
|
@@ -1208,9 +1228,9 @@ it("cynosdb.v20190107.DescribeMaintainPeriod", async function () {
|
|
|
1208
1228
|
}
|
|
1209
1229
|
})
|
|
1210
1230
|
|
|
1211
|
-
it("cynosdb.v20190107.
|
|
1231
|
+
it("cynosdb.v20190107.DescribeProxySpecs", async function () {
|
|
1212
1232
|
try {
|
|
1213
|
-
const data = await client.
|
|
1233
|
+
const data = await client.DescribeProxySpecs({})
|
|
1214
1234
|
expect(data).to.be.ok
|
|
1215
1235
|
} catch(error) {
|
|
1216
1236
|
expect(error.requestId).to.be.ok
|
|
@@ -158,6 +158,16 @@ it("mna.v20210119.CreateQos", async function () {
|
|
|
158
158
|
}
|
|
159
159
|
})
|
|
160
160
|
|
|
161
|
+
it("mna.v20210119.DeleteL3Conn", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.DeleteL3Conn({})
|
|
164
|
+
expect(data).to.be.ok
|
|
165
|
+
} catch(error) {
|
|
166
|
+
expect(error.requestId).to.be.ok
|
|
167
|
+
expect(error.code).to.be.ok
|
|
168
|
+
}
|
|
169
|
+
})
|
|
170
|
+
|
|
161
171
|
it("mna.v20210119.DeleteGroup", async function () {
|
|
162
172
|
try {
|
|
163
173
|
const data = await client.DeleteGroup({})
|
|
@@ -228,6 +238,16 @@ it("mna.v20210119.GetGroupDetail", async function () {
|
|
|
228
238
|
}
|
|
229
239
|
})
|
|
230
240
|
|
|
241
|
+
it("mna.v20210119.UpdateL3Cidr", async function () {
|
|
242
|
+
try {
|
|
243
|
+
const data = await client.UpdateL3Cidr({})
|
|
244
|
+
expect(data).to.be.ok
|
|
245
|
+
} catch(error) {
|
|
246
|
+
expect(error.requestId).to.be.ok
|
|
247
|
+
expect(error.code).to.be.ok
|
|
248
|
+
}
|
|
249
|
+
})
|
|
250
|
+
|
|
231
251
|
it("mna.v20210119.GetVendorHardware", async function () {
|
|
232
252
|
try {
|
|
233
253
|
const data = await client.GetVendorHardware({})
|
|
@@ -238,6 +258,16 @@ it("mna.v20210119.GetVendorHardware", async function () {
|
|
|
238
258
|
}
|
|
239
259
|
})
|
|
240
260
|
|
|
261
|
+
it("mna.v20210119.AddL3Conn", async function () {
|
|
262
|
+
try {
|
|
263
|
+
const data = await client.AddL3Conn({})
|
|
264
|
+
expect(data).to.be.ok
|
|
265
|
+
} catch(error) {
|
|
266
|
+
expect(error.requestId).to.be.ok
|
|
267
|
+
expect(error.code).to.be.ok
|
|
268
|
+
}
|
|
269
|
+
})
|
|
270
|
+
|
|
241
271
|
it("mna.v20210119.CreateEncryptedKey", async function () {
|
|
242
272
|
try {
|
|
243
273
|
const data = await client.CreateEncryptedKey({})
|
|
@@ -308,6 +338,16 @@ it("mna.v20210119.GetHardwareList", async function () {
|
|
|
308
338
|
}
|
|
309
339
|
})
|
|
310
340
|
|
|
341
|
+
it("mna.v20210119.UpdateL3Switch", async function () {
|
|
342
|
+
try {
|
|
343
|
+
const data = await client.UpdateL3Switch({})
|
|
344
|
+
expect(data).to.be.ok
|
|
345
|
+
} catch(error) {
|
|
346
|
+
expect(error.requestId).to.be.ok
|
|
347
|
+
expect(error.code).to.be.ok
|
|
348
|
+
}
|
|
349
|
+
})
|
|
350
|
+
|
|
311
351
|
it("mna.v20210119.AddDevice", async function () {
|
|
312
352
|
try {
|
|
313
353
|
const data = await client.AddDevice({})
|
|
@@ -358,4 +398,24 @@ it("mna.v20210119.AddGroup", async function () {
|
|
|
358
398
|
}
|
|
359
399
|
})
|
|
360
400
|
|
|
401
|
+
it("mna.v20210119.GetL3ConnList", async function () {
|
|
402
|
+
try {
|
|
403
|
+
const data = await client.GetL3ConnList({})
|
|
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
|
+
|
|
411
|
+
it("mna.v20210119.UpdateL3Conn", async function () {
|
|
412
|
+
try {
|
|
413
|
+
const data = await client.UpdateL3Conn({})
|
|
414
|
+
expect(data).to.be.ok
|
|
415
|
+
} catch(error) {
|
|
416
|
+
expect(error.requestId).to.be.ok
|
|
417
|
+
expect(error.code).to.be.ok
|
|
418
|
+
}
|
|
419
|
+
})
|
|
420
|
+
|
|
361
421
|
})
|