tencentcloud-sdk-nodejs-tke 4.0.585 → 4.0.587

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.
@@ -774,6 +774,16 @@ export interface EnableClusterAuditResponse {
774
774
  RequestId?: string
775
775
  }
776
776
 
777
+ /**
778
+ * CreateBackupStorageLocation返回参数结构体
779
+ */
780
+ export interface CreateBackupStorageLocationResponse {
781
+ /**
782
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
783
+ */
784
+ RequestId?: string
785
+ }
786
+
777
787
  /**
778
788
  * EnvironmentVariable
779
789
  */
@@ -1306,6 +1316,36 @@ export interface DescribeClusterStatusRequest {
1306
1316
  ClusterIds?: Array<string>
1307
1317
  }
1308
1318
 
1319
+ /**
1320
+ * CreateBackupStorageLocation请求参数结构体
1321
+ */
1322
+ export interface CreateBackupStorageLocationRequest {
1323
+ /**
1324
+ * 存储仓库所属地域,比如COS广州(ap-guangzhou)
1325
+ */
1326
+ StorageRegion: string
1327
+
1328
+ /**
1329
+ * 对象存储桶名称,如果是COS必须是tke-backup前缀开头
1330
+ */
1331
+ Bucket: string
1332
+
1333
+ /**
1334
+ * 备份仓库名称
1335
+ */
1336
+ Name: string
1337
+
1338
+ /**
1339
+ * 存储服务提供方,默认腾讯云
1340
+ */
1341
+ Provider?: string
1342
+
1343
+ /**
1344
+ * 对象存储桶路径
1345
+ */
1346
+ Path?: string
1347
+ }
1348
+
1309
1349
  /**
1310
1350
  * prometheus配置
1311
1351
  */
@@ -1845,6 +1885,57 @@ export interface GetMostSuitableImageCacheResponse {
1845
1885
  RequestId?: string
1846
1886
  }
1847
1887
 
1888
+ /**
1889
+ * 服务事件
1890
+ */
1891
+ export interface Event {
1892
+ /**
1893
+ * pod名称
1894
+ */
1895
+ PodName: string
1896
+
1897
+ /**
1898
+ * 事件原因内容
1899
+ */
1900
+ Reason: string
1901
+
1902
+ /**
1903
+ * 事件类型
1904
+ */
1905
+ Type: string
1906
+
1907
+ /**
1908
+ * 事件出现次数
1909
+ */
1910
+ Count: number
1911
+
1912
+ /**
1913
+ * 事件第一次出现时间
1914
+ */
1915
+ FirstTimestamp: string
1916
+
1917
+ /**
1918
+ * 事件最后一次出现时间
1919
+ */
1920
+ LastTimestamp: string
1921
+
1922
+ /**
1923
+ * 事件内容
1924
+ */
1925
+ Message: string
1926
+ }
1927
+
1928
+ /**
1929
+ * 探针在容器内执行检测命令参数类型
1930
+ */
1931
+ export interface Exec {
1932
+ /**
1933
+ * 容器内检测的命令
1934
+ 注意:此字段可能返回 null,表示取不到有效值。
1935
+ */
1936
+ Commands?: Array<string>
1937
+ }
1938
+
1848
1939
  /**
1849
1940
  * DescribeEdgeAvailableExtraArgs返回参数结构体
1850
1941
  */
@@ -3308,6 +3399,12 @@ export interface EdgeCluster {
3308
3399
  注意:此字段可能返回 null,表示取不到有效值。
3309
3400
  */
3310
3401
  ChargeType?: string
3402
+
3403
+ /**
3404
+ * 边缘集群组件的版本
3405
+ 注意:此字段可能返回 null,表示取不到有效值。
3406
+ */
3407
+ EdgeVersion?: string
3311
3408
  }
3312
3409
 
3313
3410
  /**
@@ -3581,6 +3678,57 @@ export interface ClusterCondition {
3581
3678
  Message: string
3582
3679
  }
3583
3680
 
3681
+ /**
3682
+ * 仓储仓库信息
3683
+ */
3684
+ export interface BackupStorageLocation {
3685
+ /**
3686
+ * 备份仓库名称
3687
+ */
3688
+ Name?: string
3689
+
3690
+ /**
3691
+ * 存储仓库所属地域,比如COS广州(ap-guangzhou)
3692
+ */
3693
+ StorageRegion?: string
3694
+
3695
+ /**
3696
+ * 存储服务提供方,默认腾讯云
3697
+ 注意:此字段可能返回 null,表示取不到有效值。
3698
+ */
3699
+ Provider?: string
3700
+
3701
+ /**
3702
+ * 对象存储桶名称,如果是COS必须是tke-backup-前缀开头
3703
+ 注意:此字段可能返回 null,表示取不到有效值。
3704
+ */
3705
+ Bucket?: string
3706
+
3707
+ /**
3708
+ * 对象存储桶路径
3709
+ 注意:此字段可能返回 null,表示取不到有效值。
3710
+ */
3711
+ Path?: string
3712
+
3713
+ /**
3714
+ * 存储仓库状态
3715
+ 注意:此字段可能返回 null,表示取不到有效值。
3716
+ */
3717
+ State?: string
3718
+
3719
+ /**
3720
+ * 详细状态信息
3721
+ 注意:此字段可能返回 null,表示取不到有效值。
3722
+ */
3723
+ Message?: string
3724
+
3725
+ /**
3726
+ * 最后一次检查时间
3727
+ 注意:此字段可能返回 null,表示取不到有效值。
3728
+ */
3729
+ LastValidationTime?: string
3730
+ }
3731
+
3584
3732
  /**
3585
3733
  * 节点池描述
3586
3734
  */
@@ -4460,6 +4608,16 @@ export interface CreateClusterInstancesRequest {
4460
4608
  SkipValidateOptions?: Array<string>
4461
4609
  }
4462
4610
 
4611
+ /**
4612
+ * DeleteBackupStorageLocation请求参数结构体
4613
+ */
4614
+ export interface DeleteBackupStorageLocationRequest {
4615
+ /**
4616
+ * 备份仓库名称
4617
+ */
4618
+ Name: string
4619
+ }
4620
+
4463
4621
  /**
4464
4622
  * 集群容器网络相关参数
4465
4623
  */
@@ -5240,141 +5398,13 @@ export interface DescribePrometheusTempSyncResponse {
5240
5398
  }
5241
5399
 
5242
5400
  /**
5243
- * 集群信息结构体
5401
+ * CreatePrometheusConfig返回参数结构体
5244
5402
  */
5245
- export interface Cluster {
5246
- /**
5247
- * 集群ID
5248
- */
5249
- ClusterId: string
5250
-
5251
- /**
5252
- * 集群名称
5253
- */
5254
- ClusterName: string
5255
-
5256
- /**
5257
- * 集群描述
5258
- */
5259
- ClusterDescription: string
5260
-
5261
- /**
5262
- * 集群版本(默认值为1.10.5)
5263
- */
5264
- ClusterVersion: string
5265
-
5266
- /**
5267
- * 集群系统。centos7.2x86_64 或者 ubuntu16.04.1 LTSx86_64,默认取值为ubuntu16.04.1 LTSx86_64
5268
- */
5269
- ClusterOs: string
5270
-
5271
- /**
5272
- * 集群类型,托管集群:MANAGED_CLUSTER,独立集群:INDEPENDENT_CLUSTER。
5273
- */
5274
- ClusterType: string
5275
-
5276
- /**
5277
- * 集群网络相关参数
5278
- */
5279
- ClusterNetworkSettings: ClusterNetworkSettings
5280
-
5281
- /**
5282
- * 集群当前node数量
5283
- */
5284
- ClusterNodeNum: number
5285
-
5286
- /**
5287
- * 集群所属的项目ID
5288
- */
5289
- ProjectId: number
5290
-
5291
- /**
5292
- * 标签描述列表。
5293
- 注意:此字段可能返回 null,表示取不到有效值。
5294
- */
5295
- TagSpecification: Array<TagSpecification>
5296
-
5297
- /**
5298
- * 集群状态 (Trading 集群开通中,Creating 创建中,Running 运行中,Deleting 删除中,Idling 闲置中,Recovering 唤醒中,Scaling 规模调整中,Upgrading 升级中,WaittingForConnect 等待注册,Trading 集群开通中,Isolated 欠费隔离中,Pause 集群升级暂停,NodeUpgrading 节点升级中,RuntimeUpgrading 节点运行时升级中,MasterScaling Master扩缩容中,ClusterLevelUpgrading 调整规格中,ResourceIsolate 隔离中,ResourceIsolated 已隔离,ResourceReverse 冲正中,Abnormal 异常)
5299
- */
5300
- ClusterStatus: string
5301
-
5302
- /**
5303
- * 集群属性(包括集群不同属性的MAP,属性字段包括NodeNameType (lan-ip模式和hostname 模式,默认无lan-ip模式))
5304
- 注意:此字段可能返回 null,表示取不到有效值。
5305
- */
5306
- Property: string
5307
-
5403
+ export interface CreatePrometheusConfigResponse {
5308
5404
  /**
5309
- * 集群当前master数量
5405
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5310
5406
  */
5311
- ClusterMaterNodeNum: number
5312
-
5313
- /**
5314
- * 集群使用镜像id
5315
- 注意:此字段可能返回 null,表示取不到有效值。
5316
- */
5317
- ImageId: string
5318
-
5319
- /**
5320
- * OsCustomizeType 系统定制类型
5321
- 注意:此字段可能返回 null,表示取不到有效值。
5322
- */
5323
- OsCustomizeType: string
5324
-
5325
- /**
5326
- * 集群运行环境docker或container
5327
- 注意:此字段可能返回 null,表示取不到有效值。
5328
- */
5329
- ContainerRuntime: string
5330
-
5331
- /**
5332
- * 创建时间
5333
- 注意:此字段可能返回 null,表示取不到有效值。
5334
- */
5335
- CreatedTime: string
5336
-
5337
- /**
5338
- * 删除保护开关
5339
- 注意:此字段可能返回 null,表示取不到有效值。
5340
- */
5341
- DeletionProtection: boolean
5342
-
5343
- /**
5344
- * 集群是否开启第三方节点支持
5345
- 注意:此字段可能返回 null,表示取不到有效值。
5346
- */
5347
- EnableExternalNode: boolean
5348
-
5349
- /**
5350
- * 集群等级,针对托管集群生效
5351
- 注意:此字段可能返回 null,表示取不到有效值。
5352
- */
5353
- ClusterLevel: string
5354
-
5355
- /**
5356
- * 自动变配集群等级,针对托管集群生效
5357
- 注意:此字段可能返回 null,表示取不到有效值。
5358
- */
5359
- AutoUpgradeClusterLevel: boolean
5360
-
5361
- /**
5362
- * 是否开启QGPU共享
5363
- 注意:此字段可能返回 null,表示取不到有效值。
5364
- */
5365
- QGPUShareEnable: boolean
5366
-
5367
- /**
5368
- * 运行时版本
5369
- 注意:此字段可能返回 null,表示取不到有效值。
5370
- */
5371
- RuntimeVersion: string
5372
-
5373
- /**
5374
- * 集群当前etcd数量
5375
- 注意:此字段可能返回 null,表示取不到有效值。
5376
- */
5377
- ClusterEtcdNodeNum: number
5407
+ RequestId?: string
5378
5408
  }
5379
5409
 
5380
5410
  /**
@@ -5501,6 +5531,11 @@ export interface EnableVpcCniNetworkTypeRequest {
5501
5531
  * 在固定IP模式下,Pod销毁后退还IP的时间,传参必须大于300;不传默认IP永不销毁。
5502
5532
  */
5503
5533
  ExpiredSeconds?: number
5534
+
5535
+ /**
5536
+ * 是否同步添加 vpc 网段到 ip-masq-agent-config 的 NonMasqueradeCIDRs 字段,默认 false 会同步添加
5537
+ */
5538
+ SkipAddingNonMasqueradeCIDRs?: boolean
5504
5539
  }
5505
5540
 
5506
5541
  /**
@@ -5632,14 +5667,13 @@ BandwidthPackageId含义:带宽包ID,指定此参数时,网络计费方式
5632
5667
  }
5633
5668
 
5634
5669
  /**
5635
- * 探针在容器内执行检测命令参数类型
5670
+ * DeletePrometheusClusterAgent返回参数结构体
5636
5671
  */
5637
- export interface Exec {
5672
+ export interface DeletePrometheusClusterAgentResponse {
5638
5673
  /**
5639
- * 容器内检测的命令
5640
- 注意:此字段可能返回 null,表示取不到有效值。
5641
- */
5642
- Commands?: Array<string>
5674
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5675
+ */
5676
+ RequestId?: string
5643
5677
  }
5644
5678
 
5645
5679
  /**
@@ -7083,13 +7117,141 @@ export interface DescribePrometheusClusterAgentsResponse {
7083
7117
  }
7084
7118
 
7085
7119
  /**
7086
- * CreatePrometheusConfig返回参数结构体
7120
+ * 集群信息结构体
7087
7121
  */
7088
- export interface CreatePrometheusConfigResponse {
7122
+ export interface Cluster {
7089
7123
  /**
7090
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7124
+ * 集群ID
7091
7125
  */
7092
- RequestId?: string
7126
+ ClusterId: string
7127
+
7128
+ /**
7129
+ * 集群名称
7130
+ */
7131
+ ClusterName: string
7132
+
7133
+ /**
7134
+ * 集群描述
7135
+ */
7136
+ ClusterDescription: string
7137
+
7138
+ /**
7139
+ * 集群版本(默认值为1.10.5)
7140
+ */
7141
+ ClusterVersion: string
7142
+
7143
+ /**
7144
+ * 集群系统。centos7.2x86_64 或者 ubuntu16.04.1 LTSx86_64,默认取值为ubuntu16.04.1 LTSx86_64
7145
+ */
7146
+ ClusterOs: string
7147
+
7148
+ /**
7149
+ * 集群类型,托管集群:MANAGED_CLUSTER,独立集群:INDEPENDENT_CLUSTER。
7150
+ */
7151
+ ClusterType: string
7152
+
7153
+ /**
7154
+ * 集群网络相关参数
7155
+ */
7156
+ ClusterNetworkSettings: ClusterNetworkSettings
7157
+
7158
+ /**
7159
+ * 集群当前node数量
7160
+ */
7161
+ ClusterNodeNum: number
7162
+
7163
+ /**
7164
+ * 集群所属的项目ID
7165
+ */
7166
+ ProjectId: number
7167
+
7168
+ /**
7169
+ * 标签描述列表。
7170
+ 注意:此字段可能返回 null,表示取不到有效值。
7171
+ */
7172
+ TagSpecification: Array<TagSpecification>
7173
+
7174
+ /**
7175
+ * 集群状态 (Trading 集群开通中,Creating 创建中,Running 运行中,Deleting 删除中,Idling 闲置中,Recovering 唤醒中,Scaling 规模调整中,Upgrading 升级中,WaittingForConnect 等待注册,Trading 集群开通中,Isolated 欠费隔离中,Pause 集群升级暂停,NodeUpgrading 节点升级中,RuntimeUpgrading 节点运行时升级中,MasterScaling Master扩缩容中,ClusterLevelUpgrading 调整规格中,ResourceIsolate 隔离中,ResourceIsolated 已隔离,ResourceReverse 冲正中,Abnormal 异常)
7176
+ */
7177
+ ClusterStatus: string
7178
+
7179
+ /**
7180
+ * 集群属性(包括集群不同属性的MAP,属性字段包括NodeNameType (lan-ip模式和hostname 模式,默认无lan-ip模式))
7181
+ 注意:此字段可能返回 null,表示取不到有效值。
7182
+ */
7183
+ Property: string
7184
+
7185
+ /**
7186
+ * 集群当前master数量
7187
+ */
7188
+ ClusterMaterNodeNum: number
7189
+
7190
+ /**
7191
+ * 集群使用镜像id
7192
+ 注意:此字段可能返回 null,表示取不到有效值。
7193
+ */
7194
+ ImageId: string
7195
+
7196
+ /**
7197
+ * OsCustomizeType 系统定制类型
7198
+ 注意:此字段可能返回 null,表示取不到有效值。
7199
+ */
7200
+ OsCustomizeType: string
7201
+
7202
+ /**
7203
+ * 集群运行环境docker或container
7204
+ 注意:此字段可能返回 null,表示取不到有效值。
7205
+ */
7206
+ ContainerRuntime: string
7207
+
7208
+ /**
7209
+ * 创建时间
7210
+ 注意:此字段可能返回 null,表示取不到有效值。
7211
+ */
7212
+ CreatedTime: string
7213
+
7214
+ /**
7215
+ * 删除保护开关
7216
+ 注意:此字段可能返回 null,表示取不到有效值。
7217
+ */
7218
+ DeletionProtection: boolean
7219
+
7220
+ /**
7221
+ * 集群是否开启第三方节点支持
7222
+ 注意:此字段可能返回 null,表示取不到有效值。
7223
+ */
7224
+ EnableExternalNode: boolean
7225
+
7226
+ /**
7227
+ * 集群等级,针对托管集群生效
7228
+ 注意:此字段可能返回 null,表示取不到有效值。
7229
+ */
7230
+ ClusterLevel: string
7231
+
7232
+ /**
7233
+ * 自动变配集群等级,针对托管集群生效
7234
+ 注意:此字段可能返回 null,表示取不到有效值。
7235
+ */
7236
+ AutoUpgradeClusterLevel: boolean
7237
+
7238
+ /**
7239
+ * 是否开启QGPU共享
7240
+ 注意:此字段可能返回 null,表示取不到有效值。
7241
+ */
7242
+ QGPUShareEnable: boolean
7243
+
7244
+ /**
7245
+ * 运行时版本
7246
+ 注意:此字段可能返回 null,表示取不到有效值。
7247
+ */
7248
+ RuntimeVersion: string
7249
+
7250
+ /**
7251
+ * 集群当前etcd数量
7252
+ 注意:此字段可能返回 null,表示取不到有效值。
7253
+ */
7254
+ ClusterEtcdNodeNum: number
7093
7255
  }
7094
7256
 
7095
7257
  /**
@@ -8139,16 +8301,6 @@ export interface DescribeClusterAuthenticationOptionsResponse {
8139
8301
  RequestId?: string
8140
8302
  }
8141
8303
 
8142
- /**
8143
- * DeletePrometheusClusterAgent返回参数结构体
8144
- */
8145
- export interface DeletePrometheusClusterAgentResponse {
8146
- /**
8147
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8148
- */
8149
- RequestId?: string
8150
- }
8151
-
8152
8304
  /**
8153
8305
  * CreateClusterRelease请求参数结构体
8154
8306
  */
@@ -10681,23 +10833,19 @@ cluster 集群级别
10681
10833
  }
10682
10834
 
10683
10835
  /**
10684
- * CVM实例数据盘挂载配置
10836
+ * DescribeBackupStorageLocations返回参数结构体
10685
10837
  */
10686
- export interface InstanceDataDiskMountSetting {
10838
+ export interface DescribeBackupStorageLocationsResponse {
10687
10839
  /**
10688
- * CVM实例类型
10689
- */
10690
- InstanceType: string
10691
-
10692
- /**
10693
- * 数据盘挂载信息
10694
- */
10695
- DataDisks: Array<DataDisk>
10840
+ * 详细备份仓库信息
10841
+ 注意:此字段可能返回 null,表示取不到有效值。
10842
+ */
10843
+ BackupStorageLocationSet?: Array<BackupStorageLocation>
10696
10844
 
10697
10845
  /**
10698
- * CVM实例所属可用区
10846
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
10699
10847
  */
10700
- Zone: string
10848
+ RequestId?: string
10701
10849
  }
10702
10850
 
10703
10851
  /**
@@ -10974,43 +11122,13 @@ export interface DescribeEdgeCVMInstancesResponse {
10974
11122
  }
10975
11123
 
10976
11124
  /**
10977
- * 服务事件
11125
+ * DeleteBackupStorageLocation返回参数结构体
10978
11126
  */
10979
- export interface Event {
10980
- /**
10981
- * pod名称
10982
- */
10983
- PodName: string
10984
-
10985
- /**
10986
- * 事件原因内容
10987
- */
10988
- Reason: string
10989
-
10990
- /**
10991
- * 事件类型
10992
- */
10993
- Type: string
10994
-
10995
- /**
10996
- * 事件出现次数
10997
- */
10998
- Count: number
10999
-
11000
- /**
11001
- * 事件第一次出现时间
11002
- */
11003
- FirstTimestamp: string
11004
-
11005
- /**
11006
- * 事件最后一次出现时间
11007
- */
11008
- LastTimestamp: string
11009
-
11127
+ export interface DeleteBackupStorageLocationResponse {
11010
11128
  /**
11011
- * 事件内容
11129
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
11012
11130
  */
11013
- Message: string
11131
+ RequestId?: string
11014
11132
  }
11015
11133
 
11016
11134
  /**
@@ -12511,6 +12629,26 @@ export interface RouteTableConflict {
12511
12629
  RouteTableId: string
12512
12630
  }
12513
12631
 
12632
+ /**
12633
+ * CVM实例数据盘挂载配置
12634
+ */
12635
+ export interface InstanceDataDiskMountSetting {
12636
+ /**
12637
+ * CVM实例类型
12638
+ */
12639
+ InstanceType: string
12640
+
12641
+ /**
12642
+ * 数据盘挂载信息
12643
+ */
12644
+ DataDisks: Array<DataDisk>
12645
+
12646
+ /**
12647
+ * CVM实例所属可用区
12648
+ */
12649
+ Zone: string
12650
+ }
12651
+
12514
12652
  /**
12515
12653
  * 托管prometheus实例概览
12516
12654
  */
@@ -12670,3 +12808,13 @@ export interface PendingRelease {
12670
12808
  */
12671
12809
  UpdatedTime: string
12672
12810
  }
12811
+
12812
+ /**
12813
+ * DescribeBackupStorageLocations请求参数结构体
12814
+ */
12815
+ export interface DescribeBackupStorageLocationsRequest {
12816
+ /**
12817
+ * 多个备份仓库名称,如果不填写,默认返回当前地域所有存储仓库名称
12818
+ */
12819
+ Names?: Array<string>
12820
+ }