tencentcloud-sdk-nodejs 4.0.497 → 4.0.499

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.
Files changed (71) hide show
  1. package/CHANGELOG.md +548 -0
  2. package/SERVICE_CHANGELOG.md +587 -149
  3. package/package.json +1 -1
  4. package/products.md +31 -31
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/antiddos/v20200309/antiddos_models.ts +3 -2
  7. package/src/services/batch/v20170312/batch_client.ts +1 -0
  8. package/src/services/batch/v20170312/batch_models.ts +19 -0
  9. package/src/services/ccc/v20200210/ccc_models.ts +36 -30
  10. package/src/services/cdb/v20170320/cdb_models.ts +1 -1
  11. package/src/services/clb/v20180317/clb_models.ts +43 -1
  12. package/src/services/cpdp/v20190820/cpdp_models.ts +12 -0
  13. package/src/services/cynosdb/v20190107/cynosdb_models.ts +15 -0
  14. package/src/services/es/v20180416/es_models.ts +2 -2
  15. package/src/services/ess/v20201111/ess_models.ts +6 -0
  16. package/src/services/essbasic/v20210526/essbasic_models.ts +6 -1
  17. package/src/services/monitor/v20180724/monitor_models.ts +35 -35
  18. package/src/services/mrs/v20200910/mrs_models.ts +28 -8
  19. package/src/services/ms/v20180408/ms_models.ts +364 -10
  20. package/src/services/nlp/v20190408/nlp_models.ts +9 -9
  21. package/src/services/ocr/v20181119/ocr_models.ts +10 -0
  22. package/src/services/privatedns/v20201028/privatedns_models.ts +24 -0
  23. package/src/services/pts/v20210728/pts_models.ts +11 -5
  24. package/src/services/rum/v20210622/rum_models.ts +16 -0
  25. package/src/services/tcss/v20201101/tcss_models.ts +2 -2
  26. package/src/services/tem/v20210701/tem_client.ts +1 -0
  27. package/src/services/tem/v20210701/tem_models.ts +58 -0
  28. package/src/services/teo/v20220901/teo_client.ts +1 -0
  29. package/src/services/teo/v20220901/teo_models.ts +198 -43
  30. package/src/services/tiia/v20190529/tiia_models.ts +3 -3
  31. package/src/services/tione/v20211111/tione_models.ts +18 -0
  32. package/src/services/tke/v20180525/tke_client.ts +110 -11
  33. package/src/services/tke/v20180525/tke_models.ts +709 -63
  34. package/src/services/tmt/v20180321/tmt_models.ts +10 -10
  35. package/src/services/trtc/v20190722/trtc_models.ts +24 -3
  36. package/src/services/vod/v20180717/vod_client.ts +5 -3
  37. package/src/services/vod/v20180717/vod_models.ts +119 -19
  38. package/src/services/waf/v20180125/waf_models.ts +34 -0
  39. package/tencentcloud/common/sdk_version.d.ts +1 -1
  40. package/tencentcloud/common/sdk_version.js +1 -1
  41. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +2 -1
  42. package/tencentcloud/services/batch/v20170312/batch_models.d.ts +17 -0
  43. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +35 -30
  44. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +1 -1
  45. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +36 -1
  46. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +10 -0
  47. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +12 -0
  48. package/tencentcloud/services/es/v20180416/es_models.d.ts +2 -2
  49. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +5 -0
  50. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +5 -1
  51. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +35 -35
  52. package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +24 -8
  53. package/tencentcloud/services/ms/v20180408/ms_models.d.ts +361 -7
  54. package/tencentcloud/services/nlp/v20190408/nlp_models.d.ts +9 -9
  55. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +9 -0
  56. package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +20 -0
  57. package/tencentcloud/services/pts/v20210728/pts_models.d.ts +10 -5
  58. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +13 -0
  59. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +2 -2
  60. package/tencentcloud/services/tem/v20210701/tem_models.d.ts +48 -0
  61. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +165 -34
  62. package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +3 -3
  63. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +15 -0
  64. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +35 -3
  65. package/tencentcloud/services/tke/v20180525/tke_client.js +51 -3
  66. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +591 -47
  67. package/tencentcloud/services/tmt/v20180321/tmt_models.d.ts +10 -10
  68. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +20 -3
  69. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +103 -19
  70. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +28 -0
  71. package/test/tke.v20180525.test.js +82 -2
@@ -97,35 +97,35 @@ export interface SpeechTranslateResponse {
97
97
  /**
98
98
  * 请求的SessionUuid直接返回
99
99
  */
100
- SessionUuid?: string;
100
+ SessionUuid: string;
101
101
  /**
102
102
  * 语音识别状态 1-进行中 0-完成
103
103
  */
104
- RecognizeStatus?: number;
104
+ RecognizeStatus: number;
105
105
  /**
106
106
  * 识别出的原文
107
107
  */
108
- SourceText?: string;
108
+ SourceText: string;
109
109
  /**
110
110
  * 翻译出的译文
111
111
  */
112
- TargetText?: string;
112
+ TargetText: string;
113
113
  /**
114
114
  * 第几个语音分片
115
115
  */
116
- Seq?: number;
116
+ Seq: number;
117
117
  /**
118
118
  * 原语言
119
119
  */
120
- Source?: string;
120
+ Source: string;
121
121
  /**
122
122
  * 目标语言
123
123
  */
124
- Target?: string;
124
+ Target: string;
125
125
  /**
126
126
  * 当请求的Mode参数填写bvad是,启动VadSeq。此时Seq会被设置为后台vad(静音检测)后的新序号,而VadSeq代表客户端原始Seq值
127
127
  */
128
- VadSeq?: number;
128
+ VadSeq: number;
129
129
  /**
130
130
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
131
131
  */
@@ -254,7 +254,7 @@ hi:印地语
254
254
  */
255
255
  ProjectId: number;
256
256
  /**
257
- * 待翻译的文本列表,批量接口可以以数组方式在一次请求中填写多个待翻译文本。文本统一使用utf-8格式编码,非utf-8格式编码字符会翻译失败,请传入有效文本,html标记等非常规翻译文本可能会翻译失败。单次请求的文本长度总和需要低于2000
257
+ * 待翻译的文本列表,批量接口可以以数组方式在一次请求中填写多个待翻译文本。文本统一使用utf-8格式编码,非utf-8格式编码字符会翻译失败,请传入有效文本,html标记等非常规翻译文本可能会翻译失败。单次请求的文本长度总和需要低于2000字符。
258
258
  */
259
259
  SourceTextList: Array<string>;
260
260
  }
@@ -426,7 +426,7 @@ lo(老挝语):zh(简体中文)、zh-HK(繁体中文)、 zh-TW(
426
426
  */
427
427
  export interface TextTranslateRequest {
428
428
  /**
429
- * 待翻译的文本,文本统一使用utf-8格式编码,非utf-8格式编码字符会翻译失败,请传入有效文本,html标记等非常规翻译文本可能会翻译失败。单次请求的文本长度需要低于2000
429
+ * 待翻译的文本,文本统一使用utf-8格式编码,非utf-8格式编码字符会翻译失败,请传入有效文本,html标记等非常规翻译文本可能会翻译失败。单次请求的文本长度需要低于2000字符。
430
430
  */
431
431
  SourceText: string;
432
432
  /**
@@ -1515,13 +1515,21 @@ export interface MixLayoutParams {
1515
1515
  */
1516
1516
  BackgroundImageRenderMode?: number;
1517
1517
  /**
1518
- * 下载的url地址, 只支持jpg, png,大小限制不超过5M,宽高比不一致的处理方案同 RenderMode。
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返回参数结构体
@@ -1703,9 +1711,13 @@ export interface TencentVod {
1703
1711
  */
1704
1712
  SourceContext?: string;
1705
1713
  /**
1706
- * 上传到vod平台的录制文件格式类型,0:mp4(默认), 1: hls。
1714
+ * 上传到vod平台的录制文件格式类型,0:mp4(默认), 1: hls, 2:aac(StreamType=1纯音频录制时有效)
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+mp4hls录制完成后转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返回参数结构体
@@ -117,28 +117,53 @@ export interface AiRecognitionTaskAsrFullTextSegmentItem {
117
117
  Text: string;
118
118
  }
119
119
  /**
120
- * 用户自定义文本音视频审核任务控制参数。
120
+ * 获取文件属性任务信息
121
121
  */
122
- export interface UserDefineOcrTextReviewTemplateInfoForUpdate {
122
+ export interface DescribeFileAttributesTask {
123
123
  /**
124
- * 用户自定文本音视频审核任务开关,可选值:
125
- <li>ON:开启自定义文本音视频审核任务;</li>
126
- <li>OFF:关闭自定义文本音视频审核任务。</li>
124
+ * 任务 ID。
127
125
  */
128
- Switch?: string;
126
+ TaskId: string;
129
127
  /**
130
- * 用户自定义文本过滤标签,音视频审核结果包含选择的标签则返回结果,如果过滤标签为空,则音视频审核结果全部返回。如果要使用标签过滤功能,添加自定义文本关键词素材时需要添加对应标签。
131
- 标签个数最多 10 个,每个标签长度最多 16 个字符。
128
+ * 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
132
129
  */
133
- LabelSet?: Array<string>;
130
+ Status: string;
134
131
  /**
135
- * 判定涉嫌违规的分数阈值,当审核达到该分数以上,认为涉嫌违规。取值范围:0~100。
132
+ * 错误码,0 表示成功,其他值表示失败:
133
+ <li>40000:输入参数不合法,请检查输入参数;</li>
134
+ <li>60000:源文件错误(如视频数据损坏),请确认源文件是否正常;</li>
135
+ <li>70000:内部服务错误,建议重试。</li>
136
136
  */
137
- BlockConfidence?: number;
137
+ ErrCode: number;
138
138
  /**
139
- * 判定需人工复核是否违规的分数阈值,当审核达到该分数以上,认为需人工复核。取值范围:0~100。
139
+ * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](https://cloud.tencent.com/document/product/266/50368#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
140
140
  */
141
- ReviewConfidence?: number;
141
+ ErrCodeExt: string;
142
+ /**
143
+ * 错误信息。
144
+ */
145
+ Message: string;
146
+ /**
147
+ * 任务进度,取值范围 [0-100] 。
148
+ */
149
+ Progress: number;
150
+ /**
151
+ * 媒体文件 ID。
152
+ */
153
+ FileId: string;
154
+ /**
155
+ * 获取媒体文件属性任务的输出。
156
+ 注意:此字段可能返回 null,表示取不到有效值。
157
+ */
158
+ Output: DescribeFileAttributesTaskOutput;
159
+ /**
160
+ * 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
161
+ */
162
+ SessionId: string;
163
+ /**
164
+ * 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
165
+ */
166
+ SessionContext: string;
142
167
  }
143
168
  /**
144
169
  * 音视频审核任务的输入。
@@ -739,6 +764,30 @@ export interface AiAnalysisTaskCoverOutput {
739
764
  */
740
765
  CoverSetFileUrlExpireTime: string;
741
766
  }
767
+ /**
768
+ * 用户自定义文本音视频审核任务控制参数。
769
+ */
770
+ export interface UserDefineOcrTextReviewTemplateInfoForUpdate {
771
+ /**
772
+ * 用户自定文本音视频审核任务开关,可选值:
773
+ <li>ON:开启自定义文本音视频审核任务;</li>
774
+ <li>OFF:关闭自定义文本音视频审核任务。</li>
775
+ */
776
+ Switch?: string;
777
+ /**
778
+ * 用户自定义文本过滤标签,音视频审核结果包含选择的标签则返回结果,如果过滤标签为空,则音视频审核结果全部返回。如果要使用标签过滤功能,添加自定义文本关键词素材时需要添加对应标签。
779
+ 标签个数最多 10 个,每个标签长度最多 16 个字符。
780
+ */
781
+ LabelSet?: Array<string>;
782
+ /**
783
+ * 判定涉嫌违规的分数阈值,当审核达到该分数以上,认为涉嫌违规。取值范围:0~100。
784
+ */
785
+ BlockConfidence?: number;
786
+ /**
787
+ * 判定需人工复核是否违规的分数阈值,当审核达到该分数以上,认为需人工复核。取值范围:0~100。
788
+ */
789
+ ReviewConfidence?: number;
790
+ }
742
791
  /**
743
792
  * 点播文件指定时间点截图信息
744
793
  */
@@ -3354,6 +3403,15 @@ export interface ReviewAudioVideoSegmentItem {
3354
3403
  * 当 Form 为 OCR 或 ASR 时有效,表示嫌疑片段命中的违规关键词列表。
3355
3404
  */
3356
3405
  KeywordSet: Array<string>;
3406
+ /**
3407
+ * 嫌疑图片 URL (图片不会永久存储,到达
3408
+ PicUrlExpireTime 时间点后图片将被删除)。
3409
+ */
3410
+ Url: string;
3411
+ /**
3412
+ * 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
3413
+ */
3414
+ PicUrlExpireTime: string;
3357
3415
  }
3358
3416
  /**
3359
3417
  * 点播文件视频转动图结果信息
@@ -9334,6 +9392,15 @@ export interface AiReviewTaskPoliticalAsrResult {
9334
9392
  */
9335
9393
  Progress: number;
9336
9394
  }
9395
+ /**
9396
+ * 获取文件属性任务输出
9397
+ */
9398
+ export interface DescribeFileAttributesTaskOutput {
9399
+ /**
9400
+ * 媒体文件的 Md5 值。
9401
+ */
9402
+ Md5: string;
9403
+ }
9337
9404
  /**
9338
9405
  * TRTC伴生录制信息。
9339
9406
  */
@@ -10046,11 +10113,11 @@ export interface DescribeCDNStatDetailsRequest {
10046
10113
  DataInterval?: number;
10047
10114
  }
10048
10115
  /**
10049
- * 文本全文识别输入。
10116
+ * 片尾任务输入类型。
10050
10117
  */
10051
- export interface AiRecognitionTaskOcrFullTextResultInput {
10118
+ export interface HeadTailTaskInput {
10052
10119
  /**
10053
- * 文本全文识别模板 ID。
10120
+ * 片头片尾模板号。
10054
10121
  */
10055
10122
  Definition: number;
10056
10123
  }
@@ -10231,6 +10298,7 @@ export interface EventContent {
10231
10298
  <li>FastClipMediaComplete:快速剪辑完成;</li>
10232
10299
  <li>ReviewAudioVideoComplete:音视频审核完成;</li>
10233
10300
  <li>ExtractTraceWatermarkComplete:提取溯源水印完成;</li>
10301
+ <li>DescribeFileAttributesComplete:获取文件属性完成;</li>
10234
10302
  <b>兼容 2017 版的事件类型:</b>
10235
10303
  <li>TranscodeComplete:视频转码完成;</li>
10236
10304
  <li>ConcatComplete:视频拼接完成;</li>
@@ -10334,6 +10402,11 @@ export interface EventContent {
10334
10402
  注意:此字段可能返回 null,表示取不到有效值。
10335
10403
  */
10336
10404
  ReduceMediaBitrateCompleteEvent: ReduceMediaBitrateTask;
10405
+ /**
10406
+ * 获取文件属性完成事件,当事件类型为 DescribeFileAttributesComplete 时有效。
10407
+ 注意:此字段可能返回 null,表示取不到有效值。
10408
+ */
10409
+ DescribeFileAttributesCompleteEvent: DescribeFileAttributesTask;
10337
10410
  }
10338
10411
  /**
10339
10412
  * 智能精彩片段任务控制参数
@@ -11289,6 +11362,11 @@ export interface MediaMetaData {
11289
11362
  * 音频时长,单位:秒。
11290
11363
  */
11291
11364
  AudioDuration: number;
11365
+ /**
11366
+ * 媒体文件的 Md5 值。
11367
+ <li><font color=red>注意</font>:如需要获取媒体文件的 Md5,调用 DescribeFileAttributes 接口,待任务执行完成后获取。</li>
11368
+ */
11369
+ Md5: string;
11292
11370
  }
11293
11371
  /**
11294
11372
  * 点播文件采样截图信息
@@ -11634,6 +11712,7 @@ export interface DescribeTaskDetailResponse {
11634
11712
  <li>PullUpload:拉取上传媒体文件任务;</li>
11635
11713
  <li>FastClipMedia:快速剪辑任务;</li>
11636
11714
  <li>RemoveWatermarkTask:智能去除水印任务;</li>
11715
+ <li>DescribeFileAttributesTask:获取文件属性任务;</li>
11637
11716
  <li> ReviewAudioVideo:音视频审核任务。</li>
11638
11717
  */
11639
11718
  TaskType: string;
@@ -11736,6 +11815,11 @@ export interface DescribeTaskDetailResponse {
11736
11815
  注意:此字段可能返回 null,表示取不到有效值。
11737
11816
  */
11738
11817
  ReduceMediaBitrateTask: ReduceMediaBitrateTask;
11818
+ /**
11819
+ * 获取文件属性任务信息,仅当 TaskType 为 DescribeFileAttributes,该字段有值。
11820
+ 注意:此字段可能返回 null,表示取不到有效值。
11821
+ */
11822
+ DescribeFileAttributesTask: DescribeFileAttributesTask;
11739
11823
  /**
11740
11824
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
11741
11825
  */
@@ -11904,11 +11988,11 @@ export interface ReduceMediaBitrateMediaProcessTaskResult {
11904
11988
  AdaptiveDynamicStreamingTask: ReduceMediaBitrateAdaptiveDynamicStreamingResult;
11905
11989
  }
11906
11990
  /**
11907
- * 片尾任务输入类型。
11991
+ * 文本全文识别输入。
11908
11992
  */
11909
- export interface HeadTailTaskInput {
11993
+ export interface AiRecognitionTaskOcrFullTextResultInput {
11910
11994
  /**
11911
- * 片头片尾模板号。
11995
+ * 文本全文识别模板 ID。
11912
11996
  */
11913
11997
  Definition: number;
11914
11998
  }
@@ -723,6 +723,16 @@ export interface DomainsPartInfo {
723
723
  注意:此字段可能返回 null,表示取不到有效值。
724
724
  */
725
725
  CipherTemplate: number;
726
+ /**
727
+ * 300s
728
+ 注意:此字段可能返回 null,表示取不到有效值。
729
+ */
730
+ ProxyReadTimeout: number;
731
+ /**
732
+ * 300s
733
+ 注意:此字段可能返回 null,表示取不到有效值。
734
+ */
735
+ ProxySendTimeout: number;
726
736
  }
727
737
  /**
728
738
  * DescribeAutoDenyIP请求参数结构体
@@ -946,6 +956,14 @@ export interface AddSpartaProtectionRequest {
946
956
  * 0:不支持选择:默认模版 1:通用型模版 2:安全型模版 3:自定义模版
947
957
  */
948
958
  CipherTemplate?: number;
959
+ /**
960
+ * 300s
961
+ */
962
+ ProxyReadTimeout?: number;
963
+ /**
964
+ * 300s
965
+ */
966
+ ProxySendTimeout?: number;
949
967
  }
950
968
  /**
951
969
  * PostAttackDownloadTask请求参数结构体
@@ -1583,6 +1601,16 @@ export interface InstanceInfo {
1583
1601
  注意:此字段可能返回 null,表示取不到有效值。
1584
1602
  */
1585
1603
  ElasticBilling?: number;
1604
+ /**
1605
+ * 攻击日志投递开关
1606
+ 注意:此字段可能返回 null,表示取不到有效值。
1607
+ */
1608
+ AttackLogPost?: number;
1609
+ /**
1610
+ * 带宽峰值
1611
+ 注意:此字段可能返回 null,表示取不到有效值。
1612
+ */
1613
+ MaxBandwidth?: number;
1586
1614
  }
1587
1615
  /**
1588
1616
  * 防护域名端口配置信息
@@ -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.ScaleInClusterMaster", async function () {
1591
+ it("tke.v20180525.RollbackClusterRelease", async function () {
1532
1592
  try {
1533
- const data = await client.ScaleInClusterMaster({})
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({})