tencentcloud-sdk-nodejs 4.0.497 → 4.0.498
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 +208 -0
- package/SERVICE_CHANGELOG.md +249 -225
- package/package.json +1 -1
- package/products.md +12 -12
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ccc/v20200210/ccc_models.ts +36 -30
- package/src/services/cpdp/v20190820/cpdp_models.ts +12 -0
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +15 -0
- package/src/services/mrs/v20200910/mrs_models.ts +28 -8
- package/src/services/ms/v20180408/ms_models.ts +364 -10
- package/src/services/pts/v20210728/pts_models.ts +11 -5
- package/src/services/tiia/v20190529/tiia_models.ts +3 -3
- package/src/services/tione/v20211111/tione_models.ts +18 -0
- package/src/services/tke/v20180525/tke_client.ts +110 -11
- package/src/services/tke/v20180525/tke_models.ts +709 -63
- package/src/services/trtc/v20190722/trtc_models.ts +23 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +35 -30
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +10 -0
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +12 -0
- package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +24 -8
- package/tencentcloud/services/ms/v20180408/ms_models.d.ts +361 -7
- package/tencentcloud/services/pts/v20210728/pts_models.d.ts +10 -5
- package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +3 -3
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +15 -0
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +35 -3
- package/tencentcloud/services/tke/v20180525/tke_client.js +51 -3
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +591 -47
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +19 -2
- package/test/tke.v20180525.test.js +82 -2
|
@@ -1515,13 +1515,21 @@ export interface MixLayoutParams {
|
|
|
1515
1515
|
*/
|
|
1516
1516
|
BackgroundImageRenderMode?: number;
|
|
1517
1517
|
/**
|
|
1518
|
-
*
|
|
1518
|
+
* 子画面占位图url地址, 只支持jpg, png,大小限制不超过5M,宽高比不一致的处理方案同 RenderMode。
|
|
1519
1519
|
*/
|
|
1520
1520
|
DefaultSubBackgroundImage?: string;
|
|
1521
1521
|
/**
|
|
1522
1522
|
* 水印布局参数, 最多支持25个。
|
|
1523
1523
|
*/
|
|
1524
1524
|
WaterMarkList?: Array<WaterMark>;
|
|
1525
|
+
/**
|
|
1526
|
+
* 模板布局下,背景画面宽高比不一致的时候处理方案。自定义布局不生效,与MixLayoufList定义的RenderMode一致。
|
|
1527
|
+
*/
|
|
1528
|
+
RenderMode?: number;
|
|
1529
|
+
/**
|
|
1530
|
+
* 屏幕分享模板有效。设置为1时代表大画面居右,小画面居左布局。默认为0。
|
|
1531
|
+
*/
|
|
1532
|
+
MaxResolutionUserAlign?: number;
|
|
1525
1533
|
}
|
|
1526
1534
|
/**
|
|
1527
1535
|
* StopMCUMixTranscode返回参数结构体
|
|
@@ -1706,6 +1714,10 @@ export interface TencentVod {
|
|
|
1706
1714
|
* 上传到vod平台的录制文件格式类型,0:mp4(默认), 1: hls。
|
|
1707
1715
|
*/
|
|
1708
1716
|
MediaType?: number;
|
|
1717
|
+
/**
|
|
1718
|
+
* 仅支持API录制上传vod,该参数表示用户可以自定义录制文件名前缀,【限制长度为64字节,只允许包含大小写英文字母(a-zA-Z)、数字(0-9)及下划线和连词符】。前缀与自动生成的录制文件名之间用__UserId_u_分开。
|
|
1719
|
+
*/
|
|
1720
|
+
UserDefineRecordId?: string;
|
|
1709
1721
|
}
|
|
1710
1722
|
/**
|
|
1711
1723
|
* 自定义透传SEI
|
|
@@ -2554,13 +2566,18 @@ export interface RecordParams {
|
|
|
2554
2566
|
*/
|
|
2555
2567
|
SubscribeStreamUserIds?: SubscribeStreamUserIds;
|
|
2556
2568
|
/**
|
|
2557
|
-
* 输出文件的格式,上传到云点播时此参数无效,存储到云点播时请关注TencentVod内的MediaType参数。0:(默认)输出文件为hls格式。1:输出文件格式为hls+mp4
|
|
2569
|
+
* 输出文件的格式,上传到云点播时此参数无效,存储到云点播时请关注TencentVod内的MediaType参数。0:(默认)输出文件为hls格式。1:输出文件格式为hls+mp4。2:输出文件格式为hls+aac 。
|
|
2558
2570
|
*/
|
|
2559
2571
|
OutputFormat?: number;
|
|
2560
2572
|
/**
|
|
2561
2573
|
* 单流录制模式下,用户的音视频是否合并,0:单流音视频不合并(默认)。1:单流音视频合并成一个ts。混流录制此参数无需设置,默认音视频合并。
|
|
2562
2574
|
*/
|
|
2563
2575
|
AvMerge?: number;
|
|
2576
|
+
/**
|
|
2577
|
+
* 如果是aac或者mp4文件格式,超过长度限制后,系统会自动拆分视频文件。单位:分钟。默认为1440min(24h),取值范围为1-1440。【单文件限制最大为2G,满足文件大小 >2G 或录制时长度 > 24h任意一个条件,文件都会自动切分】
|
|
2578
|
+
Hls 格式录制此参数不生效。
|
|
2579
|
+
*/
|
|
2580
|
+
MaxMediaFileDuration?: number;
|
|
2564
2581
|
}
|
|
2565
2582
|
/**
|
|
2566
2583
|
* DescribeTRTCMarketScaleMetricData返回参数结构体
|
|
@@ -398,6 +398,16 @@ it("tke.v20180525.UpdateClusterVersion", async function () {
|
|
|
398
398
|
}
|
|
399
399
|
})
|
|
400
400
|
|
|
401
|
+
it("tke.v20180525.DescribeClusterPendingReleases", async function () {
|
|
402
|
+
try {
|
|
403
|
+
const data = await client.DescribeClusterPendingReleases({})
|
|
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
|
+
|
|
401
411
|
it("tke.v20180525.CreatePrometheusRecordRuleYaml", async function () {
|
|
402
412
|
try {
|
|
403
413
|
const data = await client.CreatePrometheusRecordRuleYaml({})
|
|
@@ -528,6 +538,16 @@ it("tke.v20180525.DeleteClusterRoute", async function () {
|
|
|
528
538
|
}
|
|
529
539
|
})
|
|
530
540
|
|
|
541
|
+
it("tke.v20180525.UninstallClusterRelease", async function () {
|
|
542
|
+
try {
|
|
543
|
+
const data = await client.UninstallClusterRelease({})
|
|
544
|
+
expect(data).to.be.ok
|
|
545
|
+
} catch(error) {
|
|
546
|
+
expect(error.requestId).to.be.ok
|
|
547
|
+
expect(error.code).to.be.ok
|
|
548
|
+
}
|
|
549
|
+
})
|
|
550
|
+
|
|
531
551
|
it("tke.v20180525.AddVpcCniSubnets", async function () {
|
|
532
552
|
try {
|
|
533
553
|
const data = await client.AddVpcCniSubnets({})
|
|
@@ -988,6 +1008,16 @@ it("tke.v20180525.DescribeExternalClusterSpec", async function () {
|
|
|
988
1008
|
}
|
|
989
1009
|
})
|
|
990
1010
|
|
|
1011
|
+
it("tke.v20180525.DescribeClusterReleaseHistory", async function () {
|
|
1012
|
+
try {
|
|
1013
|
+
const data = await client.DescribeClusterReleaseHistory({})
|
|
1014
|
+
expect(data).to.be.ok
|
|
1015
|
+
} catch(error) {
|
|
1016
|
+
expect(error.requestId).to.be.ok
|
|
1017
|
+
expect(error.code).to.be.ok
|
|
1018
|
+
}
|
|
1019
|
+
})
|
|
1020
|
+
|
|
991
1021
|
it("tke.v20180525.ModifyClusterNodePool", async function () {
|
|
992
1022
|
try {
|
|
993
1023
|
const data = await client.ModifyClusterNodePool({})
|
|
@@ -1038,6 +1068,16 @@ it("tke.v20180525.DescribePrometheusGlobalNotification", async function () {
|
|
|
1038
1068
|
}
|
|
1039
1069
|
})
|
|
1040
1070
|
|
|
1071
|
+
it("tke.v20180525.ScaleInClusterMaster", async function () {
|
|
1072
|
+
try {
|
|
1073
|
+
const data = await client.ScaleInClusterMaster({})
|
|
1074
|
+
expect(data).to.be.ok
|
|
1075
|
+
} catch(error) {
|
|
1076
|
+
expect(error.requestId).to.be.ok
|
|
1077
|
+
expect(error.code).to.be.ok
|
|
1078
|
+
}
|
|
1079
|
+
})
|
|
1080
|
+
|
|
1041
1081
|
it("tke.v20180525.DescribeClusterLevelChangeRecords", async function () {
|
|
1042
1082
|
try {
|
|
1043
1083
|
const data = await client.DescribeClusterLevelChangeRecords({})
|
|
@@ -1278,6 +1318,16 @@ it("tke.v20180525.DescribeEKSClusterCredential", async function () {
|
|
|
1278
1318
|
}
|
|
1279
1319
|
})
|
|
1280
1320
|
|
|
1321
|
+
it("tke.v20180525.DescribeClusterReleaseDetails", async function () {
|
|
1322
|
+
try {
|
|
1323
|
+
const data = await client.DescribeClusterReleaseDetails({})
|
|
1324
|
+
expect(data).to.be.ok
|
|
1325
|
+
} catch(error) {
|
|
1326
|
+
expect(error.requestId).to.be.ok
|
|
1327
|
+
expect(error.code).to.be.ok
|
|
1328
|
+
}
|
|
1329
|
+
})
|
|
1330
|
+
|
|
1281
1331
|
it("tke.v20180525.DisableClusterAudit", async function () {
|
|
1282
1332
|
try {
|
|
1283
1333
|
const data = await client.DisableClusterAudit({})
|
|
@@ -1508,6 +1558,16 @@ it("tke.v20180525.DescribePrometheusConfig", async function () {
|
|
|
1508
1558
|
}
|
|
1509
1559
|
})
|
|
1510
1560
|
|
|
1561
|
+
it("tke.v20180525.CancelClusterRelease", async function () {
|
|
1562
|
+
try {
|
|
1563
|
+
const data = await client.CancelClusterRelease({})
|
|
1564
|
+
expect(data).to.be.ok
|
|
1565
|
+
} catch(error) {
|
|
1566
|
+
expect(error.requestId).to.be.ok
|
|
1567
|
+
expect(error.code).to.be.ok
|
|
1568
|
+
}
|
|
1569
|
+
})
|
|
1570
|
+
|
|
1511
1571
|
it("tke.v20180525.DescribeEdgeClusterInstances", async function () {
|
|
1512
1572
|
try {
|
|
1513
1573
|
const data = await client.DescribeEdgeClusterInstances({})
|
|
@@ -1528,9 +1588,9 @@ it("tke.v20180525.DescribeClusterAsGroupOption", async function () {
|
|
|
1528
1588
|
}
|
|
1529
1589
|
})
|
|
1530
1590
|
|
|
1531
|
-
it("tke.v20180525.
|
|
1591
|
+
it("tke.v20180525.RollbackClusterRelease", async function () {
|
|
1532
1592
|
try {
|
|
1533
|
-
const data = await client.
|
|
1593
|
+
const data = await client.RollbackClusterRelease({})
|
|
1534
1594
|
expect(data).to.be.ok
|
|
1535
1595
|
} catch(error) {
|
|
1536
1596
|
expect(error.requestId).to.be.ok
|
|
@@ -1618,6 +1678,26 @@ it("tke.v20180525.DescribeImageCaches", async function () {
|
|
|
1618
1678
|
}
|
|
1619
1679
|
})
|
|
1620
1680
|
|
|
1681
|
+
it("tke.v20180525.DescribeClusterReleases", async function () {
|
|
1682
|
+
try {
|
|
1683
|
+
const data = await client.DescribeClusterReleases({})
|
|
1684
|
+
expect(data).to.be.ok
|
|
1685
|
+
} catch(error) {
|
|
1686
|
+
expect(error.requestId).to.be.ok
|
|
1687
|
+
expect(error.code).to.be.ok
|
|
1688
|
+
}
|
|
1689
|
+
})
|
|
1690
|
+
|
|
1691
|
+
it("tke.v20180525.UpgradeClusterRelease", async function () {
|
|
1692
|
+
try {
|
|
1693
|
+
const data = await client.UpgradeClusterRelease({})
|
|
1694
|
+
expect(data).to.be.ok
|
|
1695
|
+
} catch(error) {
|
|
1696
|
+
expect(error.requestId).to.be.ok
|
|
1697
|
+
expect(error.code).to.be.ok
|
|
1698
|
+
}
|
|
1699
|
+
})
|
|
1700
|
+
|
|
1621
1701
|
it("tke.v20180525.DescribeEKSContainerInstanceRegions", async function () {
|
|
1622
1702
|
try {
|
|
1623
1703
|
const data = await client.DescribeEKSContainerInstanceRegions({})
|