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.
@@ -839,6 +839,47 @@ export interface DescribeClusterAsGroupOptionRequest {
839
839
  ClusterId: string
840
840
  }
841
841
 
842
+ /**
843
+ * 地域属性信息
844
+ */
845
+ export interface RegionInstance {
846
+ /**
847
+ * 地域名称
848
+ 注意:此字段可能返回 null,表示取不到有效值。
849
+ */
850
+ RegionName: string
851
+
852
+ /**
853
+ * 地域ID
854
+ 注意:此字段可能返回 null,表示取不到有效值。
855
+ */
856
+ RegionId: number
857
+
858
+ /**
859
+ * 地域状态
860
+ 注意:此字段可能返回 null,表示取不到有效值。
861
+ */
862
+ Status: string
863
+
864
+ /**
865
+ * 地域特性开关(按照JSON的形式返回所有属性)
866
+ 注意:此字段可能返回 null,表示取不到有效值。
867
+ */
868
+ FeatureGates: string
869
+
870
+ /**
871
+ * 地域简称
872
+ 注意:此字段可能返回 null,表示取不到有效值。
873
+ */
874
+ Alias: string
875
+
876
+ /**
877
+ * 地域白名单
878
+ 注意:此字段可能返回 null,表示取不到有效值。
879
+ */
880
+ Remark: string
881
+ }
882
+
842
883
  /**
843
884
  * DescribeEKSContainerInstanceRegions请求参数结构体
844
885
  */
@@ -1335,6 +1376,56 @@ export interface CreateClusterRouteResponse {
1335
1376
  RequestId?: string
1336
1377
  }
1337
1378
 
1379
+ /**
1380
+ * 集群等级变配记录
1381
+ */
1382
+ export interface ClusterLevelChangeRecord {
1383
+ /**
1384
+ * 记录ID
1385
+ */
1386
+ ID: string
1387
+
1388
+ /**
1389
+ * 集群ID
1390
+ */
1391
+ ClusterID: string
1392
+
1393
+ /**
1394
+ * 变配状态:trading 发货中,upgrading 变配中,success 变配成功,failed 变配失败。
1395
+ */
1396
+ Status: string
1397
+
1398
+ /**
1399
+ * 状态描述
1400
+ */
1401
+ Message: string
1402
+
1403
+ /**
1404
+ * 变配前规模
1405
+ */
1406
+ OldLevel: string
1407
+
1408
+ /**
1409
+ * 变配后规模
1410
+ */
1411
+ NewLevel: string
1412
+
1413
+ /**
1414
+ * 变配触发类型:manual 手动,auto 自动
1415
+ */
1416
+ TriggerType: string
1417
+
1418
+ /**
1419
+ * 开始时间
1420
+ */
1421
+ StartedAt: string
1422
+
1423
+ /**
1424
+ * 结束时间
1425
+ */
1426
+ EndedAt: string
1427
+ }
1428
+
1338
1429
  /**
1339
1430
  * 云原生Prometheus模板同步目标
1340
1431
  */
@@ -1602,6 +1693,58 @@ export interface Instance {
1602
1693
  AutoscalingGroupId: string
1603
1694
  }
1604
1695
 
1696
+ /**
1697
+ * DescribePrometheusInstance返回参数结构体
1698
+ */
1699
+ export interface DescribePrometheusInstanceResponse {
1700
+ /**
1701
+ * 实例id
1702
+ */
1703
+ InstanceId: string
1704
+
1705
+ /**
1706
+ * 实例名称
1707
+ */
1708
+ Name: string
1709
+
1710
+ /**
1711
+ * 私有网络id
1712
+ */
1713
+ VpcId: string
1714
+
1715
+ /**
1716
+ * 子网id
1717
+ */
1718
+ SubnetId: string
1719
+
1720
+ /**
1721
+ * cos桶名称
1722
+ */
1723
+ COSBucket: string
1724
+
1725
+ /**
1726
+ * 数据查询地址
1727
+ */
1728
+ QueryAddress: string
1729
+
1730
+ /**
1731
+ * 实例中grafana相关的信息
1732
+ 注意:此字段可能返回 null,表示取不到有效值。
1733
+ */
1734
+ Grafana: PrometheusGrafanaInfo
1735
+
1736
+ /**
1737
+ * 用户自定义alertmanager
1738
+ 注意:此字段可能返回 null,表示取不到有效值。
1739
+ */
1740
+ AlertManagerUrl: string
1741
+
1742
+ /**
1743
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1744
+ */
1745
+ RequestId?: string
1746
+ }
1747
+
1605
1748
  /**
1606
1749
  * 描述了实例登录相关配置与信息。
1607
1750
  */
@@ -2049,6 +2192,26 @@ export interface CreateClusterEndpointVipResponse {
2049
2192
  RequestId?: string
2050
2193
  }
2051
2194
 
2195
+ /**
2196
+ * 集群资源使用量
2197
+ */
2198
+ export interface ResourceUsage {
2199
+ /**
2200
+ * 资源类型
2201
+ */
2202
+ Name: string
2203
+
2204
+ /**
2205
+ * 资源使用量
2206
+ */
2207
+ Usage: number
2208
+
2209
+ /**
2210
+ * 资源使用详情
2211
+ */
2212
+ Details: Array<ResourceUsageDetail>
2213
+ }
2214
+
2052
2215
  /**
2053
2216
  * 自动扩所容的节点
2054
2217
  */
@@ -2360,6 +2523,21 @@ export interface DisableVpcCniNetworkTypeRequest {
2360
2523
  ClusterId: string
2361
2524
  }
2362
2525
 
2526
+ /**
2527
+ * 资源使用明细
2528
+ */
2529
+ export interface ResourceUsageDetail {
2530
+ /**
2531
+ * 资源名称
2532
+ */
2533
+ Name: string
2534
+
2535
+ /**
2536
+ * 资源使用量
2537
+ */
2538
+ Usage: number
2539
+ }
2540
+
2363
2541
  /**
2364
2542
  * DeleteEKSContainerInstances请求参数结构体
2365
2543
  */
@@ -3478,6 +3656,16 @@ export interface PodLimitsByType {
3478
3656
  TKEDirectENI: number
3479
3657
  }
3480
3658
 
3659
+ /**
3660
+ * DescribeClusterLevelAttribute请求参数结构体
3661
+ */
3662
+ export interface DescribeClusterLevelAttributeRequest {
3663
+ /**
3664
+ * 集群ID,变配时使用
3665
+ */
3666
+ ClusterID?: string
3667
+ }
3668
+
3481
3669
  /**
3482
3670
  * UpdateEKSCluster返回参数结构体
3483
3671
  */
@@ -4144,6 +4332,26 @@ export interface DescribeClusterEndpointStatusRequest {
4144
4332
  IsExtranet?: boolean
4145
4333
  }
4146
4334
 
4335
+ /**
4336
+ * GetClusterLevelPrice返回参数结构体
4337
+ */
4338
+ export interface GetClusterLevelPriceResponse {
4339
+ /**
4340
+ * 询价结果,单位:分,打折后
4341
+ */
4342
+ Cost: number
4343
+
4344
+ /**
4345
+ * 询价结果,单位:分,折扣前
4346
+ */
4347
+ TotalCost: number
4348
+
4349
+ /**
4350
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4351
+ */
4352
+ RequestId?: string
4353
+ }
4354
+
4147
4355
  /**
4148
4356
  * Probe中的HttpGet
4149
4357
  */
@@ -4168,23 +4376,33 @@ export interface HttpGet {
4168
4376
  }
4169
4377
 
4170
4378
  /**
4171
- * 描述了实例的增强服务启用情况与其设置,如云安全,云监控等实例 Agent
4379
+ * DescribeResourceUsage返回参数结构体
4172
4380
  */
4173
- export interface EnhancedService {
4381
+ export interface DescribeResourceUsageResponse {
4174
4382
  /**
4175
- * 开启云安全服务。若不指定该参数,则默认开启云安全服务。
4383
+ * CRD使用量
4176
4384
  */
4177
- SecurityService?: RunSecurityServiceEnabled
4385
+ CRDUsage: ResourceUsage
4178
4386
 
4179
4387
  /**
4180
- * 开启云监控服务。若不指定该参数,则默认开启云监控服务。
4388
+ * Pod使用量
4181
4389
  */
4182
- MonitorService?: RunMonitorServiceEnabled
4390
+ PodUsage: number
4183
4391
 
4184
4392
  /**
4185
- * 开启云自动化助手服务。若不指定该参数,则默认不开启云自动化助手服务。
4393
+ * ConfigMap使用量
4186
4394
  */
4187
- AutomationService?: RunAutomationServiceEnabled
4395
+ ConfigMapUsage: number
4396
+
4397
+ /**
4398
+ * 其他资源使用量
4399
+ */
4400
+ OtherUsage: ResourceUsage
4401
+
4402
+ /**
4403
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4404
+ */
4405
+ RequestId?: string
4188
4406
  }
4189
4407
 
4190
4408
  /**
@@ -4778,44 +4996,13 @@ export interface InstanceAdvancedSettings {
4778
4996
  }
4779
4997
 
4780
4998
  /**
4781
- * 地域属性信息
4999
+ * DescribeResourceUsage请求参数结构体
4782
5000
  */
4783
- export interface RegionInstance {
4784
- /**
4785
- * 地域名称
4786
- 注意:此字段可能返回 null,表示取不到有效值。
4787
- */
4788
- RegionName: string
4789
-
4790
- /**
4791
- * 地域ID
4792
- 注意:此字段可能返回 null,表示取不到有效值。
4793
- */
4794
- RegionId: number
4795
-
4796
- /**
4797
- * 地域状态
4798
- 注意:此字段可能返回 null,表示取不到有效值。
4799
- */
4800
- Status: string
4801
-
4802
- /**
4803
- * 地域特性开关(按照JSON的形式返回所有属性)
4804
- 注意:此字段可能返回 null,表示取不到有效值。
4805
- */
4806
- FeatureGates: string
4807
-
4808
- /**
4809
- * 地域简称
4810
- 注意:此字段可能返回 null,表示取不到有效值。
4811
- */
4812
- Alias: string
4813
-
5001
+ export interface DescribeResourceUsageRequest {
4814
5002
  /**
4815
- * 地域白名单
4816
- 注意:此字段可能返回 null,表示取不到有效值。
4817
- */
4818
- Remark: string
5003
+ * 集群ID
5004
+ */
5005
+ ClusterId: string
4819
5006
  }
4820
5007
 
4821
5008
  /**
@@ -5134,6 +5321,16 @@ export interface DescribeImageCachesResponse {
5134
5321
  RequestId?: string
5135
5322
  }
5136
5323
 
5324
+ /**
5325
+ * GetClusterLevelPrice请求参数结构体
5326
+ */
5327
+ export interface GetClusterLevelPriceRequest {
5328
+ /**
5329
+ * 集群规格,托管集群询价
5330
+ */
5331
+ ClusterLevel: string
5332
+ }
5333
+
5137
5334
  /**
5138
5335
  * CreateClusterEndpoint返回参数结构体
5139
5336
  */
@@ -5366,6 +5563,42 @@ export interface RestartEKSContainerInstancesResponse {
5366
5563
  RequestId?: string
5367
5564
  }
5368
5565
 
5566
+ /**
5567
+ * 健康检查探测参数
5568
+ */
5569
+ export interface Probe {
5570
+ /**
5571
+ * Number of seconds after the container has started before liveness probes are initiated.
5572
+ 注意:此字段可能返回 null,表示取不到有效值。
5573
+ */
5574
+ InitialDelaySeconds?: number
5575
+
5576
+ /**
5577
+ * Number of seconds after which the probe times out.
5578
+ Defaults to 1 second. Minimum value is 1.
5579
+ 注意:此字段可能返回 null,表示取不到有效值。
5580
+ */
5581
+ TimeoutSeconds?: number
5582
+
5583
+ /**
5584
+ * How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.
5585
+ 注意:此字段可能返回 null,表示取不到有效值。
5586
+ */
5587
+ PeriodSeconds?: number
5588
+
5589
+ /**
5590
+ * 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.
5591
+ 注意:此字段可能返回 null,表示取不到有效值。
5592
+ */
5593
+ SuccessThreshold?: number
5594
+
5595
+ /**
5596
+ * Minimum consecutive failures for the probe to be considered failed after having succeeded.Defaults to 3. Minimum value is 1.
5597
+ 注意:此字段可能返回 null,表示取不到有效值。
5598
+ */
5599
+ FailureThreshold?: number
5600
+ }
5601
+
5369
5602
  /**
5370
5603
  * ModifyPrometheusTemplate返回参数结构体
5371
5604
  */
@@ -5496,6 +5729,26 @@ export interface LivenessOrReadinessProbe {
5496
5729
  TcpSocket?: TcpSocket
5497
5730
  }
5498
5731
 
5732
+ /**
5733
+ * DescribeClusterLevelChangeRecords返回参数结构体
5734
+ */
5735
+ export interface DescribeClusterLevelChangeRecordsResponse {
5736
+ /**
5737
+ * 总数
5738
+ */
5739
+ TotalCount: number
5740
+
5741
+ /**
5742
+ * 集群规模
5743
+ */
5744
+ Items: Array<ClusterLevelChangeRecord>
5745
+
5746
+ /**
5747
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5748
+ */
5749
+ RequestId?: string
5750
+ }
5751
+
5499
5752
  /**
5500
5753
  * CheckInstancesUpgradeAble返回参数结构体
5501
5754
  */
@@ -6043,50 +6296,18 @@ export interface ModifyClusterAsGroupOptionAttributeResponse {
6043
6296
  }
6044
6297
 
6045
6298
  /**
6046
- * DescribePrometheusInstance返回参数结构体
6299
+ * DescribeClusterLevelAttribute返回参数结构体
6047
6300
  */
6048
- export interface DescribePrometheusInstanceResponse {
6049
- /**
6050
- * 实例id
6051
- */
6052
- InstanceId: string
6053
-
6054
- /**
6055
- * 实例名称
6056
- */
6057
- Name: string
6058
-
6059
- /**
6060
- * 私有网络id
6061
- */
6062
- VpcId: string
6063
-
6064
- /**
6065
- * 子网id
6066
- */
6067
- SubnetId: string
6068
-
6301
+ export interface DescribeClusterLevelAttributeResponse {
6069
6302
  /**
6070
- * cos桶名称
6303
+ * 总数
6071
6304
  */
6072
- COSBucket: string
6305
+ TotalCount: number
6073
6306
 
6074
6307
  /**
6075
- * 数据查询地址
6308
+ * 集群规模
6076
6309
  */
6077
- QueryAddress: string
6078
-
6079
- /**
6080
- * 实例中grafana相关的信息
6081
- 注意:此字段可能返回 null,表示取不到有效值。
6082
- */
6083
- Grafana: PrometheusGrafanaInfo
6084
-
6085
- /**
6086
- * 用户自定义alertmanager
6087
- 注意:此字段可能返回 null,表示取不到有效值。
6088
- */
6089
- AlertManagerUrl: string
6310
+ Items: Array<ClusterLevelAttribute>
6090
6311
 
6091
6312
  /**
6092
6313
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -6476,18 +6697,49 @@ export interface DescribePrometheusOverviewsResponse {
6476
6697
  }
6477
6698
 
6478
6699
  /**
6479
- * DeleteClusterEndpoint请求参数结构体
6700
+ * 托管集群等级属性
6480
6701
  */
6481
- export interface DeleteClusterEndpointRequest {
6702
+ export interface ClusterLevelAttribute {
6482
6703
  /**
6483
- * 集群ID
6704
+ * 集群等级
6484
6705
  */
6485
- ClusterId: string
6706
+ Name: string
6486
6707
 
6487
6708
  /**
6488
- * 是否为外网访问(TRUE 外网访问 FALSE 内网访问,默认值: FALSE)
6709
+ * 等级名称
6489
6710
  */
6490
- IsExtranet?: boolean
6711
+ Alias: string
6712
+
6713
+ /**
6714
+ * 节点数量
6715
+ */
6716
+ NodeCount: number
6717
+
6718
+ /**
6719
+ * Pod数量
6720
+ */
6721
+ PodCount: number
6722
+
6723
+ /**
6724
+ * Configmap数量
6725
+ */
6726
+ ConfigMapCount: number
6727
+
6728
+ /**
6729
+ * CRD数量
6730
+ */
6731
+ CRDCount: number
6732
+
6733
+ /**
6734
+ * 是否启用
6735
+ */
6736
+ Enable: boolean
6737
+
6738
+ /**
6739
+ * 其他资源数量
6740
+ 注意:此字段可能返回 null,表示取不到有效值。
6741
+ */
6742
+ OtherCount: number
6491
6743
  }
6492
6744
 
6493
6745
  /**
@@ -6532,6 +6784,26 @@ export interface DescribePrometheusTargetsResponse {
6532
6784
  RequestId?: string
6533
6785
  }
6534
6786
 
6787
+ /**
6788
+ * 描述了实例的增强服务启用情况与其设置,如云安全,云监控等实例 Agent
6789
+ */
6790
+ export interface EnhancedService {
6791
+ /**
6792
+ * 开启云安全服务。若不指定该参数,则默认开启云安全服务。
6793
+ */
6794
+ SecurityService?: RunSecurityServiceEnabled
6795
+
6796
+ /**
6797
+ * 开启云监控服务。若不指定该参数,则默认开启云监控服务。
6798
+ */
6799
+ MonitorService?: RunMonitorServiceEnabled
6800
+
6801
+ /**
6802
+ * 开启云自动化助手服务。若不指定该参数,则默认不开启云自动化助手服务。
6803
+ */
6804
+ AutomationService?: RunAutomationServiceEnabled
6805
+ }
6806
+
6535
6807
  /**
6536
6808
  * DescribeClusterNodePoolDetail请求参数结构体
6537
6809
  */
@@ -6792,6 +7064,36 @@ export interface TagSpecification {
6792
7064
  Tags?: Array<Tag>
6793
7065
  }
6794
7066
 
7067
+ /**
7068
+ * DescribeClusterLevelChangeRecords请求参数结构体
7069
+ */
7070
+ export interface DescribeClusterLevelChangeRecordsRequest {
7071
+ /**
7072
+ * 集群ID
7073
+ */
7074
+ ClusterID: string
7075
+
7076
+ /**
7077
+ * 开始时间
7078
+ */
7079
+ StartAt?: string
7080
+
7081
+ /**
7082
+ * 结束时间
7083
+ */
7084
+ EndAt?: string
7085
+
7086
+ /**
7087
+ * 偏移量,默认0
7088
+ */
7089
+ Offset?: number
7090
+
7091
+ /**
7092
+ * 最大输出条数,默认20
7093
+ */
7094
+ Limit?: number
7095
+ }
7096
+
6795
7097
  /**
6796
7098
  * DescribeClusterRouteTables返回参数结构体
6797
7099
  */
@@ -7155,39 +7457,18 @@ T4
7155
7457
  }
7156
7458
 
7157
7459
  /**
7158
- * 健康检查探测参数
7460
+ * DeleteClusterEndpoint请求参数结构体
7159
7461
  */
7160
- export interface Probe {
7161
- /**
7162
- * Number of seconds after the container has started before liveness probes are initiated.
7163
- 注意:此字段可能返回 null,表示取不到有效值。
7164
- */
7165
- InitialDelaySeconds?: number
7166
-
7167
- /**
7168
- * Number of seconds after which the probe times out.
7169
- Defaults to 1 second. Minimum value is 1.
7170
- 注意:此字段可能返回 null,表示取不到有效值。
7171
- */
7172
- TimeoutSeconds?: number
7173
-
7174
- /**
7175
- * How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.
7176
- 注意:此字段可能返回 null,表示取不到有效值。
7177
- */
7178
- PeriodSeconds?: number
7179
-
7462
+ export interface DeleteClusterEndpointRequest {
7180
7463
  /**
7181
- * 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.
7182
- 注意:此字段可能返回 null,表示取不到有效值。
7183
- */
7184
- SuccessThreshold?: number
7464
+ * 集群ID
7465
+ */
7466
+ ClusterId: string
7185
7467
 
7186
7468
  /**
7187
- * Minimum consecutive failures for the probe to be considered failed after having succeeded.Defaults to 3. Minimum value is 1.
7188
- 注意:此字段可能返回 null,表示取不到有效值。
7189
- */
7190
- FailureThreshold?: number
7469
+ * 是否为外网访问(TRUE 外网访问 FALSE 内网访问,默认值: FALSE)
7470
+ */
7471
+ IsExtranet?: boolean
7191
7472
  }
7192
7473
 
7193
7474
  /**