tencentcloud-sdk-nodejs-tke 4.0.585 → 4.0.586

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.
@@ -642,6 +642,15 @@ export interface EnableClusterAuditResponse {
642
642
  */
643
643
  RequestId?: string;
644
644
  }
645
+ /**
646
+ * CreateBackupStorageLocation返回参数结构体
647
+ */
648
+ export interface CreateBackupStorageLocationResponse {
649
+ /**
650
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
651
+ */
652
+ RequestId?: string;
653
+ }
645
654
  /**
646
655
  * EnvironmentVariable
647
656
  */
@@ -1102,6 +1111,31 @@ export interface DescribeClusterStatusRequest {
1102
1111
  */
1103
1112
  ClusterIds?: Array<string>;
1104
1113
  }
1114
+ /**
1115
+ * CreateBackupStorageLocation请求参数结构体
1116
+ */
1117
+ export interface CreateBackupStorageLocationRequest {
1118
+ /**
1119
+ * 存储仓库所属地域,比如COS广州(ap-guangzhou)
1120
+ */
1121
+ StorageRegion: string;
1122
+ /**
1123
+ * 对象存储桶名称,如果是COS必须是tke-backup前缀开头
1124
+ */
1125
+ Bucket: string;
1126
+ /**
1127
+ * 备份仓库名称
1128
+ */
1129
+ Name: string;
1130
+ /**
1131
+ * 存储服务提供方,默认腾讯云
1132
+ */
1133
+ Provider?: string;
1134
+ /**
1135
+ * 对象存储桶路径
1136
+ */
1137
+ Path?: string;
1138
+ }
1105
1139
  /**
1106
1140
  * prometheus配置
1107
1141
  */
@@ -1557,6 +1591,49 @@ export interface GetMostSuitableImageCacheResponse {
1557
1591
  */
1558
1592
  RequestId?: string;
1559
1593
  }
1594
+ /**
1595
+ * 服务事件
1596
+ */
1597
+ export interface Event {
1598
+ /**
1599
+ * pod名称
1600
+ */
1601
+ PodName: string;
1602
+ /**
1603
+ * 事件原因内容
1604
+ */
1605
+ Reason: string;
1606
+ /**
1607
+ * 事件类型
1608
+ */
1609
+ Type: string;
1610
+ /**
1611
+ * 事件出现次数
1612
+ */
1613
+ Count: number;
1614
+ /**
1615
+ * 事件第一次出现时间
1616
+ */
1617
+ FirstTimestamp: string;
1618
+ /**
1619
+ * 事件最后一次出现时间
1620
+ */
1621
+ LastTimestamp: string;
1622
+ /**
1623
+ * 事件内容
1624
+ */
1625
+ Message: string;
1626
+ }
1627
+ /**
1628
+ * 探针在容器内执行检测命令参数类型
1629
+ */
1630
+ export interface Exec {
1631
+ /**
1632
+ * 容器内检测的命令
1633
+ 注意:此字段可能返回 null,表示取不到有效值。
1634
+ */
1635
+ Commands?: Array<string>;
1636
+ }
1560
1637
  /**
1561
1638
  * DescribeEdgeAvailableExtraArgs返回参数结构体
1562
1639
  */
@@ -2804,6 +2881,11 @@ export interface EdgeCluster {
2804
2881
  注意:此字段可能返回 null,表示取不到有效值。
2805
2882
  */
2806
2883
  ChargeType?: string;
2884
+ /**
2885
+ * 边缘集群组件的版本
2886
+ 注意:此字段可能返回 null,表示取不到有效值。
2887
+ */
2888
+ EdgeVersion?: string;
2807
2889
  }
2808
2890
  /**
2809
2891
  * DescribeClusterNodePoolDetail返回参数结构体
@@ -3037,6 +3119,49 @@ export interface ClusterCondition {
3037
3119
  */
3038
3120
  Message: string;
3039
3121
  }
3122
+ /**
3123
+ * 仓储仓库信息
3124
+ */
3125
+ export interface BackupStorageLocation {
3126
+ /**
3127
+ * 备份仓库名称
3128
+ */
3129
+ Name?: string;
3130
+ /**
3131
+ * 存储仓库所属地域,比如COS广州(ap-guangzhou)
3132
+ */
3133
+ StorageRegion?: string;
3134
+ /**
3135
+ * 存储服务提供方,默认腾讯云
3136
+ 注意:此字段可能返回 null,表示取不到有效值。
3137
+ */
3138
+ Provider?: string;
3139
+ /**
3140
+ * 对象存储桶名称,如果是COS必须是tke-backup-前缀开头
3141
+ 注意:此字段可能返回 null,表示取不到有效值。
3142
+ */
3143
+ Bucket?: string;
3144
+ /**
3145
+ * 对象存储桶路径
3146
+ 注意:此字段可能返回 null,表示取不到有效值。
3147
+ */
3148
+ Path?: string;
3149
+ /**
3150
+ * 存储仓库状态
3151
+ 注意:此字段可能返回 null,表示取不到有效值。
3152
+ */
3153
+ State?: string;
3154
+ /**
3155
+ * 详细状态信息
3156
+ 注意:此字段可能返回 null,表示取不到有效值。
3157
+ */
3158
+ Message?: string;
3159
+ /**
3160
+ * 最后一次检查时间
3161
+ 注意:此字段可能返回 null,表示取不到有效值。
3162
+ */
3163
+ LastValidationTime?: string;
3164
+ }
3040
3165
  /**
3041
3166
  * 节点池描述
3042
3167
  */
@@ -3781,6 +3906,15 @@ export interface CreateClusterInstancesRequest {
3781
3906
  */
3782
3907
  SkipValidateOptions?: Array<string>;
3783
3908
  }
3909
+ /**
3910
+ * DeleteBackupStorageLocation请求参数结构体
3911
+ */
3912
+ export interface DeleteBackupStorageLocationRequest {
3913
+ /**
3914
+ * 备份仓库名称
3915
+ */
3916
+ Name: string;
3917
+ }
3784
3918
  /**
3785
3919
  * 集群容器网络相关参数
3786
3920
  */
@@ -4445,118 +4579,13 @@ export interface DescribePrometheusTempSyncResponse {
4445
4579
  RequestId?: string;
4446
4580
  }
4447
4581
  /**
4448
- * 集群信息结构体
4582
+ * CreatePrometheusConfig返回参数结构体
4449
4583
  */
4450
- export interface Cluster {
4451
- /**
4452
- * 集群ID
4453
- */
4454
- ClusterId: string;
4455
- /**
4456
- * 集群名称
4457
- */
4458
- ClusterName: string;
4459
- /**
4460
- * 集群描述
4461
- */
4462
- ClusterDescription: string;
4463
- /**
4464
- * 集群版本(默认值为1.10.5)
4465
- */
4466
- ClusterVersion: string;
4467
- /**
4468
- * 集群系统。centos7.2x86_64 或者 ubuntu16.04.1 LTSx86_64,默认取值为ubuntu16.04.1 LTSx86_64
4469
- */
4470
- ClusterOs: string;
4471
- /**
4472
- * 集群类型,托管集群:MANAGED_CLUSTER,独立集群:INDEPENDENT_CLUSTER。
4473
- */
4474
- ClusterType: string;
4475
- /**
4476
- * 集群网络相关参数
4477
- */
4478
- ClusterNetworkSettings: ClusterNetworkSettings;
4479
- /**
4480
- * 集群当前node数量
4481
- */
4482
- ClusterNodeNum: number;
4483
- /**
4484
- * 集群所属的项目ID
4485
- */
4486
- ProjectId: number;
4487
- /**
4488
- * 标签描述列表。
4489
- 注意:此字段可能返回 null,表示取不到有效值。
4490
- */
4491
- TagSpecification: Array<TagSpecification>;
4492
- /**
4493
- * 集群状态 (Trading 集群开通中,Creating 创建中,Running 运行中,Deleting 删除中,Idling 闲置中,Recovering 唤醒中,Scaling 规模调整中,Upgrading 升级中,WaittingForConnect 等待注册,Trading 集群开通中,Isolated 欠费隔离中,Pause 集群升级暂停,NodeUpgrading 节点升级中,RuntimeUpgrading 节点运行时升级中,MasterScaling Master扩缩容中,ClusterLevelUpgrading 调整规格中,ResourceIsolate 隔离中,ResourceIsolated 已隔离,ResourceReverse 冲正中,Abnormal 异常)
4494
- */
4495
- ClusterStatus: string;
4496
- /**
4497
- * 集群属性(包括集群不同属性的MAP,属性字段包括NodeNameType (lan-ip模式和hostname 模式,默认无lan-ip模式))
4498
- 注意:此字段可能返回 null,表示取不到有效值。
4499
- */
4500
- Property: string;
4584
+ export interface CreatePrometheusConfigResponse {
4501
4585
  /**
4502
- * 集群当前master数量
4586
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4503
4587
  */
4504
- ClusterMaterNodeNum: number;
4505
- /**
4506
- * 集群使用镜像id
4507
- 注意:此字段可能返回 null,表示取不到有效值。
4508
- */
4509
- ImageId: string;
4510
- /**
4511
- * OsCustomizeType 系统定制类型
4512
- 注意:此字段可能返回 null,表示取不到有效值。
4513
- */
4514
- OsCustomizeType: string;
4515
- /**
4516
- * 集群运行环境docker或container
4517
- 注意:此字段可能返回 null,表示取不到有效值。
4518
- */
4519
- ContainerRuntime: string;
4520
- /**
4521
- * 创建时间
4522
- 注意:此字段可能返回 null,表示取不到有效值。
4523
- */
4524
- CreatedTime: string;
4525
- /**
4526
- * 删除保护开关
4527
- 注意:此字段可能返回 null,表示取不到有效值。
4528
- */
4529
- DeletionProtection: boolean;
4530
- /**
4531
- * 集群是否开启第三方节点支持
4532
- 注意:此字段可能返回 null,表示取不到有效值。
4533
- */
4534
- EnableExternalNode: boolean;
4535
- /**
4536
- * 集群等级,针对托管集群生效
4537
- 注意:此字段可能返回 null,表示取不到有效值。
4538
- */
4539
- ClusterLevel: string;
4540
- /**
4541
- * 自动变配集群等级,针对托管集群生效
4542
- 注意:此字段可能返回 null,表示取不到有效值。
4543
- */
4544
- AutoUpgradeClusterLevel: boolean;
4545
- /**
4546
- * 是否开启QGPU共享
4547
- 注意:此字段可能返回 null,表示取不到有效值。
4548
- */
4549
- QGPUShareEnable: boolean;
4550
- /**
4551
- * 运行时版本
4552
- 注意:此字段可能返回 null,表示取不到有效值。
4553
- */
4554
- RuntimeVersion: string;
4555
- /**
4556
- * 集群当前etcd数量
4557
- 注意:此字段可能返回 null,表示取不到有效值。
4558
- */
4559
- ClusterEtcdNodeNum: number;
4588
+ RequestId?: string;
4560
4589
  }
4561
4590
  /**
4562
4591
  * DescribeClusterEndpointStatus返回参数结构体
@@ -4665,6 +4694,10 @@ export interface EnableVpcCniNetworkTypeRequest {
4665
4694
  * 在固定IP模式下,Pod销毁后退还IP的时间,传参必须大于300;不传默认IP永不销毁。
4666
4695
  */
4667
4696
  ExpiredSeconds?: number;
4697
+ /**
4698
+ * 是否同步添加 vpc 网段到 ip-masq-agent-config 的 NonMasqueradeCIDRs 字段,默认 false 会同步添加
4699
+ */
4700
+ SkipAddingNonMasqueradeCIDRs?: boolean;
4668
4701
  }
4669
4702
  /**
4670
4703
  * EKS Instance Container容器
@@ -4774,14 +4807,13 @@ export interface CreateClusterEndpointRequest {
4774
4807
  ExtensiveParameters?: string;
4775
4808
  }
4776
4809
  /**
4777
- * 探针在容器内执行检测命令参数类型
4810
+ * DeletePrometheusClusterAgent返回参数结构体
4778
4811
  */
4779
- export interface Exec {
4812
+ export interface DeletePrometheusClusterAgentResponse {
4780
4813
  /**
4781
- * 容器内检测的命令
4782
- 注意:此字段可能返回 null,表示取不到有效值。
4783
- */
4784
- Commands?: Array<string>;
4814
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4815
+ */
4816
+ RequestId?: string;
4785
4817
  }
4786
4818
  /**
4787
4819
  * DescribePrometheusInstance返回参数结构体
@@ -6017,13 +6049,118 @@ export interface DescribePrometheusClusterAgentsResponse {
6017
6049
  RequestId?: string;
6018
6050
  }
6019
6051
  /**
6020
- * CreatePrometheusConfig返回参数结构体
6052
+ * 集群信息结构体
6021
6053
  */
6022
- export interface CreatePrometheusConfigResponse {
6054
+ export interface Cluster {
6023
6055
  /**
6024
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6056
+ * 集群ID
6025
6057
  */
6026
- RequestId?: string;
6058
+ ClusterId: string;
6059
+ /**
6060
+ * 集群名称
6061
+ */
6062
+ ClusterName: string;
6063
+ /**
6064
+ * 集群描述
6065
+ */
6066
+ ClusterDescription: string;
6067
+ /**
6068
+ * 集群版本(默认值为1.10.5)
6069
+ */
6070
+ ClusterVersion: string;
6071
+ /**
6072
+ * 集群系统。centos7.2x86_64 或者 ubuntu16.04.1 LTSx86_64,默认取值为ubuntu16.04.1 LTSx86_64
6073
+ */
6074
+ ClusterOs: string;
6075
+ /**
6076
+ * 集群类型,托管集群:MANAGED_CLUSTER,独立集群:INDEPENDENT_CLUSTER。
6077
+ */
6078
+ ClusterType: string;
6079
+ /**
6080
+ * 集群网络相关参数
6081
+ */
6082
+ ClusterNetworkSettings: ClusterNetworkSettings;
6083
+ /**
6084
+ * 集群当前node数量
6085
+ */
6086
+ ClusterNodeNum: number;
6087
+ /**
6088
+ * 集群所属的项目ID
6089
+ */
6090
+ ProjectId: number;
6091
+ /**
6092
+ * 标签描述列表。
6093
+ 注意:此字段可能返回 null,表示取不到有效值。
6094
+ */
6095
+ TagSpecification: Array<TagSpecification>;
6096
+ /**
6097
+ * 集群状态 (Trading 集群开通中,Creating 创建中,Running 运行中,Deleting 删除中,Idling 闲置中,Recovering 唤醒中,Scaling 规模调整中,Upgrading 升级中,WaittingForConnect 等待注册,Trading 集群开通中,Isolated 欠费隔离中,Pause 集群升级暂停,NodeUpgrading 节点升级中,RuntimeUpgrading 节点运行时升级中,MasterScaling Master扩缩容中,ClusterLevelUpgrading 调整规格中,ResourceIsolate 隔离中,ResourceIsolated 已隔离,ResourceReverse 冲正中,Abnormal 异常)
6098
+ */
6099
+ ClusterStatus: string;
6100
+ /**
6101
+ * 集群属性(包括集群不同属性的MAP,属性字段包括NodeNameType (lan-ip模式和hostname 模式,默认无lan-ip模式))
6102
+ 注意:此字段可能返回 null,表示取不到有效值。
6103
+ */
6104
+ Property: string;
6105
+ /**
6106
+ * 集群当前master数量
6107
+ */
6108
+ ClusterMaterNodeNum: number;
6109
+ /**
6110
+ * 集群使用镜像id
6111
+ 注意:此字段可能返回 null,表示取不到有效值。
6112
+ */
6113
+ ImageId: string;
6114
+ /**
6115
+ * OsCustomizeType 系统定制类型
6116
+ 注意:此字段可能返回 null,表示取不到有效值。
6117
+ */
6118
+ OsCustomizeType: string;
6119
+ /**
6120
+ * 集群运行环境docker或container
6121
+ 注意:此字段可能返回 null,表示取不到有效值。
6122
+ */
6123
+ ContainerRuntime: string;
6124
+ /**
6125
+ * 创建时间
6126
+ 注意:此字段可能返回 null,表示取不到有效值。
6127
+ */
6128
+ CreatedTime: string;
6129
+ /**
6130
+ * 删除保护开关
6131
+ 注意:此字段可能返回 null,表示取不到有效值。
6132
+ */
6133
+ DeletionProtection: boolean;
6134
+ /**
6135
+ * 集群是否开启第三方节点支持
6136
+ 注意:此字段可能返回 null,表示取不到有效值。
6137
+ */
6138
+ EnableExternalNode: boolean;
6139
+ /**
6140
+ * 集群等级,针对托管集群生效
6141
+ 注意:此字段可能返回 null,表示取不到有效值。
6142
+ */
6143
+ ClusterLevel: string;
6144
+ /**
6145
+ * 自动变配集群等级,针对托管集群生效
6146
+ 注意:此字段可能返回 null,表示取不到有效值。
6147
+ */
6148
+ AutoUpgradeClusterLevel: boolean;
6149
+ /**
6150
+ * 是否开启QGPU共享
6151
+ 注意:此字段可能返回 null,表示取不到有效值。
6152
+ */
6153
+ QGPUShareEnable: boolean;
6154
+ /**
6155
+ * 运行时版本
6156
+ 注意:此字段可能返回 null,表示取不到有效值。
6157
+ */
6158
+ RuntimeVersion: string;
6159
+ /**
6160
+ * 集群当前etcd数量
6161
+ 注意:此字段可能返回 null,表示取不到有效值。
6162
+ */
6163
+ ClusterEtcdNodeNum: number;
6027
6164
  }
6028
6165
  /**
6029
6166
  * DescribeClusterAuthenticationOptions请求参数结构体
@@ -6921,15 +7058,6 @@ export interface DescribeClusterAuthenticationOptionsResponse {
6921
7058
  */
6922
7059
  RequestId?: string;
6923
7060
  }
6924
- /**
6925
- * DeletePrometheusClusterAgent返回参数结构体
6926
- */
6927
- export interface DeletePrometheusClusterAgentResponse {
6928
- /**
6929
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6930
- */
6931
- RequestId?: string;
6932
- }
6933
7061
  /**
6934
7062
  * CreateClusterRelease请求参数结构体
6935
7063
  */
@@ -9079,21 +9207,18 @@ export interface PrometheusTemp {
9079
9207
  TargetsTotal?: number;
9080
9208
  }
9081
9209
  /**
9082
- * CVM实例数据盘挂载配置
9210
+ * DescribeBackupStorageLocations返回参数结构体
9083
9211
  */
9084
- export interface InstanceDataDiskMountSetting {
9085
- /**
9086
- * CVM实例类型
9087
- */
9088
- InstanceType: string;
9212
+ export interface DescribeBackupStorageLocationsResponse {
9089
9213
  /**
9090
- * 数据盘挂载信息
9091
- */
9092
- DataDisks: Array<DataDisk>;
9214
+ * 详细备份仓库信息
9215
+ 注意:此字段可能返回 null,表示取不到有效值。
9216
+ */
9217
+ BackupStorageLocationSet?: Array<BackupStorageLocation>;
9093
9218
  /**
9094
- * CVM实例所属可用区
9219
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9095
9220
  */
9096
- Zone: string;
9221
+ RequestId?: string;
9097
9222
  }
9098
9223
  /**
9099
9224
  * ModifyClusterAsGroupAttribute返回参数结构体
@@ -9332,37 +9457,13 @@ export interface DescribeEdgeCVMInstancesResponse {
9332
9457
  RequestId?: string;
9333
9458
  }
9334
9459
  /**
9335
- * 服务事件
9460
+ * DeleteBackupStorageLocation返回参数结构体
9336
9461
  */
9337
- export interface Event {
9338
- /**
9339
- * pod名称
9340
- */
9341
- PodName: string;
9342
- /**
9343
- * 事件原因内容
9344
- */
9345
- Reason: string;
9346
- /**
9347
- * 事件类型
9348
- */
9349
- Type: string;
9462
+ export interface DeleteBackupStorageLocationResponse {
9350
9463
  /**
9351
- * 事件出现次数
9352
- */
9353
- Count: number;
9354
- /**
9355
- * 事件第一次出现时间
9356
- */
9357
- FirstTimestamp: string;
9358
- /**
9359
- * 事件最后一次出现时间
9360
- */
9361
- LastTimestamp: string;
9362
- /**
9363
- * 事件内容
9464
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9364
9465
  */
9365
- Message: string;
9466
+ RequestId?: string;
9366
9467
  }
9367
9468
  /**
9368
9469
  * ModifyNodePoolDesiredCapacityAboutAsg请求参数结构体
@@ -10642,6 +10743,23 @@ export interface RouteTableConflict {
10642
10743
  */
10643
10744
  RouteTableId: string;
10644
10745
  }
10746
+ /**
10747
+ * CVM实例数据盘挂载配置
10748
+ */
10749
+ export interface InstanceDataDiskMountSetting {
10750
+ /**
10751
+ * CVM实例类型
10752
+ */
10753
+ InstanceType: string;
10754
+ /**
10755
+ * 数据盘挂载信息
10756
+ */
10757
+ DataDisks: Array<DataDisk>;
10758
+ /**
10759
+ * CVM实例所属可用区
10760
+ */
10761
+ Zone: string;
10762
+ }
10645
10763
  /**
10646
10764
  * 托管prometheus实例概览
10647
10765
  */
@@ -10778,3 +10896,12 @@ export interface PendingRelease {
10778
10896
  */
10779
10897
  UpdatedTime: string;
10780
10898
  }
10899
+ /**
10900
+ * DescribeBackupStorageLocations请求参数结构体
10901
+ */
10902
+ export interface DescribeBackupStorageLocationsRequest {
10903
+ /**
10904
+ * 多个备份仓库名称,如果不填写,默认返回当前地域所有存储仓库名称
10905
+ */
10906
+ Names?: Array<string>;
10907
+ }