tencentcloud-sdk-nodejs-tke 4.0.930 → 4.0.936

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.
@@ -1,35 +1,167 @@
1
1
  /**
2
- * 运行时配置
2
+ * 节点信息
3
3
  */
4
- export interface RuntimeConfig {
4
+ export interface NativeNodeInfo {
5
5
  /**
6
- * 运行时类型
6
+ * 节点名称
7
+ */
8
+ MachineName?: string;
9
+ /**
10
+ * Machine 状态
11
+ */
12
+ MachineState?: string;
13
+ /**
14
+ * Machine 所在可用区
15
+ */
16
+ Zone?: string;
17
+ /**
18
+ * 节点计费类型。PREPAID:包年包月;POSTPAID_BY_HOUR:按量计费(默认);
19
+ */
20
+ InstanceChargeType?: string;
21
+ /**
22
+ * 创建时间
23
+ */
24
+ CreatedAt?: string;
25
+ /**
26
+ * Machine 登录状态
7
27
  注意:此字段可能返回 null,表示取不到有效值。
8
28
  */
9
- RuntimeType?: string;
29
+ LoginStatus?: string;
10
30
  /**
11
- * 运行时版本
31
+ * 是否开启缩容保护
12
32
  注意:此字段可能返回 null,表示取不到有效值。
13
33
  */
14
- RuntimeVersion?: string;
34
+ IsProtectedFromScaleIn?: boolean;
15
35
  /**
16
- * 运行时根目录
36
+ * Machine 名字
17
37
  注意:此字段可能返回 null,表示取不到有效值。
18
38
  */
19
- RuntimeRootDir?: string;
39
+ DisplayName?: string;
40
+ /**
41
+ * CPU核数,单位:核
42
+ */
43
+ CPU?: number;
44
+ /**
45
+ * GPU核数,单位:核
46
+ 注意:此字段可能返回 null,表示取不到有效值。
47
+ */
48
+ GPU?: number;
49
+ /**
50
+ * 自动续费标识
51
+ */
52
+ RenewFlag?: string;
53
+ /**
54
+ * 节点计费模式(已弃用)
55
+ */
56
+ PayMode?: string;
57
+ /**
58
+ * 节点内存容量,单位:`GB`
59
+ */
60
+ Memory?: number;
61
+ /**
62
+ * 公网带宽相关信息设置
63
+ */
64
+ InternetAccessible?: InternetAccessible;
65
+ /**
66
+ * 机型所属机型族
67
+ */
68
+ InstanceFamily?: string;
69
+ /**
70
+ * 节点内网 IP
71
+ */
72
+ LanIp?: string;
73
+ /**
74
+ * 机型
75
+ */
76
+ InstanceType?: string;
77
+ /**
78
+ * 包年包月节点计费过期时间
79
+ 注意:此字段可能返回 null,表示取不到有效值。
80
+ */
81
+ ExpiredTime?: string;
82
+ /**
83
+ * 安全组列表
84
+ 注意:此字段可能返回 null,表示取不到有效值。
85
+ */
86
+ SecurityGroupIDs?: Array<string>;
87
+ /**
88
+ * VPC 唯一 ID
89
+ 注意:此字段可能返回 null,表示取不到有效值。
90
+ */
91
+ VpcId?: string;
92
+ /**
93
+ * 子网唯一 ID
94
+ 注意:此字段可能返回 null,表示取不到有效值。
95
+ */
96
+ SubnetId?: string;
97
+ /**
98
+ * OS的名称
99
+ 注意:此字段可能返回 null,表示取不到有效值。
100
+ */
101
+ OsImage?: string;
20
102
  }
21
103
  /**
22
- * k8s中标签,一般以数组的方式存在
104
+ * 健康检测模板规则
23
105
  */
24
- export interface Label {
106
+ export interface HealthCheckTemplateRule {
25
107
  /**
26
- * map表中的Name
108
+ * 健康检测项目名称
27
109
  */
28
110
  Name: string;
29
111
  /**
30
- * map表中的Value
112
+ * 健康检测规则描述
31
113
  */
32
- Value: string;
114
+ Description: string;
115
+ /**
116
+ * 修复动作
117
+ */
118
+ RepairAction: string;
119
+ /**
120
+ * 修复影响
121
+ */
122
+ RepairEffect: string;
123
+ /**
124
+ * 是否建议开启检测
125
+ */
126
+ ShouldEnable: boolean;
127
+ /**
128
+ * 是否建议修复
129
+ */
130
+ ShouldRepair: boolean;
131
+ /**
132
+ * 问题严重程度
133
+ */
134
+ Severity: string;
135
+ }
136
+ /**
137
+ * 健康检测规则
138
+ */
139
+ export interface HealthCheckPolicyRule {
140
+ /**
141
+ * 健康检测规则
142
+ */
143
+ Name: string;
144
+ /**
145
+ * 是否检测此项目
146
+ */
147
+ Enabled: boolean;
148
+ /**
149
+ * 是否启用修复
150
+ */
151
+ AutoRepairEnabled: boolean;
152
+ }
153
+ /**
154
+ * DeleteHealthCheckPolicy请求参数结构体
155
+ */
156
+ export interface DeleteHealthCheckPolicyRequest {
157
+ /**
158
+ * 集群 ID
159
+ */
160
+ ClusterId: string;
161
+ /**
162
+ * 健康检测策略名称
163
+ */
164
+ HealthCheckPolicyName: string;
33
165
  }
34
166
  /**
35
167
  * CreateNodePool返回参数结构体
@@ -235,19 +367,97 @@ export interface AutoscalingAdded {
235
367
  Total: number;
236
368
  }
237
369
  /**
238
- * 虚拟节点池信息
370
+ * 集群的实例信息
239
371
  */
240
- export interface SuperNodePoolInfo {
372
+ export interface Instance {
241
373
  /**
242
- * 子网列表
374
+ * 实例ID
375
+ */
376
+ InstanceId: string;
377
+ /**
378
+ * 节点角色, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, 默认为WORKER
379
+ */
380
+ InstanceRole: string;
381
+ /**
382
+ * 实例异常(或者处于初始化中)的原因
243
383
  注意:此字段可能返回 null,表示取不到有效值。
244
384
  */
245
- SubnetIds?: Array<string>;
385
+ FailedReason: string;
246
386
  /**
247
- * 安全组列表
387
+ * 实例的状态
388
+ - initializing创建中
389
+ - running 运行中
390
+ - failed 异常
391
+ */
392
+ InstanceState: string;
393
+ /**
394
+ * 是否不可调度
248
395
  注意:此字段可能返回 null,表示取不到有效值。
249
396
  */
250
- SecurityGroupIds?: Array<string>;
397
+ Unschedulable: boolean;
398
+ /**
399
+ * 添加时间
400
+ */
401
+ CreatedTime: string;
402
+ /**
403
+ * 节点内网IP
404
+ 注意:此字段可能返回 null,表示取不到有效值。
405
+ */
406
+ LanIP: string;
407
+ /**
408
+ * 资源池ID
409
+ 注意:此字段可能返回 null,表示取不到有效值。
410
+ */
411
+ NodePoolId: string;
412
+ /**
413
+ * 原生节点参数
414
+ 注意:此字段可能返回 null,表示取不到有效值。
415
+ */
416
+ Native: NativeNodeInfo;
417
+ /**
418
+ * 普通节点参数
419
+ 注意:此字段可能返回 null,表示取不到有效值。
420
+ */
421
+ Regular: RegularNodeInfo;
422
+ /**
423
+ * 超级节点参数
424
+ 注意:此字段可能返回 null,表示取不到有效值。
425
+ */
426
+ Super: SuperNodeInfo;
427
+ /**
428
+ * 第三方节点参数
429
+ 注意:此字段可能返回 null,表示取不到有效值。
430
+ */
431
+ External: ExternalNodeInfo;
432
+ /**
433
+ * 节点类型
434
+ 注意:此字段可能返回 null,表示取不到有效值。
435
+ */
436
+ NodeType: string;
437
+ }
438
+ /**
439
+ * DescribeHealthCheckPolicyBindings请求参数结构体
440
+ */
441
+ export interface DescribeHealthCheckPolicyBindingsRequest {
442
+ /**
443
+ * 集群 ID
444
+ */
445
+ ClusterId: string;
446
+ /**
447
+ * · HealthCheckPolicyName
448
+ 按照【健康检测规则名称】进行过滤。
449
+ 类型:String
450
+ 必选:否
451
+ */
452
+ Filter?: Array<Filter>;
453
+ /**
454
+ * 最大输出条数,默认20,最大为100
455
+ */
456
+ Limit?: number;
457
+ /**
458
+ * 偏移量,默认0
459
+ */
460
+ Offset?: number;
251
461
  }
252
462
  /**
253
463
  * 节点统计列表
@@ -265,51 +475,82 @@ export interface NodeCountSummary {
265
475
  AutoscalingAdded: AutoscalingAdded;
266
476
  }
267
477
  /**
268
- * 普通节点池信息
478
+ * 虚拟节点池信息
269
479
  */
270
- export interface RegularNodePoolInfo {
480
+ export interface SuperNodePoolInfo {
271
481
  /**
272
- * LaunchConfigurationId 配置
482
+ * 子网列表
483
+ 注意:此字段可能返回 null,表示取不到有效值。
273
484
  */
274
- LaunchConfigurationId: string;
485
+ SubnetIds?: Array<string>;
275
486
  /**
276
- * AutoscalingGroupId 分组id
487
+ * 安全组列表
488
+ 注意:此字段可能返回 null,表示取不到有效值。
277
489
  */
278
- AutoscalingGroupId: string;
490
+ SecurityGroupIds?: Array<string>;
491
+ }
492
+ /**
493
+ * 运行时配置
494
+ */
495
+ export interface RuntimeConfig {
279
496
  /**
280
- * NodeCountSummary 节点列表
497
+ * 运行时类型
498
+ 注意:此字段可能返回 null,表示取不到有效值。
281
499
  */
282
- NodeCountSummary: NodeCountSummary;
500
+ RuntimeType?: string;
283
501
  /**
284
- * 状态信息
502
+ * 运行时版本
285
503
  注意:此字段可能返回 null,表示取不到有效值。
286
504
  */
287
- AutoscalingGroupStatus: string;
505
+ RuntimeVersion?: string;
288
506
  /**
289
- * 最大节点数量
507
+ * 运行时根目录
290
508
  注意:此字段可能返回 null,表示取不到有效值。
291
509
  */
292
- MaxNodesNum: number;
510
+ RuntimeRootDir?: string;
511
+ }
512
+ /**
513
+ * k8s中标签,一般以数组的方式存在
514
+ */
515
+ export interface Label {
293
516
  /**
294
- * 最小节点数量
295
- 注意:此字段可能返回 null,表示取不到有效值。
517
+ * map表中的Name
296
518
  */
297
- MinNodesNum: number;
519
+ Name: string;
298
520
  /**
299
- * 期望的节点数量
300
- 注意:此字段可能返回 null,表示取不到有效值。
521
+ * map表中的Value
301
522
  */
302
- DesiredNodesNum: number;
523
+ Value: string;
524
+ }
525
+ /**
526
+ * 健康检测策略和节点池的绑定关系
527
+ */
528
+ export interface HealthCheckPolicyBinding {
303
529
  /**
304
- * 节点池osName
305
- 注意:此字段可能返回 null,表示取不到有效值。
530
+ * 健康检测策略名称
306
531
  */
307
- NodePoolOs: string;
532
+ Name: string;
308
533
  /**
309
- * 节点配置
310
- 注意:此字段可能返回 null,表示取不到有效值。
534
+ * 规则创建时间
311
535
  */
312
- InstanceAdvancedSettings?: InstanceAdvancedSettings;
536
+ CreatedAt: string;
537
+ /**
538
+ * 关联节点池数组
539
+ */
540
+ NodePools: Array<string>;
541
+ }
542
+ /**
543
+ * CreateHealthCheckPolicy请求参数结构体
544
+ */
545
+ export interface CreateHealthCheckPolicyRequest {
546
+ /**
547
+ * 集群ID
548
+ */
549
+ ClusterId: string;
550
+ /**
551
+ * 健康检测策略
552
+ */
553
+ HealthCheckPolicy: HealthCheckPolicy;
313
554
  }
314
555
  /**
315
556
  * 节点自定义参数
@@ -574,6 +815,15 @@ export interface DescribeClusterInstancesRequest {
574
815
  */
575
816
  SortBy?: SortBy;
576
817
  }
818
+ /**
819
+ * DeleteHealthCheckPolicy返回参数结构体
820
+ */
821
+ export interface DeleteHealthCheckPolicyResponse {
822
+ /**
823
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
824
+ */
825
+ RequestId?: string;
826
+ }
577
827
  /**
578
828
  * 标签描述列表。通过指定该参数可以同时绑定标签到相应的资源实例,当前仅支持绑定标签到云主机实例。
579
829
  */
@@ -613,6 +863,53 @@ export interface ModifyNodePoolResponse {
613
863
  */
614
864
  RequestId?: string;
615
865
  }
866
+ /**
867
+ * 普通节点池信息
868
+ */
869
+ export interface RegularNodePoolInfo {
870
+ /**
871
+ * LaunchConfigurationId 配置
872
+ */
873
+ LaunchConfigurationId: string;
874
+ /**
875
+ * AutoscalingGroupId 分组id
876
+ */
877
+ AutoscalingGroupId: string;
878
+ /**
879
+ * NodeCountSummary 节点列表
880
+ */
881
+ NodeCountSummary: NodeCountSummary;
882
+ /**
883
+ * 状态信息
884
+ 注意:此字段可能返回 null,表示取不到有效值。
885
+ */
886
+ AutoscalingGroupStatus: string;
887
+ /**
888
+ * 最大节点数量
889
+ 注意:此字段可能返回 null,表示取不到有效值。
890
+ */
891
+ MaxNodesNum: number;
892
+ /**
893
+ * 最小节点数量
894
+ 注意:此字段可能返回 null,表示取不到有效值。
895
+ */
896
+ MinNodesNum: number;
897
+ /**
898
+ * 期望的节点数量
899
+ 注意:此字段可能返回 null,表示取不到有效值。
900
+ */
901
+ DesiredNodesNum: number;
902
+ /**
903
+ * 节点池osName
904
+ 注意:此字段可能返回 null,表示取不到有效值。
905
+ */
906
+ NodePoolOs: string;
907
+ /**
908
+ * 节点配置
909
+ 注意:此字段可能返回 null,表示取不到有效值。
910
+ */
911
+ InstanceAdvancedSettings?: InstanceAdvancedSettings;
912
+ }
616
913
  /**
617
914
  * kubernetes Taint
618
915
  */
@@ -639,29 +936,46 @@ export interface Filter {
639
936
  */
640
937
  Name: string;
641
938
  /**
642
- * 属性值, 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。
939
+ * 属性值, 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。
940
+ */
941
+ Values: Array<string>;
942
+ }
943
+ /**
944
+ * DescribeHealthCheckPolicies请求参数结构体
945
+ */
946
+ export interface DescribeHealthCheckPoliciesRequest {
947
+ /**
948
+ * 集群 ID
949
+ */
950
+ ClusterId: string;
951
+ /**
952
+ * · HealthCheckPolicyName
953
+ 按照【健康检测策略名称】进行过滤。
954
+ 类型:String
955
+ 必选:否
956
+ */
957
+ Filters?: Array<Filter>;
958
+ /**
959
+ * 最大输出条数,默认20,最大为100
960
+ */
961
+ Limit?: number;
962
+ /**
963
+ * 偏移量,默认0
643
964
  */
644
- Values: Array<string>;
965
+ Offset?: number;
645
966
  }
646
967
  /**
647
- * 托管节点池Management配置
968
+ * DescribeHealthCheckTemplate返回参数结构体
648
969
  */
649
- export interface ManagementConfig {
650
- /**
651
- * dns 配置
652
- 注意:此字段可能返回 null,表示取不到有效值。
653
- */
654
- Nameservers?: Array<string>;
970
+ export interface DescribeHealthCheckTemplateResponse {
655
971
  /**
656
- * hosts 配置
657
- 注意:此字段可能返回 null,表示取不到有效值。
972
+ * 健康检测策略模板
658
973
  */
659
- Hosts?: Array<string>;
974
+ HealthCheckTemplate?: HealthCheckTemplate;
660
975
  /**
661
- * 内核参数配置
662
- 注意:此字段可能返回 null,表示取不到有效值。
976
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
663
977
  */
664
- KernelArgs?: Array<string>;
978
+ RequestId?: string;
665
979
  }
666
980
  /**
667
981
  * CreateNodePool请求参数结构体
@@ -708,6 +1022,40 @@ export interface CreateNodePoolRequest {
708
1022
  */
709
1023
  Annotations?: Array<Annotation>;
710
1024
  }
1025
+ /**
1026
+ * 普通节点信息
1027
+ */
1028
+ export interface RegularNodeInfo {
1029
+ /**
1030
+ * 节点配置
1031
+ 注意:此字段可能返回 null,表示取不到有效值。
1032
+ */
1033
+ InstanceAdvancedSettings: InstanceAdvancedSettings;
1034
+ /**
1035
+ * 自动伸缩组ID
1036
+ 注意:此字段可能返回 null,表示取不到有效值。
1037
+ */
1038
+ AutoscalingGroupId: string;
1039
+ }
1040
+ /**
1041
+ * DescribeHealthCheckPolicyBindings返回参数结构体
1042
+ */
1043
+ export interface DescribeHealthCheckPolicyBindingsResponse {
1044
+ /**
1045
+ * 健康检测规则数组
1046
+ 注意:此字段可能返回 null,表示取不到有效值。
1047
+ */
1048
+ HealthCheckPolicyBindings: Array<HealthCheckPolicyBinding>;
1049
+ /**
1050
+ * 健康检测规则数量
1051
+ 注意:此字段可能返回 null,表示取不到有效值。
1052
+ */
1053
+ TotalCount: number;
1054
+ /**
1055
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1056
+ */
1057
+ RequestId?: string;
1058
+ }
711
1059
  /**
712
1060
  * 原生节点池信息
713
1061
  */
@@ -1010,175 +1358,36 @@ export interface ExternalNodePoolInfo {
1010
1358
  NodesNum?: number;
1011
1359
  }
1012
1360
  /**
1013
- * 集群的实例信息
1361
+ * DescribeHealthCheckTemplate请求参数结构体
1014
1362
  */
1015
- export interface Instance {
1016
- /**
1017
- * 实例ID
1018
- */
1019
- InstanceId: string;
1020
- /**
1021
- * 节点角色, MASTER, WORKER, ETCD, MASTER_ETCD,ALL, 默认为WORKER
1022
- */
1023
- InstanceRole: string;
1024
- /**
1025
- * 实例异常(或者处于初始化中)的原因
1026
- 注意:此字段可能返回 null,表示取不到有效值。
1027
- */
1028
- FailedReason: string;
1029
- /**
1030
- * 实例的状态
1031
- - initializing创建中
1032
- - running 运行中
1033
- - failed 异常
1034
- */
1035
- InstanceState: string;
1036
- /**
1037
- * 是否不可调度
1038
- 注意:此字段可能返回 null,表示取不到有效值。
1039
- */
1040
- Unschedulable: boolean;
1041
- /**
1042
- * 添加时间
1043
- */
1044
- CreatedTime: string;
1045
- /**
1046
- * 节点内网IP
1047
- 注意:此字段可能返回 null,表示取不到有效值。
1048
- */
1049
- LanIP: string;
1050
- /**
1051
- * 资源池ID
1052
- 注意:此字段可能返回 null,表示取不到有效值。
1053
- */
1054
- NodePoolId: string;
1055
- /**
1056
- * 原生节点参数
1057
- 注意:此字段可能返回 null,表示取不到有效值。
1058
- */
1059
- Native: NativeNodeInfo;
1060
- /**
1061
- * 普通节点参数
1062
- 注意:此字段可能返回 null,表示取不到有效值。
1063
- */
1064
- Regular: RegularNodeInfo;
1363
+ export declare type DescribeHealthCheckTemplateRequest = null;
1364
+ /**
1365
+ * DescribeHealthCheckPolicies返回参数结构体
1366
+ */
1367
+ export interface DescribeHealthCheckPoliciesResponse {
1065
1368
  /**
1066
- * 超级节点参数
1369
+ * 健康检测策略数组
1067
1370
  注意:此字段可能返回 null,表示取不到有效值。
1068
1371
  */
1069
- Super: SuperNodeInfo;
1372
+ HealthCheckPolicies: Array<HealthCheckPolicy>;
1070
1373
  /**
1071
- * 第三方节点参数
1374
+ * 数组总数目
1072
1375
  注意:此字段可能返回 null,表示取不到有效值。
1073
1376
  */
1074
- External: ExternalNodeInfo;
1377
+ TotalCount: number;
1075
1378
  /**
1076
- * 节点类型
1077
- 注意:此字段可能返回 null,表示取不到有效值。
1379
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1078
1380
  */
1079
- NodeType: string;
1381
+ RequestId?: string;
1080
1382
  }
1081
1383
  /**
1082
- * 节点信息
1384
+ * 健康检测模板
1083
1385
  */
1084
- export interface NativeNodeInfo {
1085
- /**
1086
- * 节点名称
1087
- */
1088
- MachineName?: string;
1089
- /**
1090
- * Machine 状态
1091
- */
1092
- MachineState?: string;
1093
- /**
1094
- * Machine 所在可用区
1095
- */
1096
- Zone?: string;
1097
- /**
1098
- * 节点计费类型。PREPAID:包年包月;POSTPAID_BY_HOUR:按量计费(默认);
1099
- */
1100
- InstanceChargeType?: string;
1101
- /**
1102
- * 创建时间
1103
- */
1104
- CreatedAt?: string;
1105
- /**
1106
- * Machine 登录状态
1107
- 注意:此字段可能返回 null,表示取不到有效值。
1108
- */
1109
- LoginStatus?: string;
1110
- /**
1111
- * 是否开启缩容保护
1112
- 注意:此字段可能返回 null,表示取不到有效值。
1113
- */
1114
- IsProtectedFromScaleIn?: boolean;
1115
- /**
1116
- * Machine 名字
1117
- 注意:此字段可能返回 null,表示取不到有效值。
1118
- */
1119
- DisplayName?: string;
1120
- /**
1121
- * CPU核数,单位:核
1122
- */
1123
- CPU?: number;
1124
- /**
1125
- * GPU核数,单位:核
1126
- 注意:此字段可能返回 null,表示取不到有效值。
1127
- */
1128
- GPU?: number;
1129
- /**
1130
- * 自动续费标识
1131
- */
1132
- RenewFlag?: string;
1133
- /**
1134
- * 节点计费模式(已弃用)
1135
- */
1136
- PayMode?: string;
1137
- /**
1138
- * 节点内存容量,单位:`GB`
1139
- */
1140
- Memory?: number;
1141
- /**
1142
- * 公网带宽相关信息设置
1143
- */
1144
- InternetAccessible?: InternetAccessible;
1145
- /**
1146
- * 机型所属机型族
1147
- */
1148
- InstanceFamily?: string;
1149
- /**
1150
- * 节点内网 IP
1151
- */
1152
- LanIp?: string;
1153
- /**
1154
- * 机型
1155
- */
1156
- InstanceType?: string;
1157
- /**
1158
- * 包年包月节点计费过期时间
1159
- 注意:此字段可能返回 null,表示取不到有效值。
1160
- */
1161
- ExpiredTime?: string;
1162
- /**
1163
- * 安全组列表
1164
- 注意:此字段可能返回 null,表示取不到有效值。
1165
- */
1166
- SecurityGroupIDs?: Array<string>;
1167
- /**
1168
- * VPC 唯一 ID
1169
- 注意:此字段可能返回 null,表示取不到有效值。
1170
- */
1171
- VpcId?: string;
1172
- /**
1173
- * 子网唯一 ID
1174
- 注意:此字段可能返回 null,表示取不到有效值。
1175
- */
1176
- SubnetId?: string;
1386
+ export interface HealthCheckTemplate {
1177
1387
  /**
1178
- * OS的名称
1179
- 注意:此字段可能返回 null,表示取不到有效值。
1388
+ * 健康检测项
1180
1389
  */
1181
- OsImage?: string;
1390
+ Rules: Array<HealthCheckTemplateRule>;
1182
1391
  }
1183
1392
  /**
1184
1393
  * 公网带宽
@@ -1197,6 +1406,19 @@ export interface InternetAccessible {
1197
1406
  */
1198
1407
  BandwidthPackageId?: string;
1199
1408
  }
1409
+ /**
1410
+ * ModifyHealthCheckPolicy请求参数结构体
1411
+ */
1412
+ export interface ModifyHealthCheckPolicyRequest {
1413
+ /**
1414
+ * 集群 ID
1415
+ */
1416
+ ClusterId: string;
1417
+ /**
1418
+ * 健康检测策略
1419
+ */
1420
+ HealthCheckPolicy: HealthCheckPolicy;
1421
+ }
1200
1422
  /**
1201
1423
  * 超级节点信息
1202
1424
  */
@@ -1294,19 +1516,33 @@ export interface ManuallyAdded {
1294
1516
  Total: number;
1295
1517
  }
1296
1518
  /**
1297
- * 普通节点信息
1519
+ * 托管节点池Management配置
1298
1520
  */
1299
- export interface RegularNodeInfo {
1521
+ export interface ManagementConfig {
1300
1522
  /**
1301
- * 节点配置
1523
+ * dns 配置
1302
1524
  注意:此字段可能返回 null,表示取不到有效值。
1303
1525
  */
1304
- InstanceAdvancedSettings: InstanceAdvancedSettings;
1526
+ Nameservers?: Array<string>;
1305
1527
  /**
1306
- * 自动伸缩组ID
1528
+ * hosts 配置
1307
1529
  注意:此字段可能返回 null,表示取不到有效值。
1308
1530
  */
1309
- AutoscalingGroupId: string;
1531
+ Hosts?: Array<string>;
1532
+ /**
1533
+ * 内核参数配置
1534
+ 注意:此字段可能返回 null,表示取不到有效值。
1535
+ */
1536
+ KernelArgs?: Array<string>;
1537
+ }
1538
+ /**
1539
+ * ModifyHealthCheckPolicy返回参数结构体
1540
+ */
1541
+ export interface ModifyHealthCheckPolicyResponse {
1542
+ /**
1543
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1544
+ */
1545
+ RequestId?: string;
1310
1546
  }
1311
1547
  /**
1312
1548
  * 排序信息
@@ -1321,6 +1557,19 @@ export interface SortBy {
1321
1557
  */
1322
1558
  OrderType?: string;
1323
1559
  }
1560
+ /**
1561
+ * 健康检测规则
1562
+ */
1563
+ export interface HealthCheckPolicy {
1564
+ /**
1565
+ * 健康检测策略名称
1566
+ */
1567
+ Name: string;
1568
+ /**
1569
+ * 健康检测策略规则列表
1570
+ */
1571
+ Rules: Array<HealthCheckPolicyRule>;
1572
+ }
1324
1573
  /**
1325
1574
  * 节点系统盘和数据盘配置
1326
1575
  */
@@ -1346,6 +1595,19 @@ export interface Disk {
1346
1595
  */
1347
1596
  MountTarget?: string;
1348
1597
  }
1598
+ /**
1599
+ * CreateHealthCheckPolicy返回参数结构体
1600
+ */
1601
+ export interface CreateHealthCheckPolicyResponse {
1602
+ /**
1603
+ * 健康检测策略名称
1604
+ */
1605
+ HealthCheckPolicyName: string;
1606
+ /**
1607
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1608
+ */
1609
+ RequestId?: string;
1610
+ }
1349
1611
  /**
1350
1612
  * 描述了k8s节点数据盘相关配置与信息。
1351
1613
  */