tccli 3.0.1119.1__py2.py3-none-any.whl → 3.0.1121.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/bi/v20220105/api.json +32 -0
- tccli/services/cdb/v20170320/api.json +5 -5
- tccli/services/cdb/v20170320/examples.json +1 -1
- tccli/services/cfw/v20190904/api.json +7 -7
- tccli/services/cfw/v20190904/examples.json +3 -3
- tccli/services/dasb/v20191018/api.json +68 -2
- tccli/services/dasb/v20191018/examples.json +3 -3
- tccli/services/dlc/v20210125/api.json +56 -0
- tccli/services/dlc/v20210125/examples.json +1 -1
- tccli/services/ess/v20201111/api.json +2 -2
- tccli/services/essbasic/v20210526/api.json +2 -2
- tccli/services/facefusion/v20220927/api.json +3 -6
- tccli/services/iotexplorer/v20190423/api.json +2 -2
- tccli/services/lke/v20231130/api.json +11 -11
- tccli/services/lke/v20231130/examples.json +1 -1
- tccli/services/monitor/v20180724/api.json +4 -3
- tccli/services/monitor/v20180724/examples.json +1 -1
- tccli/services/oceanus/v20190422/api.json +120 -19
- tccli/services/redis/v20180412/api.json +25 -25
- tccli/services/tcss/v20201101/api.json +38 -0
- tccli/services/trocket/trocket_client.py +53 -0
- tccli/services/trocket/v20230308/api.json +393 -0
- tccli/services/trocket/v20230308/examples.json +8 -0
- tccli/services/trtc/v20190722/api.json +74 -18
- tccli/services/waf/v20180125/api.json +706 -73
- tccli/services/waf/v20180125/examples.json +5 -5
- {tccli-3.0.1119.1.dist-info → tccli-3.0.1121.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1119.1.dist-info → tccli-3.0.1121.1.dist-info}/RECORD +32 -32
- {tccli-3.0.1119.1.dist-info → tccli-3.0.1121.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1119.1.dist-info → tccli-3.0.1121.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1119.1.dist-info → tccli-3.0.1121.1.dist-info}/license_files/LICENSE +0 -0
@@ -8378,7 +8378,7 @@
|
|
8378
8378
|
"example": "无",
|
8379
8379
|
"member": "GrafanaInstanceInfo",
|
8380
8380
|
"name": "InstanceSet",
|
8381
|
-
"
|
8381
|
+
"output_required": true,
|
8382
8382
|
"type": "list",
|
8383
8383
|
"value_allowed_null": false
|
8384
8384
|
},
|
@@ -8388,7 +8388,7 @@
|
|
8388
8388
|
"example": "10",
|
8389
8389
|
"member": "int64",
|
8390
8390
|
"name": "TotalCount",
|
8391
|
-
"
|
8391
|
+
"output_required": true,
|
8392
8392
|
"type": "int",
|
8393
8393
|
"value_allowed_null": false
|
8394
8394
|
},
|
@@ -8398,7 +8398,7 @@
|
|
8398
8398
|
"example": "无",
|
8399
8399
|
"member": "GrafanaInstanceInfo",
|
8400
8400
|
"name": "Instances",
|
8401
|
-
"
|
8401
|
+
"output_required": true,
|
8402
8402
|
"type": "list",
|
8403
8403
|
"value_allowed_null": false
|
8404
8404
|
},
|
@@ -11129,6 +11129,7 @@
|
|
11129
11129
|
"example": "prom-xxx",
|
11130
11130
|
"member": "string",
|
11131
11131
|
"name": "Instances",
|
11132
|
+
"output_required": true,
|
11132
11133
|
"type": "list",
|
11133
11134
|
"value_allowed_null": true
|
11134
11135
|
},
|
@@ -690,7 +690,7 @@
|
|
690
690
|
{
|
691
691
|
"document": "",
|
692
692
|
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeGrafanaInstances\n<公共请求参数>\n\n{\n \"Limit\": 20,\n \"Offset\": 0,\n \"TagFilters\": [\n {\n \"Key\": \"tagKeyTest\",\n \"Value\": \"tagValueTest\"\n }\n ],\n \"InstanceStatus\": [\n 2\n ],\n \"InstanceName\": \"test\",\n \"InstanceIds\": [\n \"grafana-abcdefgh\"\n ]\n}",
|
693
|
-
"output": "{\n \"Response\": {\n \"InstanceSet\": [\n {\n \"
|
693
|
+
"output": "{\n \"Response\": {\n \"InstanceSet\": [\n {\n \"InstanceName\": \"abc\",\n \"InstanceId\": \"abc\",\n \"Region\": \"abc\",\n \"VpcId\": \"abc\",\n \"SubnetIds\": [\n \"abc\"\n ],\n \"InternetUrl\": \"abc\",\n \"InternalUrl\": \"abc\",\n \"CreatedAt\": \"2020-09-22 00:00:00\",\n \"InstanceStatus\": 0,\n \"TagSpecification\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"Zone\": \"abc\",\n \"InstanceChargeType\": 0,\n \"VpcName\": \"abc\",\n \"SubnetName\": \"abc\",\n \"RegionId\": 0,\n \"RootUrl\": \"abc\",\n \"EnableSSO\": true,\n \"Version\": \"abc\",\n \"EnableSSOCamCheck\": true\n }\n ],\n \"TotalCount\": 0,\n \"Instances\": [\n {\n \"InstanceName\": \"abc\",\n \"InstanceId\": \"abc\",\n \"Region\": \"abc\",\n \"VpcId\": \"abc\",\n \"SubnetIds\": [\n \"abc\"\n ],\n \"InternetUrl\": \"abc\",\n \"InternalUrl\": \"abc\",\n \"CreatedAt\": \"2020-09-22 00:00:00\",\n \"InstanceStatus\": 0,\n \"TagSpecification\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"Zone\": \"abc\",\n \"InstanceChargeType\": 0,\n \"VpcName\": \"abc\",\n \"SubnetName\": \"abc\",\n \"RegionId\": 0,\n \"RootUrl\": \"abc\",\n \"EnableSSO\": true,\n \"Version\": \"abc\",\n \"EnableSSOCamCheck\": true\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
694
694
|
"title": "列出 Grafana 服务"
|
695
695
|
}
|
696
696
|
],
|
@@ -831,6 +831,36 @@
|
|
831
831
|
"output_required": false,
|
832
832
|
"type": "int",
|
833
833
|
"value_allowed_null": true
|
834
|
+
},
|
835
|
+
{
|
836
|
+
"disabled": false,
|
837
|
+
"document": "2 独享集群\n注意:此字段可能返回 null,表示取不到有效值。",
|
838
|
+
"example": "2",
|
839
|
+
"member": "int64",
|
840
|
+
"name": "Type",
|
841
|
+
"output_required": false,
|
842
|
+
"type": "int",
|
843
|
+
"value_allowed_null": true
|
844
|
+
},
|
845
|
+
{
|
846
|
+
"disabled": false,
|
847
|
+
"document": "子eks集群\n注意:此字段可能返回 null,表示取不到有效值。",
|
848
|
+
"example": "无",
|
849
|
+
"member": "SubEks",
|
850
|
+
"name": "SubEks",
|
851
|
+
"output_required": false,
|
852
|
+
"type": "object",
|
853
|
+
"value_allowed_null": true
|
854
|
+
},
|
855
|
+
{
|
856
|
+
"disabled": false,
|
857
|
+
"document": "上级集群\n注意:此字段可能返回 null,表示取不到有效值。",
|
858
|
+
"example": "无",
|
859
|
+
"member": "string",
|
860
|
+
"name": "AgentSerialId",
|
861
|
+
"output_required": false,
|
862
|
+
"type": "string",
|
863
|
+
"value_allowed_null": true
|
834
864
|
}
|
835
865
|
],
|
836
866
|
"usage": "out"
|
@@ -844,7 +874,7 @@
|
|
844
874
|
"example": "cluster-sdhd0vtz",
|
845
875
|
"member": "string",
|
846
876
|
"name": "ClusterId",
|
847
|
-
"
|
877
|
+
"output_required": true,
|
848
878
|
"type": "string",
|
849
879
|
"value_allowed_null": false
|
850
880
|
},
|
@@ -854,7 +884,7 @@
|
|
854
884
|
"example": "MyClusterName",
|
855
885
|
"member": "string",
|
856
886
|
"name": "Name",
|
857
|
-
"
|
887
|
+
"output_required": true,
|
858
888
|
"type": "string",
|
859
889
|
"value_allowed_null": false
|
860
890
|
},
|
@@ -864,7 +894,7 @@
|
|
864
894
|
"example": "ap-beijing",
|
865
895
|
"member": "string",
|
866
896
|
"name": "Region",
|
867
|
-
"
|
897
|
+
"output_required": true,
|
868
898
|
"type": "string",
|
869
899
|
"value_allowed_null": false
|
870
900
|
},
|
@@ -874,7 +904,7 @@
|
|
874
904
|
"example": "ap-beijing-2",
|
875
905
|
"member": "string",
|
876
906
|
"name": "Zone",
|
877
|
-
"
|
907
|
+
"output_required": true,
|
878
908
|
"type": "string",
|
879
909
|
"value_allowed_null": false
|
880
910
|
},
|
@@ -884,7 +914,7 @@
|
|
884
914
|
"example": "3435324",
|
885
915
|
"member": "int64",
|
886
916
|
"name": "AppId",
|
887
|
-
"
|
917
|
+
"output_required": true,
|
888
918
|
"type": "int",
|
889
919
|
"value_allowed_null": false
|
890
920
|
},
|
@@ -894,7 +924,7 @@
|
|
894
924
|
"example": "123456",
|
895
925
|
"member": "string",
|
896
926
|
"name": "OwnerUin",
|
897
|
-
"
|
927
|
+
"output_required": true,
|
898
928
|
"type": "string",
|
899
929
|
"value_allowed_null": false
|
900
930
|
},
|
@@ -904,7 +934,7 @@
|
|
904
934
|
"example": "123456",
|
905
935
|
"member": "string",
|
906
936
|
"name": "CreatorUin",
|
907
|
-
"
|
937
|
+
"output_required": true,
|
908
938
|
"type": "string",
|
909
939
|
"value_allowed_null": false
|
910
940
|
},
|
@@ -914,7 +944,7 @@
|
|
914
944
|
"example": "2",
|
915
945
|
"member": "int64",
|
916
946
|
"name": "CuNum",
|
917
|
-
"
|
947
|
+
"output_required": true,
|
918
948
|
"type": "int",
|
919
949
|
"value_allowed_null": false
|
920
950
|
},
|
@@ -924,7 +954,7 @@
|
|
924
954
|
"example": "2",
|
925
955
|
"member": "int64",
|
926
956
|
"name": "CuMem",
|
927
|
-
"
|
957
|
+
"output_required": true,
|
928
958
|
"type": "int",
|
929
959
|
"value_allowed_null": false
|
930
960
|
},
|
@@ -934,7 +964,7 @@
|
|
934
964
|
"example": "2",
|
935
965
|
"member": "int64",
|
936
966
|
"name": "Status",
|
937
|
-
"
|
967
|
+
"output_required": true,
|
938
968
|
"type": "int",
|
939
969
|
"value_allowed_null": false
|
940
970
|
},
|
@@ -944,7 +974,7 @@
|
|
944
974
|
"example": "description",
|
945
975
|
"member": "string",
|
946
976
|
"name": "StatusDesc",
|
947
|
-
"
|
977
|
+
"output_required": true,
|
948
978
|
"type": "string",
|
949
979
|
"value_allowed_null": false
|
950
980
|
},
|
@@ -954,7 +984,7 @@
|
|
954
984
|
"example": "xxxx-xx-xx-xxxx",
|
955
985
|
"member": "string",
|
956
986
|
"name": "CreateTime",
|
957
|
-
"
|
987
|
+
"output_required": true,
|
958
988
|
"type": "string",
|
959
989
|
"value_allowed_null": false
|
960
990
|
},
|
@@ -964,7 +994,7 @@
|
|
964
994
|
"example": "xxxx-xx-xx-xxxx",
|
965
995
|
"member": "string",
|
966
996
|
"name": "UpdateTime",
|
967
|
-
"
|
997
|
+
"output_required": true,
|
968
998
|
"type": "string",
|
969
999
|
"value_allowed_null": false
|
970
1000
|
},
|
@@ -974,7 +1004,7 @@
|
|
974
1004
|
"example": "remark",
|
975
1005
|
"member": "string",
|
976
1006
|
"name": "Remark",
|
977
|
-
"
|
1007
|
+
"output_required": true,
|
978
1008
|
"type": "string",
|
979
1009
|
"value_allowed_null": false
|
980
1010
|
},
|
@@ -984,7 +1014,7 @@
|
|
984
1014
|
"example": "2",
|
985
1015
|
"member": "int64",
|
986
1016
|
"name": "NetEnvironmentType",
|
987
|
-
"
|
1017
|
+
"output_required": true,
|
988
1018
|
"type": "int",
|
989
1019
|
"value_allowed_null": false
|
990
1020
|
},
|
@@ -994,7 +1024,7 @@
|
|
994
1024
|
"example": "1",
|
995
1025
|
"member": "int64",
|
996
1026
|
"name": "FreeCuNum",
|
997
|
-
"
|
1027
|
+
"output_required": true,
|
998
1028
|
"type": "int",
|
999
1029
|
"value_allowed_null": false
|
1000
1030
|
},
|
@@ -1004,7 +1034,7 @@
|
|
1004
1034
|
"example": "2.5",
|
1005
1035
|
"member": "float",
|
1006
1036
|
"name": "FreeCu",
|
1007
|
-
"
|
1037
|
+
"output_required": true,
|
1008
1038
|
"type": "float",
|
1009
1039
|
"value_allowed_null": false
|
1010
1040
|
},
|
@@ -1014,7 +1044,7 @@
|
|
1014
1044
|
"example": "2.5",
|
1015
1045
|
"member": "float",
|
1016
1046
|
"name": "RunningCu",
|
1017
|
-
"
|
1047
|
+
"output_required": true,
|
1018
1048
|
"type": "float",
|
1019
1049
|
"value_allowed_null": false
|
1020
1050
|
},
|
@@ -1024,9 +1054,19 @@
|
|
1024
1054
|
"example": "0",
|
1025
1055
|
"member": "int64",
|
1026
1056
|
"name": "PayMode",
|
1027
|
-
"
|
1057
|
+
"output_required": true,
|
1028
1058
|
"type": "int",
|
1029
1059
|
"value_allowed_null": false
|
1060
|
+
},
|
1061
|
+
{
|
1062
|
+
"disabled": false,
|
1063
|
+
"document": "弹性\n注意:此字段可能返回 null,表示取不到有效值。",
|
1064
|
+
"example": "{}",
|
1065
|
+
"member": "SubEks",
|
1066
|
+
"name": "SubEks",
|
1067
|
+
"output_required": false,
|
1068
|
+
"type": "object",
|
1069
|
+
"value_allowed_null": true
|
1030
1070
|
}
|
1031
1071
|
],
|
1032
1072
|
"usage": "out"
|
@@ -6952,6 +6992,67 @@
|
|
6952
6992
|
],
|
6953
6993
|
"type": "object"
|
6954
6994
|
},
|
6995
|
+
"SubEks": {
|
6996
|
+
"document": "混合计费",
|
6997
|
+
"members": [
|
6998
|
+
{
|
6999
|
+
"disabled": false,
|
7000
|
+
"document": "集群id\n注意:此字段可能返回 null,表示取不到有效值。",
|
7001
|
+
"example": "cluster-xxx",
|
7002
|
+
"member": "string",
|
7003
|
+
"name": "SerialId",
|
7004
|
+
"output_required": false,
|
7005
|
+
"required": false,
|
7006
|
+
"type": "string",
|
7007
|
+
"value_allowed_null": true
|
7008
|
+
},
|
7009
|
+
{
|
7010
|
+
"disabled": false,
|
7011
|
+
"document": "cu数\n注意:此字段可能返回 null,表示取不到有效值。",
|
7012
|
+
"example": "20",
|
7013
|
+
"member": "int64",
|
7014
|
+
"name": "CuNum",
|
7015
|
+
"output_required": false,
|
7016
|
+
"required": false,
|
7017
|
+
"type": "int",
|
7018
|
+
"value_allowed_null": true
|
7019
|
+
},
|
7020
|
+
{
|
7021
|
+
"disabled": false,
|
7022
|
+
"document": "状态\n注意:此字段可能返回 null,表示取不到有效值。",
|
7023
|
+
"example": "2",
|
7024
|
+
"member": "int64",
|
7025
|
+
"name": "Status",
|
7026
|
+
"output_required": false,
|
7027
|
+
"required": false,
|
7028
|
+
"type": "int",
|
7029
|
+
"value_allowed_null": true
|
7030
|
+
},
|
7031
|
+
{
|
7032
|
+
"disabled": false,
|
7033
|
+
"document": "状态描述\n注意:此字段可能返回 null,表示取不到有效值。",
|
7034
|
+
"example": "running",
|
7035
|
+
"member": "string",
|
7036
|
+
"name": "StatusDesc",
|
7037
|
+
"output_required": false,
|
7038
|
+
"required": false,
|
7039
|
+
"type": "string",
|
7040
|
+
"value_allowed_null": true
|
7041
|
+
},
|
7042
|
+
{
|
7043
|
+
"disabled": false,
|
7044
|
+
"document": "运行cu\n注意:此字段可能返回 null,表示取不到有效值。",
|
7045
|
+
"example": "0.5",
|
7046
|
+
"member": "float",
|
7047
|
+
"name": "RunningCu",
|
7048
|
+
"output_required": false,
|
7049
|
+
"required": false,
|
7050
|
+
"type": "float",
|
7051
|
+
"value_allowed_null": true
|
7052
|
+
}
|
7053
|
+
],
|
7054
|
+
"usage": "both"
|
7055
|
+
},
|
6955
7056
|
"SubFolderInfo": {
|
6956
7057
|
"document": "子目录信息",
|
6957
7058
|
"members": [
|
@@ -6075,127 +6075,127 @@
|
|
6075
6075
|
"example": "无",
|
6076
6076
|
"member": "string",
|
6077
6077
|
"name": "Name",
|
6078
|
-
"
|
6078
|
+
"output_required": true,
|
6079
6079
|
"type": "string",
|
6080
6080
|
"value_allowed_null": false
|
6081
6081
|
},
|
6082
6082
|
{
|
6083
6083
|
"disabled": false,
|
6084
6084
|
"document": "实例运行时节点 ID。",
|
6085
|
-
"example": "
|
6085
|
+
"example": "e5966d041f179fcdd1dd91d0f57f105a073a52cb",
|
6086
6086
|
"member": "string",
|
6087
6087
|
"name": "RunId",
|
6088
|
-
"
|
6088
|
+
"output_required": true,
|
6089
6089
|
"type": "string",
|
6090
6090
|
"value_allowed_null": false
|
6091
6091
|
},
|
6092
6092
|
{
|
6093
6093
|
"disabled": false,
|
6094
6094
|
"document": "集群角色。\n- 0:master。\n- 1:slave。",
|
6095
|
-
"example": "
|
6095
|
+
"example": "0",
|
6096
6096
|
"member": "int64",
|
6097
6097
|
"name": "Role",
|
6098
|
-
"
|
6098
|
+
"output_required": true,
|
6099
6099
|
"type": "int",
|
6100
6100
|
"value_allowed_null": false
|
6101
6101
|
},
|
6102
6102
|
{
|
6103
6103
|
"disabled": false,
|
6104
6104
|
"document": "节点状态。\n- 0:readwrite,。\n- 1:read。\n- 2:backup。",
|
6105
|
-
"example": "
|
6105
|
+
"example": "1",
|
6106
6106
|
"member": "int64",
|
6107
6107
|
"name": "Status",
|
6108
|
-
"
|
6108
|
+
"output_required": true,
|
6109
6109
|
"type": "int",
|
6110
6110
|
"value_allowed_null": false
|
6111
6111
|
},
|
6112
6112
|
{
|
6113
6113
|
"disabled": false,
|
6114
6114
|
"document": "服务状态。\n0-down。\n1-on",
|
6115
|
-
"example": "
|
6115
|
+
"example": "1",
|
6116
6116
|
"member": "int64",
|
6117
6117
|
"name": "Connected",
|
6118
|
-
"
|
6118
|
+
"output_required": true,
|
6119
6119
|
"type": "int",
|
6120
6120
|
"value_allowed_null": false
|
6121
6121
|
},
|
6122
6122
|
{
|
6123
6123
|
"disabled": false,
|
6124
6124
|
"document": "节点创建时间。",
|
6125
|
-
"example": "
|
6125
|
+
"example": "1717138477",
|
6126
6126
|
"member": "string",
|
6127
6127
|
"name": "CreateTime",
|
6128
|
-
"
|
6128
|
+
"output_required": true,
|
6129
6129
|
"type": "string",
|
6130
6130
|
"value_allowed_null": false
|
6131
6131
|
},
|
6132
6132
|
{
|
6133
6133
|
"disabled": false,
|
6134
6134
|
"document": "节点下线时间。",
|
6135
|
-
"example": "
|
6135
|
+
"example": "1717139065",
|
6136
6136
|
"member": "string",
|
6137
6137
|
"name": "DownTime",
|
6138
|
-
"
|
6138
|
+
"output_required": true,
|
6139
6139
|
"type": "string",
|
6140
6140
|
"value_allowed_null": false
|
6141
6141
|
},
|
6142
6142
|
{
|
6143
6143
|
"disabled": false,
|
6144
6144
|
"document": "节点 Slot 分布区间。",
|
6145
|
-
"example": "
|
6145
|
+
"example": "[\"0-16383\"]",
|
6146
6146
|
"member": "string",
|
6147
6147
|
"name": "Slots",
|
6148
|
-
"
|
6148
|
+
"output_required": true,
|
6149
6149
|
"type": "string",
|
6150
6150
|
"value_allowed_null": false
|
6151
6151
|
},
|
6152
6152
|
{
|
6153
6153
|
"disabled": false,
|
6154
6154
|
"document": "节点 Key分布。",
|
6155
|
-
"example": "
|
6155
|
+
"example": "35140102",
|
6156
6156
|
"member": "int64",
|
6157
6157
|
"name": "Keys",
|
6158
|
-
"
|
6158
|
+
"output_required": true,
|
6159
6159
|
"type": "int",
|
6160
6160
|
"value_allowed_null": false
|
6161
6161
|
},
|
6162
6162
|
{
|
6163
6163
|
"disabled": false,
|
6164
6164
|
"document": "节点 QPS。分片节点每秒执行次数。单位:次/秒。",
|
6165
|
-
"example": "
|
6165
|
+
"example": "0",
|
6166
6166
|
"member": "int64",
|
6167
6167
|
"name": "Qps",
|
6168
|
-
"
|
6168
|
+
"output_required": true,
|
6169
6169
|
"type": "int",
|
6170
6170
|
"value_allowed_null": false
|
6171
6171
|
},
|
6172
6172
|
{
|
6173
6173
|
"disabled": false,
|
6174
6174
|
"document": "节点 QPS 倾斜度。",
|
6175
|
-
"example": "
|
6175
|
+
"example": "0",
|
6176
6176
|
"member": "float",
|
6177
6177
|
"name": "QpsSlope",
|
6178
|
-
"
|
6178
|
+
"output_required": true,
|
6179
6179
|
"type": "float",
|
6180
6180
|
"value_allowed_null": false
|
6181
6181
|
},
|
6182
6182
|
{
|
6183
6183
|
"disabled": false,
|
6184
6184
|
"document": "节点存储。",
|
6185
|
-
"example": "
|
6185
|
+
"example": "64",
|
6186
6186
|
"member": "int64",
|
6187
6187
|
"name": "Storage",
|
6188
|
-
"
|
6188
|
+
"output_required": true,
|
6189
6189
|
"type": "int",
|
6190
6190
|
"value_allowed_null": false
|
6191
6191
|
},
|
6192
6192
|
{
|
6193
6193
|
"disabled": false,
|
6194
6194
|
"document": "节点存储倾斜度。",
|
6195
|
-
"example": "
|
6195
|
+
"example": "0",
|
6196
6196
|
"member": "float",
|
6197
6197
|
"name": "StorageSlope",
|
6198
|
-
"
|
6198
|
+
"output_required": true,
|
6199
6199
|
"type": "float",
|
6200
6200
|
"value_allowed_null": false
|
6201
6201
|
}
|
@@ -9170,6 +9170,15 @@
|
|
9170
9170
|
"name": "ScanEndTime",
|
9171
9171
|
"required": false,
|
9172
9172
|
"type": "string"
|
9173
|
+
},
|
9174
|
+
{
|
9175
|
+
"disabled": false,
|
9176
|
+
"document": "排除扫描的镜像",
|
9177
|
+
"example": "无",
|
9178
|
+
"member": "string",
|
9179
|
+
"name": "ExcludeImages",
|
9180
|
+
"required": false,
|
9181
|
+
"type": "list"
|
9173
9182
|
}
|
9174
9183
|
],
|
9175
9184
|
"type": "object"
|
@@ -17046,6 +17055,16 @@
|
|
17046
17055
|
"type": "string",
|
17047
17056
|
"value_allowed_null": false
|
17048
17057
|
},
|
17058
|
+
{
|
17059
|
+
"disabled": false,
|
17060
|
+
"document": "排除的扫描镜像\n注意:此字段可能返回 null,表示取不到有效值。",
|
17061
|
+
"example": "无",
|
17062
|
+
"member": "string",
|
17063
|
+
"name": "ExcludeImages",
|
17064
|
+
"output_required": false,
|
17065
|
+
"type": "list",
|
17066
|
+
"value_allowed_null": true
|
17067
|
+
},
|
17049
17068
|
{
|
17050
17069
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
17051
17070
|
"member": "string",
|
@@ -21387,6 +21406,16 @@
|
|
21387
21406
|
"type": "list",
|
21388
21407
|
"value_allowed_null": false
|
21389
21408
|
},
|
21409
|
+
{
|
21410
|
+
"disabled": false,
|
21411
|
+
"document": "排除的镜像资产id\n注意:此字段可能返回 null,表示取不到有效值。",
|
21412
|
+
"example": "无",
|
21413
|
+
"member": "uint64",
|
21414
|
+
"name": "ExcludeImageAssetIds",
|
21415
|
+
"output_required": false,
|
21416
|
+
"type": "list",
|
21417
|
+
"value_allowed_null": true
|
21418
|
+
},
|
21390
21419
|
{
|
21391
21420
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
21392
21421
|
"member": "string",
|
@@ -41279,6 +41308,15 @@
|
|
41279
41308
|
"name": "Namespace",
|
41280
41309
|
"required": false,
|
41281
41310
|
"type": "list"
|
41311
|
+
},
|
41312
|
+
{
|
41313
|
+
"disabled": false,
|
41314
|
+
"document": "排除的镜像资产id",
|
41315
|
+
"example": "无",
|
41316
|
+
"member": "uint64",
|
41317
|
+
"name": "ExcludeImageAssetIds",
|
41318
|
+
"required": false,
|
41319
|
+
"type": "list"
|
41282
41320
|
}
|
41283
41321
|
],
|
41284
41322
|
"type": "object"
|
@@ -1629,6 +1629,58 @@ def doDeleteTopic(args, parsed_globals):
|
|
1629
1629
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1630
1630
|
|
1631
1631
|
|
1632
|
+
def doDescribeFusionInstanceList(args, parsed_globals):
|
1633
|
+
g_param = parse_global_arg(parsed_globals)
|
1634
|
+
|
1635
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1636
|
+
cred = credential.CVMRoleCredential()
|
1637
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1638
|
+
cred = credential.STSAssumeRoleCredential(
|
1639
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1640
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1641
|
+
)
|
1642
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
1643
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1644
|
+
else:
|
1645
|
+
cred = credential.Credential(
|
1646
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1647
|
+
)
|
1648
|
+
http_profile = HttpProfile(
|
1649
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1650
|
+
reqMethod="POST",
|
1651
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1652
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1653
|
+
)
|
1654
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1655
|
+
if g_param[OptionsDefine.Language]:
|
1656
|
+
profile.language = g_param[OptionsDefine.Language]
|
1657
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1658
|
+
client = mod.TrocketClient(cred, g_param[OptionsDefine.Region], profile)
|
1659
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1660
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1661
|
+
model = models.DescribeFusionInstanceListRequest()
|
1662
|
+
model.from_json_string(json.dumps(args))
|
1663
|
+
start_time = time.time()
|
1664
|
+
while True:
|
1665
|
+
rsp = client.DescribeFusionInstanceList(model)
|
1666
|
+
result = rsp.to_json_string()
|
1667
|
+
try:
|
1668
|
+
json_obj = json.loads(result)
|
1669
|
+
except TypeError as e:
|
1670
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1671
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1672
|
+
break
|
1673
|
+
cur_time = time.time()
|
1674
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1675
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1676
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1677
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1678
|
+
else:
|
1679
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1680
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1681
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1682
|
+
|
1683
|
+
|
1632
1684
|
def doDescribeMQTTInstanceCert(args, parsed_globals):
|
1633
1685
|
g_param = parse_global_arg(parsed_globals)
|
1634
1686
|
|
@@ -2451,6 +2503,7 @@ ACTION_MAP = {
|
|
2451
2503
|
"DeleteMQTTTopic": doDeleteMQTTTopic,
|
2452
2504
|
"DescribeInstance": doDescribeInstance,
|
2453
2505
|
"DeleteTopic": doDeleteTopic,
|
2506
|
+
"DescribeFusionInstanceList": doDescribeFusionInstanceList,
|
2454
2507
|
"DescribeMQTTInstanceCert": doDescribeMQTTInstanceCert,
|
2455
2508
|
"ModifyMQTTInstanceCertBinding": doModifyMQTTInstanceCertBinding,
|
2456
2509
|
"DescribeMQTTInstanceList": doDescribeMQTTInstanceList,
|