tencentcloud-sdk-nodejs-intl-en 3.0.458 → 3.0.461

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.458",
3
+ "version": "3.0.461",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.458";
1
+ const sdkVersion = "3.0.461";
2
2
  module.exports = sdkVersion
@@ -8633,6 +8633,13 @@ class KeyPair extends AbstractModel {
8633
8633
  */
8634
8634
  this.CreatedTime = null;
8635
8635
 
8636
+ /**
8637
+ * The list of tags bound to the key.
8638
+ Note: This field may return `null`, indicating that no valid value can be obtained.
8639
+ * @type {Array.<Tag> || null}
8640
+ */
8641
+ this.Tags = null;
8642
+
8636
8643
  }
8637
8644
 
8638
8645
  /**
@@ -8651,6 +8658,15 @@ class KeyPair extends AbstractModel {
8651
8658
  this.AssociatedInstanceIds = 'AssociatedInstanceIds' in params ? params.AssociatedInstanceIds : null;
8652
8659
  this.CreatedTime = 'CreatedTime' in params ? params.CreatedTime : null;
8653
8660
 
8661
+ if (params.Tags) {
8662
+ this.Tags = new Array();
8663
+ for (let z in params.Tags) {
8664
+ let obj = new Tag();
8665
+ obj.deserialize(params.Tags[z]);
8666
+ this.Tags.push(obj);
8667
+ }
8668
+ }
8669
+
8654
8670
  }
8655
8671
  }
8656
8672
 
@@ -67,6 +67,69 @@ Note: This field may return `null`, indicating that no valid value can be obtain
67
67
  }
68
68
  }
69
69
 
70
+ /**
71
+ * DownloadL7Logs request structure.
72
+ * @class
73
+ */
74
+ class DownloadL7LogsRequest extends AbstractModel {
75
+ constructor(){
76
+ super();
77
+
78
+ /**
79
+ * Start time. It must conform to the RFC3339 standard.
80
+ * @type {string || null}
81
+ */
82
+ this.StartTime = null;
83
+
84
+ /**
85
+ * End time. It must conform to the RFC3339 standard.
86
+ * @type {string || null}
87
+ */
88
+ this.EndTime = null;
89
+
90
+ /**
91
+ * Number of entries per page
92
+ * @type {number || null}
93
+ */
94
+ this.PageSize = null;
95
+
96
+ /**
97
+ * Current page
98
+ * @type {number || null}
99
+ */
100
+ this.PageNo = null;
101
+
102
+ /**
103
+ * List of sites
104
+ * @type {Array.<string> || null}
105
+ */
106
+ this.Zones = null;
107
+
108
+ /**
109
+ * List of domain names
110
+ * @type {Array.<string> || null}
111
+ */
112
+ this.Domains = null;
113
+
114
+ }
115
+
116
+ /**
117
+ * @private
118
+ */
119
+ deserialize(params) {
120
+ if (!params) {
121
+ return;
122
+ }
123
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
124
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
125
+ this.PageSize = 'PageSize' in params ? params.PageSize : null;
126
+ this.PageNo = 'PageNo' in params ? params.PageNo : null;
127
+ this.Zones = 'Zones' in params ? params.Zones : null;
128
+ this.Domains = 'Domains' in params ? params.Domains : null;
129
+
130
+ }
131
+ }
132
+
70
133
  /**
71
134
  * CreatePurgeTask request structure.
72
135
  * @class
@@ -92,7 +155,15 @@ class CreatePurgeTaskRequest extends AbstractModel {
92
155
  this.Type = null;
93
156
 
94
157
  /**
95
- * The target resource to be purged. One target per line.
158
+ * Target resource to be purged, which depends on the `Type` field.
159
+ 1. When `Type = purge_host`:
160
+ Hostnames are purged, such as www.example.com and foo.bar.example.com.
161
+ 2. When `Type = purge_prefix`:
162
+ Prefixes are purged, such as http://www.example.com/example.
163
+ 3. When `Type = purge_url`:
164
+ URLs are purged, such as https://www.example.com/example.jpg.
165
+ 4. When `Type = purge_all`: All types of resources are purged.
166
+ `Targets` is not a required field.
96
167
  * @type {Array.<string> || null}
97
168
  */
98
169
  this.Targets = null;
@@ -213,6 +284,57 @@ class DescribePurgeTasksRequest extends AbstractModel {
213
284
  }
214
285
  }
215
286
 
287
+ /**
288
+ * CreatePrefetchTask response structure.
289
+ * @class
290
+ */
291
+ class CreatePrefetchTaskResponse extends AbstractModel {
292
+ constructor(){
293
+ super();
294
+
295
+ /**
296
+ * Task ID
297
+ * @type {string || null}
298
+ */
299
+ this.JobId = null;
300
+
301
+ /**
302
+ * List of failed tasks
303
+ Note: This field may return `null`, indicating that no valid value can be obtained.
304
+ * @type {Array.<FailReason> || null}
305
+ */
306
+ this.FailedList = null;
307
+
308
+ /**
309
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
310
+ * @type {string || null}
311
+ */
312
+ this.RequestId = null;
313
+
314
+ }
315
+
316
+ /**
317
+ * @private
318
+ */
319
+ deserialize(params) {
320
+ if (!params) {
321
+ return;
322
+ }
323
+ this.JobId = 'JobId' in params ? params.JobId : null;
324
+
325
+ if (params.FailedList) {
326
+ this.FailedList = new Array();
327
+ for (let z in params.FailedList) {
328
+ let obj = new FailReason();
329
+ obj.deserialize(params.FailedList[z]);
330
+ this.FailedList.push(obj);
331
+ }
332
+ }
333
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
334
+
335
+ }
336
+ }
337
+
216
338
  /**
217
339
  * Site information
218
340
  * @class
@@ -303,6 +425,132 @@ class Zone extends AbstractModel {
303
425
  }
304
426
  }
305
427
 
428
+ /**
429
+ * DownloadL7Logs response structure.
430
+ * @class
431
+ */
432
+ class DownloadL7LogsResponse extends AbstractModel {
433
+ constructor(){
434
+ super();
435
+
436
+ /**
437
+ * Layer-7 offline log data
438
+ Note: This field may return `null`, indicating that no valid value can be obtained.
439
+ * @type {Array.<L7OfflineLog> || null}
440
+ */
441
+ this.Data = null;
442
+
443
+ /**
444
+ * Page size
445
+ Note: This field may return `null`, indicating that no valid value can be obtained.
446
+ * @type {number || null}
447
+ */
448
+ this.PageSize = null;
449
+
450
+ /**
451
+ * Page number
452
+ Note: This field may return `null`, indicating that no valid value can be obtained.
453
+ * @type {number || null}
454
+ */
455
+ this.PageNo = null;
456
+
457
+ /**
458
+ * Total number of pages
459
+ Note: This field may return `null`, indicating that no valid value can be obtained.
460
+ * @type {number || null}
461
+ */
462
+ this.Pages = null;
463
+
464
+ /**
465
+ * Total number of entries
466
+ Note: This field may return `null`, indicating that no valid value can be obtained.
467
+ * @type {number || null}
468
+ */
469
+ this.TotalSize = null;
470
+
471
+ /**
472
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
473
+ * @type {string || null}
474
+ */
475
+ this.RequestId = null;
476
+
477
+ }
478
+
479
+ /**
480
+ * @private
481
+ */
482
+ deserialize(params) {
483
+ if (!params) {
484
+ return;
485
+ }
486
+
487
+ if (params.Data) {
488
+ this.Data = new Array();
489
+ for (let z in params.Data) {
490
+ let obj = new L7OfflineLog();
491
+ obj.deserialize(params.Data[z]);
492
+ this.Data.push(obj);
493
+ }
494
+ }
495
+ this.PageSize = 'PageSize' in params ? params.PageSize : null;
496
+ this.PageNo = 'PageNo' in params ? params.PageNo : null;
497
+ this.Pages = 'Pages' in params ? params.Pages : null;
498
+ this.TotalSize = 'TotalSize' in params ? params.TotalSize : null;
499
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
500
+
501
+ }
502
+ }
503
+
504
+ /**
505
+ * DescribePrefetchTasks response structure.
506
+ * @class
507
+ */
508
+ class DescribePrefetchTasksResponse extends AbstractModel {
509
+ constructor(){
510
+ super();
511
+
512
+ /**
513
+ * Total entries that match the specified query condition
514
+ * @type {number || null}
515
+ */
516
+ this.TotalCount = null;
517
+
518
+ /**
519
+ * List of tasks returned
520
+ * @type {Array.<Task> || null}
521
+ */
522
+ this.Tasks = null;
523
+
524
+ /**
525
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
526
+ * @type {string || null}
527
+ */
528
+ this.RequestId = null;
529
+
530
+ }
531
+
532
+ /**
533
+ * @private
534
+ */
535
+ deserialize(params) {
536
+ if (!params) {
537
+ return;
538
+ }
539
+ this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
540
+
541
+ if (params.Tasks) {
542
+ this.Tasks = new Array();
543
+ for (let z in params.Tasks) {
544
+ let obj = new Task();
545
+ obj.deserialize(params.Tasks[z]);
546
+ this.Tasks.push(obj);
547
+ }
548
+ }
549
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
550
+
551
+ }
552
+ }
553
+
306
554
  /**
307
555
  * DescribeZones request structure.
308
556
  * @class
@@ -404,6 +652,41 @@ Note: This field may return `null`, indicating that no valid value can be obtain
404
652
  }
405
653
  }
406
654
 
655
+ /**
656
+ * HTTP header, used as input for the CreatePrefetchTask API
657
+ * @class
658
+ */
659
+ class Header extends AbstractModel {
660
+ constructor(){
661
+ super();
662
+
663
+ /**
664
+ * HTTP header name
665
+ * @type {string || null}
666
+ */
667
+ this.Name = null;
668
+
669
+ /**
670
+ * HTTP header value
671
+ * @type {string || null}
672
+ */
673
+ this.Value = null;
674
+
675
+ }
676
+
677
+ /**
678
+ * @private
679
+ */
680
+ deserialize(params) {
681
+ if (!params) {
682
+ return;
683
+ }
684
+ this.Name = 'Name' in params ? params.Name : null;
685
+ this.Value = 'Value' in params ? params.Value : null;
686
+
687
+ }
688
+ }
689
+
407
690
  /**
408
691
  * Failure reason
409
692
  * @class
@@ -419,7 +702,8 @@ class FailReason extends AbstractModel {
419
702
  this.Reason = null;
420
703
 
421
704
  /**
422
- * List of resources failed to be purged
705
+ * List of resources failed to be processed.
706
+
423
707
  * @type {Array.<string> || null}
424
708
  */
425
709
  this.Targets = null;
@@ -502,6 +786,65 @@ class Task extends AbstractModel {
502
786
  }
503
787
  }
504
788
 
789
+ /**
790
+ * CreatePrefetchTask request structure.
791
+ * @class
792
+ */
793
+ class CreatePrefetchTaskRequest extends AbstractModel {
794
+ constructor(){
795
+ super();
796
+
797
+ /**
798
+ * ID of the site
799
+ * @type {string || null}
800
+ */
801
+ this.ZoneId = null;
802
+
803
+ /**
804
+ * List of resources to be pre-warmed, for example:
805
+ http://www.example.com/example.txt
806
+ * @type {Array.<string> || null}
807
+ */
808
+ this.Targets = null;
809
+
810
+ /**
811
+ * Specifies whether to encode the URL
812
+ Note that if it’s enabled, the purging is based on the converted URLs.
813
+ * @type {boolean || null}
814
+ */
815
+ this.EncodeUrl = null;
816
+
817
+ /**
818
+ * HTTP header information
819
+ * @type {Array.<Header> || null}
820
+ */
821
+ this.Headers = null;
822
+
823
+ }
824
+
825
+ /**
826
+ * @private
827
+ */
828
+ deserialize(params) {
829
+ if (!params) {
830
+ return;
831
+ }
832
+ this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
833
+ this.Targets = 'Targets' in params ? params.Targets : null;
834
+ this.EncodeUrl = 'EncodeUrl' in params ? params.EncodeUrl : null;
835
+
836
+ if (params.Headers) {
837
+ this.Headers = new Array();
838
+ for (let z in params.Headers) {
839
+ let obj = new Header();
840
+ obj.deserialize(params.Headers[z]);
841
+ this.Headers.push(obj);
842
+ }
843
+ }
844
+
845
+ }
846
+ }
847
+
505
848
  /**
506
849
  * DescribePurgeTasks response structure.
507
850
  * @class
@@ -552,6 +895,91 @@ class DescribePurgeTasksResponse extends AbstractModel {
552
895
  }
553
896
  }
554
897
 
898
+ /**
899
+ * DescribePrefetchTasks request structure.
900
+ * @class
901
+ */
902
+ class DescribePrefetchTasksRequest extends AbstractModel {
903
+ constructor(){
904
+ super();
905
+
906
+ /**
907
+ * Task ID
908
+ * @type {string || null}
909
+ */
910
+ this.JobId = null;
911
+
912
+ /**
913
+ * Start time of the query
914
+ * @type {string || null}
915
+ */
916
+ this.StartTime = null;
917
+
918
+ /**
919
+ * End time of the query
920
+ * @type {string || null}
921
+ */
922
+ this.EndTime = null;
923
+
924
+ /**
925
+ * Offset of the query
926
+ * @type {number || null}
927
+ */
928
+ this.Offset = null;
929
+
930
+ /**
931
+ * Maximum number of results returned
932
+ * @type {number || null}
933
+ */
934
+ this.Limit = null;
935
+
936
+ /**
937
+ * Statuses of tasks to be queried. Values:
938
+ `processing`, `success`, `failed`, `timeout` and `invalid`
939
+ * @type {Array.<string> || null}
940
+ */
941
+ this.Statuses = null;
942
+
943
+ /**
944
+ * ID of the site
945
+ * @type {string || null}
946
+ */
947
+ this.ZoneId = null;
948
+
949
+ /**
950
+ * List of domain names queried
951
+ * @type {Array.<string> || null}
952
+ */
953
+ this.Domains = null;
954
+
955
+ /**
956
+ * Resources queried
957
+ * @type {string || null}
958
+ */
959
+ this.Target = null;
960
+
961
+ }
962
+
963
+ /**
964
+ * @private
965
+ */
966
+ deserialize(params) {
967
+ if (!params) {
968
+ return;
969
+ }
970
+ this.JobId = 'JobId' in params ? params.JobId : null;
971
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
972
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
973
+ this.Offset = 'Offset' in params ? params.Offset : null;
974
+ this.Limit = 'Limit' in params ? params.Limit : null;
975
+ this.Statuses = 'Statuses' in params ? params.Statuses : null;
976
+ this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
977
+ this.Domains = 'Domains' in params ? params.Domains : null;
978
+ this.Target = 'Target' in params ? params.Target : null;
979
+
980
+ }
981
+ }
982
+
555
983
  /**
556
984
  * Site query filter
557
985
  * @class
@@ -596,16 +1024,85 @@ class ZoneFilter extends AbstractModel {
596
1024
  }
597
1025
  }
598
1026
 
1027
+ /**
1028
+ * Layer-7 offline log details
1029
+ * @class
1030
+ */
1031
+ class L7OfflineLog extends AbstractModel {
1032
+ constructor(){
1033
+ super();
1034
+
1035
+ /**
1036
+ * Start time of the log packaging
1037
+ Note: This field may return `null`, indicating that no valid value can be obtained.
1038
+ * @type {number || null}
1039
+ */
1040
+ this.LogTime = null;
1041
+
1042
+ /**
1043
+ * Site name
1044
+ Note: This field may return `null`, indicating that no valid value can be obtained.
1045
+ * @type {string || null}
1046
+ */
1047
+ this.Domain = null;
1048
+
1049
+ /**
1050
+ * Log size, in bytes
1051
+ Note: This field may return `null`, indicating that no valid value can be obtained.
1052
+ * @type {number || null}
1053
+ */
1054
+ this.Size = null;
1055
+
1056
+ /**
1057
+ * Download address
1058
+ Note: This field may return `null`, indicating that no valid value can be obtained.
1059
+ * @type {string || null}
1060
+ */
1061
+ this.Url = null;
1062
+
1063
+ /**
1064
+ * Log package name
1065
+ Note: This field may return `null`, indicating that no valid value can be obtained.
1066
+ * @type {string || null}
1067
+ */
1068
+ this.LogPacketName = null;
1069
+
1070
+ }
1071
+
1072
+ /**
1073
+ * @private
1074
+ */
1075
+ deserialize(params) {
1076
+ if (!params) {
1077
+ return;
1078
+ }
1079
+ this.LogTime = 'LogTime' in params ? params.LogTime : null;
1080
+ this.Domain = 'Domain' in params ? params.Domain : null;
1081
+ this.Size = 'Size' in params ? params.Size : null;
1082
+ this.Url = 'Url' in params ? params.Url : null;
1083
+ this.LogPacketName = 'LogPacketName' in params ? params.LogPacketName : null;
1084
+
1085
+ }
1086
+ }
1087
+
599
1088
  module.exports = {
600
1089
  CreatePurgeTaskResponse: CreatePurgeTaskResponse,
1090
+ DownloadL7LogsRequest: DownloadL7LogsRequest,
601
1091
  CreatePurgeTaskRequest: CreatePurgeTaskRequest,
602
1092
  DescribePurgeTasksRequest: DescribePurgeTasksRequest,
1093
+ CreatePrefetchTaskResponse: CreatePrefetchTaskResponse,
603
1094
  Zone: Zone,
1095
+ DownloadL7LogsResponse: DownloadL7LogsResponse,
1096
+ DescribePrefetchTasksResponse: DescribePrefetchTasksResponse,
604
1097
  DescribeZonesRequest: DescribeZonesRequest,
605
1098
  DescribeZonesResponse: DescribeZonesResponse,
1099
+ Header: Header,
606
1100
  FailReason: FailReason,
607
1101
  Task: Task,
1102
+ CreatePrefetchTaskRequest: CreatePrefetchTaskRequest,
608
1103
  DescribePurgeTasksResponse: DescribePurgeTasksResponse,
1104
+ DescribePrefetchTasksRequest: DescribePrefetchTasksRequest,
609
1105
  ZoneFilter: ZoneFilter,
1106
+ L7OfflineLog: L7OfflineLog,
610
1107
 
611
1108
  }
@@ -17,15 +17,23 @@
17
17
  const models = require("./models");
18
18
  const AbstractClient = require('../../common/abstract_client')
19
19
  const CreatePurgeTaskResponse = models.CreatePurgeTaskResponse;
20
+ const DownloadL7LogsRequest = models.DownloadL7LogsRequest;
20
21
  const CreatePurgeTaskRequest = models.CreatePurgeTaskRequest;
21
22
  const DescribePurgeTasksRequest = models.DescribePurgeTasksRequest;
23
+ const CreatePrefetchTaskResponse = models.CreatePrefetchTaskResponse;
22
24
  const Zone = models.Zone;
25
+ const DownloadL7LogsResponse = models.DownloadL7LogsResponse;
26
+ const DescribePrefetchTasksResponse = models.DescribePrefetchTasksResponse;
23
27
  const DescribeZonesRequest = models.DescribeZonesRequest;
24
28
  const DescribeZonesResponse = models.DescribeZonesResponse;
29
+ const Header = models.Header;
25
30
  const FailReason = models.FailReason;
26
31
  const Task = models.Task;
32
+ const CreatePrefetchTaskRequest = models.CreatePrefetchTaskRequest;
27
33
  const DescribePurgeTasksResponse = models.DescribePurgeTasksResponse;
34
+ const DescribePrefetchTasksRequest = models.DescribePrefetchTasksRequest;
28
35
  const ZoneFilter = models.ZoneFilter;
36
+ const L7OfflineLog = models.L7OfflineLog;
29
37
 
30
38
 
31
39
  /**
@@ -38,6 +46,17 @@ class TeoClient extends AbstractClient {
38
46
  super("teo.tencentcloudapi.com", "2022-01-06", credential, region, profile);
39
47
  }
40
48
 
49
+ /**
50
+ * This API is used to query layer-7 logs.
51
+ * @param {DownloadL7LogsRequest} req
52
+ * @param {function(string, DownloadL7LogsResponse):void} cb
53
+ * @public
54
+ */
55
+ DownloadL7Logs(req, cb) {
56
+ let resp = new DownloadL7LogsResponse();
57
+ this.request("DownloadL7Logs", req, resp, cb);
58
+ }
59
+
41
60
  /**
42
61
  * This API is used to create a cache purging task.
43
62
  * @param {CreatePurgeTaskRequest} req
@@ -60,6 +79,28 @@ class TeoClient extends AbstractClient {
60
79
  this.request("DescribePurgeTasks", req, resp, cb);
61
80
  }
62
81
 
82
+ /**
83
+ * This API is used to query the pre-warming task status.
84
+ * @param {DescribePrefetchTasksRequest} req
85
+ * @param {function(string, DescribePrefetchTasksResponse):void} cb
86
+ * @public
87
+ */
88
+ DescribePrefetchTasks(req, cb) {
89
+ let resp = new DescribePrefetchTasksResponse();
90
+ this.request("DescribePrefetchTasks", req, resp, cb);
91
+ }
92
+
93
+ /**
94
+ * This API is used to create a pre-warming task.
95
+ * @param {CreatePrefetchTaskRequest} req
96
+ * @param {function(string, CreatePrefetchTaskResponse):void} cb
97
+ * @public
98
+ */
99
+ CreatePrefetchTask(req, cb) {
100
+ let resp = new CreatePrefetchTaskResponse();
101
+ this.request("CreatePrefetchTask", req, resp, cb);
102
+ }
103
+
63
104
  /**
64
105
  * This API is used to query the list of user sites.
65
106
  * @param {DescribeZonesRequest} req
@@ -2156,6 +2156,13 @@ Note: this field may return `null`, indicating that no valid value can be obtain
2156
2156
  */
2157
2157
  this.Subnets = null;
2158
2158
 
2159
+ /**
2160
+ * Whether to ignore ServiceCIDR conflict errors. It is only valid in VPC-CNI mode. Default value: `false`.
2161
+ Note: This field may return `null`, indicating that no valid value can be obtained.
2162
+ * @type {boolean || null}
2163
+ */
2164
+ this.IgnoreServiceCIDRConflict = null;
2165
+
2159
2166
  }
2160
2167
 
2161
2168
  /**
@@ -2175,6 +2182,7 @@ Note: this field may return `null`, indicating that no valid value can be obtain
2175
2182
  this.KubeProxyMode = 'KubeProxyMode' in params ? params.KubeProxyMode : null;
2176
2183
  this.ServiceCIDR = 'ServiceCIDR' in params ? params.ServiceCIDR : null;
2177
2184
  this.Subnets = 'Subnets' in params ? params.Subnets : null;
2185
+ this.IgnoreServiceCIDRConflict = 'IgnoreServiceCIDRConflict' in params ? params.IgnoreServiceCIDRConflict : null;
2178
2186
 
2179
2187
  }
2180
2188
  }
@@ -3101,7 +3109,7 @@ class ClusterBasicSettings extends AbstractModel {
3101
3109
  this.OsCustomizeType = null;
3102
3110
 
3103
3111
  /**
3104
- * Whether to enable the node’s default security group (default: `No`, Aphla feature)
3112
+ * Whether to enable the node’s default security group (default: `No`, Alpha feature)
3105
3113
  * @type {boolean || null}
3106
3114
  */
3107
3115
  this.NeedWorkSecurityGroup = null;
@@ -3538,56 +3546,6 @@ Note: this field may return `null`, indicating that no valid values can be obtai
3538
3546
  }
3539
3547
  }
3540
3548
 
3541
- /**
3542
- * DescribeClusterStatus response structure.
3543
- * @class
3544
- */
3545
- class DescribeClusterStatusResponse extends AbstractModel {
3546
- constructor(){
3547
- super();
3548
-
3549
- /**
3550
- * Cluster status list
3551
- * @type {Array.<ClusterStatus> || null}
3552
- */
3553
- this.ClusterStatusSet = null;
3554
-
3555
- /**
3556
- * Number of clusters
3557
- * @type {number || null}
3558
- */
3559
- this.TotalCount = null;
3560
-
3561
- /**
3562
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
3563
- * @type {string || null}
3564
- */
3565
- this.RequestId = null;
3566
-
3567
- }
3568
-
3569
- /**
3570
- * @private
3571
- */
3572
- deserialize(params) {
3573
- if (!params) {
3574
- return;
3575
- }
3576
-
3577
- if (params.ClusterStatusSet) {
3578
- this.ClusterStatusSet = new Array();
3579
- for (let z in params.ClusterStatusSet) {
3580
- let obj = new ClusterStatus();
3581
- obj.deserialize(params.ClusterStatusSet[z]);
3582
- this.ClusterStatusSet.push(obj);
3583
- }
3584
- }
3585
- this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
3586
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
3587
-
3588
- }
3589
- }
3590
-
3591
3549
  /**
3592
3550
  * DeleteClusterNodePool request structure.
3593
3551
  * @class
@@ -3715,6 +3673,12 @@ class ClusterCIDRSettings extends AbstractModel {
3715
3673
  */
3716
3674
  this.ClaimExpiredSeconds = null;
3717
3675
 
3676
+ /**
3677
+ * Whether to ignore ServiceCIDR conflict errors. It is only valid in VPC-CNI mode. Default value: `false`.
3678
+ * @type {boolean || null}
3679
+ */
3680
+ this.IgnoreServiceCIDRConflict = null;
3681
+
3718
3682
  }
3719
3683
 
3720
3684
  /**
@@ -3731,6 +3695,7 @@ class ClusterCIDRSettings extends AbstractModel {
3731
3695
  this.ServiceCIDR = 'ServiceCIDR' in params ? params.ServiceCIDR : null;
3732
3696
  this.EniSubnetIds = 'EniSubnetIds' in params ? params.EniSubnetIds : null;
3733
3697
  this.ClaimExpiredSeconds = 'ClaimExpiredSeconds' in params ? params.ClaimExpiredSeconds : null;
3698
+ this.IgnoreServiceCIDRConflict = 'IgnoreServiceCIDRConflict' in params ? params.IgnoreServiceCIDRConflict : null;
3734
3699
 
3735
3700
  }
3736
3701
  }
@@ -5203,42 +5168,30 @@ class DescribeResourceUsageResponse extends AbstractModel {
5203
5168
  }
5204
5169
 
5205
5170
  /**
5206
- * CreateClusterAsGroup request structure.
5171
+ * DescribeClusterStatus response structure.
5207
5172
  * @class
5208
5173
  */
5209
- class CreateClusterAsGroupRequest extends AbstractModel {
5174
+ class DescribeClusterStatusResponse extends AbstractModel {
5210
5175
  constructor(){
5211
5176
  super();
5212
5177
 
5213
5178
  /**
5214
- * Cluster ID
5215
- * @type {string || null}
5179
+ * Cluster status list
5180
+ * @type {Array.<ClusterStatus> || null}
5216
5181
  */
5217
- this.ClusterId = null;
5182
+ this.ClusterStatusSet = null;
5218
5183
 
5219
5184
  /**
5220
- * The pass-through parameters for scaling group creation, in the format of a JSON string. For more information, see the [CreateAutoScalingGroup](https://intl.cloud.tencent.com/document/api/377/20440?from_cn_redirect=1) API. The **LaunchConfigurationId** is created with the LaunchConfigurePara parameter, which does not support data entry.
5221
- * @type {string || null}
5185
+ * Number of clusters
5186
+ * @type {number || null}
5222
5187
  */
5223
- this.AutoScalingGroupPara = null;
5188
+ this.TotalCount = null;
5224
5189
 
5225
5190
  /**
5226
- * The pass-through parameters for launch configuration creation, in the format of a JSON string. For more information, see the [CreateLaunchConfiguration](https://intl.cloud.tencent.com/document/api/377/20447?from_cn_redirect=1) API. **ImageId** is not required as it is already included in the cluster dimension. **UserData** is not required as it's set through the **UserScript**.
5191
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
5227
5192
  * @type {string || null}
5228
5193
  */
5229
- this.LaunchConfigurePara = null;
5230
-
5231
- /**
5232
- * Advanced configuration information of the node
5233
- * @type {InstanceAdvancedSettings || null}
5234
- */
5235
- this.InstanceAdvancedSettings = null;
5236
-
5237
- /**
5238
- * Node label array
5239
- * @type {Array.<Label> || null}
5240
- */
5241
- this.Labels = null;
5194
+ this.RequestId = null;
5242
5195
 
5243
5196
  }
5244
5197
 
@@ -5249,24 +5202,17 @@ class CreateClusterAsGroupRequest extends AbstractModel {
5249
5202
  if (!params) {
5250
5203
  return;
5251
5204
  }
5252
- this.ClusterId = 'ClusterId' in params ? params.ClusterId : null;
5253
- this.AutoScalingGroupPara = 'AutoScalingGroupPara' in params ? params.AutoScalingGroupPara : null;
5254
- this.LaunchConfigurePara = 'LaunchConfigurePara' in params ? params.LaunchConfigurePara : null;
5255
-
5256
- if (params.InstanceAdvancedSettings) {
5257
- let obj = new InstanceAdvancedSettings();
5258
- obj.deserialize(params.InstanceAdvancedSettings)
5259
- this.InstanceAdvancedSettings = obj;
5260
- }
5261
5205
 
5262
- if (params.Labels) {
5263
- this.Labels = new Array();
5264
- for (let z in params.Labels) {
5265
- let obj = new Label();
5266
- obj.deserialize(params.Labels[z]);
5267
- this.Labels.push(obj);
5206
+ if (params.ClusterStatusSet) {
5207
+ this.ClusterStatusSet = new Array();
5208
+ for (let z in params.ClusterStatusSet) {
5209
+ let obj = new ClusterStatus();
5210
+ obj.deserialize(params.ClusterStatusSet[z]);
5211
+ this.ClusterStatusSet.push(obj);
5268
5212
  }
5269
5213
  }
5214
+ this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
5215
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
5270
5216
 
5271
5217
  }
5272
5218
  }
@@ -5769,48 +5715,6 @@ class AcquireClusterAdminRoleRequest extends AbstractModel {
5769
5715
  }
5770
5716
  }
5771
5717
 
5772
- /**
5773
- * CreateClusterAsGroup response structure.
5774
- * @class
5775
- */
5776
- class CreateClusterAsGroupResponse extends AbstractModel {
5777
- constructor(){
5778
- super();
5779
-
5780
- /**
5781
- * Launch configuration ID
5782
- * @type {string || null}
5783
- */
5784
- this.LaunchConfigurationId = null;
5785
-
5786
- /**
5787
- * Scaling group ID
5788
- * @type {string || null}
5789
- */
5790
- this.AutoScalingGroupId = null;
5791
-
5792
- /**
5793
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
5794
- * @type {string || null}
5795
- */
5796
- this.RequestId = null;
5797
-
5798
- }
5799
-
5800
- /**
5801
- * @private
5802
- */
5803
- deserialize(params) {
5804
- if (!params) {
5805
- return;
5806
- }
5807
- this.LaunchConfigurationId = 'LaunchConfigurationId' in params ? params.LaunchConfigurationId : null;
5808
- this.AutoScalingGroupId = 'AutoScalingGroupId' in params ? params.AutoScalingGroupId : null;
5809
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
5810
-
5811
- }
5812
- }
5813
-
5814
5718
  /**
5815
5719
  * ModifyClusterAuthenticationOptions response structure.
5816
5720
  * @class
@@ -6086,6 +5990,13 @@ Note: this field may return `null`, indicating that no valid values can be obtai
6086
5990
  */
6087
5991
  this.PreStartUserScript = null;
6088
5992
 
5993
+ /**
5994
+ * Node taint
5995
+ Note: This field may return `null`, indicating that no valid value can be obtained.
5996
+ * @type {Array.<Taint> || null}
5997
+ */
5998
+ this.Taints = null;
5999
+
6089
6000
  }
6090
6001
 
6091
6002
  /**
@@ -6126,6 +6037,15 @@ Note: this field may return `null`, indicating that no valid values can be obtai
6126
6037
  this.DesiredPodNumber = 'DesiredPodNumber' in params ? params.DesiredPodNumber : null;
6127
6038
  this.PreStartUserScript = 'PreStartUserScript' in params ? params.PreStartUserScript : null;
6128
6039
 
6040
+ if (params.Taints) {
6041
+ this.Taints = new Array();
6042
+ for (let z in params.Taints) {
6043
+ let obj = new Taint();
6044
+ obj.deserialize(params.Taints[z]);
6045
+ this.Taints.push(obj);
6046
+ }
6047
+ }
6048
+
6129
6049
  }
6130
6050
  }
6131
6051
 
@@ -6826,6 +6746,18 @@ class CreateClusterNodePoolRequest extends AbstractModel {
6826
6746
  */
6827
6747
  this.Taints = null;
6828
6748
 
6749
+ /**
6750
+ * Node pool runtime type and version
6751
+ * @type {string || null}
6752
+ */
6753
+ this.ContainerRuntime = null;
6754
+
6755
+ /**
6756
+ * Runtime version
6757
+ * @type {string || null}
6758
+ */
6759
+ this.RuntimeVersion = null;
6760
+
6829
6761
  /**
6830
6762
  * Operating system of the node pool
6831
6763
  * @type {string || null}
@@ -6882,6 +6814,8 @@ class CreateClusterNodePoolRequest extends AbstractModel {
6882
6814
  this.Taints.push(obj);
6883
6815
  }
6884
6816
  }
6817
+ this.ContainerRuntime = 'ContainerRuntime' in params ? params.ContainerRuntime : null;
6818
+ this.RuntimeVersion = 'RuntimeVersion' in params ? params.RuntimeVersion : null;
6885
6819
  this.NodePoolOs = 'NodePoolOs' in params ? params.NodePoolOs : null;
6886
6820
  this.OsCustomizeType = 'OsCustomizeType' in params ? params.OsCustomizeType : null;
6887
6821
 
@@ -7962,6 +7896,24 @@ class CreateClusterEndpointRequest extends AbstractModel {
7962
7896
  */
7963
7897
  this.IsExtranet = null;
7964
7898
 
7899
+ /**
7900
+ * The domain name
7901
+ * @type {string || null}
7902
+ */
7903
+ this.Domain = null;
7904
+
7905
+ /**
7906
+ * The security group in use. Required only for public network access.
7907
+ * @type {string || null}
7908
+ */
7909
+ this.SecurityGroup = null;
7910
+
7911
+ /**
7912
+ * The LB parameter. Required only for public network access.
7913
+ * @type {string || null}
7914
+ */
7915
+ this.ExtensiveParameters = null;
7916
+
7965
7917
  }
7966
7918
 
7967
7919
  /**
@@ -7974,6 +7926,9 @@ class CreateClusterEndpointRequest extends AbstractModel {
7974
7926
  this.ClusterId = 'ClusterId' in params ? params.ClusterId : null;
7975
7927
  this.SubnetId = 'SubnetId' in params ? params.SubnetId : null;
7976
7928
  this.IsExtranet = 'IsExtranet' in params ? params.IsExtranet : null;
7929
+ this.Domain = 'Domain' in params ? params.Domain : null;
7930
+ this.SecurityGroup = 'SecurityGroup' in params ? params.SecurityGroup : null;
7931
+ this.ExtensiveParameters = 'ExtensiveParameters' in params ? params.ExtensiveParameters : null;
7977
7932
 
7978
7933
  }
7979
7934
  }
@@ -8126,6 +8081,12 @@ The array length of `InstanceAdvancedSettingsOverride` should be the same as the
8126
8081
  */
8127
8082
  this.InstanceAdvancedSettingsOverrides = null;
8128
8083
 
8084
+ /**
8085
+ * Node image (it is required when creating a node)
8086
+ * @type {string || null}
8087
+ */
8088
+ this.ImageId = null;
8089
+
8129
8090
  }
8130
8091
 
8131
8092
  /**
@@ -8173,6 +8134,7 @@ The array length of `InstanceAdvancedSettingsOverride` should be the same as the
8173
8134
  this.InstanceAdvancedSettingsOverrides.push(obj);
8174
8135
  }
8175
8136
  }
8137
+ this.ImageId = 'ImageId' in params ? params.ImageId : null;
8176
8138
 
8177
8139
  }
8178
8140
  }
@@ -10263,7 +10225,6 @@ module.exports = {
10263
10225
  DescribeTKEEdgeScriptResponse: DescribeTKEEdgeScriptResponse,
10264
10226
  DescribeClusterStatusRequest: DescribeClusterStatusRequest,
10265
10227
  VersionInstance: VersionInstance,
10266
- DescribeClusterStatusResponse: DescribeClusterStatusResponse,
10267
10228
  DeleteClusterNodePoolRequest: DeleteClusterNodePoolRequest,
10268
10229
  DescribeClusterKubeconfigRequest: DescribeClusterKubeconfigRequest,
10269
10230
  ClusterCIDRSettings: ClusterCIDRSettings,
@@ -10298,7 +10259,7 @@ module.exports = {
10298
10259
  GetClusterLevelPriceResponse: GetClusterLevelPriceResponse,
10299
10260
  PrometheusAlertRule: PrometheusAlertRule,
10300
10261
  DescribeResourceUsageResponse: DescribeResourceUsageResponse,
10301
- CreateClusterAsGroupRequest: CreateClusterAsGroupRequest,
10262
+ DescribeClusterStatusResponse: DescribeClusterStatusResponse,
10302
10263
  DescribeRouteTableConflictsResponse: DescribeRouteTableConflictsResponse,
10303
10264
  ServiceAccountAuthenticationOptions: ServiceAccountAuthenticationOptions,
10304
10265
  DescribeVersionsRequest: DescribeVersionsRequest,
@@ -10310,7 +10271,6 @@ module.exports = {
10310
10271
  CreateClusterRequest: CreateClusterRequest,
10311
10272
  DeletePrometheusAlertRuleResponse: DeletePrometheusAlertRuleResponse,
10312
10273
  AcquireClusterAdminRoleRequest: AcquireClusterAdminRoleRequest,
10313
- CreateClusterAsGroupResponse: CreateClusterAsGroupResponse,
10314
10274
  ModifyClusterAuthenticationOptionsResponse: ModifyClusterAuthenticationOptionsResponse,
10315
10275
  DescribeClusterAuthenticationOptionsResponse: DescribeClusterAuthenticationOptionsResponse,
10316
10276
  DeleteClusterAsGroupsResponse: DeleteClusterAsGroupsResponse,
@@ -87,7 +87,6 @@ const DescribeClusterAuthenticationOptionsRequest = models.DescribeClusterAuthen
87
87
  const DescribeTKEEdgeScriptResponse = models.DescribeTKEEdgeScriptResponse;
88
88
  const DescribeClusterStatusRequest = models.DescribeClusterStatusRequest;
89
89
  const VersionInstance = models.VersionInstance;
90
- const DescribeClusterStatusResponse = models.DescribeClusterStatusResponse;
91
90
  const DeleteClusterNodePoolRequest = models.DeleteClusterNodePoolRequest;
92
91
  const DescribeClusterKubeconfigRequest = models.DescribeClusterKubeconfigRequest;
93
92
  const ClusterCIDRSettings = models.ClusterCIDRSettings;
@@ -122,7 +121,7 @@ const DescribeClusterEndpointStatusRequest = models.DescribeClusterEndpointStatu
122
121
  const GetClusterLevelPriceResponse = models.GetClusterLevelPriceResponse;
123
122
  const PrometheusAlertRule = models.PrometheusAlertRule;
124
123
  const DescribeResourceUsageResponse = models.DescribeResourceUsageResponse;
125
- const CreateClusterAsGroupRequest = models.CreateClusterAsGroupRequest;
124
+ const DescribeClusterStatusResponse = models.DescribeClusterStatusResponse;
126
125
  const DescribeRouteTableConflictsResponse = models.DescribeRouteTableConflictsResponse;
127
126
  const ServiceAccountAuthenticationOptions = models.ServiceAccountAuthenticationOptions;
128
127
  const DescribeVersionsRequest = models.DescribeVersionsRequest;
@@ -134,7 +133,6 @@ const DescribeAvailableClusterVersionRequest = models.DescribeAvailableClusterVe
134
133
  const CreateClusterRequest = models.CreateClusterRequest;
135
134
  const DeletePrometheusAlertRuleResponse = models.DeletePrometheusAlertRuleResponse;
136
135
  const AcquireClusterAdminRoleRequest = models.AcquireClusterAdminRoleRequest;
137
- const CreateClusterAsGroupResponse = models.CreateClusterAsGroupResponse;
138
136
  const ModifyClusterAuthenticationOptionsResponse = models.ModifyClusterAuthenticationOptionsResponse;
139
137
  const DescribeClusterAuthenticationOptionsResponse = models.DescribeClusterAuthenticationOptionsResponse;
140
138
  const DeleteClusterAsGroupsResponse = models.DeleteClusterAsGroupsResponse;
@@ -514,17 +512,6 @@ class TkeClient extends AbstractClient {
514
512
  this.request("DescribeClusterCommonNames", req, resp, cb);
515
513
  }
516
514
 
517
- /**
518
- * Create a scaling group for an existing cluster
519
- * @param {CreateClusterAsGroupRequest} req
520
- * @param {function(string, CreateClusterAsGroupResponse):void} cb
521
- * @public
522
- */
523
- CreateClusterAsGroup(req, cb) {
524
- let resp = new CreateClusterAsGroupResponse();
525
- this.request("CreateClusterAsGroup", req, resp, cb);
526
- }
527
-
528
515
  /**
529
516
  * This API can be called to acquire the ClusterRole tke:admin. By setting a CAM policy, you can grant permission of this API to a sub-account that has higher permission in CAM. In this way, this sub-account can call this API directly to acquire the admin role of a Kubernetes cluster.
530
517
  * @param {AcquireClusterAdminRoleRequest} req