tccli 3.0.1188.1__py2.py3-none-any.whl → 3.0.1190.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/__init__.py +2 -1
- tccli/services/aiart/aiart_client.py +53 -0
- tccli/services/aiart/v20221229/api.json +107 -0
- tccli/services/aiart/v20221229/examples.json +8 -0
- tccli/services/apm/v20210622/api.json +3 -1
- tccli/services/billing/v20180709/api.json +3 -0
- tccli/services/billing/v20180709/examples.json +1 -1
- tccli/services/cfg/v20210820/api.json +20 -5
- tccli/services/cfw/v20190904/api.json +82 -2
- tccli/services/ckafka/v20190819/api.json +5 -5
- tccli/services/dcdb/dcdb_client.py +106 -0
- tccli/services/dcdb/v20180411/api.json +318 -0
- tccli/services/dcdb/v20180411/examples.json +28 -0
- tccli/services/dnspod/dnspod_client.py +53 -0
- tccli/services/dnspod/v20210323/api.json +118 -0
- tccli/services/dnspod/v20210323/examples.json +8 -0
- tccli/services/emr/emr_client.py +269 -4
- tccli/services/emr/v20190103/api.json +591 -0
- tccli/services/emr/v20190103/examples.json +46 -0
- tccli/services/es/es_client.py +53 -0
- tccli/services/es/v20180416/api.json +54 -0
- tccli/services/es/v20180416/examples.json +14 -0
- tccli/services/ess/v20201111/api.json +9 -9
- tccli/services/ess/v20201111/examples.json +7 -1
- tccli/services/essbasic/essbasic_client.py +53 -0
- tccli/services/essbasic/v20210526/api.json +120 -0
- tccli/services/essbasic/v20210526/examples.json +14 -0
- tccli/services/iotexplorer/v20190423/api.json +2 -2
- tccli/services/iss/iss_client.py +118 -65
- tccli/services/iss/v20230517/api.json +78 -0
- tccli/services/iss/v20230517/examples.json +8 -0
- tccli/services/mariadb/mariadb_client.py +110 -4
- tccli/services/mariadb/v20170312/api.json +318 -0
- tccli/services/mariadb/v20170312/examples.json +16 -0
- tccli/services/mps/v20190612/api.json +131 -3
- tccli/services/ocr/v20181119/api.json +22 -2
- tccli/services/redis/redis_client.py +110 -4
- tccli/services/redis/v20180412/api.json +209 -0
- tccli/services/redis/v20180412/examples.json +16 -0
- tccli/services/sms/v20210111/api.json +9 -9
- tccli/services/ssl/v20191205/api.json +3 -3
- tccli/services/ssl/v20191205/examples.json +2 -2
- tccli/services/teo/v20220901/api.json +14 -14
- tccli/services/tke/tke_client.py +364 -46
- tccli/services/tke/v20180525/api.json +9 -0
- tccli/services/tke/v20220501/api.json +525 -0
- tccli/services/tke/v20220501/examples.json +54 -0
- tccli/services/tsf/v20180326/api.json +74 -29
- tccli/services/vdb/v20230616/api.json +491 -0
- tccli/services/vdb/v20230616/examples.json +46 -0
- tccli/services/vdb/vdb_client.py +265 -0
- tccli/services/vod/v20240718/api.json +121 -0
- tccli/services/vod/v20240718/examples.json +31 -0
- tccli/services/vod/vod_client.py +58 -0
- tccli/services/vpc/v20170312/api.json +13 -4
- {tccli-3.0.1188.1.dist-info → tccli-3.0.1190.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1188.1.dist-info → tccli-3.0.1190.1.dist-info}/RECORD +61 -59
- {tccli-3.0.1188.1.dist-info → tccli-3.0.1190.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1188.1.dist-info → tccli-3.0.1190.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1188.1.dist-info → tccli-3.0.1190.1.dist-info}/license_files/LICENSE +0 -0
@@ -5097,6 +5097,15 @@
|
|
5097
5097
|
"name": "ExtensionAddons",
|
5098
5098
|
"required": false,
|
5099
5099
|
"type": "list"
|
5100
|
+
},
|
5101
|
+
{
|
5102
|
+
"disabled": false,
|
5103
|
+
"document": "本地专用集群Id",
|
5104
|
+
"example": "cluster-0jend45y",
|
5105
|
+
"member": "string",
|
5106
|
+
"name": "CdcId",
|
5107
|
+
"required": false,
|
5108
|
+
"type": "string"
|
5100
5109
|
}
|
5101
5110
|
],
|
5102
5111
|
"type": "object"
|
@@ -1,5 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
|
+
"CreateHealthCheckPolicy": {
|
4
|
+
"document": "创建健康检测策略",
|
5
|
+
"input": "CreateHealthCheckPolicyRequest",
|
6
|
+
"name": "创建健康检测策略",
|
7
|
+
"output": "CreateHealthCheckPolicyResponse",
|
8
|
+
"status": "online"
|
9
|
+
},
|
3
10
|
"CreateNodePool": {
|
4
11
|
"document": "创建 TKE 节点池",
|
5
12
|
"input": "CreateNodePoolRequest",
|
@@ -7,6 +14,13 @@
|
|
7
14
|
"output": "CreateNodePoolResponse",
|
8
15
|
"status": "online"
|
9
16
|
},
|
17
|
+
"DeleteHealthCheckPolicy": {
|
18
|
+
"document": "删除健康检测策略",
|
19
|
+
"input": "DeleteHealthCheckPolicyRequest",
|
20
|
+
"name": "删除健康检测策略",
|
21
|
+
"output": "DeleteHealthCheckPolicyResponse",
|
22
|
+
"status": "online"
|
23
|
+
},
|
10
24
|
"DeleteNodePool": {
|
11
25
|
"document": "删除 TKE 节点池",
|
12
26
|
"input": "DeleteNodePoolRequest",
|
@@ -21,6 +35,27 @@
|
|
21
35
|
"output": "DescribeClusterInstancesResponse",
|
22
36
|
"status": "online"
|
23
37
|
},
|
38
|
+
"DescribeHealthCheckPolicies": {
|
39
|
+
"document": "查询健康检测策略",
|
40
|
+
"input": "DescribeHealthCheckPoliciesRequest",
|
41
|
+
"name": "查询健康检测策略",
|
42
|
+
"output": "DescribeHealthCheckPoliciesResponse",
|
43
|
+
"status": "online"
|
44
|
+
},
|
45
|
+
"DescribeHealthCheckPolicyBindings": {
|
46
|
+
"document": "查询健康检测策略绑定关系",
|
47
|
+
"input": "DescribeHealthCheckPolicyBindingsRequest",
|
48
|
+
"name": "查询健康检测策略绑定关系",
|
49
|
+
"output": "DescribeHealthCheckPolicyBindingsResponse",
|
50
|
+
"status": "online"
|
51
|
+
},
|
52
|
+
"DescribeHealthCheckTemplate": {
|
53
|
+
"document": "查询健康检测策略模板",
|
54
|
+
"input": "DescribeHealthCheckTemplateRequest",
|
55
|
+
"name": "查询健康检测策略模板",
|
56
|
+
"output": "DescribeHealthCheckTemplateResponse",
|
57
|
+
"status": "online"
|
58
|
+
},
|
24
59
|
"DescribeNodePools": {
|
25
60
|
"document": "查询 TKE 节点池列表",
|
26
61
|
"input": "DescribeNodePoolsRequest",
|
@@ -28,6 +63,13 @@
|
|
28
63
|
"output": "DescribeNodePoolsResponse",
|
29
64
|
"status": "online"
|
30
65
|
},
|
66
|
+
"ModifyHealthCheckPolicy": {
|
67
|
+
"document": "修改健康检测策略",
|
68
|
+
"input": "ModifyHealthCheckPolicyRequest",
|
69
|
+
"name": "修改健康检测策略",
|
70
|
+
"output": "ModifyHealthCheckPolicyResponse",
|
71
|
+
"status": "online"
|
72
|
+
},
|
31
73
|
"ModifyNodePool": {
|
32
74
|
"document": "更新 TKE 节点池",
|
33
75
|
"input": "ModifyNodePoolRequest",
|
@@ -151,6 +193,52 @@
|
|
151
193
|
],
|
152
194
|
"usage": "out"
|
153
195
|
},
|
196
|
+
"CreateHealthCheckPolicyRequest": {
|
197
|
+
"document": "CreateHealthCheckPolicy请求参数结构体",
|
198
|
+
"members": [
|
199
|
+
{
|
200
|
+
"disabled": false,
|
201
|
+
"document": "集群ID",
|
202
|
+
"example": "cls-xxxx",
|
203
|
+
"member": "string",
|
204
|
+
"name": "ClusterId",
|
205
|
+
"required": true,
|
206
|
+
"type": "string"
|
207
|
+
},
|
208
|
+
{
|
209
|
+
"disabled": false,
|
210
|
+
"document": "健康检测策略",
|
211
|
+
"example": "无",
|
212
|
+
"member": "HealthCheckPolicy",
|
213
|
+
"name": "HealthCheckPolicy",
|
214
|
+
"required": true,
|
215
|
+
"type": "object"
|
216
|
+
}
|
217
|
+
],
|
218
|
+
"type": "object"
|
219
|
+
},
|
220
|
+
"CreateHealthCheckPolicyResponse": {
|
221
|
+
"document": "CreateHealthCheckPolicy返回参数结构体",
|
222
|
+
"members": [
|
223
|
+
{
|
224
|
+
"disabled": false,
|
225
|
+
"document": "健康检测策略名称",
|
226
|
+
"example": "HC1",
|
227
|
+
"member": "string",
|
228
|
+
"name": "HealthCheckPolicyName",
|
229
|
+
"required": true,
|
230
|
+
"type": "string",
|
231
|
+
"value_allowed_null": false
|
232
|
+
},
|
233
|
+
{
|
234
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
235
|
+
"member": "string",
|
236
|
+
"name": "RequestId",
|
237
|
+
"type": "string"
|
238
|
+
}
|
239
|
+
],
|
240
|
+
"type": "object"
|
241
|
+
},
|
154
242
|
"CreateNativeNodePoolParam": {
|
155
243
|
"document": "原生节点池创建参数",
|
156
244
|
"members": [
|
@@ -571,6 +659,42 @@
|
|
571
659
|
],
|
572
660
|
"usage": "both"
|
573
661
|
},
|
662
|
+
"DeleteHealthCheckPolicyRequest": {
|
663
|
+
"document": "DeleteHealthCheckPolicy请求参数结构体",
|
664
|
+
"members": [
|
665
|
+
{
|
666
|
+
"disabled": false,
|
667
|
+
"document": "集群 ID",
|
668
|
+
"example": "cls-xxxx",
|
669
|
+
"member": "string",
|
670
|
+
"name": "ClusterId",
|
671
|
+
"required": true,
|
672
|
+
"type": "string"
|
673
|
+
},
|
674
|
+
{
|
675
|
+
"disabled": false,
|
676
|
+
"document": "健康检测策略名称",
|
677
|
+
"example": "NP1",
|
678
|
+
"member": "string",
|
679
|
+
"name": "HealthCheckPolicyName",
|
680
|
+
"required": true,
|
681
|
+
"type": "string"
|
682
|
+
}
|
683
|
+
],
|
684
|
+
"type": "object"
|
685
|
+
},
|
686
|
+
"DeleteHealthCheckPolicyResponse": {
|
687
|
+
"document": "DeleteHealthCheckPolicy返回参数结构体",
|
688
|
+
"members": [
|
689
|
+
{
|
690
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
691
|
+
"member": "string",
|
692
|
+
"name": "RequestId",
|
693
|
+
"type": "string"
|
694
|
+
}
|
695
|
+
],
|
696
|
+
"type": "object"
|
697
|
+
},
|
574
698
|
"DeleteNodePoolRequest": {
|
575
699
|
"document": "DeleteNodePool请求参数结构体",
|
576
700
|
"members": [
|
@@ -700,6 +824,181 @@
|
|
700
824
|
],
|
701
825
|
"type": "object"
|
702
826
|
},
|
827
|
+
"DescribeHealthCheckPoliciesRequest": {
|
828
|
+
"document": "DescribeHealthCheckPolicies请求参数结构体",
|
829
|
+
"members": [
|
830
|
+
{
|
831
|
+
"disabled": false,
|
832
|
+
"document": "集群 ID",
|
833
|
+
"example": "cls-xxxx",
|
834
|
+
"member": "string",
|
835
|
+
"name": "ClusterId",
|
836
|
+
"required": true,
|
837
|
+
"type": "string"
|
838
|
+
},
|
839
|
+
{
|
840
|
+
"disabled": false,
|
841
|
+
"document": "· HealthCheckPolicyName\n 按照【健康检测策略名称】进行过滤。\n 类型:String\n 必选:否",
|
842
|
+
"example": "无",
|
843
|
+
"member": "Filter",
|
844
|
+
"name": "Filters",
|
845
|
+
"required": false,
|
846
|
+
"type": "list"
|
847
|
+
},
|
848
|
+
{
|
849
|
+
"disabled": false,
|
850
|
+
"document": "最大输出条数,默认20,最大为100",
|
851
|
+
"example": "10",
|
852
|
+
"member": "int64",
|
853
|
+
"name": "Limit",
|
854
|
+
"required": false,
|
855
|
+
"type": "int"
|
856
|
+
},
|
857
|
+
{
|
858
|
+
"disabled": false,
|
859
|
+
"document": "偏移量,默认0",
|
860
|
+
"example": "0",
|
861
|
+
"member": "int64",
|
862
|
+
"name": "Offset",
|
863
|
+
"required": false,
|
864
|
+
"type": "int"
|
865
|
+
}
|
866
|
+
],
|
867
|
+
"type": "object"
|
868
|
+
},
|
869
|
+
"DescribeHealthCheckPoliciesResponse": {
|
870
|
+
"document": "DescribeHealthCheckPolicies返回参数结构体",
|
871
|
+
"members": [
|
872
|
+
{
|
873
|
+
"disabled": false,
|
874
|
+
"document": "健康检测策略数组\n注意:此字段可能返回 null,表示取不到有效值。",
|
875
|
+
"example": "HC1",
|
876
|
+
"member": "HealthCheckPolicy",
|
877
|
+
"name": "HealthCheckPolicies",
|
878
|
+
"required": true,
|
879
|
+
"type": "list",
|
880
|
+
"value_allowed_null": true
|
881
|
+
},
|
882
|
+
{
|
883
|
+
"disabled": false,
|
884
|
+
"document": "数组总数目\n注意:此字段可能返回 null,表示取不到有效值。",
|
885
|
+
"example": "10",
|
886
|
+
"member": "int64",
|
887
|
+
"name": "TotalCount",
|
888
|
+
"required": true,
|
889
|
+
"type": "int",
|
890
|
+
"value_allowed_null": true
|
891
|
+
},
|
892
|
+
{
|
893
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
894
|
+
"member": "string",
|
895
|
+
"name": "RequestId",
|
896
|
+
"type": "string"
|
897
|
+
}
|
898
|
+
],
|
899
|
+
"type": "object"
|
900
|
+
},
|
901
|
+
"DescribeHealthCheckPolicyBindingsRequest": {
|
902
|
+
"document": "DescribeHealthCheckPolicyBindings请求参数结构体",
|
903
|
+
"members": [
|
904
|
+
{
|
905
|
+
"disabled": false,
|
906
|
+
"document": "集群 ID",
|
907
|
+
"example": "cls-xxxx",
|
908
|
+
"member": "string",
|
909
|
+
"name": "ClusterId",
|
910
|
+
"required": true,
|
911
|
+
"type": "string"
|
912
|
+
},
|
913
|
+
{
|
914
|
+
"disabled": false,
|
915
|
+
"document": "· HealthCheckPolicyName\n 按照【健康检测规则名称】进行过滤。\n 类型:String\n 必选:否",
|
916
|
+
"example": "无",
|
917
|
+
"member": "Filter",
|
918
|
+
"name": "Filter",
|
919
|
+
"required": false,
|
920
|
+
"type": "list"
|
921
|
+
},
|
922
|
+
{
|
923
|
+
"disabled": false,
|
924
|
+
"document": "最大输出条数,默认20,最大为100",
|
925
|
+
"example": "10",
|
926
|
+
"member": "int64",
|
927
|
+
"name": "Limit",
|
928
|
+
"required": false,
|
929
|
+
"type": "int"
|
930
|
+
},
|
931
|
+
{
|
932
|
+
"disabled": false,
|
933
|
+
"document": "偏移量,默认0",
|
934
|
+
"example": "2",
|
935
|
+
"member": "int64",
|
936
|
+
"name": "Offset",
|
937
|
+
"required": false,
|
938
|
+
"type": "int"
|
939
|
+
}
|
940
|
+
],
|
941
|
+
"type": "object"
|
942
|
+
},
|
943
|
+
"DescribeHealthCheckPolicyBindingsResponse": {
|
944
|
+
"document": "DescribeHealthCheckPolicyBindings返回参数结构体",
|
945
|
+
"members": [
|
946
|
+
{
|
947
|
+
"disabled": false,
|
948
|
+
"document": "健康检测规则数组\n注意:此字段可能返回 null,表示取不到有效值。",
|
949
|
+
"example": "HC1",
|
950
|
+
"member": "HealthCheckPolicyBinding",
|
951
|
+
"name": "HealthCheckPolicyBindings",
|
952
|
+
"required": true,
|
953
|
+
"type": "list",
|
954
|
+
"value_allowed_null": true
|
955
|
+
},
|
956
|
+
{
|
957
|
+
"disabled": false,
|
958
|
+
"document": "健康检测规则数量\n注意:此字段可能返回 null,表示取不到有效值。",
|
959
|
+
"example": "1",
|
960
|
+
"member": "int64",
|
961
|
+
"name": "TotalCount",
|
962
|
+
"required": true,
|
963
|
+
"type": "int",
|
964
|
+
"value_allowed_null": true
|
965
|
+
},
|
966
|
+
{
|
967
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
968
|
+
"member": "string",
|
969
|
+
"name": "RequestId",
|
970
|
+
"type": "string"
|
971
|
+
}
|
972
|
+
],
|
973
|
+
"type": "object"
|
974
|
+
},
|
975
|
+
"DescribeHealthCheckTemplateRequest": {
|
976
|
+
"document": "DescribeHealthCheckTemplate请求参数结构体",
|
977
|
+
"members": [],
|
978
|
+
"type": "object"
|
979
|
+
},
|
980
|
+
"DescribeHealthCheckTemplateResponse": {
|
981
|
+
"document": "DescribeHealthCheckTemplate返回参数结构体",
|
982
|
+
"members": [
|
983
|
+
{
|
984
|
+
"disabled": false,
|
985
|
+
"document": "健康检测策略模板",
|
986
|
+
"example": "无",
|
987
|
+
"member": "HealthCheckTemplate",
|
988
|
+
"name": "HealthCheckTemplate",
|
989
|
+
"output_required": true,
|
990
|
+
"type": "object",
|
991
|
+
"value_allowed_null": false
|
992
|
+
},
|
993
|
+
{
|
994
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
995
|
+
"member": "string",
|
996
|
+
"name": "RequestId",
|
997
|
+
"type": "string"
|
998
|
+
}
|
999
|
+
],
|
1000
|
+
"type": "object"
|
1001
|
+
},
|
703
1002
|
"DescribeNodePoolsRequest": {
|
704
1003
|
"document": "DescribeNodePools请求参数结构体",
|
705
1004
|
"members": [
|
@@ -928,6 +1227,196 @@
|
|
928
1227
|
],
|
929
1228
|
"usage": "in"
|
930
1229
|
},
|
1230
|
+
"HealthCheckPolicy": {
|
1231
|
+
"document": "健康检测规则",
|
1232
|
+
"members": [
|
1233
|
+
{
|
1234
|
+
"disabled": false,
|
1235
|
+
"document": "健康检测策略名称",
|
1236
|
+
"example": "Node-pool1",
|
1237
|
+
"member": "string",
|
1238
|
+
"name": "Name",
|
1239
|
+
"required": true,
|
1240
|
+
"type": "string",
|
1241
|
+
"value_allowed_null": false
|
1242
|
+
},
|
1243
|
+
{
|
1244
|
+
"disabled": false,
|
1245
|
+
"document": "健康检测策略规则列表",
|
1246
|
+
"example": "无",
|
1247
|
+
"member": "HealthCheckPolicyRule",
|
1248
|
+
"name": "Rules",
|
1249
|
+
"required": true,
|
1250
|
+
"type": "list",
|
1251
|
+
"value_allowed_null": false
|
1252
|
+
}
|
1253
|
+
],
|
1254
|
+
"usage": "both"
|
1255
|
+
},
|
1256
|
+
"HealthCheckPolicyBinding": {
|
1257
|
+
"document": "健康检测策略和节点池的绑定关系",
|
1258
|
+
"members": [
|
1259
|
+
{
|
1260
|
+
"disabled": false,
|
1261
|
+
"document": "健康检测策略名称",
|
1262
|
+
"example": "Node-pool1",
|
1263
|
+
"member": "string",
|
1264
|
+
"name": "Name",
|
1265
|
+
"required": true,
|
1266
|
+
"type": "string",
|
1267
|
+
"value_allowed_null": false
|
1268
|
+
},
|
1269
|
+
{
|
1270
|
+
"disabled": false,
|
1271
|
+
"document": "规则创建时间",
|
1272
|
+
"example": "2021-01-20",
|
1273
|
+
"member": "string",
|
1274
|
+
"name": "CreatedAt",
|
1275
|
+
"required": true,
|
1276
|
+
"type": "string",
|
1277
|
+
"value_allowed_null": false
|
1278
|
+
},
|
1279
|
+
{
|
1280
|
+
"disabled": false,
|
1281
|
+
"document": "关联节点池数组",
|
1282
|
+
"example": "无",
|
1283
|
+
"member": "string",
|
1284
|
+
"name": "NodePools",
|
1285
|
+
"required": true,
|
1286
|
+
"type": "list",
|
1287
|
+
"value_allowed_null": false
|
1288
|
+
}
|
1289
|
+
],
|
1290
|
+
"usage": "out"
|
1291
|
+
},
|
1292
|
+
"HealthCheckPolicyRule": {
|
1293
|
+
"document": "健康检测规则",
|
1294
|
+
"members": [
|
1295
|
+
{
|
1296
|
+
"disabled": false,
|
1297
|
+
"document": "健康检测规则",
|
1298
|
+
"example": "KubeletHealth",
|
1299
|
+
"member": "string",
|
1300
|
+
"name": "Name",
|
1301
|
+
"required": true,
|
1302
|
+
"type": "string",
|
1303
|
+
"value_allowed_null": false
|
1304
|
+
},
|
1305
|
+
{
|
1306
|
+
"disabled": false,
|
1307
|
+
"document": "是否检测此项目",
|
1308
|
+
"example": "true",
|
1309
|
+
"member": "bool",
|
1310
|
+
"name": "Enabled",
|
1311
|
+
"required": true,
|
1312
|
+
"type": "bool",
|
1313
|
+
"value_allowed_null": false
|
1314
|
+
},
|
1315
|
+
{
|
1316
|
+
"disabled": false,
|
1317
|
+
"document": "是否启用修复",
|
1318
|
+
"example": "true",
|
1319
|
+
"member": "bool",
|
1320
|
+
"name": "AutoRepairEnabled",
|
1321
|
+
"required": true,
|
1322
|
+
"type": "bool",
|
1323
|
+
"value_allowed_null": false
|
1324
|
+
}
|
1325
|
+
],
|
1326
|
+
"usage": "both"
|
1327
|
+
},
|
1328
|
+
"HealthCheckTemplate": {
|
1329
|
+
"document": "健康检测模板",
|
1330
|
+
"members": [
|
1331
|
+
{
|
1332
|
+
"disabled": false,
|
1333
|
+
"document": "健康检测项",
|
1334
|
+
"example": "无",
|
1335
|
+
"member": "HealthCheckTemplateRule",
|
1336
|
+
"name": "Rules",
|
1337
|
+
"required": true,
|
1338
|
+
"type": "list",
|
1339
|
+
"value_allowed_null": false
|
1340
|
+
}
|
1341
|
+
],
|
1342
|
+
"usage": "both"
|
1343
|
+
},
|
1344
|
+
"HealthCheckTemplateRule": {
|
1345
|
+
"document": "健康检测模板规则",
|
1346
|
+
"members": [
|
1347
|
+
{
|
1348
|
+
"disabled": false,
|
1349
|
+
"document": "健康检测项目名称",
|
1350
|
+
"example": "KubeletHealth",
|
1351
|
+
"member": "string",
|
1352
|
+
"name": "Name",
|
1353
|
+
"required": true,
|
1354
|
+
"type": "string",
|
1355
|
+
"value_allowed_null": false
|
1356
|
+
},
|
1357
|
+
{
|
1358
|
+
"disabled": false,
|
1359
|
+
"document": "健康检测规则描述",
|
1360
|
+
"example": "Check kubelet health",
|
1361
|
+
"member": "string",
|
1362
|
+
"name": "Description",
|
1363
|
+
"required": true,
|
1364
|
+
"type": "string",
|
1365
|
+
"value_allowed_null": false
|
1366
|
+
},
|
1367
|
+
{
|
1368
|
+
"disabled": false,
|
1369
|
+
"document": "修复动作",
|
1370
|
+
"example": "Reboot",
|
1371
|
+
"member": "string",
|
1372
|
+
"name": "RepairAction",
|
1373
|
+
"required": true,
|
1374
|
+
"type": "string",
|
1375
|
+
"value_allowed_null": false
|
1376
|
+
},
|
1377
|
+
{
|
1378
|
+
"disabled": false,
|
1379
|
+
"document": "修复影响",
|
1380
|
+
"example": "Reboot VM",
|
1381
|
+
"member": "string",
|
1382
|
+
"name": "RepairEffect",
|
1383
|
+
"required": true,
|
1384
|
+
"type": "string",
|
1385
|
+
"value_allowed_null": false
|
1386
|
+
},
|
1387
|
+
{
|
1388
|
+
"disabled": false,
|
1389
|
+
"document": "是否建议开启检测",
|
1390
|
+
"example": "true",
|
1391
|
+
"member": "bool",
|
1392
|
+
"name": "ShouldEnable",
|
1393
|
+
"required": true,
|
1394
|
+
"type": "bool",
|
1395
|
+
"value_allowed_null": false
|
1396
|
+
},
|
1397
|
+
{
|
1398
|
+
"disabled": false,
|
1399
|
+
"document": "是否建议修复",
|
1400
|
+
"example": "true",
|
1401
|
+
"member": "bool",
|
1402
|
+
"name": "ShouldRepair",
|
1403
|
+
"required": true,
|
1404
|
+
"type": "bool",
|
1405
|
+
"value_allowed_null": false
|
1406
|
+
},
|
1407
|
+
{
|
1408
|
+
"disabled": false,
|
1409
|
+
"document": "问题严重程度",
|
1410
|
+
"example": "general",
|
1411
|
+
"member": "string",
|
1412
|
+
"name": "Severity",
|
1413
|
+
"required": true,
|
1414
|
+
"type": "string",
|
1415
|
+
"value_allowed_null": false
|
1416
|
+
}
|
1417
|
+
],
|
1418
|
+
"usage": "both"
|
1419
|
+
},
|
931
1420
|
"Instance": {
|
932
1421
|
"document": "集群的实例信息",
|
933
1422
|
"members": [
|
@@ -1458,6 +1947,42 @@
|
|
1458
1947
|
],
|
1459
1948
|
"usage": "out"
|
1460
1949
|
},
|
1950
|
+
"ModifyHealthCheckPolicyRequest": {
|
1951
|
+
"document": "ModifyHealthCheckPolicy请求参数结构体",
|
1952
|
+
"members": [
|
1953
|
+
{
|
1954
|
+
"disabled": false,
|
1955
|
+
"document": "集群 ID",
|
1956
|
+
"example": "cls-xxxx",
|
1957
|
+
"member": "string",
|
1958
|
+
"name": "ClusterId",
|
1959
|
+
"required": true,
|
1960
|
+
"type": "string"
|
1961
|
+
},
|
1962
|
+
{
|
1963
|
+
"disabled": false,
|
1964
|
+
"document": "健康检测策略",
|
1965
|
+
"example": "无",
|
1966
|
+
"member": "HealthCheckPolicy",
|
1967
|
+
"name": "HealthCheckPolicy",
|
1968
|
+
"required": true,
|
1969
|
+
"type": "object"
|
1970
|
+
}
|
1971
|
+
],
|
1972
|
+
"type": "object"
|
1973
|
+
},
|
1974
|
+
"ModifyHealthCheckPolicyResponse": {
|
1975
|
+
"document": "ModifyHealthCheckPolicy返回参数结构体",
|
1976
|
+
"members": [
|
1977
|
+
{
|
1978
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1979
|
+
"member": "string",
|
1980
|
+
"name": "RequestId",
|
1981
|
+
"type": "string"
|
1982
|
+
}
|
1983
|
+
],
|
1984
|
+
"type": "object"
|
1985
|
+
},
|
1461
1986
|
"ModifyNodePoolRequest": {
|
1462
1987
|
"document": "ModifyNodePool请求参数结构体",
|
1463
1988
|
"members": [
|
@@ -1,5 +1,13 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
|
+
"CreateHealthCheckPolicy": [
|
4
|
+
{
|
5
|
+
"document": "",
|
6
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateHealthCheckPolicy\n<公共请求参数>\n\n{\n \"ClusterId\": \"xx\",\n \"HealthCheckPolicy\": {\n \"Name\": \"NP1\",\n \"Rules\": []\n }\n}",
|
7
|
+
"output": "{\n \"Response\": {\n \"HealthCheckPolicyName\": \"NP1\",\n \"RequestId\": \"xx\"\n }\n}",
|
8
|
+
"title": "创建托管节点池健康检测策略"
|
9
|
+
}
|
10
|
+
],
|
3
11
|
"CreateNodePool": [
|
4
12
|
{
|
5
13
|
"document": "创建 TKE 节点池",
|
@@ -8,6 +16,14 @@
|
|
8
16
|
"title": "创建 TKE 节点池"
|
9
17
|
}
|
10
18
|
],
|
19
|
+
"DeleteHealthCheckPolicy": [
|
20
|
+
{
|
21
|
+
"document": "",
|
22
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteHealthCheckPolicy\n<公共请求参数>\n\n{\n \"ClusterId\": \"xx\",\n \"HealthCheckPolicyName\": \"NP1\"\n}",
|
23
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"xx\"\n }\n}",
|
24
|
+
"title": "创建托管节点池健康检测策略"
|
25
|
+
}
|
26
|
+
],
|
11
27
|
"DeleteNodePool": [
|
12
28
|
{
|
13
29
|
"document": "",
|
@@ -24,6 +40,36 @@
|
|
24
40
|
"title": "查询集群实例信息"
|
25
41
|
}
|
26
42
|
],
|
43
|
+
"DescribeHealthCheckPolicies": [
|
44
|
+
{
|
45
|
+
"document": "",
|
46
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeHealthCheckPolicies\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Values\": [\n \"A\"\n ],\n \"Name\": \"HealthCheckPolicyName\"\n }\n ],\n \"ClusterId\": \"xx\"\n}",
|
47
|
+
"output": "{\n \"Response\": {\n \"HealthCheckPolicies\": [\n {\n \"Name\": \"NP1\",\n \"Rules\": [\n {\n \"Name\": \"A\",\n \"Enabled\": true,\n \"AutoRepairEnabled\": false\n }\n ]\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"xx\"\n }\n}",
|
48
|
+
"title": "创建托管节点池健康检测规则"
|
49
|
+
}
|
50
|
+
],
|
51
|
+
"DescribeHealthCheckPolicyBindings": [
|
52
|
+
{
|
53
|
+
"document": "",
|
54
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeHealthCheckPolicyBindings\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-xxx\",\n \"Limit\": \"1\",\n \"Offset\": \"2\"\n}",
|
55
|
+
"output": "{\n \"RequestId\": \"xx\",\n \"Response\": {\n \"HealthCheckPolicyBindings\": [\n {\n \"CreatedAt\": \"xx\",\n \"NodePools\": [\n \"node-pool1\",\n \"node-pool2\"\n ],\n \"Name\": \"NP1\"\n }\n ],\n \"RequestId\": \"372ba519-daa2-4abc-9da7-0857970c998c\",\n \"TotalCount\": 1\n }\n}",
|
56
|
+
"title": "1"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"document": "",
|
60
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeHealthCheckPolicyBindings\n<公共请求参数>\n\n{\n \"Limit\": 0,\n \"ClusterId\": \"xx\",\n \"Filter\": [\n {\n \"Values\": [\n \"xx\"\n ],\n \"Name\": \"xx\"\n }\n ],\n \"Offset\": 0\n}",
|
61
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"HealthCheckPolicyBindings\": [\n {\n \"NodePools\": [\n \"xx\"\n ],\n \"Name\": \"xx\",\n \"CreatedAt\": \"xx\"\n }\n ],\n \"RequestId\": \"xx\"\n }\n}",
|
62
|
+
"title": "查询健康检测策略绑定关系"
|
63
|
+
}
|
64
|
+
],
|
65
|
+
"DescribeHealthCheckTemplate": [
|
66
|
+
{
|
67
|
+
"document": "",
|
68
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeHealthCheckTemplate\n<公共请求参数>\n\n{}",
|
69
|
+
"output": "{\n \"Response\": {\n \"HealthCheckTemplate\": {\n \"Rules\": [\n {\n \"Name\": \"A\",\n \"Description\": \"\",\n \"RepairAction\": \"restart\",\n \"RepairEffect\": \"\",\n \"ShouldEnable\": true,\n \"ShouldRepair\": false,\n \"Severity\": \"123\"\n }\n ]\n },\n \"RequestId\": \"123\"\n }\n}",
|
70
|
+
"title": "查询原生节点池健康检测策略模板"
|
71
|
+
}
|
72
|
+
],
|
27
73
|
"DescribeNodePools": [
|
28
74
|
{
|
29
75
|
"document": "查询 TKE 节点池列表",
|
@@ -32,6 +78,14 @@
|
|
32
78
|
"title": "查询 TKE 节点池列表"
|
33
79
|
}
|
34
80
|
],
|
81
|
+
"ModifyHealthCheckPolicy": [
|
82
|
+
{
|
83
|
+
"document": "",
|
84
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyHealthCheckPolicy\n<公共请求参数>\n\n{\n \"ClusterId\": \"xx\",\n \"HealthCheckPolicy\": {\n \"Name\": \"NP1\",\n \"Rules\": []\n }\n}",
|
85
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"xx\"\n }\n}",
|
86
|
+
"title": "修改托管节点池健康检测规则"
|
87
|
+
}
|
88
|
+
],
|
35
89
|
"ModifyNodePool": [
|
36
90
|
{
|
37
91
|
"document": "用户更新节点池",
|