tencentcloud-sdk-nodejs-tke 4.0.310 → 4.0.313

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.
@@ -696,42 +696,13 @@ export interface DeletePrometheusTemplateRequest {
696
696
  TemplateId: string;
697
697
  }
698
698
  /**
699
- * 某个节点的升级进度
699
+ * DescribeClusterAsGroupOption请求参数结构体
700
700
  */
701
- export interface InstanceUpgradeProgressItem {
702
- /**
703
- * 节点instanceID
704
- */
705
- InstanceID: string;
706
- /**
707
- * 任务生命周期
708
- process 运行中
709
- paused 已停止
710
- pauing 正在停止
711
- done 已完成
712
- timeout 已超时
713
- aborted 已取消
714
- pending 还未开始
715
- */
716
- LifeState: string;
717
- /**
718
- * 升级开始时间
719
- 注意:此字段可能返回 null,表示取不到有效值。
720
- */
721
- StartAt: string;
722
- /**
723
- * 升级结束时间
724
- 注意:此字段可能返回 null,表示取不到有效值。
725
- */
726
- EndAt: string;
727
- /**
728
- * 升级前检查结果
729
- */
730
- CheckResult: InstanceUpgradePreCheckResult;
701
+ export interface DescribeClusterAsGroupOptionRequest {
731
702
  /**
732
- * 升级步骤详情
703
+ * 集群ID
733
704
  */
734
- Detail: Array<TaskStepInfo>;
705
+ ClusterId: string;
735
706
  }
736
707
  /**
737
708
  * DescribeEKSContainerInstanceRegions请求参数结构体
@@ -824,21 +795,13 @@ export interface IPAddress {
824
795
  Port: number;
825
796
  }
826
797
  /**
827
- * DeleteCluster请求参数结构体
798
+ * 自动变配集群等级
828
799
  */
829
- export interface DeleteClusterRequest {
800
+ export interface AutoUpgradeClusterLevel {
830
801
  /**
831
- * 集群ID
802
+ * 是否开启自动变配集群等级
832
803
  */
833
- ClusterId: string;
834
- /**
835
- * 集群实例删除时的策略:terminate(销毁实例,仅支持按量计费云主机实例) retain (仅移除,保留实例)
836
- */
837
- InstanceDeleteMode: string;
838
- /**
839
- * 集群删除时资源的删除策略,目前支持CBS(默认保留CBS)
840
- */
841
- ResourceDeleteOptions?: Array<ResourceDeleteOption>;
804
+ IsAutoUpgrade: boolean;
842
805
  }
843
806
  /**
844
807
  * GetMostSuitableImageCache请求参数结构体
@@ -956,6 +919,44 @@ export interface DNSConfig {
956
919
  */
957
920
  Options?: Array<DNSConfigOption>;
958
921
  }
922
+ /**
923
+ * 某个节点的升级进度
924
+ */
925
+ export interface InstanceUpgradeProgressItem {
926
+ /**
927
+ * 节点instanceID
928
+ */
929
+ InstanceID: string;
930
+ /**
931
+ * 任务生命周期
932
+ process 运行中
933
+ paused 已停止
934
+ pauing 正在停止
935
+ done 已完成
936
+ timeout 已超时
937
+ aborted 已取消
938
+ pending 还未开始
939
+ */
940
+ LifeState: string;
941
+ /**
942
+ * 升级开始时间
943
+ 注意:此字段可能返回 null,表示取不到有效值。
944
+ */
945
+ StartAt: string;
946
+ /**
947
+ * 升级结束时间
948
+ 注意:此字段可能返回 null,表示取不到有效值。
949
+ */
950
+ EndAt: string;
951
+ /**
952
+ * 升级前检查结果
953
+ */
954
+ CheckResult: InstanceUpgradePreCheckResult;
955
+ /**
956
+ * 升级步骤详情
957
+ */
958
+ Detail: Array<TaskStepInfo>;
959
+ }
959
960
  /**
960
961
  * DNS配置选项
961
962
  */
@@ -1694,6 +1695,14 @@ export interface ModifyClusterAttributeRequest {
1694
1695
  * 集群描述
1695
1696
  */
1696
1697
  ClusterDesc?: string;
1698
+ /**
1699
+ * 集群等级
1700
+ */
1701
+ ClusterLevel?: string;
1702
+ /**
1703
+ * 自动变配集群等级
1704
+ */
1705
+ AutoUpgradeClusterLevel?: AutoUpgradeClusterLevel;
1697
1706
  }
1698
1707
  /**
1699
1708
  * DeleteClusterRoute返回参数结构体
@@ -1819,17 +1828,27 @@ export interface ModifyClusterAttributeResponse {
1819
1828
  * 集群所属项目
1820
1829
  注意:此字段可能返回 null,表示取不到有效值。
1821
1830
  */
1822
- ProjectId?: number;
1831
+ ProjectId: number;
1823
1832
  /**
1824
1833
  * 集群名称
1825
1834
  注意:此字段可能返回 null,表示取不到有效值。
1826
1835
  */
1827
- ClusterName?: string;
1836
+ ClusterName: string;
1828
1837
  /**
1829
1838
  * 集群描述
1830
1839
  注意:此字段可能返回 null,表示取不到有效值。
1831
1840
  */
1832
- ClusterDesc?: string;
1841
+ ClusterDesc: string;
1842
+ /**
1843
+ * 集群等级
1844
+ 注意:此字段可能返回 null,表示取不到有效值。
1845
+ */
1846
+ ClusterLevel: string;
1847
+ /**
1848
+ * 自动变配集群等级
1849
+ 注意:此字段可能返回 null,表示取不到有效值。
1850
+ */
1851
+ AutoUpgradeClusterLevel: AutoUpgradeClusterLevel;
1833
1852
  /**
1834
1853
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1835
1854
  */
@@ -2139,6 +2158,14 @@ export interface ClusterBasicSettings {
2139
2158
  * 当选择Cilium Overlay网络插件时,TKE会从该子网获取2个IP用来创建内网负载均衡
2140
2159
  */
2141
2160
  SubnetId?: string;
2161
+ /**
2162
+ * 集群等级,针对托管集群生效
2163
+ */
2164
+ ClusterLevel?: string;
2165
+ /**
2166
+ * 自动变配集群等级,针对托管集群生效
2167
+ */
2168
+ AutoUpgradeClusterLevel?: AutoUpgradeClusterLevel;
2142
2169
  }
2143
2170
  /**
2144
2171
  * CreatePrometheusDashboard返回参数结构体
@@ -2173,6 +2200,10 @@ export interface DescribeEKSClusterCredentialResponse {
2173
2200
  * 标记是否新的内外网功能
2174
2201
  */
2175
2202
  ProxyLB: boolean;
2203
+ /**
2204
+ * 连接用户集群k8s 的Config
2205
+ */
2206
+ Kubeconfig: string;
2176
2207
  /**
2177
2208
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2178
2209
  */
@@ -3328,13 +3359,13 @@ export interface CreateEKSClusterResponse {
3328
3359
  RequestId?: string;
3329
3360
  }
3330
3361
  /**
3331
- * DescribeClusterAsGroupOption请求参数结构体
3362
+ * DeleteImageCaches返回参数结构体
3332
3363
  */
3333
- export interface DescribeClusterAsGroupOptionRequest {
3364
+ export interface DeleteImageCachesResponse {
3334
3365
  /**
3335
- * 集群ID
3366
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3336
3367
  */
3337
- ClusterId: string;
3368
+ RequestId?: string;
3338
3369
  }
3339
3370
  /**
3340
3371
  * CreatePrometheusAlertRule返回参数结构体
@@ -4935,13 +4966,21 @@ export interface DisableClusterDeletionProtectionResponse {
4935
4966
  RequestId?: string;
4936
4967
  }
4937
4968
  /**
4938
- * DeleteImageCaches返回参数结构体
4969
+ * DeleteCluster请求参数结构体
4939
4970
  */
4940
- export interface DeleteImageCachesResponse {
4971
+ export interface DeleteClusterRequest {
4941
4972
  /**
4942
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4973
+ * 集群ID
4943
4974
  */
4944
- RequestId?: string;
4975
+ ClusterId: string;
4976
+ /**
4977
+ * 集群实例删除时的策略:terminate(销毁实例,仅支持按量计费云主机实例) retain (仅移除,保留实例)
4978
+ */
4979
+ InstanceDeleteMode: string;
4980
+ /**
4981
+ * 集群删除时资源的删除策略,目前支持CBS(默认保留CBS)
4982
+ */
4983
+ ResourceDeleteOptions?: Array<ResourceDeleteOption>;
4945
4984
  }
4946
4985
  /**
4947
4986
  * DescribePrometheusAgentInstances返回参数结构体