tencentcloud-sdk-nodejs-tke 4.0.319 → 4.0.320

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.
@@ -704,6 +704,41 @@ export interface DescribeClusterAsGroupOptionRequest {
704
704
  */
705
705
  ClusterId: string;
706
706
  }
707
+ /**
708
+ * 地域属性信息
709
+ */
710
+ export interface RegionInstance {
711
+ /**
712
+ * 地域名称
713
+ 注意:此字段可能返回 null,表示取不到有效值。
714
+ */
715
+ RegionName: string;
716
+ /**
717
+ * 地域ID
718
+ 注意:此字段可能返回 null,表示取不到有效值。
719
+ */
720
+ RegionId: number;
721
+ /**
722
+ * 地域状态
723
+ 注意:此字段可能返回 null,表示取不到有效值。
724
+ */
725
+ Status: string;
726
+ /**
727
+ * 地域特性开关(按照JSON的形式返回所有属性)
728
+ 注意:此字段可能返回 null,表示取不到有效值。
729
+ */
730
+ FeatureGates: string;
731
+ /**
732
+ * 地域简称
733
+ 注意:此字段可能返回 null,表示取不到有效值。
734
+ */
735
+ Alias: string;
736
+ /**
737
+ * 地域白名单
738
+ 注意:此字段可能返回 null,表示取不到有效值。
739
+ */
740
+ Remark: string;
741
+ }
707
742
  /**
708
743
  * DescribeEKSContainerInstanceRegions请求参数结构体
709
744
  */
@@ -1127,6 +1162,47 @@ export interface CreateClusterRouteResponse {
1127
1162
  */
1128
1163
  RequestId?: string;
1129
1164
  }
1165
+ /**
1166
+ * 集群等级变配记录
1167
+ */
1168
+ export interface ClusterLevelChangeRecord {
1169
+ /**
1170
+ * 记录ID
1171
+ */
1172
+ ID: string;
1173
+ /**
1174
+ * 集群ID
1175
+ */
1176
+ ClusterID: string;
1177
+ /**
1178
+ * 变配状态:trading 发货中,upgrading 变配中,success 变配成功,failed 变配失败。
1179
+ */
1180
+ Status: string;
1181
+ /**
1182
+ * 状态描述
1183
+ */
1184
+ Message: string;
1185
+ /**
1186
+ * 变配前规模
1187
+ */
1188
+ OldLevel: string;
1189
+ /**
1190
+ * 变配后规模
1191
+ */
1192
+ NewLevel: string;
1193
+ /**
1194
+ * 变配触发类型:manual 手动,auto 自动
1195
+ */
1196
+ TriggerType: string;
1197
+ /**
1198
+ * 开始时间
1199
+ */
1200
+ StartedAt: string;
1201
+ /**
1202
+ * 结束时间
1203
+ */
1204
+ EndedAt: string;
1205
+ }
1130
1206
  /**
1131
1207
  * 云原生Prometheus模板同步目标
1132
1208
  */
@@ -1354,6 +1430,49 @@ export interface Instance {
1354
1430
  */
1355
1431
  AutoscalingGroupId: string;
1356
1432
  }
1433
+ /**
1434
+ * DescribePrometheusInstance返回参数结构体
1435
+ */
1436
+ export interface DescribePrometheusInstanceResponse {
1437
+ /**
1438
+ * 实例id
1439
+ */
1440
+ InstanceId: string;
1441
+ /**
1442
+ * 实例名称
1443
+ */
1444
+ Name: string;
1445
+ /**
1446
+ * 私有网络id
1447
+ */
1448
+ VpcId: string;
1449
+ /**
1450
+ * 子网id
1451
+ */
1452
+ SubnetId: string;
1453
+ /**
1454
+ * cos桶名称
1455
+ */
1456
+ COSBucket: string;
1457
+ /**
1458
+ * 数据查询地址
1459
+ */
1460
+ QueryAddress: string;
1461
+ /**
1462
+ * 实例中grafana相关的信息
1463
+ 注意:此字段可能返回 null,表示取不到有效值。
1464
+ */
1465
+ Grafana: PrometheusGrafanaInfo;
1466
+ /**
1467
+ * 用户自定义alertmanager
1468
+ 注意:此字段可能返回 null,表示取不到有效值。
1469
+ */
1470
+ AlertManagerUrl: string;
1471
+ /**
1472
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1473
+ */
1474
+ RequestId?: string;
1475
+ }
1357
1476
  /**
1358
1477
  * 描述了实例登录相关配置与信息。
1359
1478
  */
@@ -1735,6 +1854,23 @@ export interface CreateClusterEndpointVipResponse {
1735
1854
  */
1736
1855
  RequestId?: string;
1737
1856
  }
1857
+ /**
1858
+ * 集群资源使用量
1859
+ */
1860
+ export interface ResourceUsage {
1861
+ /**
1862
+ * 资源类型
1863
+ */
1864
+ Name: string;
1865
+ /**
1866
+ * 资源使用量
1867
+ */
1868
+ Usage: number;
1869
+ /**
1870
+ * 资源使用详情
1871
+ */
1872
+ Details: Array<ResourceUsageDetail>;
1873
+ }
1738
1874
  /**
1739
1875
  * 自动扩所容的节点
1740
1876
  */
@@ -2005,6 +2141,19 @@ export interface DisableVpcCniNetworkTypeRequest {
2005
2141
  */
2006
2142
  ClusterId: string;
2007
2143
  }
2144
+ /**
2145
+ * 资源使用明细
2146
+ */
2147
+ export interface ResourceUsageDetail {
2148
+ /**
2149
+ * 资源名称
2150
+ */
2151
+ Name: string;
2152
+ /**
2153
+ * 资源使用量
2154
+ */
2155
+ Usage: number;
2156
+ }
2008
2157
  /**
2009
2158
  * DeleteEKSContainerInstances请求参数结构体
2010
2159
  */
@@ -2956,6 +3105,15 @@ export interface PodLimitsByType {
2956
3105
  */
2957
3106
  TKEDirectENI: number;
2958
3107
  }
3108
+ /**
3109
+ * DescribeClusterLevelAttribute请求参数结构体
3110
+ */
3111
+ export interface DescribeClusterLevelAttributeRequest {
3112
+ /**
3113
+ * 集群ID,变配时使用
3114
+ */
3115
+ ClusterID?: string;
3116
+ }
2959
3117
  /**
2960
3118
  * UpdateEKSCluster返回参数结构体
2961
3119
  */
@@ -3522,6 +3680,23 @@ export interface DescribeClusterEndpointStatusRequest {
3522
3680
  */
3523
3681
  IsExtranet?: boolean;
3524
3682
  }
3683
+ /**
3684
+ * GetClusterLevelPrice返回参数结构体
3685
+ */
3686
+ export interface GetClusterLevelPriceResponse {
3687
+ /**
3688
+ * 询价结果,单位:分,打折后
3689
+ */
3690
+ Cost: number;
3691
+ /**
3692
+ * 询价结果,单位:分,折扣前
3693
+ */
3694
+ TotalCost: number;
3695
+ /**
3696
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3697
+ */
3698
+ RequestId?: string;
3699
+ }
3525
3700
  /**
3526
3701
  * Probe中的HttpGet
3527
3702
  */
@@ -3543,21 +3718,29 @@ export interface HttpGet {
3543
3718
  Scheme: string;
3544
3719
  }
3545
3720
  /**
3546
- * 描述了实例的增强服务启用情况与其设置,如云安全,云监控等实例 Agent
3721
+ * DescribeResourceUsage返回参数结构体
3547
3722
  */
3548
- export interface EnhancedService {
3723
+ export interface DescribeResourceUsageResponse {
3549
3724
  /**
3550
- * 开启云安全服务。若不指定该参数,则默认开启云安全服务。
3725
+ * CRD使用量
3551
3726
  */
3552
- SecurityService?: RunSecurityServiceEnabled;
3727
+ CRDUsage: ResourceUsage;
3553
3728
  /**
3554
- * 开启云监控服务。若不指定该参数,则默认开启云监控服务。
3729
+ * Pod使用量
3555
3730
  */
3556
- MonitorService?: RunMonitorServiceEnabled;
3731
+ PodUsage: number;
3557
3732
  /**
3558
- * 开启云自动化助手服务。若不指定该参数,则默认不开启云自动化助手服务。
3733
+ * ConfigMap使用量
3559
3734
  */
3560
- AutomationService?: RunAutomationServiceEnabled;
3735
+ ConfigMapUsage: number;
3736
+ /**
3737
+ * 其他资源使用量
3738
+ */
3739
+ OtherUsage: ResourceUsage;
3740
+ /**
3741
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3742
+ */
3743
+ RequestId?: string;
3561
3744
  }
3562
3745
  /**
3563
3746
  * CreateClusterAsGroup请求参数结构体
@@ -4062,39 +4245,13 @@ export interface InstanceAdvancedSettings {
4062
4245
  PreStartUserScript: string;
4063
4246
  }
4064
4247
  /**
4065
- * 地域属性信息
4248
+ * DescribeResourceUsage请求参数结构体
4066
4249
  */
4067
- export interface RegionInstance {
4250
+ export interface DescribeResourceUsageRequest {
4068
4251
  /**
4069
- * 地域名称
4070
- 注意:此字段可能返回 null,表示取不到有效值。
4071
- */
4072
- RegionName: string;
4073
- /**
4074
- * 地域ID
4075
- 注意:此字段可能返回 null,表示取不到有效值。
4076
- */
4077
- RegionId: number;
4078
- /**
4079
- * 地域状态
4080
- 注意:此字段可能返回 null,表示取不到有效值。
4081
- */
4082
- Status: string;
4083
- /**
4084
- * 地域特性开关(按照JSON的形式返回所有属性)
4085
- 注意:此字段可能返回 null,表示取不到有效值。
4086
- */
4087
- FeatureGates: string;
4088
- /**
4089
- * 地域简称
4090
- 注意:此字段可能返回 null,表示取不到有效值。
4091
- */
4092
- Alias: string;
4093
- /**
4094
- * 地域白名单
4095
- 注意:此字段可能返回 null,表示取不到有效值。
4096
- */
4097
- Remark: string;
4252
+ * 集群ID
4253
+ */
4254
+ ClusterId: string;
4098
4255
  }
4099
4256
  /**
4100
4257
  * 机型信息和其可支持的最大VPC-CNI模式Pod数量信息
@@ -4366,6 +4523,15 @@ export interface DescribeImageCachesResponse {
4366
4523
  */
4367
4524
  RequestId?: string;
4368
4525
  }
4526
+ /**
4527
+ * GetClusterLevelPrice请求参数结构体
4528
+ */
4529
+ export interface GetClusterLevelPriceRequest {
4530
+ /**
4531
+ * 集群规格,托管集群询价
4532
+ */
4533
+ ClusterLevel: string;
4534
+ }
4369
4535
  /**
4370
4536
  * CreateClusterEndpoint返回参数结构体
4371
4537
  */
@@ -4560,6 +4726,37 @@ export interface RestartEKSContainerInstancesResponse {
4560
4726
  */
4561
4727
  RequestId?: string;
4562
4728
  }
4729
+ /**
4730
+ * 健康检查探测参数
4731
+ */
4732
+ export interface Probe {
4733
+ /**
4734
+ * Number of seconds after the container has started before liveness probes are initiated.
4735
+ 注意:此字段可能返回 null,表示取不到有效值。
4736
+ */
4737
+ InitialDelaySeconds?: number;
4738
+ /**
4739
+ * Number of seconds after which the probe times out.
4740
+ Defaults to 1 second. Minimum value is 1.
4741
+ 注意:此字段可能返回 null,表示取不到有效值。
4742
+ */
4743
+ TimeoutSeconds?: number;
4744
+ /**
4745
+ * How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.
4746
+ 注意:此字段可能返回 null,表示取不到有效值。
4747
+ */
4748
+ PeriodSeconds?: number;
4749
+ /**
4750
+ * Minimum consecutive successes for the probe to be considered successful after having failed.Defaults to 1. Must be 1 for liveness. Minimum value is 1.
4751
+ 注意:此字段可能返回 null,表示取不到有效值。
4752
+ */
4753
+ SuccessThreshold?: number;
4754
+ /**
4755
+ * Minimum consecutive failures for the probe to be considered failed after having succeeded.Defaults to 3. Minimum value is 1.
4756
+ 注意:此字段可能返回 null,表示取不到有效值。
4757
+ */
4758
+ FailureThreshold?: number;
4759
+ }
4563
4760
  /**
4564
4761
  * ModifyPrometheusTemplate返回参数结构体
4565
4762
  */
@@ -4673,6 +4870,23 @@ export interface LivenessOrReadinessProbe {
4673
4870
  */
4674
4871
  TcpSocket?: TcpSocket;
4675
4872
  }
4873
+ /**
4874
+ * DescribeClusterLevelChangeRecords返回参数结构体
4875
+ */
4876
+ export interface DescribeClusterLevelChangeRecordsResponse {
4877
+ /**
4878
+ * 总数
4879
+ */
4880
+ TotalCount: number;
4881
+ /**
4882
+ * 集群规模
4883
+ */
4884
+ Items: Array<ClusterLevelChangeRecord>;
4885
+ /**
4886
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4887
+ */
4888
+ RequestId?: string;
4889
+ }
4676
4890
  /**
4677
4891
  * CheckInstancesUpgradeAble返回参数结构体
4678
4892
  */
@@ -5135,43 +5349,17 @@ export interface ModifyClusterAsGroupOptionAttributeResponse {
5135
5349
  RequestId?: string;
5136
5350
  }
5137
5351
  /**
5138
- * DescribePrometheusInstance返回参数结构体
5352
+ * DescribeClusterLevelAttribute返回参数结构体
5139
5353
  */
5140
- export interface DescribePrometheusInstanceResponse {
5354
+ export interface DescribeClusterLevelAttributeResponse {
5141
5355
  /**
5142
- * 实例id
5143
- */
5144
- InstanceId: string;
5145
- /**
5146
- * 实例名称
5147
- */
5148
- Name: string;
5149
- /**
5150
- * 私有网络id
5151
- */
5152
- VpcId: string;
5153
- /**
5154
- * 子网id
5155
- */
5156
- SubnetId: string;
5157
- /**
5158
- * cos桶名称
5356
+ * 总数
5159
5357
  */
5160
- COSBucket: string;
5358
+ TotalCount: number;
5161
5359
  /**
5162
- * 数据查询地址
5360
+ * 集群规模
5163
5361
  */
5164
- QueryAddress: string;
5165
- /**
5166
- * 实例中grafana相关的信息
5167
- 注意:此字段可能返回 null,表示取不到有效值。
5168
- */
5169
- Grafana: PrometheusGrafanaInfo;
5170
- /**
5171
- * 用户自定义alertmanager
5172
- 注意:此字段可能返回 null,表示取不到有效值。
5173
- */
5174
- AlertManagerUrl: string;
5362
+ Items: Array<ClusterLevelAttribute>;
5175
5363
  /**
5176
5364
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5177
5365
  */
@@ -5504,17 +5692,42 @@ export interface DescribePrometheusOverviewsResponse {
5504
5692
  RequestId?: string;
5505
5693
  }
5506
5694
  /**
5507
- * DeleteClusterEndpoint请求参数结构体
5695
+ * 托管集群等级属性
5508
5696
  */
5509
- export interface DeleteClusterEndpointRequest {
5697
+ export interface ClusterLevelAttribute {
5510
5698
  /**
5511
- * 集群ID
5699
+ * 集群等级
5512
5700
  */
5513
- ClusterId: string;
5701
+ Name: string;
5514
5702
  /**
5515
- * 是否为外网访问(TRUE 外网访问 FALSE 内网访问,默认值: FALSE)
5703
+ * 等级名称
5516
5704
  */
5517
- IsExtranet?: boolean;
5705
+ Alias: string;
5706
+ /**
5707
+ * 节点数量
5708
+ */
5709
+ NodeCount: number;
5710
+ /**
5711
+ * Pod数量
5712
+ */
5713
+ PodCount: number;
5714
+ /**
5715
+ * Configmap数量
5716
+ */
5717
+ ConfigMapCount: number;
5718
+ /**
5719
+ * CRD数量
5720
+ */
5721
+ CRDCount: number;
5722
+ /**
5723
+ * 是否启用
5724
+ */
5725
+ Enable: boolean;
5726
+ /**
5727
+ * 其他资源数量
5728
+ 注意:此字段可能返回 null,表示取不到有效值。
5729
+ */
5730
+ OtherCount: number;
5518
5731
  }
5519
5732
  /**
5520
5733
  * DescribePrometheusTargets请求参数结构体
@@ -5552,6 +5765,23 @@ export interface DescribePrometheusTargetsResponse {
5552
5765
  */
5553
5766
  RequestId?: string;
5554
5767
  }
5768
+ /**
5769
+ * 描述了实例的增强服务启用情况与其设置,如云安全,云监控等实例 Agent
5770
+ */
5771
+ export interface EnhancedService {
5772
+ /**
5773
+ * 开启云安全服务。若不指定该参数,则默认开启云安全服务。
5774
+ */
5775
+ SecurityService?: RunSecurityServiceEnabled;
5776
+ /**
5777
+ * 开启云监控服务。若不指定该参数,则默认开启云监控服务。
5778
+ */
5779
+ MonitorService?: RunMonitorServiceEnabled;
5780
+ /**
5781
+ * 开启云自动化助手服务。若不指定该参数,则默认不开启云自动化助手服务。
5782
+ */
5783
+ AutomationService?: RunAutomationServiceEnabled;
5784
+ }
5555
5785
  /**
5556
5786
  * DescribeClusterNodePoolDetail请求参数结构体
5557
5787
  */
@@ -5775,6 +6005,31 @@ export interface TagSpecification {
5775
6005
  */
5776
6006
  Tags?: Array<Tag>;
5777
6007
  }
6008
+ /**
6009
+ * DescribeClusterLevelChangeRecords请求参数结构体
6010
+ */
6011
+ export interface DescribeClusterLevelChangeRecordsRequest {
6012
+ /**
6013
+ * 集群ID
6014
+ */
6015
+ ClusterID: string;
6016
+ /**
6017
+ * 开始时间
6018
+ */
6019
+ StartAt?: string;
6020
+ /**
6021
+ * 结束时间
6022
+ */
6023
+ EndAt?: string;
6024
+ /**
6025
+ * 偏移量,默认0
6026
+ */
6027
+ Offset?: number;
6028
+ /**
6029
+ * 最大输出条数,默认20
6030
+ */
6031
+ Limit?: number;
6032
+ }
5778
6033
  /**
5779
6034
  * DescribeClusterRouteTables返回参数结构体
5780
6035
  */
@@ -6083,35 +6338,17 @@ export interface CreateEKSContainerInstancesRequest {
6083
6338
  CamRoleName?: string;
6084
6339
  }
6085
6340
  /**
6086
- * 健康检查探测参数
6341
+ * DeleteClusterEndpoint请求参数结构体
6087
6342
  */
6088
- export interface Probe {
6089
- /**
6090
- * Number of seconds after the container has started before liveness probes are initiated.
6091
- 注意:此字段可能返回 null,表示取不到有效值。
6092
- */
6093
- InitialDelaySeconds?: number;
6094
- /**
6095
- * Number of seconds after which the probe times out.
6096
- Defaults to 1 second. Minimum value is 1.
6097
- 注意:此字段可能返回 null,表示取不到有效值。
6098
- */
6099
- TimeoutSeconds?: number;
6100
- /**
6101
- * How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.
6102
- 注意:此字段可能返回 null,表示取不到有效值。
6103
- */
6104
- PeriodSeconds?: number;
6343
+ export interface DeleteClusterEndpointRequest {
6105
6344
  /**
6106
- * Minimum consecutive successes for the probe to be considered successful after having failed.Defaults to 1. Must be 1 for liveness. Minimum value is 1.
6107
- 注意:此字段可能返回 null,表示取不到有效值。
6108
- */
6109
- SuccessThreshold?: number;
6345
+ * 集群ID
6346
+ */
6347
+ ClusterId: string;
6110
6348
  /**
6111
- * Minimum consecutive failures for the probe to be considered failed after having succeeded.Defaults to 3. Minimum value is 1.
6112
- 注意:此字段可能返回 null,表示取不到有效值。
6113
- */
6114
- FailureThreshold?: number;
6349
+ * 是否为外网访问(TRUE 外网访问 FALSE 内网访问,默认值: FALSE)
6350
+ */
6351
+ IsExtranet?: boolean;
6115
6352
  }
6116
6353
  /**
6117
6354
  * CreateClusterNodePool返回参数结构体