tencentcloud-sdk-nodejs-tke 4.0.697 → 4.0.699
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.
- package/CHANGELOG.md +358 -0
- package/SERVICE_CHANGELOG.md +428 -96
- package/package.json +1 -1
- package/products.md +16 -15
- package/src/services/tke/v20180525/tke_client.ts +179 -63
- package/src/services/tke/v20180525/tke_models.ts +862 -145
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +55 -19
- package/tencentcloud/services/tke/v20180525/tke_client.js +81 -27
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +844 -153
|
@@ -448,6 +448,41 @@ export interface DisableVpcCniNetworkTypeResponse {
|
|
|
448
448
|
*/
|
|
449
449
|
RequestId?: string;
|
|
450
450
|
}
|
|
451
|
+
/**
|
|
452
|
+
* 可被预留券抵扣的 Pod 某种规格的抵扣率
|
|
453
|
+
*/
|
|
454
|
+
export interface PodDeductionRate {
|
|
455
|
+
/**
|
|
456
|
+
* Pod的 CPU
|
|
457
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
458
|
+
*/
|
|
459
|
+
Cpu?: number;
|
|
460
|
+
/**
|
|
461
|
+
* Pod 的内存
|
|
462
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
463
|
+
*/
|
|
464
|
+
Memory?: number;
|
|
465
|
+
/**
|
|
466
|
+
* Pod 的类型
|
|
467
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
468
|
+
*/
|
|
469
|
+
Type?: string;
|
|
470
|
+
/**
|
|
471
|
+
* Pod 的 GPU 卡数,Pod 类型为 GPU 时有效。
|
|
472
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
473
|
+
*/
|
|
474
|
+
GpuNum?: string;
|
|
475
|
+
/**
|
|
476
|
+
* 这种规格的 Pod总数
|
|
477
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
478
|
+
*/
|
|
479
|
+
TotalNum?: number;
|
|
480
|
+
/**
|
|
481
|
+
* 这种规格的 Pod被预留券抵扣的数量
|
|
482
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
483
|
+
*/
|
|
484
|
+
DeductionNum?: number;
|
|
485
|
+
}
|
|
451
486
|
/**
|
|
452
487
|
* DescribeClusterControllers返回参数结构体
|
|
453
488
|
*/
|
|
@@ -1527,6 +1562,19 @@ export interface ExistedInstance {
|
|
|
1527
1562
|
*/
|
|
1528
1563
|
IPv6Addresses: Array<string>;
|
|
1529
1564
|
}
|
|
1565
|
+
/**
|
|
1566
|
+
* CreateReservedInstances返回参数结构体
|
|
1567
|
+
*/
|
|
1568
|
+
export interface CreateReservedInstancesResponse {
|
|
1569
|
+
/**
|
|
1570
|
+
* 预留券实例 ID。
|
|
1571
|
+
*/
|
|
1572
|
+
ReservedInstanceIds?: Array<string>;
|
|
1573
|
+
/**
|
|
1574
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1575
|
+
*/
|
|
1576
|
+
RequestId?: string;
|
|
1577
|
+
}
|
|
1530
1578
|
/**
|
|
1531
1579
|
* AddNodeToNodePool返回参数结构体
|
|
1532
1580
|
*/
|
|
@@ -1536,6 +1584,19 @@ export interface AddNodeToNodePoolResponse {
|
|
|
1536
1584
|
*/
|
|
1537
1585
|
RequestId?: string;
|
|
1538
1586
|
}
|
|
1587
|
+
/**
|
|
1588
|
+
* DescribePostNodeResources请求参数结构体
|
|
1589
|
+
*/
|
|
1590
|
+
export interface DescribePostNodeResourcesRequest {
|
|
1591
|
+
/**
|
|
1592
|
+
* 集群 ID
|
|
1593
|
+
*/
|
|
1594
|
+
ClusterId: string;
|
|
1595
|
+
/**
|
|
1596
|
+
* 节点名称
|
|
1597
|
+
*/
|
|
1598
|
+
NodeName?: string;
|
|
1599
|
+
}
|
|
1539
1600
|
/**
|
|
1540
1601
|
* 托管prometheusV2实例概览
|
|
1541
1602
|
*/
|
|
@@ -1682,34 +1743,37 @@ export interface UpdateEKSContainerInstanceRequest {
|
|
|
1682
1743
|
export interface CUDNN {
|
|
1683
1744
|
/**
|
|
1684
1745
|
* cuDNN的版本
|
|
1746
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1685
1747
|
*/
|
|
1686
1748
|
Version: string;
|
|
1687
1749
|
/**
|
|
1688
1750
|
* cuDNN的名字
|
|
1751
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1689
1752
|
*/
|
|
1690
1753
|
Name: string;
|
|
1691
1754
|
/**
|
|
1692
1755
|
* cuDNN的Doc名字
|
|
1756
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1693
1757
|
*/
|
|
1694
1758
|
DocName?: string;
|
|
1695
1759
|
/**
|
|
1696
1760
|
* cuDNN的Dev名字
|
|
1761
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1697
1762
|
*/
|
|
1698
1763
|
DevName?: string;
|
|
1699
1764
|
}
|
|
1700
1765
|
/**
|
|
1701
|
-
*
|
|
1766
|
+
* DescribeReservedInstances返回参数结构体
|
|
1702
1767
|
*/
|
|
1703
|
-
export interface
|
|
1768
|
+
export interface DescribeReservedInstancesResponse {
|
|
1704
1769
|
/**
|
|
1705
|
-
*
|
|
1770
|
+
* 总数。
|
|
1706
1771
|
*/
|
|
1707
|
-
|
|
1772
|
+
TotalCount?: number;
|
|
1708
1773
|
/**
|
|
1709
|
-
*
|
|
1710
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1774
|
+
* 预留实例列表。
|
|
1711
1775
|
*/
|
|
1712
|
-
|
|
1776
|
+
ReservedInstanceSet?: Array<ReservedInstance>;
|
|
1713
1777
|
/**
|
|
1714
1778
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1715
1779
|
*/
|
|
@@ -3243,6 +3307,55 @@ export interface NfsVolume {
|
|
|
3243
3307
|
*/
|
|
3244
3308
|
ReadOnly?: boolean;
|
|
3245
3309
|
}
|
|
3310
|
+
/**
|
|
3311
|
+
* 预留券抵扣详情
|
|
3312
|
+
*/
|
|
3313
|
+
export interface RIUtilizationDetail {
|
|
3314
|
+
/**
|
|
3315
|
+
* 预留券ID
|
|
3316
|
+
*/
|
|
3317
|
+
ReservedInstanceId: string;
|
|
3318
|
+
/**
|
|
3319
|
+
* Pod唯一ID
|
|
3320
|
+
*/
|
|
3321
|
+
EksId: string;
|
|
3322
|
+
/**
|
|
3323
|
+
* 集群ID
|
|
3324
|
+
*/
|
|
3325
|
+
ClusterId: string;
|
|
3326
|
+
/**
|
|
3327
|
+
* Pod的名称
|
|
3328
|
+
*/
|
|
3329
|
+
Name: string;
|
|
3330
|
+
/**
|
|
3331
|
+
* Pod的命名空间
|
|
3332
|
+
*/
|
|
3333
|
+
Namespace: string;
|
|
3334
|
+
/**
|
|
3335
|
+
* 工作负载类型
|
|
3336
|
+
*/
|
|
3337
|
+
Kind: string;
|
|
3338
|
+
/**
|
|
3339
|
+
* 工作负载名称
|
|
3340
|
+
*/
|
|
3341
|
+
KindName: string;
|
|
3342
|
+
/**
|
|
3343
|
+
* Pod的uid
|
|
3344
|
+
*/
|
|
3345
|
+
Uid: string;
|
|
3346
|
+
/**
|
|
3347
|
+
* 用量开始时间
|
|
3348
|
+
*/
|
|
3349
|
+
StartTime: string;
|
|
3350
|
+
/**
|
|
3351
|
+
* 用量结束时间
|
|
3352
|
+
*/
|
|
3353
|
+
EndTime: string;
|
|
3354
|
+
/**
|
|
3355
|
+
* 抵扣资源所属产品
|
|
3356
|
+
*/
|
|
3357
|
+
Product: string;
|
|
3358
|
+
}
|
|
3246
3359
|
/**
|
|
3247
3360
|
* amp告警渠道配置
|
|
3248
3361
|
*/
|
|
@@ -3317,6 +3430,36 @@ export interface PrometheusNotification {
|
|
|
3317
3430
|
*/
|
|
3318
3431
|
WebHook?: string;
|
|
3319
3432
|
}
|
|
3433
|
+
/**
|
|
3434
|
+
* DescribeRIUtilizationDetail请求参数结构体
|
|
3435
|
+
*/
|
|
3436
|
+
export interface DescribeRIUtilizationDetailRequest {
|
|
3437
|
+
/**
|
|
3438
|
+
* 偏移量,默认0。
|
|
3439
|
+
*/
|
|
3440
|
+
Offset?: number;
|
|
3441
|
+
/**
|
|
3442
|
+
* 返回数量,默认为20,最大值为100。
|
|
3443
|
+
*/
|
|
3444
|
+
Limit?: number;
|
|
3445
|
+
/**
|
|
3446
|
+
* reserved-instance-id
|
|
3447
|
+
按照**【预留实例ID**】进行过滤。预留实例ID形如:eksri-xxxxxxxx。
|
|
3448
|
+
类型:String
|
|
3449
|
+
必选:否
|
|
3450
|
+
|
|
3451
|
+
begin-time
|
|
3452
|
+
按照**【抵扣开始时间**】进行过滤。形如:2023-06-28 15:27:40。
|
|
3453
|
+
类型:String
|
|
3454
|
+
必选:否
|
|
3455
|
+
|
|
3456
|
+
end-time
|
|
3457
|
+
按照**【抵扣结束时间**】进行过滤。形如:2023-06-28 15:27:40。
|
|
3458
|
+
类型:String
|
|
3459
|
+
必选:否
|
|
3460
|
+
*/
|
|
3461
|
+
Filters?: Array<Filter>;
|
|
3462
|
+
}
|
|
3320
3463
|
/**
|
|
3321
3464
|
* 集群创建过程
|
|
3322
3465
|
*/
|
|
@@ -3400,94 +3543,124 @@ export interface NodePool {
|
|
|
3400
3543
|
/**
|
|
3401
3544
|
* NodePoolId 资源池id
|
|
3402
3545
|
*/
|
|
3403
|
-
NodePoolId
|
|
3546
|
+
NodePoolId?: string;
|
|
3404
3547
|
/**
|
|
3405
3548
|
* Name 资源池名称
|
|
3406
3549
|
*/
|
|
3407
|
-
Name
|
|
3550
|
+
Name?: string;
|
|
3408
3551
|
/**
|
|
3409
3552
|
* ClusterInstanceId 集群实例id
|
|
3410
3553
|
*/
|
|
3411
|
-
ClusterInstanceId
|
|
3554
|
+
ClusterInstanceId?: string;
|
|
3412
3555
|
/**
|
|
3413
3556
|
* LifeState 状态,当前节点池生命周期状态包括:creating,normal,updating,deleting,deleted
|
|
3414
3557
|
*/
|
|
3415
|
-
LifeState
|
|
3558
|
+
LifeState?: string;
|
|
3416
3559
|
/**
|
|
3417
3560
|
* LaunchConfigurationId 配置
|
|
3418
3561
|
*/
|
|
3419
|
-
LaunchConfigurationId
|
|
3562
|
+
LaunchConfigurationId?: string;
|
|
3420
3563
|
/**
|
|
3421
3564
|
* AutoscalingGroupId 分组id
|
|
3422
3565
|
*/
|
|
3423
|
-
AutoscalingGroupId
|
|
3566
|
+
AutoscalingGroupId?: string;
|
|
3424
3567
|
/**
|
|
3425
3568
|
* Labels 标签
|
|
3426
3569
|
*/
|
|
3427
|
-
Labels
|
|
3570
|
+
Labels?: Array<Label>;
|
|
3428
3571
|
/**
|
|
3429
3572
|
* Taints 污点标记
|
|
3430
3573
|
*/
|
|
3431
|
-
Taints
|
|
3574
|
+
Taints?: Array<Taint>;
|
|
3432
3575
|
/**
|
|
3433
3576
|
* NodeCountSummary 节点列表
|
|
3434
3577
|
*/
|
|
3435
|
-
NodeCountSummary
|
|
3578
|
+
NodeCountSummary?: NodeCountSummary;
|
|
3436
3579
|
/**
|
|
3437
3580
|
* 状态信息
|
|
3438
3581
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3439
3582
|
*/
|
|
3440
|
-
AutoscalingGroupStatus
|
|
3583
|
+
AutoscalingGroupStatus?: string;
|
|
3441
3584
|
/**
|
|
3442
3585
|
* 最大节点数量
|
|
3443
3586
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3444
3587
|
*/
|
|
3445
|
-
MaxNodesNum
|
|
3588
|
+
MaxNodesNum?: number;
|
|
3446
3589
|
/**
|
|
3447
3590
|
* 最小节点数量
|
|
3448
3591
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3449
3592
|
*/
|
|
3450
|
-
MinNodesNum
|
|
3593
|
+
MinNodesNum?: number;
|
|
3451
3594
|
/**
|
|
3452
3595
|
* 期望的节点数量
|
|
3453
3596
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3454
3597
|
*/
|
|
3455
|
-
DesiredNodesNum
|
|
3598
|
+
DesiredNodesNum?: number;
|
|
3456
3599
|
/**
|
|
3457
3600
|
* 节点池osName
|
|
3458
3601
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3459
3602
|
*/
|
|
3460
|
-
NodePoolOs
|
|
3603
|
+
NodePoolOs?: string;
|
|
3461
3604
|
/**
|
|
3462
3605
|
* 容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)
|
|
3463
3606
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3464
3607
|
*/
|
|
3465
|
-
OsCustomizeType
|
|
3608
|
+
OsCustomizeType?: string;
|
|
3466
3609
|
/**
|
|
3467
3610
|
* 镜像id
|
|
3468
3611
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3469
3612
|
*/
|
|
3470
|
-
ImageId
|
|
3613
|
+
ImageId?: string;
|
|
3471
3614
|
/**
|
|
3472
3615
|
* 集群属于节点podCIDR大小自定义模式时,节点池需要带上pod数量属性
|
|
3473
3616
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3474
3617
|
*/
|
|
3475
|
-
DesiredPodNum
|
|
3618
|
+
DesiredPodNum?: number;
|
|
3476
3619
|
/**
|
|
3477
3620
|
* 用户自定义脚本
|
|
3478
3621
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3479
3622
|
*/
|
|
3480
|
-
UserScript
|
|
3623
|
+
UserScript?: string;
|
|
3481
3624
|
/**
|
|
3482
3625
|
* 资源标签
|
|
3483
3626
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3484
3627
|
*/
|
|
3485
|
-
Tags
|
|
3628
|
+
Tags?: Array<Tag>;
|
|
3486
3629
|
/**
|
|
3487
3630
|
* 删除保护开关
|
|
3488
3631
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3489
3632
|
*/
|
|
3490
|
-
DeletionProtection
|
|
3633
|
+
DeletionProtection?: boolean;
|
|
3634
|
+
/**
|
|
3635
|
+
* 节点配置
|
|
3636
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3637
|
+
*/
|
|
3638
|
+
ExtraArgs?: InstanceExtraArgs;
|
|
3639
|
+
/**
|
|
3640
|
+
* GPU驱动相关参数
|
|
3641
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3642
|
+
*/
|
|
3643
|
+
GPUArgs?: GPUArgs;
|
|
3644
|
+
/**
|
|
3645
|
+
* dockerd --graph 指定值, 默认为 /var/lib/docker
|
|
3646
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3647
|
+
*/
|
|
3648
|
+
DockerGraphPath?: string;
|
|
3649
|
+
/**
|
|
3650
|
+
* 多盘数据盘挂载信息:新建节点时请确保购买CVM的参数传递了购买多个数据盘的信息,如CreateClusterInstances API的RunInstancesPara下的DataDisks也需要设置购买多个数据盘, 具体可以参考CreateClusterInstances接口的添加集群节点(多块数据盘)样例;添加已有节点时,请确保填写的分区信息在节点上真实存在
|
|
3651
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3652
|
+
*/
|
|
3653
|
+
DataDisks?: Array<DataDisk>;
|
|
3654
|
+
/**
|
|
3655
|
+
* 是否不可调度
|
|
3656
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3657
|
+
*/
|
|
3658
|
+
Unschedulable?: number;
|
|
3659
|
+
/**
|
|
3660
|
+
* 用户自定义脚本,在UserScript前执行
|
|
3661
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3662
|
+
*/
|
|
3663
|
+
PreStartUserScript?: string;
|
|
3491
3664
|
}
|
|
3492
3665
|
/**
|
|
3493
3666
|
* DescribeEKSClusters返回参数结构体
|
|
@@ -3857,6 +4030,19 @@ export interface DisableClusterAuditRequest {
|
|
|
3857
4030
|
*/
|
|
3858
4031
|
DeleteLogSetAndTopic?: boolean;
|
|
3859
4032
|
}
|
|
4033
|
+
/**
|
|
4034
|
+
* SyncPrometheusTemp请求参数结构体
|
|
4035
|
+
*/
|
|
4036
|
+
export interface SyncPrometheusTempRequest {
|
|
4037
|
+
/**
|
|
4038
|
+
* 实例id
|
|
4039
|
+
*/
|
|
4040
|
+
TemplateId: string;
|
|
4041
|
+
/**
|
|
4042
|
+
* 同步目标
|
|
4043
|
+
*/
|
|
4044
|
+
Targets: Array<PrometheusTemplateSyncTarget>;
|
|
4045
|
+
}
|
|
3860
4046
|
/**
|
|
3861
4047
|
* DeleteBackupStorageLocation返回参数结构体
|
|
3862
4048
|
*/
|
|
@@ -4067,6 +4253,19 @@ export interface RollbackClusterReleaseRequest {
|
|
|
4067
4253
|
*/
|
|
4068
4254
|
ClusterType?: string;
|
|
4069
4255
|
}
|
|
4256
|
+
/**
|
|
4257
|
+
* DescribePodDeductionRate返回参数结构体
|
|
4258
|
+
*/
|
|
4259
|
+
export interface DescribePodDeductionRateResponse {
|
|
4260
|
+
/**
|
|
4261
|
+
* 各个规格的 可被预留券抵扣的Pod 抵扣率
|
|
4262
|
+
*/
|
|
4263
|
+
PodDeductionRateSet?: Array<PodDeductionRate>;
|
|
4264
|
+
/**
|
|
4265
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4266
|
+
*/
|
|
4267
|
+
RequestId?: string;
|
|
4268
|
+
}
|
|
4070
4269
|
/**
|
|
4071
4270
|
* DeleteClusterInstances请求参数结构体
|
|
4072
4271
|
*/
|
|
@@ -4115,10 +4314,12 @@ export interface UpgradeNodeResetParam {
|
|
|
4115
4314
|
export interface DriverVersion {
|
|
4116
4315
|
/**
|
|
4117
4316
|
* GPU驱动或者CUDA的版本
|
|
4317
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4118
4318
|
*/
|
|
4119
4319
|
Version: string;
|
|
4120
4320
|
/**
|
|
4121
4321
|
* GPU驱动或者CUDA的名字
|
|
4322
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4122
4323
|
*/
|
|
4123
4324
|
Name: string;
|
|
4124
4325
|
}
|
|
@@ -4650,6 +4851,15 @@ export interface DescribeResourceUsageResponse {
|
|
|
4650
4851
|
*/
|
|
4651
4852
|
RequestId?: string;
|
|
4652
4853
|
}
|
|
4854
|
+
/**
|
|
4855
|
+
* RenewReservedInstances返回参数结构体
|
|
4856
|
+
*/
|
|
4857
|
+
export interface RenewReservedInstancesResponse {
|
|
4858
|
+
/**
|
|
4859
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4860
|
+
*/
|
|
4861
|
+
RequestId?: string;
|
|
4862
|
+
}
|
|
4653
4863
|
/**
|
|
4654
4864
|
* 边缘计算集群内网访问LB信息
|
|
4655
4865
|
*/
|
|
@@ -4665,6 +4875,27 @@ export interface EdgeClusterInternalLB {
|
|
|
4665
4875
|
*/
|
|
4666
4876
|
SubnetId?: Array<string>;
|
|
4667
4877
|
}
|
|
4878
|
+
/**
|
|
4879
|
+
* 预留券抵扣范围的描述信息,当抵扣范围为 Region 时,表示地域抵扣,其他参数不需要传;当抵扣范围为 Zone 时,表示可用区抵扣,Zone 参数必传;当抵扣范围为 Node 时,表示节点抵扣,参数 Zone、ClusterId和NodeName均必传。
|
|
4880
|
+
*/
|
|
4881
|
+
export interface ReservedInstanceScope {
|
|
4882
|
+
/**
|
|
4883
|
+
* 抵扣范围,取值:Region、Zone 和 Node
|
|
4884
|
+
*/
|
|
4885
|
+
Scope: string;
|
|
4886
|
+
/**
|
|
4887
|
+
* 可用区
|
|
4888
|
+
*/
|
|
4889
|
+
Zone?: string;
|
|
4890
|
+
/**
|
|
4891
|
+
* 集群 ID
|
|
4892
|
+
*/
|
|
4893
|
+
ClusterId?: string;
|
|
4894
|
+
/**
|
|
4895
|
+
* 节点名称
|
|
4896
|
+
*/
|
|
4897
|
+
NodeName?: string;
|
|
4898
|
+
}
|
|
4668
4899
|
/**
|
|
4669
4900
|
* DescribeAvailableClusterVersion请求参数结构体
|
|
4670
4901
|
*/
|
|
@@ -4784,6 +5015,26 @@ export interface DescribeEdgeLogSwitchesRequest {
|
|
|
4784
5015
|
*/
|
|
4785
5016
|
ClusterIds: Array<string>;
|
|
4786
5017
|
}
|
|
5018
|
+
/**
|
|
5019
|
+
* 边缘容器集群高级配置
|
|
5020
|
+
*/
|
|
5021
|
+
export interface EdgeClusterAdvancedSettings {
|
|
5022
|
+
/**
|
|
5023
|
+
* 集群自定义参数
|
|
5024
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5025
|
+
*/
|
|
5026
|
+
ExtraArgs?: EdgeClusterExtraArgs;
|
|
5027
|
+
/**
|
|
5028
|
+
* 运行时类型,支持"docker"和"containerd",默认为docker
|
|
5029
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5030
|
+
*/
|
|
5031
|
+
Runtime?: string;
|
|
5032
|
+
/**
|
|
5033
|
+
* 集群kube-proxy转发模式,支持"iptables"和"ipvs",默认为iptables
|
|
5034
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5035
|
+
*/
|
|
5036
|
+
ProxyMode?: string;
|
|
5037
|
+
}
|
|
4787
5038
|
/**
|
|
4788
5039
|
* EnableEncryptionProtection返回参数结构体
|
|
4789
5040
|
*/
|
|
@@ -5221,6 +5472,36 @@ export interface ModifyClusterVirtualNodePoolResponse {
|
|
|
5221
5472
|
*/
|
|
5222
5473
|
RequestId?: string;
|
|
5223
5474
|
}
|
|
5475
|
+
/**
|
|
5476
|
+
* 超级节点上的资源统计
|
|
5477
|
+
*/
|
|
5478
|
+
export interface SuperNodeResource {
|
|
5479
|
+
/**
|
|
5480
|
+
* 节点名称
|
|
5481
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5482
|
+
*/
|
|
5483
|
+
NodeName?: string;
|
|
5484
|
+
/**
|
|
5485
|
+
* 节点上的资源总数
|
|
5486
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5487
|
+
*/
|
|
5488
|
+
Num?: number;
|
|
5489
|
+
/**
|
|
5490
|
+
* 节点上的总核数
|
|
5491
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5492
|
+
*/
|
|
5493
|
+
Cpu?: number;
|
|
5494
|
+
/**
|
|
5495
|
+
* 节点上的总内存数
|
|
5496
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5497
|
+
*/
|
|
5498
|
+
Memory?: number;
|
|
5499
|
+
/**
|
|
5500
|
+
* 节点上的总 GPU 卡数
|
|
5501
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5502
|
+
*/
|
|
5503
|
+
Gpu?: number;
|
|
5504
|
+
}
|
|
5224
5505
|
/**
|
|
5225
5506
|
* 节点升级过程中集群当前状态
|
|
5226
5507
|
*/
|
|
@@ -5959,25 +6240,120 @@ export interface DescribePrometheusRecordRulesResponse {
|
|
|
5959
6240
|
RequestId?: string;
|
|
5960
6241
|
}
|
|
5961
6242
|
/**
|
|
5962
|
-
*
|
|
6243
|
+
* 集群高级配置
|
|
5963
6244
|
*/
|
|
5964
|
-
export interface
|
|
6245
|
+
export interface ClusterAdvancedSettings {
|
|
5965
6246
|
/**
|
|
5966
|
-
*
|
|
6247
|
+
* 是否启用IPVS
|
|
5967
6248
|
*/
|
|
5968
|
-
|
|
5969
|
-
}
|
|
5970
|
-
/**
|
|
5971
|
-
* cloudrun安全特性
|
|
5972
|
-
*/
|
|
5973
|
-
export interface SecurityContext {
|
|
6249
|
+
IPVS?: boolean;
|
|
5974
6250
|
/**
|
|
5975
|
-
*
|
|
5976
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6251
|
+
* 是否启用集群节点自动扩缩容(创建集群流程不支持开启此功能)
|
|
5977
6252
|
*/
|
|
5978
|
-
|
|
5979
|
-
|
|
5980
|
-
|
|
6253
|
+
AsEnabled?: boolean;
|
|
6254
|
+
/**
|
|
6255
|
+
* 集群使用的runtime类型,包括"docker"和"containerd"两种类型,默认为"docker"
|
|
6256
|
+
*/
|
|
6257
|
+
ContainerRuntime?: string;
|
|
6258
|
+
/**
|
|
6259
|
+
* 集群中节点NodeName类型(包括 hostname,lan-ip两种形式,默认为lan-ip。如果开启了hostname模式,创建节点时需要设置HostName参数,并且InstanceName需要和HostName一致)
|
|
6260
|
+
*/
|
|
6261
|
+
NodeNameType?: string;
|
|
6262
|
+
/**
|
|
6263
|
+
* 集群自定义参数
|
|
6264
|
+
*/
|
|
6265
|
+
ExtraArgs?: ClusterExtraArgs;
|
|
6266
|
+
/**
|
|
6267
|
+
* 集群网络类型(包括GR(全局路由)和VPC-CNI两种模式,默认为GR。
|
|
6268
|
+
*/
|
|
6269
|
+
NetworkType?: string;
|
|
6270
|
+
/**
|
|
6271
|
+
* 集群VPC-CNI模式是否为非固定IP,默认: FALSE 固定IP。
|
|
6272
|
+
*/
|
|
6273
|
+
IsNonStaticIpMode?: boolean;
|
|
6274
|
+
/**
|
|
6275
|
+
* 是否启用集群删除保护
|
|
6276
|
+
*/
|
|
6277
|
+
DeletionProtection?: boolean;
|
|
6278
|
+
/**
|
|
6279
|
+
* 集群的网络代理模型,目前tke集群支持的网络代理模式有三种:iptables,ipvs,ipvs-bpf,此参数仅在使用ipvs-bpf模式时使用,三种网络模式的参数设置关系如下:
|
|
6280
|
+
iptables模式:IPVS和KubeProxyMode都不设置
|
|
6281
|
+
ipvs模式: 设置IPVS为true, KubeProxyMode不设置
|
|
6282
|
+
ipvs-bpf模式: 设置KubeProxyMode为kube-proxy-bpf
|
|
6283
|
+
使用ipvs-bpf的网络模式需要满足以下条件:
|
|
6284
|
+
1. 集群版本必须为1.14及以上;
|
|
6285
|
+
2. 系统镜像必须是: Tencent Linux 2.4;
|
|
6286
|
+
*/
|
|
6287
|
+
KubeProxyMode?: string;
|
|
6288
|
+
/**
|
|
6289
|
+
* 是否开启审计开关
|
|
6290
|
+
*/
|
|
6291
|
+
AuditEnabled?: boolean;
|
|
6292
|
+
/**
|
|
6293
|
+
* 审计日志上传到的logset日志集
|
|
6294
|
+
*/
|
|
6295
|
+
AuditLogsetId?: string;
|
|
6296
|
+
/**
|
|
6297
|
+
* 审计日志上传到的topic
|
|
6298
|
+
*/
|
|
6299
|
+
AuditLogTopicId?: string;
|
|
6300
|
+
/**
|
|
6301
|
+
* 区分共享网卡多IP模式和独立网卡模式,共享网卡多 IP 模式填写"tke-route-eni",独立网卡模式填写"tke-direct-eni",默认为共享网卡模式
|
|
6302
|
+
*/
|
|
6303
|
+
VpcCniType?: string;
|
|
6304
|
+
/**
|
|
6305
|
+
* 运行时版本
|
|
6306
|
+
*/
|
|
6307
|
+
RuntimeVersion?: string;
|
|
6308
|
+
/**
|
|
6309
|
+
* 是否开节点podCIDR大小的自定义模式
|
|
6310
|
+
*/
|
|
6311
|
+
EnableCustomizedPodCIDR?: boolean;
|
|
6312
|
+
/**
|
|
6313
|
+
* 自定义模式下的基础pod数量
|
|
6314
|
+
*/
|
|
6315
|
+
BasePodNumber?: number;
|
|
6316
|
+
/**
|
|
6317
|
+
* 启用 CiliumMode 的模式,空值表示不启用,“clusterIP” 表示启用 Cilium 支持 ClusterIP
|
|
6318
|
+
*/
|
|
6319
|
+
CiliumMode?: string;
|
|
6320
|
+
/**
|
|
6321
|
+
* 集群VPC-CNI模式下是否是双栈集群,默认false,表明非双栈集群。
|
|
6322
|
+
*/
|
|
6323
|
+
IsDualStack?: boolean;
|
|
6324
|
+
/**
|
|
6325
|
+
* 是否开启QGPU共享
|
|
6326
|
+
*/
|
|
6327
|
+
QGPUShareEnable?: boolean;
|
|
6328
|
+
}
|
|
6329
|
+
/**
|
|
6330
|
+
* DescribePodsBySpec返回参数结构体
|
|
6331
|
+
*/
|
|
6332
|
+
export interface DescribePodsBySpecResponse {
|
|
6333
|
+
/**
|
|
6334
|
+
* Pod 总数
|
|
6335
|
+
*/
|
|
6336
|
+
TotalCount?: number;
|
|
6337
|
+
/**
|
|
6338
|
+
* Pod 节点信息
|
|
6339
|
+
*/
|
|
6340
|
+
PodSet?: Array<PodNodeInfo>;
|
|
6341
|
+
/**
|
|
6342
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6343
|
+
*/
|
|
6344
|
+
RequestId?: string;
|
|
6345
|
+
}
|
|
6346
|
+
/**
|
|
6347
|
+
* cloudrun安全特性
|
|
6348
|
+
*/
|
|
6349
|
+
export interface SecurityContext {
|
|
6350
|
+
/**
|
|
6351
|
+
* 安全能力清单
|
|
6352
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6353
|
+
*/
|
|
6354
|
+
Capabilities?: Capabilities;
|
|
6355
|
+
}
|
|
6356
|
+
/**
|
|
5981
6357
|
* 自定义DNS配置
|
|
5982
6358
|
*/
|
|
5983
6359
|
export interface DNSConfig {
|
|
@@ -6106,6 +6482,31 @@ export interface AddNodeToNodePoolRequest {
|
|
|
6106
6482
|
*/
|
|
6107
6483
|
InstanceIds: Array<string>;
|
|
6108
6484
|
}
|
|
6485
|
+
/**
|
|
6486
|
+
* CreateReservedInstances请求参数结构体
|
|
6487
|
+
*/
|
|
6488
|
+
export interface CreateReservedInstancesRequest {
|
|
6489
|
+
/**
|
|
6490
|
+
* 预留券实例规格。
|
|
6491
|
+
*/
|
|
6492
|
+
ReservedInstanceSpec: ReservedInstanceSpec;
|
|
6493
|
+
/**
|
|
6494
|
+
* 购买实例数量,一次最大购买数量为300。
|
|
6495
|
+
*/
|
|
6496
|
+
InstanceCount: number;
|
|
6497
|
+
/**
|
|
6498
|
+
* 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。
|
|
6499
|
+
*/
|
|
6500
|
+
InstanceChargePrepaid: InstanceChargePrepaid;
|
|
6501
|
+
/**
|
|
6502
|
+
* 预留券名称。
|
|
6503
|
+
*/
|
|
6504
|
+
InstanceName?: string;
|
|
6505
|
+
/**
|
|
6506
|
+
* 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
|
6507
|
+
*/
|
|
6508
|
+
ClientToken?: string;
|
|
6509
|
+
}
|
|
6109
6510
|
/**
|
|
6110
6511
|
* DescribeExternalClusterSpec请求参数结构体
|
|
6111
6512
|
*/
|
|
@@ -6153,6 +6554,15 @@ export interface UninstallClusterReleaseRequest {
|
|
|
6153
6554
|
*/
|
|
6154
6555
|
ClusterType?: string;
|
|
6155
6556
|
}
|
|
6557
|
+
/**
|
|
6558
|
+
* ModifyPrometheusTemp返回参数结构体
|
|
6559
|
+
*/
|
|
6560
|
+
export interface ModifyPrometheusTempResponse {
|
|
6561
|
+
/**
|
|
6562
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6563
|
+
*/
|
|
6564
|
+
RequestId?: string;
|
|
6565
|
+
}
|
|
6156
6566
|
/**
|
|
6157
6567
|
* 虚拟节点
|
|
6158
6568
|
*/
|
|
@@ -6175,6 +6585,36 @@ export interface VirtualNode {
|
|
|
6175
6585
|
*/
|
|
6176
6586
|
CreatedTime: string;
|
|
6177
6587
|
}
|
|
6588
|
+
/**
|
|
6589
|
+
* Pod所在的节点信息
|
|
6590
|
+
*/
|
|
6591
|
+
export interface PodNodeInfo {
|
|
6592
|
+
/**
|
|
6593
|
+
* 集群 ID
|
|
6594
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6595
|
+
*/
|
|
6596
|
+
ClusterId?: string;
|
|
6597
|
+
/**
|
|
6598
|
+
* 节点名称
|
|
6599
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6600
|
+
*/
|
|
6601
|
+
NodeName?: string;
|
|
6602
|
+
/**
|
|
6603
|
+
* 可用区
|
|
6604
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6605
|
+
*/
|
|
6606
|
+
Zone?: string;
|
|
6607
|
+
/**
|
|
6608
|
+
* 命名空间
|
|
6609
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6610
|
+
*/
|
|
6611
|
+
Namespace?: string;
|
|
6612
|
+
/**
|
|
6613
|
+
* Pod 名称
|
|
6614
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6615
|
+
*/
|
|
6616
|
+
Name?: string;
|
|
6617
|
+
}
|
|
6178
6618
|
/**
|
|
6179
6619
|
* ForwardTKEEdgeApplicationRequestV3返回参数结构体
|
|
6180
6620
|
*/
|
|
@@ -6487,6 +6927,23 @@ export interface DeleteEKSClusterResponse {
|
|
|
6487
6927
|
*/
|
|
6488
6928
|
RequestId?: string;
|
|
6489
6929
|
}
|
|
6930
|
+
/**
|
|
6931
|
+
* RenewReservedInstances请求参数结构体
|
|
6932
|
+
*/
|
|
6933
|
+
export interface RenewReservedInstancesRequest {
|
|
6934
|
+
/**
|
|
6935
|
+
* 预留券实例ID,每次请求实例的上限为100。
|
|
6936
|
+
*/
|
|
6937
|
+
ReservedInstanceIds: Array<string>;
|
|
6938
|
+
/**
|
|
6939
|
+
* 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的续费时长、是否设置自动续费等属性。
|
|
6940
|
+
*/
|
|
6941
|
+
InstanceChargePrepaid: InstanceChargePrepaid;
|
|
6942
|
+
/**
|
|
6943
|
+
* 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
|
|
6944
|
+
*/
|
|
6945
|
+
ClientToken?: string;
|
|
6946
|
+
}
|
|
6490
6947
|
/**
|
|
6491
6948
|
* 版本信息
|
|
6492
6949
|
*/
|
|
@@ -7237,6 +7694,23 @@ export interface DescribeRouteTableConflictsResponse {
|
|
|
7237
7694
|
*/
|
|
7238
7695
|
RequestId?: string;
|
|
7239
7696
|
}
|
|
7697
|
+
/**
|
|
7698
|
+
* DescribePostNodeResources返回参数结构体
|
|
7699
|
+
*/
|
|
7700
|
+
export interface DescribePostNodeResourcesResponse {
|
|
7701
|
+
/**
|
|
7702
|
+
* Pod详情
|
|
7703
|
+
*/
|
|
7704
|
+
PodSet?: Array<SuperNodeResource>;
|
|
7705
|
+
/**
|
|
7706
|
+
* 预留券详情
|
|
7707
|
+
*/
|
|
7708
|
+
ReservedInstanceSet?: Array<SuperNodeResource>;
|
|
7709
|
+
/**
|
|
7710
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7711
|
+
*/
|
|
7712
|
+
RequestId?: string;
|
|
7713
|
+
}
|
|
7240
7714
|
/**
|
|
7241
7715
|
* DescribePrometheusAlertRule请求参数结构体
|
|
7242
7716
|
*/
|
|
@@ -8026,17 +8500,22 @@ export interface ECMRunMonitorServiceEnabled {
|
|
|
8026
8500
|
Enabled?: boolean;
|
|
8027
8501
|
}
|
|
8028
8502
|
/**
|
|
8029
|
-
*
|
|
8503
|
+
* GetMostSuitableImageCache返回参数结构体
|
|
8030
8504
|
*/
|
|
8031
|
-
export interface
|
|
8505
|
+
export interface GetMostSuitableImageCacheResponse {
|
|
8032
8506
|
/**
|
|
8033
|
-
*
|
|
8507
|
+
* 是否有匹配的镜像缓存
|
|
8034
8508
|
*/
|
|
8035
|
-
|
|
8509
|
+
Found: boolean;
|
|
8036
8510
|
/**
|
|
8037
|
-
*
|
|
8511
|
+
* 匹配的镜像缓存
|
|
8512
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8038
8513
|
*/
|
|
8039
|
-
|
|
8514
|
+
ImageCache: ImageCache;
|
|
8515
|
+
/**
|
|
8516
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8517
|
+
*/
|
|
8518
|
+
RequestId?: string;
|
|
8040
8519
|
}
|
|
8041
8520
|
/**
|
|
8042
8521
|
* ModifyClusterEndpointSP返回参数结构体
|
|
@@ -8501,9 +8980,17 @@ export interface CreatePrometheusGlobalNotificationRequest {
|
|
|
8501
8980
|
Notification: PrometheusNotificationItem;
|
|
8502
8981
|
}
|
|
8503
8982
|
/**
|
|
8504
|
-
*
|
|
8983
|
+
* DescribeRIUtilizationDetail返回参数结构体
|
|
8505
8984
|
*/
|
|
8506
|
-
export interface
|
|
8985
|
+
export interface DescribeRIUtilizationDetailResponse {
|
|
8986
|
+
/**
|
|
8987
|
+
* 总数。
|
|
8988
|
+
*/
|
|
8989
|
+
TotalCount?: number;
|
|
8990
|
+
/**
|
|
8991
|
+
* 详情。
|
|
8992
|
+
*/
|
|
8993
|
+
RIUtilizationDetailSet?: Array<RIUtilizationDetail>;
|
|
8507
8994
|
/**
|
|
8508
8995
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8509
8996
|
*/
|
|
@@ -9159,6 +9646,23 @@ export interface DrainClusterVirtualNodeResponse {
|
|
|
9159
9646
|
*/
|
|
9160
9647
|
RequestId?: string;
|
|
9161
9648
|
}
|
|
9649
|
+
/**
|
|
9650
|
+
* ECM实例可用区及对应的实例创建数目及运营商的组合
|
|
9651
|
+
*/
|
|
9652
|
+
export interface ECMZoneInstanceCountISP {
|
|
9653
|
+
/**
|
|
9654
|
+
* 创建实例的可用区
|
|
9655
|
+
*/
|
|
9656
|
+
Zone: string;
|
|
9657
|
+
/**
|
|
9658
|
+
* 在当前可用区欲创建的实例数目
|
|
9659
|
+
*/
|
|
9660
|
+
InstanceCount: number;
|
|
9661
|
+
/**
|
|
9662
|
+
* 运营商
|
|
9663
|
+
*/
|
|
9664
|
+
ISP: string;
|
|
9665
|
+
}
|
|
9162
9666
|
/**
|
|
9163
9667
|
* DescribeVpcCniPodLimits返回参数结构体
|
|
9164
9668
|
*/
|
|
@@ -9426,21 +9930,26 @@ export interface TaskStepInfo {
|
|
|
9426
9930
|
FailedMsg: string;
|
|
9427
9931
|
}
|
|
9428
9932
|
/**
|
|
9429
|
-
*
|
|
9933
|
+
* DeletePrometheusAlertRule请求参数结构体
|
|
9430
9934
|
*/
|
|
9431
|
-
export interface
|
|
9935
|
+
export interface DeletePrometheusAlertRuleRequest {
|
|
9432
9936
|
/**
|
|
9433
|
-
*
|
|
9937
|
+
* 实例id
|
|
9434
9938
|
*/
|
|
9435
|
-
|
|
9939
|
+
InstanceId: string;
|
|
9436
9940
|
/**
|
|
9437
|
-
*
|
|
9941
|
+
* 告警规则id列表
|
|
9438
9942
|
*/
|
|
9439
|
-
|
|
9943
|
+
AlertIds: Array<string>;
|
|
9944
|
+
}
|
|
9945
|
+
/**
|
|
9946
|
+
* ModifyReservedInstanceScope返回参数结构体
|
|
9947
|
+
*/
|
|
9948
|
+
export interface ModifyReservedInstanceScopeResponse {
|
|
9440
9949
|
/**
|
|
9441
|
-
*
|
|
9950
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
9442
9951
|
*/
|
|
9443
|
-
|
|
9952
|
+
RequestId?: string;
|
|
9444
9953
|
}
|
|
9445
9954
|
/**
|
|
9446
9955
|
* DescribeRouteTableConflicts请求参数结构体
|
|
@@ -9745,6 +10254,15 @@ export interface UpdateClusterKubeconfigRequest {
|
|
|
9745
10254
|
*/
|
|
9746
10255
|
SubAccounts?: Array<string>;
|
|
9747
10256
|
}
|
|
10257
|
+
/**
|
|
10258
|
+
* DeleteReservedInstances请求参数结构体
|
|
10259
|
+
*/
|
|
10260
|
+
export interface DeleteReservedInstancesRequest {
|
|
10261
|
+
/**
|
|
10262
|
+
* 预留券实例ID。
|
|
10263
|
+
*/
|
|
10264
|
+
ReservedInstanceIds: Array<string>;
|
|
10265
|
+
}
|
|
9748
10266
|
/**
|
|
9749
10267
|
* DescribePrometheusGlobalConfig请求参数结构体
|
|
9750
10268
|
*/
|
|
@@ -9792,11 +10310,11 @@ export interface DescribeClusterNodePoolsResponse {
|
|
|
9792
10310
|
* NodePools(节点池列表)
|
|
9793
10311
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9794
10312
|
*/
|
|
9795
|
-
NodePoolSet
|
|
10313
|
+
NodePoolSet?: Array<NodePool>;
|
|
9796
10314
|
/**
|
|
9797
10315
|
* 资源总数
|
|
9798
10316
|
*/
|
|
9799
|
-
TotalCount
|
|
10317
|
+
TotalCount?: number;
|
|
9800
10318
|
/**
|
|
9801
10319
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
9802
10320
|
*/
|
|
@@ -9881,6 +10399,75 @@ export interface ModifyNodePoolDesiredCapacityAboutAsgRequest {
|
|
|
9881
10399
|
*/
|
|
9882
10400
|
DesiredCapacity: number;
|
|
9883
10401
|
}
|
|
10402
|
+
/**
|
|
10403
|
+
* 预留实例
|
|
10404
|
+
*/
|
|
10405
|
+
export interface ReservedInstance {
|
|
10406
|
+
/**
|
|
10407
|
+
* 预留实例ID
|
|
10408
|
+
*/
|
|
10409
|
+
ReservedInstanceId: string;
|
|
10410
|
+
/**
|
|
10411
|
+
* 预留实例名称
|
|
10412
|
+
*/
|
|
10413
|
+
ReservedInstanceName: string;
|
|
10414
|
+
/**
|
|
10415
|
+
* 预留券状态
|
|
10416
|
+
*/
|
|
10417
|
+
Status: string;
|
|
10418
|
+
/**
|
|
10419
|
+
* 有效期,单位:月
|
|
10420
|
+
*/
|
|
10421
|
+
TimeSpan: number;
|
|
10422
|
+
/**
|
|
10423
|
+
* 抵扣资源类型
|
|
10424
|
+
*/
|
|
10425
|
+
ResourceType: string;
|
|
10426
|
+
/**
|
|
10427
|
+
* 资源核数
|
|
10428
|
+
*/
|
|
10429
|
+
Cpu: number;
|
|
10430
|
+
/**
|
|
10431
|
+
* 资源内存,单位:Gi
|
|
10432
|
+
*/
|
|
10433
|
+
Memory: number;
|
|
10434
|
+
/**
|
|
10435
|
+
* 预留券的范围,默认值region。
|
|
10436
|
+
*/
|
|
10437
|
+
Scope: string;
|
|
10438
|
+
/**
|
|
10439
|
+
* 创建时间
|
|
10440
|
+
*/
|
|
10441
|
+
CreatedAt: string;
|
|
10442
|
+
/**
|
|
10443
|
+
* 生效时间
|
|
10444
|
+
*/
|
|
10445
|
+
ActiveAt: string;
|
|
10446
|
+
/**
|
|
10447
|
+
* 过期时间
|
|
10448
|
+
*/
|
|
10449
|
+
ExpireAt: string;
|
|
10450
|
+
/**
|
|
10451
|
+
* GPU卡数
|
|
10452
|
+
*/
|
|
10453
|
+
GpuCount: string;
|
|
10454
|
+
/**
|
|
10455
|
+
* 自动续费标记
|
|
10456
|
+
*/
|
|
10457
|
+
AutoRenewFlag: number;
|
|
10458
|
+
/**
|
|
10459
|
+
* 集群 ID
|
|
10460
|
+
*/
|
|
10461
|
+
ClusterId?: string;
|
|
10462
|
+
/**
|
|
10463
|
+
* 节点名称
|
|
10464
|
+
*/
|
|
10465
|
+
NodeName?: string;
|
|
10466
|
+
/**
|
|
10467
|
+
* 上个周期预留券的抵扣状态,Deduct、NotDeduct
|
|
10468
|
+
*/
|
|
10469
|
+
DeductStatus?: string;
|
|
10470
|
+
}
|
|
9884
10471
|
/**
|
|
9885
10472
|
* DeleteClusterRoute返回参数结构体
|
|
9886
10473
|
*/
|
|
@@ -10076,24 +10663,13 @@ export interface ModifyPrometheusAgentExternalLabelsRequest {
|
|
|
10076
10663
|
ExternalLabels: Array<Label>;
|
|
10077
10664
|
}
|
|
10078
10665
|
/**
|
|
10079
|
-
*
|
|
10666
|
+
* DeleteReservedInstances返回参数结构体
|
|
10080
10667
|
*/
|
|
10081
|
-
export interface
|
|
10082
|
-
/**
|
|
10083
|
-
* 集群自定义参数
|
|
10084
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10085
|
-
*/
|
|
10086
|
-
ExtraArgs?: EdgeClusterExtraArgs;
|
|
10087
|
-
/**
|
|
10088
|
-
* 运行时类型,支持"docker"和"containerd",默认为docker
|
|
10089
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10090
|
-
*/
|
|
10091
|
-
Runtime?: string;
|
|
10668
|
+
export interface DeleteReservedInstancesResponse {
|
|
10092
10669
|
/**
|
|
10093
|
-
*
|
|
10094
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
10670
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
10095
10671
|
*/
|
|
10096
|
-
|
|
10672
|
+
RequestId?: string;
|
|
10097
10673
|
}
|
|
10098
10674
|
/**
|
|
10099
10675
|
* prometheus一个抓取目标的信息
|
|
@@ -10147,23 +10723,6 @@ export interface LoginSettings {
|
|
|
10147
10723
|
*/
|
|
10148
10724
|
KeepImageLogin?: string;
|
|
10149
10725
|
}
|
|
10150
|
-
/**
|
|
10151
|
-
* DescribePrometheusTemp返回参数结构体
|
|
10152
|
-
*/
|
|
10153
|
-
export interface DescribePrometheusTempResponse {
|
|
10154
|
-
/**
|
|
10155
|
-
* 模板列表
|
|
10156
|
-
*/
|
|
10157
|
-
Templates: Array<PrometheusTemp>;
|
|
10158
|
-
/**
|
|
10159
|
-
* 总数
|
|
10160
|
-
*/
|
|
10161
|
-
Total: number;
|
|
10162
|
-
/**
|
|
10163
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
10164
|
-
*/
|
|
10165
|
-
RequestId?: string;
|
|
10166
|
-
}
|
|
10167
10726
|
/**
|
|
10168
10727
|
* SyncPrometheusTemplate请求参数结构体
|
|
10169
10728
|
*/
|
|
@@ -10384,6 +10943,23 @@ export interface DeletePrometheusTemplateResponse {
|
|
|
10384
10943
|
*/
|
|
10385
10944
|
RequestId?: string;
|
|
10386
10945
|
}
|
|
10946
|
+
/**
|
|
10947
|
+
* DescribePodDeductionRate请求参数结构体
|
|
10948
|
+
*/
|
|
10949
|
+
export interface DescribePodDeductionRateRequest {
|
|
10950
|
+
/**
|
|
10951
|
+
* 可用区
|
|
10952
|
+
*/
|
|
10953
|
+
Zone?: string;
|
|
10954
|
+
/**
|
|
10955
|
+
* 集群 ID
|
|
10956
|
+
*/
|
|
10957
|
+
ClusterId?: string;
|
|
10958
|
+
/**
|
|
10959
|
+
* 节点名称
|
|
10960
|
+
*/
|
|
10961
|
+
NodeName?: string;
|
|
10962
|
+
}
|
|
10387
10963
|
/**
|
|
10388
10964
|
* DescribeECMInstances返回参数结构体
|
|
10389
10965
|
*/
|
|
@@ -10411,17 +10987,21 @@ export interface DescribePrometheusInstanceRequest {
|
|
|
10411
10987
|
InstanceId: string;
|
|
10412
10988
|
}
|
|
10413
10989
|
/**
|
|
10414
|
-
*
|
|
10990
|
+
* DescribePrometheusTemp返回参数结构体
|
|
10415
10991
|
*/
|
|
10416
|
-
export interface
|
|
10992
|
+
export interface DescribePrometheusTempResponse {
|
|
10417
10993
|
/**
|
|
10418
|
-
*
|
|
10994
|
+
* 模板列表
|
|
10419
10995
|
*/
|
|
10420
|
-
|
|
10996
|
+
Templates: Array<PrometheusTemp>;
|
|
10421
10997
|
/**
|
|
10422
|
-
*
|
|
10998
|
+
* 总数
|
|
10423
10999
|
*/
|
|
10424
|
-
|
|
11000
|
+
Total: number;
|
|
11001
|
+
/**
|
|
11002
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
11003
|
+
*/
|
|
11004
|
+
RequestId?: string;
|
|
10425
11005
|
}
|
|
10426
11006
|
/**
|
|
10427
11007
|
* CreateClusterRelease返回参数结构体
|
|
@@ -10498,6 +11078,27 @@ export interface DescribeEnableVpcCniProgressResponse {
|
|
|
10498
11078
|
*/
|
|
10499
11079
|
RequestId?: string;
|
|
10500
11080
|
}
|
|
11081
|
+
/**
|
|
11082
|
+
* 预留券规格
|
|
11083
|
+
*/
|
|
11084
|
+
export interface ReservedInstanceSpec {
|
|
11085
|
+
/**
|
|
11086
|
+
* 资源类型:common、amd、v100、t4、a10\*gnv4、a10\*gnv4v、a10\*pnv4、windows-common、windows-amd,common表示通用类型。
|
|
11087
|
+
*/
|
|
11088
|
+
Type: string;
|
|
11089
|
+
/**
|
|
11090
|
+
* 核数
|
|
11091
|
+
*/
|
|
11092
|
+
Cpu: number;
|
|
11093
|
+
/**
|
|
11094
|
+
* 内存
|
|
11095
|
+
*/
|
|
11096
|
+
Memory: number;
|
|
11097
|
+
/**
|
|
11098
|
+
* GPU卡数,当Type为GPU类型时设置。
|
|
11099
|
+
*/
|
|
11100
|
+
Gpu?: number;
|
|
11101
|
+
}
|
|
10501
11102
|
/**
|
|
10502
11103
|
* 托管prometheus agent概览
|
|
10503
11104
|
*/
|
|
@@ -10649,6 +11250,10 @@ export interface ModifyClusterNodePoolRequest {
|
|
|
10649
11250
|
* dockerd --graph 指定值, 默认为 /var/lib/docker
|
|
10650
11251
|
*/
|
|
10651
11252
|
DockerGraphPath?: string;
|
|
11253
|
+
/**
|
|
11254
|
+
* base64编码后的自定义脚本
|
|
11255
|
+
*/
|
|
11256
|
+
PreStartUserScript?: string;
|
|
10652
11257
|
}
|
|
10653
11258
|
/**
|
|
10654
11259
|
* InstallLogAgent返回参数结构体
|
|
@@ -10678,91 +11283,137 @@ export interface CreateClusterEndpointResponse {
|
|
|
10678
11283
|
RequestId?: string;
|
|
10679
11284
|
}
|
|
10680
11285
|
/**
|
|
10681
|
-
*
|
|
11286
|
+
* DescribeReservedInstances请求参数结构体
|
|
10682
11287
|
*/
|
|
10683
|
-
export interface
|
|
10684
|
-
/**
|
|
10685
|
-
* 是否启用IPVS
|
|
10686
|
-
*/
|
|
10687
|
-
IPVS?: boolean;
|
|
10688
|
-
/**
|
|
10689
|
-
* 是否启用集群节点自动扩缩容(创建集群流程不支持开启此功能)
|
|
10690
|
-
*/
|
|
10691
|
-
AsEnabled?: boolean;
|
|
10692
|
-
/**
|
|
10693
|
-
* 集群使用的runtime类型,包括"docker"和"containerd"两种类型,默认为"docker"
|
|
10694
|
-
*/
|
|
10695
|
-
ContainerRuntime?: string;
|
|
10696
|
-
/**
|
|
10697
|
-
* 集群中节点NodeName类型(包括 hostname,lan-ip两种形式,默认为lan-ip。如果开启了hostname模式,创建节点时需要设置HostName参数,并且InstanceName需要和HostName一致)
|
|
10698
|
-
*/
|
|
10699
|
-
NodeNameType?: string;
|
|
10700
|
-
/**
|
|
10701
|
-
* 集群自定义参数
|
|
10702
|
-
*/
|
|
10703
|
-
ExtraArgs?: ClusterExtraArgs;
|
|
11288
|
+
export interface DescribeReservedInstancesRequest {
|
|
10704
11289
|
/**
|
|
10705
|
-
*
|
|
11290
|
+
* 偏移量,默认0。
|
|
10706
11291
|
*/
|
|
10707
|
-
|
|
11292
|
+
Offset?: number;
|
|
10708
11293
|
/**
|
|
10709
|
-
*
|
|
11294
|
+
* 返回数量,默认为20,最大值为100。
|
|
10710
11295
|
*/
|
|
10711
|
-
|
|
11296
|
+
Limit?: number;
|
|
10712
11297
|
/**
|
|
10713
|
-
*
|
|
11298
|
+
* status
|
|
11299
|
+
按照**【状态**】进行过滤。状态:Creating、Active、Expired、Refunded。
|
|
11300
|
+
类型:String
|
|
11301
|
+
必选:否
|
|
11302
|
+
|
|
11303
|
+
resource-type
|
|
11304
|
+
按照**【资源类型**】进行过滤。资源类型:common、amd、v100、t4、a10\*gnv4、a10\*gnv4v等,common表示通用类型。
|
|
11305
|
+
类型:String
|
|
11306
|
+
必选:否
|
|
11307
|
+
|
|
11308
|
+
cpu
|
|
11309
|
+
按照**【核数**】进行过滤。
|
|
11310
|
+
类型:String
|
|
11311
|
+
必选:否
|
|
11312
|
+
|
|
11313
|
+
memory
|
|
11314
|
+
按照**【内存**】进行过滤。
|
|
11315
|
+
类型:String
|
|
11316
|
+
必选:否
|
|
11317
|
+
|
|
11318
|
+
gpu
|
|
11319
|
+
按照**【GPU卡数**】进行过滤,取值有0.25、0.5、1、2、4等。
|
|
11320
|
+
类型:String
|
|
11321
|
+
必选:否
|
|
11322
|
+
|
|
11323
|
+
cluster-id
|
|
11324
|
+
按照**【集群ID**】进行过滤。
|
|
11325
|
+
类型:String
|
|
11326
|
+
必选:否
|
|
11327
|
+
|
|
11328
|
+
node-name
|
|
11329
|
+
按照**【节点名称**】进行过滤。
|
|
11330
|
+
类型:String
|
|
11331
|
+
必选:否
|
|
11332
|
+
|
|
11333
|
+
scope
|
|
11334
|
+
按照**【可用区**】进行过滤。比如:ap-guangzhou-2,为空字符串表示地域抵扣范围。如果只过滤可用区抵扣范围,需要同时将cluster-id、node-name设置为空字符串。
|
|
11335
|
+
类型:String
|
|
11336
|
+
必选:否
|
|
11337
|
+
|
|
11338
|
+
reserved-instance-id
|
|
11339
|
+
按照**【预留实例ID**】进行过滤。预留实例ID形如:eksri-xxxxxxxx。
|
|
11340
|
+
类型:String
|
|
11341
|
+
必选:否
|
|
11342
|
+
|
|
11343
|
+
reserved-instance-name
|
|
11344
|
+
按照**【预留实例名称**】进行过滤。
|
|
11345
|
+
类型:String
|
|
11346
|
+
必选:否
|
|
11347
|
+
|
|
11348
|
+
reserved-instance-deduct
|
|
11349
|
+
按照**【上个周期抵扣的预留券**】进行过滤。Values可不设置。
|
|
11350
|
+
必选:否
|
|
11351
|
+
|
|
11352
|
+
reserved-instance-not-deduct
|
|
11353
|
+
按照**【上个周期未抵扣的预留券**】进行过滤。Values可不设置。
|
|
11354
|
+
必选:否
|
|
10714
11355
|
*/
|
|
10715
|
-
|
|
11356
|
+
Filters?: Array<Filter>;
|
|
10716
11357
|
/**
|
|
10717
|
-
*
|
|
10718
|
-
iptables模式:IPVS和KubeProxyMode都不设置
|
|
10719
|
-
ipvs模式: 设置IPVS为true, KubeProxyMode不设置
|
|
10720
|
-
ipvs-bpf模式: 设置KubeProxyMode为kube-proxy-bpf
|
|
10721
|
-
使用ipvs-bpf的网络模式需要满足以下条件:
|
|
10722
|
-
1. 集群版本必须为1.14及以上;
|
|
10723
|
-
2. 系统镜像必须是: Tencent Linux 2.4;
|
|
11358
|
+
* 排序字段。支持CreatedAt、ActiveAt、ExpireAt。默认值CreatedAt。
|
|
10724
11359
|
*/
|
|
10725
|
-
|
|
11360
|
+
OrderField?: string;
|
|
10726
11361
|
/**
|
|
10727
|
-
*
|
|
11362
|
+
* 排序方法。顺序:ASC,倒序:DESC。默认值DESC。
|
|
10728
11363
|
*/
|
|
10729
|
-
|
|
11364
|
+
OrderDirection?: string;
|
|
11365
|
+
}
|
|
11366
|
+
/**
|
|
11367
|
+
* DescribePodsBySpec请求参数结构体
|
|
11368
|
+
*/
|
|
11369
|
+
export interface DescribePodsBySpecRequest {
|
|
10730
11370
|
/**
|
|
10731
|
-
*
|
|
11371
|
+
* 核数
|
|
10732
11372
|
*/
|
|
10733
|
-
|
|
11373
|
+
Cpu: number;
|
|
10734
11374
|
/**
|
|
10735
|
-
*
|
|
11375
|
+
* 内存
|
|
10736
11376
|
*/
|
|
10737
|
-
|
|
11377
|
+
Memory: number;
|
|
10738
11378
|
/**
|
|
10739
|
-
*
|
|
11379
|
+
* 卡数,有0.25、0.5、1、2、4等
|
|
10740
11380
|
*/
|
|
10741
|
-
|
|
11381
|
+
GpuNum?: string;
|
|
10742
11382
|
/**
|
|
10743
|
-
*
|
|
11383
|
+
* 可用区
|
|
10744
11384
|
*/
|
|
10745
|
-
|
|
11385
|
+
Zone?: string;
|
|
10746
11386
|
/**
|
|
10747
|
-
*
|
|
11387
|
+
* 集群 ID
|
|
10748
11388
|
*/
|
|
10749
|
-
|
|
11389
|
+
ClusterId?: string;
|
|
10750
11390
|
/**
|
|
10751
|
-
*
|
|
11391
|
+
* 节点名称
|
|
10752
11392
|
*/
|
|
10753
|
-
|
|
11393
|
+
NodeName?: string;
|
|
10754
11394
|
/**
|
|
10755
|
-
*
|
|
11395
|
+
* 偏移量,默认0。
|
|
10756
11396
|
*/
|
|
10757
|
-
|
|
11397
|
+
Offset?: number;
|
|
10758
11398
|
/**
|
|
10759
|
-
*
|
|
11399
|
+
* 返回数量,默认为20,最大值为100。
|
|
10760
11400
|
*/
|
|
10761
|
-
|
|
11401
|
+
Limit?: number;
|
|
10762
11402
|
/**
|
|
10763
|
-
*
|
|
11403
|
+
* pod-type
|
|
11404
|
+
按照**【Pod 类型**】进行过滤。资源类型:intel、amd、v100、t4、a10\*gnv4、a10\*gnv4v等。
|
|
11405
|
+
类型:String
|
|
11406
|
+
必选:否
|
|
11407
|
+
|
|
11408
|
+
pod-deduct
|
|
11409
|
+
按照**【上个周期抵扣的Pod**】进行过滤。Values可不设置。
|
|
11410
|
+
必选:否
|
|
11411
|
+
|
|
11412
|
+
pod-not-deduct
|
|
11413
|
+
按照**【上个周期未抵扣的Pod**】进行过滤。Values可不设置。
|
|
11414
|
+
必选:否
|
|
10764
11415
|
*/
|
|
10765
|
-
|
|
11416
|
+
Filters?: Array<Filter>;
|
|
10766
11417
|
}
|
|
10767
11418
|
/**
|
|
10768
11419
|
* UpdateClusterKubeconfig返回参数结构体
|
|
@@ -11193,6 +11844,15 @@ export interface DescribeAvailableClusterVersionResponse {
|
|
|
11193
11844
|
*/
|
|
11194
11845
|
RequestId?: string;
|
|
11195
11846
|
}
|
|
11847
|
+
/**
|
|
11848
|
+
* GetMostSuitableImageCache请求参数结构体
|
|
11849
|
+
*/
|
|
11850
|
+
export interface GetMostSuitableImageCacheRequest {
|
|
11851
|
+
/**
|
|
11852
|
+
* 容器镜像列表
|
|
11853
|
+
*/
|
|
11854
|
+
Images: Array<string>;
|
|
11855
|
+
}
|
|
11196
11856
|
/**
|
|
11197
11857
|
* DeleteEKSContainerInstances请求参数结构体
|
|
11198
11858
|
*/
|
|
@@ -11370,6 +12030,19 @@ export interface InstallAddonResponse {
|
|
|
11370
12030
|
*/
|
|
11371
12031
|
RequestId?: string;
|
|
11372
12032
|
}
|
|
12033
|
+
/**
|
|
12034
|
+
* ModifyReservedInstanceScope请求参数结构体
|
|
12035
|
+
*/
|
|
12036
|
+
export interface ModifyReservedInstanceScopeRequest {
|
|
12037
|
+
/**
|
|
12038
|
+
* 预留券唯一 ID
|
|
12039
|
+
*/
|
|
12040
|
+
ReservedInstanceIds: Array<string>;
|
|
12041
|
+
/**
|
|
12042
|
+
* 预留券抵扣范围信息
|
|
12043
|
+
*/
|
|
12044
|
+
ReservedInstanceScope: ReservedInstanceScope;
|
|
12045
|
+
}
|
|
11373
12046
|
/**
|
|
11374
12047
|
* DisableEncryptionProtection请求参数结构体
|
|
11375
12048
|
*/
|
|
@@ -11524,3 +12197,21 @@ export interface DescribeBackupStorageLocationsRequest {
|
|
|
11524
12197
|
*/
|
|
11525
12198
|
Names?: Array<string>;
|
|
11526
12199
|
}
|
|
12200
|
+
/**
|
|
12201
|
+
* 包年包月配置
|
|
12202
|
+
*/
|
|
12203
|
+
export interface InstanceChargePrepaid {
|
|
12204
|
+
/**
|
|
12205
|
+
* 购买实例的时长,单位:月。取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60。
|
|
12206
|
+
*/
|
|
12207
|
+
Period: number;
|
|
12208
|
+
/**
|
|
12209
|
+
* 自动续费标识。取值范围:
|
|
12210
|
+
NOTIFY_AND_AUTO_RENEW:通知过期且自动续费
|
|
12211
|
+
NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费
|
|
12212
|
+
DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费
|
|
12213
|
+
|
|
12214
|
+
默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。
|
|
12215
|
+
*/
|
|
12216
|
+
RenewFlag?: string;
|
|
12217
|
+
}
|