tencentcloud-sdk-nodejs 4.0.304 → 4.0.305
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 +134 -0
- package/SERVICE_CHANGELOG.md +182 -49
- package/package.json +1 -1
- package/products.md +10 -10
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ame/v20190916/ame_client.ts +29 -1
- package/src/services/ame/v20190916/ame_models.ts +132 -6
- package/src/services/ckafka/v20190819/ckafka_client.ts +1 -0
- package/src/services/ckafka/v20190819/ckafka_models.ts +33 -0
- package/src/services/cls/v20201016/cls_client.ts +8 -1
- package/src/services/ess/v20201111/ess_models.ts +12 -7
- package/src/services/kms/v20190118/kms_models.ts +2 -2
- package/src/services/tke/v20180525/tke_client.ts +81 -19
- package/src/services/tke/v20180525/tke_models.ts +459 -158
- package/src/services/vod/v20180717/vod_client.ts +24 -0
- package/src/services/vod/v20180717/vod_models.ts +56 -8
- package/src/services/vpc/v20170312/vpc_models.ts +6 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ame/v20190916/ame_client.d.ts +9 -1
- package/tencentcloud/services/ame/v20190916/ame_client.js +12 -0
- package/tencentcloud/services/ame/v20190916/ame_models.d.ts +114 -6
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +28 -0
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +8 -1
- package/tencentcloud/services/cls/v20201016/cls_client.js +8 -1
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +10 -5
- package/tencentcloud/services/kms/v20190118/kms_models.d.ts +2 -2
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +25 -5
- package/tencentcloud/services/tke/v20180525/tke_client.js +36 -6
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +393 -138
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +17 -1
- package/tencentcloud/services/vod/v20180717/vod_client.js +18 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +48 -6
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +5 -0
- package/test/ame.v20190916.test.js +20 -0
- package/test/tke.v20180525.test.js +54 -4
- package/test/vod.v20180717.test.js +10 -0
|
@@ -31,6 +31,21 @@ export interface DescribeMusicResponse {
|
|
|
31
31
|
RequestId?: string
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
/**
|
|
35
|
+
* DescribeKTVSuggestions返回参数结构体
|
|
36
|
+
*/
|
|
37
|
+
export interface DescribeKTVSuggestionsResponse {
|
|
38
|
+
/**
|
|
39
|
+
* 联想词信息列表。返回总数最大为10。
|
|
40
|
+
*/
|
|
41
|
+
KTVSuggestionInfoSet: Array<KTVSuggestionInfo>
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
45
|
+
*/
|
|
46
|
+
RequestId?: string
|
|
47
|
+
}
|
|
48
|
+
|
|
34
49
|
/**
|
|
35
50
|
* 副歌片段信息
|
|
36
51
|
*/
|
|
@@ -403,18 +418,18 @@ export interface ImagePath {
|
|
|
403
418
|
}
|
|
404
419
|
|
|
405
420
|
/**
|
|
406
|
-
*
|
|
421
|
+
* 即使广播曲库歌曲标签信息
|
|
407
422
|
*/
|
|
408
|
-
export interface
|
|
423
|
+
export interface KTVMusicTagInfo {
|
|
409
424
|
/**
|
|
410
|
-
*
|
|
425
|
+
* 标签Id
|
|
411
426
|
*/
|
|
412
|
-
|
|
427
|
+
TagId: string
|
|
413
428
|
|
|
414
429
|
/**
|
|
415
|
-
*
|
|
430
|
+
* 标签
|
|
416
431
|
*/
|
|
417
|
-
|
|
432
|
+
TagName: string
|
|
418
433
|
}
|
|
419
434
|
|
|
420
435
|
/**
|
|
@@ -533,6 +548,21 @@ export interface TimeRange {
|
|
|
533
548
|
After?: string
|
|
534
549
|
}
|
|
535
550
|
|
|
551
|
+
/**
|
|
552
|
+
* DescribeMusicSaleStatus返回参数结构体
|
|
553
|
+
*/
|
|
554
|
+
export interface DescribeMusicSaleStatusResponse {
|
|
555
|
+
/**
|
|
556
|
+
* musicId对应歌曲状态
|
|
557
|
+
*/
|
|
558
|
+
MusicStatusSet: Array<MusicStatus>
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
562
|
+
*/
|
|
563
|
+
RequestId?: string
|
|
564
|
+
}
|
|
565
|
+
|
|
536
566
|
/**
|
|
537
567
|
* CreateKTVRobot返回参数结构体
|
|
538
568
|
*/
|
|
@@ -580,6 +610,26 @@ export interface DescribeCloudMusicPurchasedResponse {
|
|
|
580
610
|
RequestId?: string
|
|
581
611
|
}
|
|
582
612
|
|
|
613
|
+
/**
|
|
614
|
+
* 即使广播曲库歌曲标签分组信息
|
|
615
|
+
*/
|
|
616
|
+
export interface KTVMusicTagGroup {
|
|
617
|
+
/**
|
|
618
|
+
* 标签分组英文名
|
|
619
|
+
*/
|
|
620
|
+
EnglishGroupName: string
|
|
621
|
+
|
|
622
|
+
/**
|
|
623
|
+
* 标签分组中文名
|
|
624
|
+
*/
|
|
625
|
+
ChineseGroupName: string
|
|
626
|
+
|
|
627
|
+
/**
|
|
628
|
+
* 标签分类下标签列表
|
|
629
|
+
*/
|
|
630
|
+
TagSet: Array<KTVMusicTagInfo>
|
|
631
|
+
}
|
|
632
|
+
|
|
583
633
|
/**
|
|
584
634
|
* 数据信息
|
|
585
635
|
*/
|
|
@@ -615,6 +665,31 @@ export interface DataInfo {
|
|
|
615
665
|
TagNames: Array<string>
|
|
616
666
|
}
|
|
617
667
|
|
|
668
|
+
/**
|
|
669
|
+
* 用户license基础信息
|
|
670
|
+
*/
|
|
671
|
+
export interface ApplicationLicenseInput {
|
|
672
|
+
/**
|
|
673
|
+
* 应用名称,注:后面三个字段AndroidPackageName、IOSBundleId、PcIdentifier,三者选填一个
|
|
674
|
+
*/
|
|
675
|
+
AppName: string
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* app的安卓包名
|
|
679
|
+
*/
|
|
680
|
+
AndroidPackageName?: string
|
|
681
|
+
|
|
682
|
+
/**
|
|
683
|
+
* app的IOS的BundleId名
|
|
684
|
+
*/
|
|
685
|
+
IOSBundleId?: string
|
|
686
|
+
|
|
687
|
+
/**
|
|
688
|
+
* PC标识名
|
|
689
|
+
*/
|
|
690
|
+
PcIdentifier?: string
|
|
691
|
+
}
|
|
692
|
+
|
|
618
693
|
/**
|
|
619
694
|
* Artist
|
|
620
695
|
*/
|
|
@@ -944,6 +1019,26 @@ export interface DescribeKTVRobotsRequest {
|
|
|
944
1019
|
Limit?: number
|
|
945
1020
|
}
|
|
946
1021
|
|
|
1022
|
+
/**
|
|
1023
|
+
* DescribeKTVMusicTags返回参数结构体
|
|
1024
|
+
*/
|
|
1025
|
+
export interface DescribeKTVMusicTagsResponse {
|
|
1026
|
+
/**
|
|
1027
|
+
* 标签分组列表
|
|
1028
|
+
*/
|
|
1029
|
+
TagGroupSet: Array<KTVMusicTagGroup>
|
|
1030
|
+
|
|
1031
|
+
/**
|
|
1032
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1033
|
+
*/
|
|
1034
|
+
RequestId?: string
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
/**
|
|
1038
|
+
* DescribeKTVMusicTags请求参数结构体
|
|
1039
|
+
*/
|
|
1040
|
+
export type DescribeKTVMusicTagsRequest = null
|
|
1041
|
+
|
|
947
1042
|
/**
|
|
948
1043
|
* 直播进房输入参数
|
|
949
1044
|
*/
|
|
@@ -978,6 +1073,21 @@ export interface CreateKTVRobotRequest {
|
|
|
978
1073
|
* 进房参数。
|
|
979
1074
|
*/
|
|
980
1075
|
JoinRoomInput: JoinRoomInput
|
|
1076
|
+
|
|
1077
|
+
/**
|
|
1078
|
+
* license基础信息
|
|
1079
|
+
*/
|
|
1080
|
+
ApplicationLicenseInput?: ApplicationLicenseInput
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
/**
|
|
1084
|
+
* 即使广播曲库联想词信息
|
|
1085
|
+
*/
|
|
1086
|
+
export interface KTVSuggestionInfo {
|
|
1087
|
+
/**
|
|
1088
|
+
* 联想词
|
|
1089
|
+
*/
|
|
1090
|
+
Suggestion: string
|
|
981
1091
|
}
|
|
982
1092
|
|
|
983
1093
|
/**
|
|
@@ -1474,6 +1584,12 @@ export interface SearchKTVMusicsRequest {
|
|
|
1474
1584
|
<li> 当 KeyWord 不为空时,Sort.Field 字段无效, 搜索结果将以匹配度排序。</li>
|
|
1475
1585
|
*/
|
|
1476
1586
|
Sort?: SortBy
|
|
1587
|
+
|
|
1588
|
+
/**
|
|
1589
|
+
* 标签 ID 集合,匹配集合指定所有 ID 。
|
|
1590
|
+
<li>数组长度限制:10。</li>
|
|
1591
|
+
*/
|
|
1592
|
+
TagIds?: Array<string>
|
|
1477
1593
|
}
|
|
1478
1594
|
|
|
1479
1595
|
/**
|
|
@@ -1752,6 +1868,16 @@ export interface SyncKTVRobotCommandRequest {
|
|
|
1752
1868
|
SetDestroyModeCommandInput?: SetDestroyModeCommandInput
|
|
1753
1869
|
}
|
|
1754
1870
|
|
|
1871
|
+
/**
|
|
1872
|
+
* DescribeKTVSuggestions请求参数结构体
|
|
1873
|
+
*/
|
|
1874
|
+
export interface DescribeKTVSuggestionsRequest {
|
|
1875
|
+
/**
|
|
1876
|
+
* 联想关键词
|
|
1877
|
+
*/
|
|
1878
|
+
KeyWord: string
|
|
1879
|
+
}
|
|
1880
|
+
|
|
1755
1881
|
/**
|
|
1756
1882
|
* DescribeKTVPlaylists返回参数结构体
|
|
1757
1883
|
*/
|
|
@@ -3081,6 +3081,12 @@ export interface TopicAttributesResponse {
|
|
|
3081
3081
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3082
3082
|
*/
|
|
3083
3083
|
AclRuleList: Array<AclRule>
|
|
3084
|
+
|
|
3085
|
+
/**
|
|
3086
|
+
* topic 限流策略
|
|
3087
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3088
|
+
*/
|
|
3089
|
+
QuotaConfig: InstanceQuotaConfigResp
|
|
3084
3090
|
}
|
|
3085
3091
|
|
|
3086
3092
|
/**
|
|
@@ -3643,6 +3649,16 @@ export interface ModifyTopicAttributesRequest {
|
|
|
3643
3649
|
* 标签列表
|
|
3644
3650
|
*/
|
|
3645
3651
|
Tags?: Array<Tag>
|
|
3652
|
+
|
|
3653
|
+
/**
|
|
3654
|
+
* 生产限流,单位 MB/s
|
|
3655
|
+
*/
|
|
3656
|
+
QuotaProducerByteRate?: number
|
|
3657
|
+
|
|
3658
|
+
/**
|
|
3659
|
+
* 消费限流,单位 MB/s
|
|
3660
|
+
*/
|
|
3661
|
+
QuotaConsumerByteRate?: number
|
|
3646
3662
|
}
|
|
3647
3663
|
|
|
3648
3664
|
/**
|
|
@@ -4021,6 +4037,23 @@ export interface InstanceDetail {
|
|
|
4021
4037
|
PublicNetwork: number
|
|
4022
4038
|
}
|
|
4023
4039
|
|
|
4040
|
+
/**
|
|
4041
|
+
* 实例 / topic 维度限流策略
|
|
4042
|
+
*/
|
|
4043
|
+
export interface InstanceQuotaConfigResp {
|
|
4044
|
+
/**
|
|
4045
|
+
* 生产限流大小,单位 MB/s
|
|
4046
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4047
|
+
*/
|
|
4048
|
+
QuotaProducerByteRate: number
|
|
4049
|
+
|
|
4050
|
+
/**
|
|
4051
|
+
* 消费限流大小,单位 MB/s
|
|
4052
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4053
|
+
*/
|
|
4054
|
+
QuotaConsumerByteRate: number
|
|
4055
|
+
}
|
|
4056
|
+
|
|
4024
4057
|
/**
|
|
4025
4058
|
* DescribeTopicDetail返回参数结构体
|
|
4026
4059
|
*/
|
|
@@ -509,7 +509,14 @@ export class Client extends AbstractClient {
|
|
|
509
509
|
}
|
|
510
510
|
|
|
511
511
|
/**
|
|
512
|
-
* ##
|
|
512
|
+
* ## 提示
|
|
513
|
+
为了保障您日志数据的可靠性以及更高效地使用日志服务,建议您使用CLS优化后的接口[上传结构化日志](https://cloud.tencent.com/document/api/614/16873)上传日志。
|
|
514
|
+
|
|
515
|
+
同时我们给此接口专门优化定制了多个语言版本的SDK供您选择,SDK提供统一的异步发送、资源控制、自动重试、优雅关闭、感知上报等功能,使上报日志功能更完善,详情请参考[SDK采集](https://cloud.tencent.com/document/product/614/67157)。
|
|
516
|
+
|
|
517
|
+
同时云API上传日志接口也支持同步上传日志数据,如果您选继续使用此接口请参考下文。
|
|
518
|
+
|
|
519
|
+
## 功能描述
|
|
513
520
|
|
|
514
521
|
本接口用于将日志写入到指定的日志主题。
|
|
515
522
|
|
|
@@ -533,8 +533,11 @@ export interface ApproverInfo {
|
|
|
533
533
|
ApproverIdCardNumber?: string
|
|
534
534
|
|
|
535
535
|
/**
|
|
536
|
-
|
|
537
|
-
|
|
536
|
+
* 证件类型
|
|
537
|
+
ID_CARD 身份证
|
|
538
|
+
HONGKONG_AND_MACAO 港澳居民来往内地通行证
|
|
539
|
+
HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证(格式同居民身份证)
|
|
540
|
+
*/
|
|
538
541
|
ApproverIdCardType?: string
|
|
539
542
|
|
|
540
543
|
/**
|
|
@@ -609,16 +612,18 @@ export interface FlowCreateApprover {
|
|
|
609
612
|
*/
|
|
610
613
|
ApproverMobile?: string
|
|
611
614
|
|
|
612
|
-
/**
|
|
613
|
-
* 签署方经办人证件类型,ID_CARD表示身份证
|
|
614
|
-
*/
|
|
615
|
-
ApproverIdCardType?: string
|
|
616
|
-
|
|
617
615
|
/**
|
|
618
616
|
* 签署方经办人证件号码
|
|
619
617
|
*/
|
|
620
618
|
ApproverIdCardNumber?: string
|
|
621
619
|
|
|
620
|
+
/**
|
|
621
|
+
* 签署方经办人证件类型ID_CARD 身份证
|
|
622
|
+
HONGKONG_AND_MACAO 港澳居民来往内地通行证
|
|
623
|
+
HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证(格式同居民身份证)
|
|
624
|
+
*/
|
|
625
|
+
ApproverIdCardType?: string
|
|
626
|
+
|
|
622
627
|
/**
|
|
623
628
|
* 签署方经办人在模板中的角色ID
|
|
624
629
|
*/
|
|
@@ -443,7 +443,7 @@ export interface GenerateDataKeyRequest {
|
|
|
443
443
|
EncryptionPublicKey?: string
|
|
444
444
|
|
|
445
445
|
/**
|
|
446
|
-
* 非对称加密算法,配合 EncryptionPublicKey 对返回数据进行加密。目前支持:SM2
|
|
446
|
+
* 非对称加密算法,配合 EncryptionPublicKey 对返回数据进行加密。目前支持:SM2(以 C1C3C2 格式返回密文),SM2_C1C3C2_ASN1 (以 C1C3C2 ASN1 格式返回密文),RSAES_PKCS1_V1_5,RSAES_OAEP_SHA_1,RSAES_OAEP_SHA_256。若为空,则默认为 SM2。
|
|
447
447
|
*/
|
|
448
448
|
EncryptionAlgorithm?: string
|
|
449
449
|
}
|
|
@@ -1411,7 +1411,7 @@ export interface DecryptRequest {
|
|
|
1411
1411
|
EncryptionPublicKey?: string
|
|
1412
1412
|
|
|
1413
1413
|
/**
|
|
1414
|
-
* 非对称加密算法,配合 EncryptionPublicKey 对返回数据进行加密。目前支持:SM2
|
|
1414
|
+
* 非对称加密算法,配合 EncryptionPublicKey 对返回数据进行加密。目前支持:SM2(以 C1C3C2 格式返回密文),SM2_C1C3C2_ASN1 (以 C1C3C2 ASN1 格式返回密文),RSAES_PKCS1_V1_5,RSAES_OAEP_SHA_1,RSAES_OAEP_SHA_256。若为空,则默认为 SM2。
|
|
1415
1415
|
*/
|
|
1416
1416
|
EncryptionAlgorithm?: string
|
|
1417
1417
|
}
|
|
@@ -27,6 +27,7 @@ import {
|
|
|
27
27
|
ModifyPrometheusAlertRuleRequest,
|
|
28
28
|
DeleteClusterInstancesResponse,
|
|
29
29
|
EksCiVolume,
|
|
30
|
+
GetTkeAppChartListRequest,
|
|
30
31
|
ModifyNodePoolDesiredCapacityAboutAsgResponse,
|
|
31
32
|
ModifyClusterNodePoolResponse,
|
|
32
33
|
DescribeClusterKubeconfigResponse,
|
|
@@ -49,6 +50,7 @@ import {
|
|
|
49
50
|
PrometheusNotification,
|
|
50
51
|
ClusterVersion,
|
|
51
52
|
CreatePrometheusTemplateRequest,
|
|
53
|
+
CreateImageCacheResponse,
|
|
52
54
|
Exec,
|
|
53
55
|
RestartEKSContainerInstancesRequest,
|
|
54
56
|
DescribeExternalClusterSpecRequest,
|
|
@@ -60,6 +62,7 @@ import {
|
|
|
60
62
|
RouteTableInfo,
|
|
61
63
|
IPAddress,
|
|
62
64
|
DeleteClusterRequest,
|
|
65
|
+
GetMostSuitableImageCacheRequest,
|
|
63
66
|
PrometheusTarget,
|
|
64
67
|
SecurityContext,
|
|
65
68
|
CreateEKSClusterRequest,
|
|
@@ -89,8 +92,10 @@ import {
|
|
|
89
92
|
DescribeVersionsResponse,
|
|
90
93
|
ScaleInClusterMasterRequest,
|
|
91
94
|
EnvironmentVariable,
|
|
95
|
+
UpdateImageCacheRequest,
|
|
92
96
|
CreateClusterNodePoolFromExistingAsgRequest,
|
|
93
97
|
PrometheusAlertRule,
|
|
98
|
+
ImageCache,
|
|
94
99
|
DescribePrometheusAgentInstancesRequest,
|
|
95
100
|
ForwardApplicationRequestV3Response,
|
|
96
101
|
ClusterNetworkSettings,
|
|
@@ -112,8 +117,9 @@ import {
|
|
|
112
117
|
DeletePrometheusTemplateSyncRequest,
|
|
113
118
|
SetNodePoolNodeProtectionResponse,
|
|
114
119
|
DisableVpcCniNetworkTypeRequest,
|
|
115
|
-
|
|
120
|
+
DeleteEKSContainerInstancesRequest,
|
|
116
121
|
PrometheusAlertRuleDetail,
|
|
122
|
+
UpgradeClusterInstancesRequest,
|
|
117
123
|
DeleteClusterEndpointVipResponse,
|
|
118
124
|
SyncPrometheusTemplateRequest,
|
|
119
125
|
ClusterBasicSettings,
|
|
@@ -132,6 +138,7 @@ import {
|
|
|
132
138
|
DescribeClusterStatusResponse,
|
|
133
139
|
DeleteClusterNodePoolRequest,
|
|
134
140
|
EksCi,
|
|
141
|
+
UpdateImageCacheResponse,
|
|
135
142
|
DisableVpcCniNetworkTypeResponse,
|
|
136
143
|
DescribeClusterKubeconfigRequest,
|
|
137
144
|
ClusterCIDRSettings,
|
|
@@ -145,6 +152,7 @@ import {
|
|
|
145
152
|
CheckInstancesUpgradeAbleRequest,
|
|
146
153
|
ExistedInstance,
|
|
147
154
|
ModifyNodePoolInstanceTypesRequest,
|
|
155
|
+
ImageCacheEvent,
|
|
148
156
|
AddClusterCIDRRequest,
|
|
149
157
|
DeleteEKSContainerInstancesResponse,
|
|
150
158
|
DescribePrometheusAlertRuleRequest,
|
|
@@ -173,7 +181,7 @@ import {
|
|
|
173
181
|
GetUpgradeInstanceProgressResponse,
|
|
174
182
|
DescribeExistedInstancesResponse,
|
|
175
183
|
CreateEKSClusterResponse,
|
|
176
|
-
|
|
184
|
+
DescribeClusterAsGroupOptionRequest,
|
|
177
185
|
CreatePrometheusAlertRuleResponse,
|
|
178
186
|
UpdateEKSContainerInstanceResponse,
|
|
179
187
|
ResourceDeleteOption,
|
|
@@ -198,7 +206,7 @@ import {
|
|
|
198
206
|
DescribeAvailableClusterVersionRequest,
|
|
199
207
|
CreateClusterRequest,
|
|
200
208
|
DeletePrometheusAlertRuleResponse,
|
|
201
|
-
|
|
209
|
+
PrometheusTemplate,
|
|
202
210
|
AcquireClusterAdminRoleRequest,
|
|
203
211
|
CreateClusterAsGroupResponse,
|
|
204
212
|
DescribeEksContainerInstanceLogRequest,
|
|
@@ -221,8 +229,9 @@ import {
|
|
|
221
229
|
ModifyClusterNodePoolRequest,
|
|
222
230
|
ImageInstance,
|
|
223
231
|
UpgradeAbleInstancesItem,
|
|
224
|
-
|
|
232
|
+
DescribeImageCachesResponse,
|
|
225
233
|
CreateClusterEndpointResponse,
|
|
234
|
+
DescribeEKSClustersRequest,
|
|
226
235
|
CreateClusterNodePoolRequest,
|
|
227
236
|
ClusterAdvancedSettings,
|
|
228
237
|
AcquireClusterAdminRoleResponse,
|
|
@@ -247,7 +256,7 @@ import {
|
|
|
247
256
|
DeleteClusterRouteTableResponse,
|
|
248
257
|
CreateClusterInstancesResponse,
|
|
249
258
|
DisableClusterDeletionProtectionResponse,
|
|
250
|
-
|
|
259
|
+
DeleteImageCachesResponse,
|
|
251
260
|
DescribePrometheusAgentInstancesResponse,
|
|
252
261
|
Container,
|
|
253
262
|
CreateClusterEndpointRequest,
|
|
@@ -283,10 +292,11 @@ import {
|
|
|
283
292
|
DescribeClusterAsGroupsRequest,
|
|
284
293
|
DescribeImagesRequest,
|
|
285
294
|
TaskStepInfo,
|
|
295
|
+
GetMostSuitableImageCacheResponse,
|
|
286
296
|
DescribeAvailableClusterVersionResponse,
|
|
287
297
|
TagSpecification,
|
|
288
298
|
DescribeClusterRouteTablesResponse,
|
|
289
|
-
|
|
299
|
+
AddVpcCniSubnetsRequest,
|
|
290
300
|
InstanceUpgradePreCheckResultItem,
|
|
291
301
|
DescribePrometheusAlertHistoryResponse,
|
|
292
302
|
DescribeClusterCommonNamesResponse,
|
|
@@ -296,7 +306,7 @@ import {
|
|
|
296
306
|
ClusterAsGroupAttribute,
|
|
297
307
|
DeleteClusterNodePoolResponse,
|
|
298
308
|
RunAutomationServiceEnabled,
|
|
299
|
-
|
|
309
|
+
DeleteImageCachesRequest,
|
|
300
310
|
RunMonitorServiceEnabled,
|
|
301
311
|
UpdateClusterVersionResponse,
|
|
302
312
|
CreateEKSContainerInstancesRequest,
|
|
@@ -304,6 +314,7 @@ import {
|
|
|
304
314
|
CreateClusterNodePoolResponse,
|
|
305
315
|
ManuallyAdded,
|
|
306
316
|
NodePoolOption,
|
|
317
|
+
CreateImageCacheRequest,
|
|
307
318
|
ModifyClusterAsGroupAttributeRequest,
|
|
308
319
|
PrometheusGrafanaInfo,
|
|
309
320
|
EipAttribute,
|
|
@@ -318,6 +329,7 @@ import {
|
|
|
318
329
|
DescribeClusterControllersRequest,
|
|
319
330
|
DescribeEKSContainerInstanceEventRequest,
|
|
320
331
|
ScaleOutClusterMasterResponse,
|
|
332
|
+
DescribeImageCachesRequest,
|
|
321
333
|
} from "./tke_models"
|
|
322
334
|
|
|
323
335
|
/**
|
|
@@ -329,6 +341,16 @@ export class Client extends AbstractClient {
|
|
|
329
341
|
super("tke.tencentcloudapi.com", "2018-05-25", clientConfig)
|
|
330
342
|
}
|
|
331
343
|
|
|
344
|
+
/**
|
|
345
|
+
* 更新镜像缓存接口
|
|
346
|
+
*/
|
|
347
|
+
async UpdateImageCache(
|
|
348
|
+
req: UpdateImageCacheRequest,
|
|
349
|
+
cb?: (error: string, rep: UpdateImageCacheResponse) => void
|
|
350
|
+
): Promise<UpdateImageCacheResponse> {
|
|
351
|
+
return this.request("UpdateImageCache", req, cb)
|
|
352
|
+
}
|
|
353
|
+
|
|
332
354
|
/**
|
|
333
355
|
* 创建集群
|
|
334
356
|
*/
|
|
@@ -449,6 +471,16 @@ export class Client extends AbstractClient {
|
|
|
449
471
|
return this.request("CreatePrometheusTemplate", req, cb)
|
|
450
472
|
}
|
|
451
473
|
|
|
474
|
+
/**
|
|
475
|
+
* 根据镜像列表,查询匹配的镜像缓存
|
|
476
|
+
*/
|
|
477
|
+
async GetMostSuitableImageCache(
|
|
478
|
+
req: GetMostSuitableImageCacheRequest,
|
|
479
|
+
cb?: (error: string, rep: GetMostSuitableImageCacheResponse) => void
|
|
480
|
+
): Promise<GetMostSuitableImageCacheResponse> {
|
|
481
|
+
return this.request("GetMostSuitableImageCache", req, cb)
|
|
482
|
+
}
|
|
483
|
+
|
|
452
484
|
/**
|
|
453
485
|
* 从伸缩组创建节点池
|
|
454
486
|
*/
|
|
@@ -490,13 +522,13 @@ export class Client extends AbstractClient {
|
|
|
490
522
|
}
|
|
491
523
|
|
|
492
524
|
/**
|
|
493
|
-
*
|
|
525
|
+
* 查询镜像缓存信息接口
|
|
494
526
|
*/
|
|
495
|
-
async
|
|
496
|
-
req:
|
|
497
|
-
cb?: (error: string, rep:
|
|
498
|
-
): Promise<
|
|
499
|
-
return this.request("
|
|
527
|
+
async DescribeImageCaches(
|
|
528
|
+
req: DescribeImageCachesRequest,
|
|
529
|
+
cb?: (error: string, rep: DescribeImageCachesResponse) => void
|
|
530
|
+
): Promise<DescribeImageCachesResponse> {
|
|
531
|
+
return this.request("DescribeImageCaches", req, cb)
|
|
500
532
|
}
|
|
501
533
|
|
|
502
534
|
/**
|
|
@@ -519,6 +551,16 @@ export class Client extends AbstractClient {
|
|
|
519
551
|
return this.request("DescribeAvailableClusterVersion", req, cb)
|
|
520
552
|
}
|
|
521
553
|
|
|
554
|
+
/**
|
|
555
|
+
* 批量删除镜像缓存
|
|
556
|
+
*/
|
|
557
|
+
async DeleteImageCaches(
|
|
558
|
+
req: DeleteImageCachesRequest,
|
|
559
|
+
cb?: (error: string, rep: DeleteImageCachesResponse) => void
|
|
560
|
+
): Promise<DeleteImageCachesResponse> {
|
|
561
|
+
return this.request("DeleteImageCaches", req, cb)
|
|
562
|
+
}
|
|
563
|
+
|
|
522
564
|
/**
|
|
523
565
|
* 删除集群路由表
|
|
524
566
|
*/
|
|
@@ -859,6 +901,16 @@ export class Client extends AbstractClient {
|
|
|
859
901
|
return this.request("DescribeVpcCniPodLimits", req, cb)
|
|
860
902
|
}
|
|
861
903
|
|
|
904
|
+
/**
|
|
905
|
+
* 修改节点池的机型配置
|
|
906
|
+
*/
|
|
907
|
+
async ModifyNodePoolInstanceTypes(
|
|
908
|
+
req: ModifyNodePoolInstanceTypesRequest,
|
|
909
|
+
cb?: (error: string, rep: ModifyNodePoolInstanceTypesResponse) => void
|
|
910
|
+
): Promise<ModifyNodePoolInstanceTypesResponse> {
|
|
911
|
+
return this.request("ModifyNodePoolInstanceTypes", req, cb)
|
|
912
|
+
}
|
|
913
|
+
|
|
862
914
|
/**
|
|
863
915
|
* 修改集群伸缩组属性
|
|
864
916
|
*/
|
|
@@ -869,6 +921,16 @@ export class Client extends AbstractClient {
|
|
|
869
921
|
return this.request("ModifyClusterAsGroupAttribute", req, cb)
|
|
870
922
|
}
|
|
871
923
|
|
|
924
|
+
/**
|
|
925
|
+
* 集群关联的伸缩组列表
|
|
926
|
+
*/
|
|
927
|
+
async DescribeClusterAsGroups(
|
|
928
|
+
req: DescribeClusterAsGroupsRequest,
|
|
929
|
+
cb?: (error: string, rep: DescribeClusterAsGroupsResponse) => void
|
|
930
|
+
): Promise<DescribeClusterAsGroupsResponse> {
|
|
931
|
+
return this.request("DescribeClusterAsGroups", req, cb)
|
|
932
|
+
}
|
|
933
|
+
|
|
872
934
|
/**
|
|
873
935
|
* 获取模板同步信息
|
|
874
936
|
*/
|
|
@@ -1100,13 +1162,13 @@ export class Client extends AbstractClient {
|
|
|
1100
1162
|
}
|
|
1101
1163
|
|
|
1102
1164
|
/**
|
|
1103
|
-
*
|
|
1165
|
+
* 创建镜像缓存的接口。创建过程中,请勿删除EKSCI实例和云盘,否则镜像缓存将创建失败。
|
|
1104
1166
|
*/
|
|
1105
|
-
async
|
|
1106
|
-
req:
|
|
1107
|
-
cb?: (error: string, rep:
|
|
1108
|
-
): Promise<
|
|
1109
|
-
return this.request("
|
|
1167
|
+
async CreateImageCache(
|
|
1168
|
+
req: CreateImageCacheRequest,
|
|
1169
|
+
cb?: (error: string, rep: CreateImageCacheResponse) => void
|
|
1170
|
+
): Promise<CreateImageCacheResponse> {
|
|
1171
|
+
return this.request("CreateImageCache", req, cb)
|
|
1110
1172
|
}
|
|
1111
1173
|
|
|
1112
1174
|
/**
|