tccli 3.0.1193.1__py2.py3-none-any.whl → 3.0.1195.1__py2.py3-none-any.whl
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.
- tccli/__init__.py +1 -1
- tccli/services/__init__.py +3 -0
- tccli/services/cdb/v20170320/api.json +45 -0
- tccli/services/cfw/v20190904/api.json +4 -4
- tccli/services/csip/v20221121/api.json +1 -1
- tccli/services/mqtt/__init__.py +4 -0
- tccli/services/mqtt/mqtt_client.py +248 -0
- tccli/services/mqtt/v20240516/api.json +612 -0
- tccli/services/mqtt/v20240516/examples.json +27 -0
- tccli/services/tke/tke_client.py +118 -12
- tccli/services/tke/v20180525/api.json +336 -15
- tccli/services/tke/v20180525/examples.json +16 -0
- tccli/services/vpc/v20170312/api.json +10 -0
- {tccli-3.0.1193.1.dist-info → tccli-3.0.1195.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1193.1.dist-info → tccli-3.0.1195.1.dist-info}/RECORD +18 -14
- {tccli-3.0.1193.1.dist-info → tccli-3.0.1195.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1193.1.dist-info → tccli-3.0.1195.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1193.1.dist-info → tccli-3.0.1195.1.dist-info}/license_files/LICENSE +0 -0
@@ -847,6 +847,13 @@
|
|
847
847
|
"output": "DescribeLogSwitchesResponse",
|
848
848
|
"status": "online"
|
849
849
|
},
|
850
|
+
"DescribeOpenPolicyList": {
|
851
|
+
"document": "查询opa策略列表",
|
852
|
+
"input": "DescribeOpenPolicyListRequest",
|
853
|
+
"name": "查询opa策略列表",
|
854
|
+
"output": "DescribeOpenPolicyListResponse",
|
855
|
+
"status": "online"
|
856
|
+
},
|
850
857
|
"DescribePodChargeInfo": {
|
851
858
|
"document": "查询正在运行中Pod的计费信息。可以通过 Namespace 和 Name 来查询某个 Pod 的信息,也可以通过 Pod 的 Uid 批量查询。",
|
852
859
|
"input": "DescribePodChargeInfoRequest",
|
@@ -1330,6 +1337,13 @@
|
|
1330
1337
|
"output": "ModifyNodePoolInstanceTypesResponse",
|
1331
1338
|
"status": "online"
|
1332
1339
|
},
|
1340
|
+
"ModifyOpenPolicyList": {
|
1341
|
+
"document": "批量修改opa策略",
|
1342
|
+
"input": "ModifyOpenPolicyListRequest",
|
1343
|
+
"name": "批量修改opa策略",
|
1344
|
+
"output": "ModifyOpenPolicyListResponse",
|
1345
|
+
"status": "online"
|
1346
|
+
},
|
1333
1347
|
"ModifyPrometheusAgentExternalLabels": {
|
1334
1348
|
"document": "修改被关联集群的external labels",
|
1335
1349
|
"input": "ModifyPrometheusAgentExternalLabelsRequest",
|
@@ -2770,6 +2784,16 @@
|
|
2770
2784
|
"output_required": true,
|
2771
2785
|
"type": "int",
|
2772
2786
|
"value_allowed_null": true
|
2787
|
+
},
|
2788
|
+
{
|
2789
|
+
"disabled": false,
|
2790
|
+
"document": "本地专用集群Id\n注意:此字段可能返回 null,表示取不到有效值。",
|
2791
|
+
"example": "cluster-0jend45y",
|
2792
|
+
"member": "string",
|
2793
|
+
"name": "CdcId",
|
2794
|
+
"output_required": false,
|
2795
|
+
"type": "string",
|
2796
|
+
"value_allowed_null": true
|
2773
2797
|
}
|
2774
2798
|
],
|
2775
2799
|
"usage": "out"
|
@@ -3769,7 +3793,7 @@
|
|
3769
3793
|
"example": "10.0.0.0/24",
|
3770
3794
|
"member": "string",
|
3771
3795
|
"name": "ClusterCIDR",
|
3772
|
-
"
|
3796
|
+
"output_required": true,
|
3773
3797
|
"type": "string",
|
3774
3798
|
"value_allowed_null": false
|
3775
3799
|
},
|
@@ -3779,7 +3803,7 @@
|
|
3779
3803
|
"example": "false",
|
3780
3804
|
"member": "bool",
|
3781
3805
|
"name": "IgnoreClusterCIDRConflict",
|
3782
|
-
"
|
3806
|
+
"output_required": true,
|
3783
3807
|
"type": "bool",
|
3784
3808
|
"value_allowed_null": false
|
3785
3809
|
},
|
@@ -3789,7 +3813,7 @@
|
|
3789
3813
|
"example": "256",
|
3790
3814
|
"member": "uint64",
|
3791
3815
|
"name": "MaxNodePodNum",
|
3792
|
-
"
|
3816
|
+
"output_required": true,
|
3793
3817
|
"type": "int",
|
3794
3818
|
"value_allowed_null": false
|
3795
3819
|
},
|
@@ -3799,7 +3823,7 @@
|
|
3799
3823
|
"example": "256",
|
3800
3824
|
"member": "uint64",
|
3801
3825
|
"name": "MaxClusterServiceNum",
|
3802
|
-
"
|
3826
|
+
"output_required": true,
|
3803
3827
|
"type": "int",
|
3804
3828
|
"value_allowed_null": false
|
3805
3829
|
},
|
@@ -3809,7 +3833,7 @@
|
|
3809
3833
|
"example": "false",
|
3810
3834
|
"member": "bool",
|
3811
3835
|
"name": "Ipvs",
|
3812
|
-
"
|
3836
|
+
"output_required": true,
|
3813
3837
|
"type": "bool",
|
3814
3838
|
"value_allowed_null": false
|
3815
3839
|
},
|
@@ -3819,7 +3843,7 @@
|
|
3819
3843
|
"example": "vpc-aaa",
|
3820
3844
|
"member": "string",
|
3821
3845
|
"name": "VpcId",
|
3822
|
-
"
|
3846
|
+
"output_required": true,
|
3823
3847
|
"type": "string",
|
3824
3848
|
"value_allowed_null": false
|
3825
3849
|
},
|
@@ -3829,7 +3853,7 @@
|
|
3829
3853
|
"example": "false",
|
3830
3854
|
"member": "bool",
|
3831
3855
|
"name": "Cni",
|
3832
|
-
"
|
3856
|
+
"output_required": true,
|
3833
3857
|
"type": "bool",
|
3834
3858
|
"value_allowed_null": false
|
3835
3859
|
},
|
@@ -3839,7 +3863,7 @@
|
|
3839
3863
|
"example": "ipvs-bpf",
|
3840
3864
|
"member": "string",
|
3841
3865
|
"name": "KubeProxyMode",
|
3842
|
-
"
|
3866
|
+
"output_required": true,
|
3843
3867
|
"type": "string",
|
3844
3868
|
"value_allowed_null": true
|
3845
3869
|
},
|
@@ -3849,7 +3873,7 @@
|
|
3849
3873
|
"example": "10.0.0.0/25",
|
3850
3874
|
"member": "string",
|
3851
3875
|
"name": "ServiceCIDR",
|
3852
|
-
"
|
3876
|
+
"output_required": true,
|
3853
3877
|
"type": "string",
|
3854
3878
|
"value_allowed_null": true
|
3855
3879
|
},
|
@@ -3859,7 +3883,7 @@
|
|
3859
3883
|
"example": "[\"subnet-aa\",\"subnet-bb\"]",
|
3860
3884
|
"member": "string",
|
3861
3885
|
"name": "Subnets",
|
3862
|
-
"
|
3886
|
+
"output_required": true,
|
3863
3887
|
"type": "list",
|
3864
3888
|
"value_allowed_null": true
|
3865
3889
|
},
|
@@ -3869,7 +3893,7 @@
|
|
3869
3893
|
"example": "false",
|
3870
3894
|
"member": "bool",
|
3871
3895
|
"name": "IgnoreServiceCIDRConflict",
|
3872
|
-
"
|
3896
|
+
"output_required": true,
|
3873
3897
|
"type": "bool",
|
3874
3898
|
"value_allowed_null": true
|
3875
3899
|
},
|
@@ -3879,7 +3903,7 @@
|
|
3879
3903
|
"example": "false",
|
3880
3904
|
"member": "bool",
|
3881
3905
|
"name": "IsDualStack",
|
3882
|
-
"
|
3906
|
+
"output_required": true,
|
3883
3907
|
"type": "bool",
|
3884
3908
|
"value_allowed_null": true
|
3885
3909
|
},
|
@@ -3889,7 +3913,7 @@
|
|
3889
3913
|
"example": "10.0.0.0/24",
|
3890
3914
|
"member": "string",
|
3891
3915
|
"name": "Ipv6ServiceCIDR",
|
3892
|
-
"
|
3916
|
+
"output_required": true,
|
3893
3917
|
"type": "string",
|
3894
3918
|
"value_allowed_null": true
|
3895
3919
|
},
|
@@ -3899,7 +3923,7 @@
|
|
3899
3923
|
"example": "\"clusterIP\"",
|
3900
3924
|
"member": "string",
|
3901
3925
|
"name": "CiliumMode",
|
3902
|
-
"
|
3926
|
+
"output_required": true,
|
3903
3927
|
"type": "string",
|
3904
3928
|
"value_allowed_null": true
|
3905
3929
|
}
|
@@ -11365,7 +11389,7 @@
|
|
11365
11389
|
},
|
11366
11390
|
{
|
11367
11391
|
"disabled": false,
|
11368
|
-
"document": "
|
11392
|
+
"document": "注册节点公网版公网连接地址",
|
11369
11393
|
"example": "23.142.142.24:9000",
|
11370
11394
|
"member": "string",
|
11371
11395
|
"name": "PublicConnectUrl",
|
@@ -11373,6 +11397,16 @@
|
|
11373
11397
|
"type": "string",
|
11374
11398
|
"value_allowed_null": false
|
11375
11399
|
},
|
11400
|
+
{
|
11401
|
+
"disabled": false,
|
11402
|
+
"document": "注册节点公网版自定义域名\n注意:此字段可能返回 null,表示取不到有效值。",
|
11403
|
+
"example": "test.com",
|
11404
|
+
"member": "string",
|
11405
|
+
"name": "PublicCustomDomain",
|
11406
|
+
"output_required": false,
|
11407
|
+
"type": "string",
|
11408
|
+
"value_allowed_null": true
|
11409
|
+
},
|
11376
11410
|
{
|
11377
11411
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
11378
11412
|
"member": "string",
|
@@ -11655,6 +11689,52 @@
|
|
11655
11689
|
],
|
11656
11690
|
"type": "object"
|
11657
11691
|
},
|
11692
|
+
"DescribeOpenPolicyListRequest": {
|
11693
|
+
"document": "DescribeOpenPolicyList请求参数结构体",
|
11694
|
+
"members": [
|
11695
|
+
{
|
11696
|
+
"disabled": false,
|
11697
|
+
"document": "集群ID",
|
11698
|
+
"example": "cls-abcd1234",
|
11699
|
+
"member": "string",
|
11700
|
+
"name": "ClusterId",
|
11701
|
+
"required": true,
|
11702
|
+
"type": "string"
|
11703
|
+
},
|
11704
|
+
{
|
11705
|
+
"disabled": false,
|
11706
|
+
"document": "策略分类 基线:baseline 优选:priority 可选:optional",
|
11707
|
+
"example": "baseline",
|
11708
|
+
"member": "string",
|
11709
|
+
"name": "Category",
|
11710
|
+
"required": false,
|
11711
|
+
"type": "string"
|
11712
|
+
}
|
11713
|
+
],
|
11714
|
+
"type": "object"
|
11715
|
+
},
|
11716
|
+
"DescribeOpenPolicyListResponse": {
|
11717
|
+
"document": "DescribeOpenPolicyList返回参数结构体",
|
11718
|
+
"members": [
|
11719
|
+
{
|
11720
|
+
"disabled": false,
|
11721
|
+
"document": "策略信息列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
11722
|
+
"example": "无",
|
11723
|
+
"member": "OpenPolicyInfo",
|
11724
|
+
"name": "OpenPolicyInfoList",
|
11725
|
+
"output_required": false,
|
11726
|
+
"type": "list",
|
11727
|
+
"value_allowed_null": true
|
11728
|
+
},
|
11729
|
+
{
|
11730
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
11731
|
+
"member": "string",
|
11732
|
+
"name": "RequestId",
|
11733
|
+
"type": "string"
|
11734
|
+
}
|
11735
|
+
],
|
11736
|
+
"type": "object"
|
11737
|
+
},
|
11658
11738
|
"DescribePodChargeInfoRequest": {
|
11659
11739
|
"document": "DescribePodChargeInfo请求参数结构体",
|
11660
11740
|
"members": [
|
@@ -18936,6 +19016,51 @@
|
|
18936
19016
|
],
|
18937
19017
|
"type": "object"
|
18938
19018
|
},
|
19019
|
+
"ModifyOpenPolicyListRequest": {
|
19020
|
+
"document": "ModifyOpenPolicyList请求参数结构体",
|
19021
|
+
"members": [
|
19022
|
+
{
|
19023
|
+
"disabled": false,
|
19024
|
+
"document": "集群ID",
|
19025
|
+
"example": "cls-abcd1234",
|
19026
|
+
"member": "string",
|
19027
|
+
"name": "ClusterId",
|
19028
|
+
"required": true,
|
19029
|
+
"type": "string"
|
19030
|
+
},
|
19031
|
+
{
|
19032
|
+
"disabled": false,
|
19033
|
+
"document": "修改的策略列表,目前仅支持修改EnforcementAction字段",
|
19034
|
+
"example": "[ { \"EnforcementAction\": \"dryrun\", \"Name\": \"block-namespace-deletion-rule\", \"Kind\": \"blocknamespacedeletion\" } ]",
|
19035
|
+
"member": "OpenPolicySwitch",
|
19036
|
+
"name": "OpenPolicyInfoList",
|
19037
|
+
"required": false,
|
19038
|
+
"type": "list"
|
19039
|
+
},
|
19040
|
+
{
|
19041
|
+
"disabled": false,
|
19042
|
+
"document": "策略分类 基线:baseline 优选:priority 可选:optional",
|
19043
|
+
"example": "optional",
|
19044
|
+
"member": "string",
|
19045
|
+
"name": "Category",
|
19046
|
+
"required": false,
|
19047
|
+
"type": "string"
|
19048
|
+
}
|
19049
|
+
],
|
19050
|
+
"type": "object"
|
19051
|
+
},
|
19052
|
+
"ModifyOpenPolicyListResponse": {
|
19053
|
+
"document": "ModifyOpenPolicyList返回参数结构体",
|
19054
|
+
"members": [
|
19055
|
+
{
|
19056
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
19057
|
+
"member": "string",
|
19058
|
+
"name": "RequestId",
|
19059
|
+
"type": "string"
|
19060
|
+
}
|
19061
|
+
],
|
19062
|
+
"type": "object"
|
19063
|
+
},
|
18939
19064
|
"ModifyPrometheusAgentExternalLabelsRequest": {
|
18940
19065
|
"document": "ModifyPrometheusAgentExternalLabels请求参数结构体",
|
18941
19066
|
"members": [
|
@@ -19799,6 +19924,202 @@
|
|
19799
19924
|
],
|
19800
19925
|
"usage": "both"
|
19801
19926
|
},
|
19927
|
+
"OpenConstraintInfo": {
|
19928
|
+
"document": "策略实例信息",
|
19929
|
+
"members": [
|
19930
|
+
{
|
19931
|
+
"disabled": false,
|
19932
|
+
"document": "策略实例名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
19933
|
+
"example": "block-namespace-deletion-rule",
|
19934
|
+
"member": "string",
|
19935
|
+
"name": "Name",
|
19936
|
+
"output_required": false,
|
19937
|
+
"required": false,
|
19938
|
+
"type": "string",
|
19939
|
+
"value_allowed_null": true
|
19940
|
+
},
|
19941
|
+
{
|
19942
|
+
"disabled": false,
|
19943
|
+
"document": "策略实例关联事件数\n注意:此字段可能返回 null,表示取不到有效值。",
|
19944
|
+
"example": "3",
|
19945
|
+
"member": "uint64",
|
19946
|
+
"name": "EventNums",
|
19947
|
+
"output_required": false,
|
19948
|
+
"required": false,
|
19949
|
+
"type": "int",
|
19950
|
+
"value_allowed_null": true
|
19951
|
+
},
|
19952
|
+
{
|
19953
|
+
"disabled": false,
|
19954
|
+
"document": "实例yaml详情base64编码\n注意:此字段可能返回 null,表示取不到有效值。",
|
19955
|
+
"example": "apiVersion: constraints.gatekeeper.sh/v1beta1 kind: BlockNamespaceDeletion metadata: name: block-namespace-deletion-rule annotations: \"helm.sh/hook\": post-install,post-upgrade spec: enforcementAction: dryrun match: kinds: - apiGroups: [\"*\"] kinds: [\"Namespace\"]",
|
19956
|
+
"member": "string",
|
19957
|
+
"name": "YamlDetail",
|
19958
|
+
"output_required": false,
|
19959
|
+
"required": false,
|
19960
|
+
"type": "string",
|
19961
|
+
"value_allowed_null": true
|
19962
|
+
}
|
19963
|
+
],
|
19964
|
+
"usage": "both"
|
19965
|
+
},
|
19966
|
+
"OpenPolicyInfo": {
|
19967
|
+
"document": "opa策略信息",
|
19968
|
+
"members": [
|
19969
|
+
{
|
19970
|
+
"disabled": false,
|
19971
|
+
"document": "策略分类:cluster集群策略、node节点策略、namespace命名空间策略、configuration配置相关策略、compute计算资源策略、storage存储资源策略、network网络资源策略\n注意:此字段可能返回 null,表示取不到有效值。",
|
19972
|
+
"example": "cluster",
|
19973
|
+
"member": "string",
|
19974
|
+
"name": "PolicyCategory",
|
19975
|
+
"output_required": false,
|
19976
|
+
"type": "string",
|
19977
|
+
"value_allowed_null": true
|
19978
|
+
},
|
19979
|
+
{
|
19980
|
+
"disabled": false,
|
19981
|
+
"document": "策略中文名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
19982
|
+
"example": "存在节点的集群不允许删除",
|
19983
|
+
"member": "string",
|
19984
|
+
"name": "PolicyName",
|
19985
|
+
"output_required": false,
|
19986
|
+
"type": "string",
|
19987
|
+
"value_allowed_null": true
|
19988
|
+
},
|
19989
|
+
{
|
19990
|
+
"disabled": false,
|
19991
|
+
"document": "策略描述\n注意:此字段可能返回 null,表示取不到有效值。",
|
19992
|
+
"example": "集群中存在任意节点,需下线节点后方可删除",
|
19993
|
+
"member": "string",
|
19994
|
+
"name": "PolicyDesc",
|
19995
|
+
"output_required": false,
|
19996
|
+
"type": "string",
|
19997
|
+
"value_allowed_null": true
|
19998
|
+
},
|
19999
|
+
{
|
20000
|
+
"disabled": false,
|
20001
|
+
"document": "策略运行模式:dryrun空跑不生效,deny拦截生效\n注意:此字段可能返回 null,表示取不到有效值。",
|
20002
|
+
"example": "dryrun",
|
20003
|
+
"member": "string",
|
20004
|
+
"name": "EnforcementAction",
|
20005
|
+
"output_required": true,
|
20006
|
+
"type": "string",
|
20007
|
+
"value_allowed_null": true
|
20008
|
+
},
|
20009
|
+
{
|
20010
|
+
"disabled": false,
|
20011
|
+
"document": "关联的事件数量(最近7d)\n注意:此字段可能返回 null,表示取不到有效值。",
|
20012
|
+
"example": "3",
|
20013
|
+
"member": "uint64",
|
20014
|
+
"name": "EventNums",
|
20015
|
+
"output_required": false,
|
20016
|
+
"type": "int",
|
20017
|
+
"value_allowed_null": true
|
20018
|
+
},
|
20019
|
+
{
|
20020
|
+
"disabled": false,
|
20021
|
+
"document": "策略英文名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
20022
|
+
"example": "block-crd-deletion-rule",
|
20023
|
+
"member": "string",
|
20024
|
+
"name": "Name",
|
20025
|
+
"output_required": true,
|
20026
|
+
"type": "string",
|
20027
|
+
"value_allowed_null": true
|
20028
|
+
},
|
20029
|
+
{
|
20030
|
+
"disabled": false,
|
20031
|
+
"document": "策略模版类型\n注意:此字段可能返回 null,表示取不到有效值。",
|
20032
|
+
"example": "BlockCrdDeletion",
|
20033
|
+
"member": "string",
|
20034
|
+
"name": "Kind",
|
20035
|
+
"output_required": true,
|
20036
|
+
"type": "string",
|
20037
|
+
"value_allowed_null": true
|
20038
|
+
},
|
20039
|
+
{
|
20040
|
+
"disabled": false,
|
20041
|
+
"document": "策略开关状态:open打开,close关闭\n注意:此字段可能返回 null,表示取不到有效值。",
|
20042
|
+
"example": "open",
|
20043
|
+
"member": "string",
|
20044
|
+
"name": "EnabledStatus",
|
20045
|
+
"output_required": false,
|
20046
|
+
"type": "string",
|
20047
|
+
"value_allowed_null": true
|
20048
|
+
},
|
20049
|
+
{
|
20050
|
+
"disabled": false,
|
20051
|
+
"document": "策略的实例的yaml示例base64编码\n注意:此字段可能返回 null,表示取不到有效值。",
|
20052
|
+
"example": "无",
|
20053
|
+
"member": "string",
|
20054
|
+
"name": "ConstraintYamlExample",
|
20055
|
+
"output_required": false,
|
20056
|
+
"type": "string",
|
20057
|
+
"value_allowed_null": true
|
20058
|
+
},
|
20059
|
+
{
|
20060
|
+
"disabled": false,
|
20061
|
+
"document": "策略关联的实例列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
20062
|
+
"example": "[]",
|
20063
|
+
"member": "OpenConstraintInfo",
|
20064
|
+
"name": "OpenConstraintInfoList",
|
20065
|
+
"output_required": false,
|
20066
|
+
"type": "list",
|
20067
|
+
"value_allowed_null": true
|
20068
|
+
}
|
20069
|
+
],
|
20070
|
+
"usage": "out"
|
20071
|
+
},
|
20072
|
+
"OpenPolicySwitch": {
|
20073
|
+
"document": "opa策略开关",
|
20074
|
+
"members": [
|
20075
|
+
{
|
20076
|
+
"disabled": false,
|
20077
|
+
"document": "策略运行模式:dryrun空跑不生效,deny拦截生效",
|
20078
|
+
"example": "dryrun",
|
20079
|
+
"member": "string",
|
20080
|
+
"name": "EnforcementAction",
|
20081
|
+
"required": true,
|
20082
|
+
"type": "string"
|
20083
|
+
},
|
20084
|
+
{
|
20085
|
+
"disabled": false,
|
20086
|
+
"document": "策略英文名称",
|
20087
|
+
"example": "block-crd-deletion-rule",
|
20088
|
+
"member": "string",
|
20089
|
+
"name": "Name",
|
20090
|
+
"required": true,
|
20091
|
+
"type": "string"
|
20092
|
+
},
|
20093
|
+
{
|
20094
|
+
"disabled": false,
|
20095
|
+
"document": "策略模版类型",
|
20096
|
+
"example": "BlockCrdDeletion",
|
20097
|
+
"member": "string",
|
20098
|
+
"name": "Kind",
|
20099
|
+
"required": true,
|
20100
|
+
"type": "string"
|
20101
|
+
},
|
20102
|
+
{
|
20103
|
+
"disabled": false,
|
20104
|
+
"document": "策略开关状态:open打开,close关闭",
|
20105
|
+
"example": "open",
|
20106
|
+
"member": "string",
|
20107
|
+
"name": "EnabledStatus",
|
20108
|
+
"required": false,
|
20109
|
+
"type": "string"
|
20110
|
+
},
|
20111
|
+
{
|
20112
|
+
"disabled": false,
|
20113
|
+
"document": "策略关联的实例列表",
|
20114
|
+
"example": "[]",
|
20115
|
+
"member": "OpenConstraintInfo",
|
20116
|
+
"name": "OpenConstraintInfoList",
|
20117
|
+
"required": false,
|
20118
|
+
"type": "list"
|
20119
|
+
}
|
20120
|
+
],
|
20121
|
+
"usage": "in"
|
20122
|
+
},
|
19802
20123
|
"OptionalRuntimes": {
|
19803
20124
|
"document": "可选运行时",
|
19804
20125
|
"members": [
|
@@ -1004,6 +1004,14 @@
|
|
1004
1004
|
"title": "查询开关列表接口示例"
|
1005
1005
|
}
|
1006
1006
|
],
|
1007
|
+
"DescribeOpenPolicyList": [
|
1008
|
+
{
|
1009
|
+
"document": "",
|
1010
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeOpenPolicyList\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-gzzr1v5t\",\n \"Category\": \"baseline\"\n}",
|
1011
|
+
"output": "{\n \"Response\": {\n \"OpenPolicyInfoList\": [\n {\n \"EnforcementAction\": \"deny\",\n \"EventNums\": 0,\n \"Kind\": \"blockclusterdeletion\",\n \"Name\": \"block-cluster-deletion-rule\",\n \"PolicyCategory\": \"cluster\",\n \"PolicyDesc\": \"集群中存在任意节点(普通节点、原生节点、注册节点),需先下线节点后方可删除\",\n \"PolicyName\": \"存在节点的集群不允许删除\"\n },\n {\n \"EnforcementAction\": \"dryrun\",\n \"EventNums\": 0,\n \"Kind\": \"blocknamespacedeletion\",\n \"Name\": \"block-namespace-deletion-rule\",\n \"PolicyCategory\": \"namespace\",\n \"PolicyDesc\": \"命名空间内如果存在pod、service、ingress、pvc,需清空上述资源后方可删除\",\n \"PolicyName\": \"存在workload、服务与路由、存储对象的命名空间不允许删除\"\n },\n {\n \"EnforcementAction\": \"dryrun\",\n \"EventNums\": 0,\n \"Kind\": \"blockcrddeletion\",\n \"Name\": \"block-crd-deletion-rule\",\n \"PolicyCategory\": \"configuration\",\n \"PolicyDesc\": \"crd定义的apiversion下如果有创建cr资源,则清空cr后方可删除crd\",\n \"PolicyName\": \"存在cr的crd不允许删除\"\n },\n {\n \"EnforcementAction\": \"dryrun\",\n \"EventNums\": 0,\n \"Kind\": \"blockpvdeletion\",\n \"Name\": \"block-pv-deletion-rule\",\n \"PolicyCategory\": \"storage\",\n \"PolicyDesc\": \"pv如果处于bound状态,则不允许被删除\",\n \"PolicyName\": \"绑定状态的pv不允许删除\"\n },\n {\n \"EnforcementAction\": \"dryrun\",\n \"EventNums\": 0,\n \"Kind\": \"blockservicewithingressdeletion\",\n \"Name\": \"block-service-with-ingress-deletion-rule\",\n \"PolicyCategory\": \"network\",\n \"PolicyDesc\": \"ingress-controller前端svc,如果存在ingress配置,则svc不允许删除\",\n \"PolicyName\": \"应用了ingress规则的svc不允许删除\"\n }\n ],\n \"RequestId\": \"224782f1-c990-4383-8f21-bb369c9ca396\"\n }\n}",
|
1012
|
+
"title": "查询策略列表"
|
1013
|
+
}
|
1014
|
+
],
|
1007
1015
|
"DescribePodChargeInfo": [
|
1008
1016
|
{
|
1009
1017
|
"document": " 需要同时指定 Namespace 和 Name",
|
@@ -1646,6 +1654,14 @@
|
|
1646
1654
|
"title": "修改节点池机型"
|
1647
1655
|
}
|
1648
1656
|
],
|
1657
|
+
"ModifyOpenPolicyList": [
|
1658
|
+
{
|
1659
|
+
"document": "",
|
1660
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyOpenPolicyList\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-gzzr1v5t\",\n \"Category\": \"optional\",\n \"OpenPolicyInfoList\": [\n {\n \"EnforcementAction\": \"dryrun\",\n \"Name\": \"block-namespace-deletion-rule\",\n \"Kind\": \"blocknamespacedeletion\"\n }\n ]\n}",
|
1661
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"807af656-9c9b-43b0-bf8a-d0218b624ec7\"\n }\n}",
|
1662
|
+
"title": "批量修改策略开关"
|
1663
|
+
}
|
1664
|
+
],
|
1649
1665
|
"ModifyPrometheusAgentExternalLabels": [
|
1650
1666
|
{
|
1651
1667
|
"document": "",
|
@@ -9160,6 +9160,15 @@
|
|
9160
9160
|
"name": "SecurityGroupId",
|
9161
9161
|
"required": false,
|
9162
9162
|
"type": "string"
|
9163
|
+
},
|
9164
|
+
{
|
9165
|
+
"disabled": false,
|
9166
|
+
"document": "指定绑定的标签列表,例如:[{\"Key\": \"city\", \"Value\": \"shanghai\"}]。",
|
9167
|
+
"example": "无",
|
9168
|
+
"member": "Tag",
|
9169
|
+
"name": "Tags",
|
9170
|
+
"required": false,
|
9171
|
+
"type": "list"
|
9163
9172
|
}
|
9164
9173
|
],
|
9165
9174
|
"type": "object"
|
@@ -9173,6 +9182,7 @@
|
|
9173
9182
|
"example": "无。",
|
9174
9183
|
"member": "EndPoint",
|
9175
9184
|
"name": "EndPoint",
|
9185
|
+
"output_required": true,
|
9176
9186
|
"type": "object",
|
9177
9187
|
"value_allowed_null": false
|
9178
9188
|
},
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: tccli
|
3
|
-
Version: 3.0.
|
3
|
+
Version: 3.0.1195.1
|
4
4
|
Summary: Universal Command Line Environment for Tencent Cloud
|
5
5
|
Project-URL: Bug Tracker, https://github.com/TencentCloud/tencentcloud-cli/issues
|
6
6
|
Project-URL: Homepage, https://github.com/TencentCloud/tencentcloud-cli
|
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
13
13
|
Classifier: Programming Language :: Python :: 3
|
14
14
|
Requires-Dist: jmespath==0.10.0
|
15
15
|
Requires-Dist: six==1.16.0
|
16
|
-
Requires-Dist: tencentcloud-sdk-python>=3.0.
|
16
|
+
Requires-Dist: tencentcloud-sdk-python>=3.0.1195
|
17
17
|
Description-Content-Type: text/markdown
|
18
18
|
|
19
19
|
# 命令行工具简介
|
@@ -1,4 +1,4 @@
|
|
1
|
-
tccli/__init__.py,sha256=
|
1
|
+
tccli/__init__.py,sha256=uFDSqXI-d13SVvIz5poxHtpHXLN2z5GXCmbii2__vnI,27
|
2
2
|
tccli/argparser.py,sha256=iFaw_iIMdyVwUdcv2_2OHQfe7-7j9yGzoOgXgXswoBo,5555
|
3
3
|
tccli/argument.py,sha256=ZtVo3AySpzM-Hw6_hPdU27FjUsc8QPB2fIuLy7JSBAk,8091
|
4
4
|
tccli/base_command.py,sha256=rFWNAwfS0GA6LLGNOM-iPI0RV81Jag5cZn536ZQN0pw,2859
|
@@ -41,7 +41,7 @@ tccli/plugins/auth/texts.py,sha256=PuHcfssRM2DEgRCR9SJRVCLg-9APKnXRgm-Mo_TQqDA,1
|
|
41
41
|
tccli/plugins/test/__init__.py,sha256=ed14rjeb4-Sf_uttli4x3gRl27FT2-NHPtQxRcdwE3o,2712
|
42
42
|
tccli/plugins/test/add.py,sha256=L8EcHizXbEb8NiH1C-Giu9RPHRxe9rxGBDziaaFa1LE,1016
|
43
43
|
tccli/services/MANIFEST.in,sha256=2Id4nQ7_YlPcmGJgB7Jz02hTv24e4LYMsl0CMORtVTU,26325
|
44
|
-
tccli/services/__init__.py,sha256=
|
44
|
+
tccli/services/__init__.py,sha256=zbxWPsCkAEgBDUzewqWqdBPH6GkBEnM-wjEBi6yJcDw,12111
|
45
45
|
tccli/services/aa/__init__.py,sha256=jqFTiw1tGZng_t1E5scKOq2vkIM7l12IT7uhNZdgILk,83
|
46
46
|
tccli/services/aa/aa_client.py,sha256=KHQWt9LvbszactPXIcoLdnJqoRmc615XzTyDS4N2xsA,8671
|
47
47
|
tccli/services/aa/v20200224/api.json,sha256=K-1Niz-kTgONcjoegOPbbjIi-j3vltZg2Cuu25HK4Hk,13820
|
@@ -210,7 +210,7 @@ tccli/services/ccc/v20200210/api.json,sha256=lkgqBtzSJa7r6CzYQnnGNBd2muQwr6ENAQB
|
|
210
210
|
tccli/services/ccc/v20200210/examples.json,sha256=NKgE6E5IuVX7_xhlMxSvQ2-S7btpjM4SFLkd-P6EUec,62204
|
211
211
|
tccli/services/cdb/__init__.py,sha256=9Jk9tAMP2ZM_xOG77GvqXL1q3UfwYTEos6_P6xzpTiM,85
|
212
212
|
tccli/services/cdb/cdb_client.py,sha256=_g_NpL7dLygoDPY-3vXWAn8fmDp4FVPpctcerXVGuvw,532482
|
213
|
-
tccli/services/cdb/v20170320/api.json,sha256
|
213
|
+
tccli/services/cdb/v20170320/api.json,sha256=QQO25wRKH40Npdi6fYVC8m8eyuWWuU7-uFcYGdX5KII,724102
|
214
214
|
tccli/services/cdb/v20170320/examples.json,sha256=53vzEpPhGjmN0bisMHVX5OF3-4JPa9rTkGHdnvVcGEo,165450
|
215
215
|
tccli/services/cdc/__init__.py,sha256=0NOw5_YSjO-QzgYYiIo0gheuTe2_dvzCUnVD4BOP4tI,85
|
216
216
|
tccli/services/cdc/cdc_client.py,sha256=wSnb34OvPAii0UEu5GkkgWFQ15CmtjsfnPKgE5nzFqU,71139
|
@@ -250,7 +250,7 @@ tccli/services/cfs/v20190719/api.json,sha256=Ry8UW6kA97yAtDOzUIcwdBUnVp5T3ACf62-
|
|
250
250
|
tccli/services/cfs/v20190719/examples.json,sha256=6XSwCVfwFdSrLjAIy4Q2dXMumr8pIQnts7QfA8Hj1G4,33505
|
251
251
|
tccli/services/cfw/__init__.py,sha256=2hNwXcNofHJCalk9HHEbOcgYz6XKuYmZk_iBroa5YsY,85
|
252
252
|
tccli/services/cfw/cfw_client.py,sha256=Bw9g5PbQovbqEmRVa26tVoFYZSYxqhVeX1_C9pLo0-0,362157
|
253
|
-
tccli/services/cfw/v20190904/api.json,sha256=
|
253
|
+
tccli/services/cfw/v20190904/api.json,sha256=uJS1YXVeYiGyNjFJ0JBdO99KuVvJPYq0StvVkB3AI-g,504693
|
254
254
|
tccli/services/cfw/v20190904/examples.json,sha256=mWCuiMLdZowL9MbL9DcPK0uH2ioZhkSZnfImMc_9CsM,113642
|
255
255
|
tccli/services/chdfs/__init__.py,sha256=lx3R4qylmSHNb4EJWL_ipMVfkkva_S3QOM12FRsTOVI,89
|
256
256
|
tccli/services/chdfs/chdfs_client.py,sha256=mkuDVNgnCot5m0ne0BeuLCNq2GKEA560s3idjWKfCUw,95468
|
@@ -334,7 +334,7 @@ tccli/services/cr/v20180321/api.json,sha256=0driW95fuUetU3bkx2wGSNoEe96jLH8CLwGV
|
|
334
334
|
tccli/services/cr/v20180321/examples.json,sha256=xa9vI4IS0HgoplQFbBxqf0kpn0bFYZsmRoGjlEWlxPc,20275
|
335
335
|
tccli/services/csip/__init__.py,sha256=lviIDC_icuTLoePk_MnHdgD3FQE_exgx48c_sEtQUTg,87
|
336
336
|
tccli/services/csip/csip_client.py,sha256=8bfBaM_0xyIWDc9iwnJzRKGsWOQLaff_d1W4JFx7lyA,139718
|
337
|
-
tccli/services/csip/v20221121/api.json,sha256=
|
337
|
+
tccli/services/csip/v20221121/api.json,sha256=sMoQX7anTslH_7VHrZsbJb2IxPkK26RteYJ4zlBhzbU,459375
|
338
338
|
tccli/services/csip/v20221121/examples.json,sha256=-uJ1lifcEzHveObTHTLJwXNTvn5dDf4z830aFAPuQ98,104067
|
339
339
|
tccli/services/csxg/__init__.py,sha256=sU_ZPmrn3aufIb1-rpZt1Dw5v8m5NSwklmxjCAuTgyA,87
|
340
340
|
tccli/services/csxg/csxg_client.py,sha256=C5qeU1wzK19kmoufu3zd-stsSrcpGUllKBswQXEWeRw,21024
|
@@ -682,6 +682,10 @@ tccli/services/mps/__init__.py,sha256=4M5o2xc0u3rqtgz_5an9Qxw2QaOqwBq8Fjc3IB64p2
|
|
682
682
|
tccli/services/mps/mps_client.py,sha256=h3jjE66SxuAI5uIysVKhYKStOXZFd2Lr0ZdT_jgqPiw,329690
|
683
683
|
tccli/services/mps/v20190612/api.json,sha256=asHeJyu4ppS9ujdhZ79QZiQp6pbZt0sr54dkXY5GZnQ,1015386
|
684
684
|
tccli/services/mps/v20190612/examples.json,sha256=AjqnSqFuiPJp5XUQCW-9InuO7MnLAzm4ygTlFu0mtiM,273447
|
685
|
+
tccli/services/mqtt/__init__.py,sha256=zchTxfWVKqmIOpb6siJtQcRDR5OfcpauX-ONDH5g32w,87
|
686
|
+
tccli/services/mqtt/mqtt_client.py,sha256=ppGa3Cmmx8bOi-l_c_ok8_XlOLHg4DdBNhWKaRBQb34,11760
|
687
|
+
tccli/services/mqtt/v20240516/api.json,sha256=ct8Hn7bJF94dOg9igvwYNgfXxhD_ldaohYEfpJhGuWI,20017
|
688
|
+
tccli/services/mqtt/v20240516/examples.json,sha256=eIGXOzdLrnbkCJMmRDi_1m-AnCh9f9RpgEjafZOKnQQ,7432
|
685
689
|
tccli/services/mrs/__init__.py,sha256=Vwc_ClNX27xapevic8Icf1ien9RVCMPqPag9PyUNnos,85
|
686
690
|
tccli/services/mrs/mrs_client.py,sha256=gkJ5KxNkknL-NkxVnYJOPl0J63RMByeEGagfjqOtqqg,39439
|
687
691
|
tccli/services/mrs/v20200910/api.json,sha256=7Dq9WuRqKzF-G44q-9dLGsYwZ7oiPnp_E9lZ-IvN5n8,529224
|
@@ -971,9 +975,9 @@ tccli/services/tiw/tiw_client.py,sha256=eHjqB6jBGoIO-IQ9hS7hk2e9N-jO7bDbh3Nb_s4a
|
|
971
975
|
tccli/services/tiw/v20190919/api.json,sha256=c5Ecm2NbrEjsbrPN7jJ8R0AaE3QwZ3xnVLqbM2kjyPc,225830
|
972
976
|
tccli/services/tiw/v20190919/examples.json,sha256=WaA43CeC-HN0ZRBwn173qIu0us_J_4eabeHVUYtH_dc,53985
|
973
977
|
tccli/services/tke/__init__.py,sha256=7R7ljco3cOJ2rceMbHur-sjpljFjutvZXAUnXQubtEM,85
|
974
|
-
tccli/services/tke/tke_client.py,sha256=
|
975
|
-
tccli/services/tke/v20180525/api.json,sha256=
|
976
|
-
tccli/services/tke/v20180525/examples.json,sha256=
|
978
|
+
tccli/services/tke/tke_client.py,sha256=t6gi1rX0WT4DAFCg-8FSKnTC9yZSGZGMVy_ndPnbyFM,735431
|
979
|
+
tccli/services/tke/v20180525/api.json,sha256=EmxsE3zm5UIXOmhskhWO8WVmsL9_1AfWiLFmCmIjD0E,878774
|
980
|
+
tccli/services/tke/v20180525/examples.json,sha256=fprPX6GMjt1zEAWBrvrETggVmXy742FwtoyvyhLdIq8,244288
|
977
981
|
tccli/services/tke/v20220501/api.json,sha256=aeDGyVJTteWXQwOccLocSCGupG3R_beN7gZ1pzEw_8M,107000
|
978
982
|
tccli/services/tke/v20220501/examples.json,sha256=GkppfINGeJ8aonC3klALtI_OCAboT1BipHu78VyVlww,19323
|
979
983
|
tccli/services/tkgdq/__init__.py,sha256=F4L4oLnjfSIejxFzxNpfGAilbzK0g0-3LGsNWbX1hOY,89
|
@@ -1072,7 +1076,7 @@ tccli/services/vod/v20240718/api.json,sha256=qEb0v2SaH1_NwIrBtQnwkX0Ra-kR3v_dfwG
|
|
1072
1076
|
tccli/services/vod/v20240718/examples.json,sha256=g5rJRLbY-ngpdZJP1xsLT4A9dea78jqdSj8svKZpqoA,4839
|
1073
1077
|
tccli/services/vpc/__init__.py,sha256=3Uy1NP1qkZo8Nd-p-jr1ioM8nnurpWlZOgH6iB3HT7M,85
|
1074
1078
|
tccli/services/vpc/vpc_client.py,sha256=KqDpR6FmfkCiIUwrms-r2KYj07wDgEDGnF4U3cqJkBM,1092438
|
1075
|
-
tccli/services/vpc/v20170312/api.json,sha256=
|
1079
|
+
tccli/services/vpc/v20170312/api.json,sha256=JybUyY23022JmqOHF2JB0HIzjupENbpC6ds3Rsp5MYg,1206194
|
1076
1080
|
tccli/services/vpc/v20170312/examples.json,sha256=Uum28mpd6wkwnENunfTS30_uY1I54WuJphMZmOMqh8o,423532
|
1077
1081
|
tccli/services/vrs/__init__.py,sha256=wd5Otb4faSI7EjUxu_vldqDm0UVy5iVTZYbLgHCVoHk,85
|
1078
1082
|
tccli/services/vrs/vrs_client.py,sha256=GoEtSeQJUcGDUenhtMEXSM0UvCGBZe-hx068V6TAwI8,27146
|
@@ -1120,8 +1124,8 @@ tccli/services/yunsou/v20180504/api.json,sha256=2808fil5p3pTEJ3SqXEEq7eSrASZOiv8
|
|
1120
1124
|
tccli/services/yunsou/v20180504/examples.json,sha256=Jg4WuqS_Wxl7eTBMbzjem65FuUZQi3qq3xtlBNFZlTU,11870
|
1121
1125
|
tccli/services/yunsou/v20191115/api.json,sha256=r_p7c7fMNylQVDpSN0CkUB4Cx1nYW1lI3BM_Zi50FNs,15932
|
1122
1126
|
tccli/services/yunsou/v20191115/examples.json,sha256=vN5MzexHVPMckm4MbnXNiOe3KKiVchvf4_uLpjOskuk,3983
|
1123
|
-
tccli-3.0.
|
1124
|
-
tccli-3.0.
|
1125
|
-
tccli-3.0.
|
1126
|
-
tccli-3.0.
|
1127
|
-
tccli-3.0.
|
1127
|
+
tccli-3.0.1195.1.dist-info/METADATA,sha256=Xo6awt8Ov_ROF_jmAnlJLOF3_YXuFUtGMRzuimJdWHQ,16172
|
1128
|
+
tccli-3.0.1195.1.dist-info/WHEEL,sha256=HyPWovjK_wfsxZqVnw7Bu5rgKxNh3Nm__lHm0ALDcb4,101
|
1129
|
+
tccli-3.0.1195.1.dist-info/entry_points.txt,sha256=9ZzsXxi7Xj3ZneT7VxRVJpFvnmdEOeysh999_0gWVvo,85
|
1130
|
+
tccli-3.0.1195.1.dist-info/license_files/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
1131
|
+
tccli-3.0.1195.1.dist-info/RECORD,,
|