tccli 3.0.1240.1__py2.py3-none-any.whl → 3.0.1242.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/apm/v20210622/api.json +276 -279
- tccli/services/apm/v20210622/examples.json +30 -30
- tccli/services/autoscaling/v20180419/api.json +12 -1
- tccli/services/batch/v20170312/api.json +11 -11
- tccli/services/bh/v20230418/api.json +9 -0
- tccli/services/bh/v20230418/examples.json +2 -2
- tccli/services/billing/v20180709/api.json +20 -0
- tccli/services/cam/v20190116/api.json +1 -1
- tccli/services/car/v20220110/api.json +1 -1
- tccli/services/car/v20220110/examples.json +3 -3
- tccli/services/cdb/v20170320/api.json +582 -579
- tccli/services/cdb/v20170320/examples.json +9 -9
- tccli/services/cdwdoris/v20211228/api.json +40 -0
- tccli/services/cfg/v20210820/api.json +11 -0
- tccli/services/cfs/v20190719/api.json +20 -20
- tccli/services/cfs/v20190719/examples.json +5 -5
- tccli/services/chdfs/v20201112/api.json +10 -10
- tccli/services/chdfs/v20201112/examples.json +1 -1
- tccli/services/ckafka/v20190819/api.json +27 -0
- tccli/services/clb/v20180317/api.json +84 -64
- tccli/services/cls/cls_client.py +220 -8
- tccli/services/cls/v20201016/api.json +418 -40
- tccli/services/cls/v20201016/examples.json +89 -45
- tccli/services/cmq/v20190304/api.json +77 -77
- tccli/services/cvm/cvm_client.py +60 -325
- tccli/services/cvm/v20170312/api.json +618 -1401
- tccli/services/cvm/v20170312/examples.json +8 -48
- tccli/services/cwp/cwp_client.py +0 -53
- tccli/services/cwp/v20180228/api.json +3 -37
- tccli/services/cwp/v20180228/examples.json +2 -10
- tccli/services/cynosdb/v20190107/api.json +470 -476
- tccli/services/cynosdb/v20190107/examples.json +23 -23
- tccli/services/dbbrain/v20191016/api.json +16 -4
- tccli/services/dbbrain/v20191016/examples.json +5 -5
- tccli/services/dbbrain/v20210527/api.json +45 -45
- tccli/services/dbbrain/v20210527/examples.json +8 -8
- tccli/services/dnspod/v20210323/api.json +173 -119
- tccli/services/dnspod/v20210323/examples.json +18 -18
- tccli/services/dts/v20180330/api.json +30 -30
- tccli/services/dts/v20180330/examples.json +4 -4
- tccli/services/dts/v20211206/api.json +19 -9
- tccli/services/dts/v20211206/examples.json +5 -5
- tccli/services/ecm/v20190719/api.json +55 -48
- tccli/services/ecm/v20190719/examples.json +7 -7
- tccli/services/emr/emr_client.py +493 -16
- tccli/services/emr/v20190103/api.json +1323 -246
- tccli/services/emr/v20190103/examples.json +72 -0
- tccli/services/ess/v20201111/api.json +29 -11
- tccli/services/ess/v20201111/examples.json +6 -0
- tccli/services/essbasic/v20210526/api.json +89 -2
- tccli/services/essbasic/v20210526/examples.json +12 -0
- tccli/services/faceid/v20180301/api.json +3 -3
- tccli/services/gaap/v20180529/api.json +194 -196
- tccli/services/gaap/v20180529/examples.json +31 -37
- tccli/services/goosefs/v20220519/api.json +17 -17
- tccli/services/goosefs/v20220519/examples.json +4 -4
- tccli/services/gs/v20191118/api.json +3 -3
- tccli/services/gs/v20191118/examples.json +3 -3
- tccli/services/iai/iai_client.py +53 -0
- tccli/services/iai/v20200303/api.json +80 -0
- tccli/services/iai/v20200303/examples.json +14 -0
- tccli/services/iotexplorer/v20190423/api.json +10 -0
- tccli/services/iotvideoindustry/v20201201/api.json +84 -84
- tccli/services/iotvideoindustry/v20201201/examples.json +29 -29
- tccli/services/keewidb/v20220308/api.json +188 -190
- tccli/services/live/v20180801/api.json +324 -223
- tccli/services/live/v20180801/examples.json +79 -79
- tccli/services/mna/v20210119/api.json +52 -49
- tccli/services/mna/v20210119/examples.json +49 -49
- tccli/services/mps/v20190612/api.json +49 -0
- tccli/services/oceanus/v20190422/api.json +407 -39
- tccli/services/oceanus/v20190422/examples.json +1 -1
- tccli/services/ocr/ocr_client.py +110 -4
- tccli/services/ocr/v20181119/api.json +410 -6
- tccli/services/ocr/v20181119/examples.json +18 -2
- tccli/services/pts/v20210728/api.json +1 -1
- tccli/services/pts/v20210728/examples.json +1 -1
- tccli/services/sqlserver/v20180328/api.json +273 -144
- tccli/services/sqlserver/v20180328/examples.json +2 -2
- tccli/services/ssl/v20191205/api.json +829 -829
- tccli/services/ssl/v20191205/examples.json +14 -14
- tccli/services/tbaas/v20180416/api.json +127 -88
- tccli/services/tbaas/v20180416/examples.json +9 -9
- tccli/services/tcb/v20180608/api.json +229 -189
- tccli/services/tcb/v20180608/examples.json +23 -23
- tccli/services/tcm/v20210413/api.json +6 -6
- tccli/services/tcm/v20210413/examples.json +3 -3
- tccli/services/tcr/v20190924/api.json +25 -20
- tccli/services/tcr/v20190924/examples.json +4 -4
- tccli/services/tdmq/tdmq_client.py +167 -8
- tccli/services/tdmq/v20200217/api.json +325 -0
- tccli/services/tdmq/v20200217/examples.json +24 -0
- tccli/services/tem/v20210701/api.json +439 -280
- tccli/services/tem/v20210701/examples.json +39 -39
- tccli/services/teo/v20220901/api.json +2 -2
- tccli/services/teo/v20220901/examples.json +3 -3
- tccli/services/thpc/v20211109/api.json +46 -58
- tccli/services/thpc/v20211109/examples.json +2 -2
- tccli/services/thpc/v20220401/api.json +168 -181
- tccli/services/thpc/v20220401/examples.json +1 -1
- tccli/services/thpc/v20230321/api.json +99 -102
- tccli/services/thpc/v20230321/examples.json +3 -3
- tccli/services/tke/v20180525/api.json +50 -39
- tccli/services/tke/v20180525/examples.json +51 -21
- tccli/services/tke/v20220501/api.json +146 -97
- tccli/services/tke/v20220501/examples.json +15 -21
- tccli/services/trocket/trocket_client.py +53 -0
- tccli/services/trocket/v20230308/api.json +219 -0
- tccli/services/trocket/v20230308/examples.json +8 -0
- tccli/services/trro/v20220325/api.json +27 -27
- tccli/services/trro/v20220325/examples.json +1 -1
- tccli/services/trtc/v20190722/api.json +31 -20
- tccli/services/trtc/v20190722/examples.json +11 -11
- tccli/services/tse/v20201207/api.json +187 -122
- tccli/services/tse/v20201207/examples.json +36 -36
- tccli/services/tsf/v20180326/api.json +448 -434
- tccli/services/tsf/v20180326/examples.json +122 -122
- tccli/services/tts/v20190823/api.json +1 -1
- tccli/services/vpc/v20170312/api.json +582 -291
- tccli/services/vpc/v20170312/examples.json +75 -27
- tccli/services/vpc/vpc_client.py +159 -0
- tccli/services/waf/v20180125/api.json +305 -6
- tccli/services/waf/v20180125/examples.json +25 -1
- tccli/services/waf/waf_client.py +163 -4
- {tccli-3.0.1240.1.dist-info → tccli-3.0.1242.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1240.1.dist-info → tccli-3.0.1242.1.dist-info}/RECORD +130 -130
- {tccli-3.0.1240.1.dist-info → tccli-3.0.1242.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1240.1.dist-info → tccli-3.0.1242.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1240.1.dist-info → tccli-3.0.1242.1.dist-info}/license_files/LICENSE +0 -0
@@ -3,9 +3,9 @@
|
|
3
3
|
"CreateHealthCheckPolicy": [
|
4
4
|
{
|
5
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\": \"
|
7
|
-
"output": "{\n \"Response\": {\n \"HealthCheckPolicyName\": \"NP1\",\n \"RequestId\": \"
|
8
|
-
"title": "
|
6
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateHealthCheckPolicy\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-4h43fuxj\",\n \"HealthCheckPolicy\": {\n \"Name\": \"NP1\",\n \"Rules\": []\n }\n}",
|
7
|
+
"output": "{\n \"Response\": {\n \"HealthCheckPolicyName\": \"NP1\",\n \"RequestId\": \"9bd42c72-dd16-46bc-9d1e-b4020c59fab8\"\n }\n}",
|
8
|
+
"title": "创建原生节点池健康检测策略"
|
9
9
|
}
|
10
10
|
],
|
11
11
|
"CreateNodePool": [
|
@@ -19,16 +19,16 @@
|
|
19
19
|
"DeleteHealthCheckPolicy": [
|
20
20
|
{
|
21
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\": \"
|
23
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
22
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteHealthCheckPolicy\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-4h43fuxj\",\n \"HealthCheckPolicyName\": \"NP1\"\n}",
|
23
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"9bd42c72-dd16-46bc-9d1e-b4020c59fab8\"\n }\n}",
|
24
24
|
"title": "创建托管节点池健康检测策略"
|
25
25
|
}
|
26
26
|
],
|
27
27
|
"DeleteNodePool": [
|
28
28
|
{
|
29
29
|
"document": "",
|
30
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteNodePool\n<公共请求参数>\n\n{\n \"ClusterId\": \"
|
31
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
30
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteNodePool\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-4h43fuxj\",\n \"NodePoolId\": \"np-4h43fuxj\"\n}",
|
31
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"9bd42c72-dd16-46bc-9d1e-b4020c59fab8\"\n }\n}",
|
32
32
|
"title": "删除 TKE 节点池"
|
33
33
|
}
|
34
34
|
],
|
@@ -43,22 +43,16 @@
|
|
43
43
|
"DescribeHealthCheckPolicies": [
|
44
44
|
{
|
45
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\": \"
|
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\": \"
|
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\": \"cls-4h43fuxj\"\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\": \"9bd42c72-dd16-46bc-9d1e-b4020c59fab8\"\n }\n}",
|
48
48
|
"title": "创建托管节点池健康检测规则"
|
49
49
|
}
|
50
50
|
],
|
51
51
|
"DescribeHealthCheckPolicyBindings": [
|
52
52
|
{
|
53
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-
|
55
|
-
"output": "{\n \"RequestId\": \"
|
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}",
|
54
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeHealthCheckPolicyBindings\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-4h43fuxj\",\n \"Limit\": \"1\",\n \"Offset\": \"2\"\n}",
|
55
|
+
"output": "{\n \"RequestId\": \"9bd42c72-dd16-46bc-9d1e-b4020c59fab8\",\n \"Response\": {\n \"HealthCheckPolicyBindings\": [\n {\n \"CreatedAt\": \"2023-08-17 20:46:39\",\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}",
|
62
56
|
"title": "查询健康检测策略绑定关系"
|
63
57
|
}
|
64
58
|
],
|
@@ -81,16 +75,16 @@
|
|
81
75
|
"ModifyHealthCheckPolicy": [
|
82
76
|
{
|
83
77
|
"document": "",
|
84
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyHealthCheckPolicy\n<公共请求参数>\n\n{\n \"ClusterId\": \"
|
85
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
78
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyHealthCheckPolicy\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-4h43fuxj\",\n \"HealthCheckPolicy\": {\n \"Name\": \"NP1\",\n \"Rules\": []\n }\n}",
|
79
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"9bd42c72-dd16-46bc-9d1e-b4020c59fab8\"\n }\n}",
|
86
80
|
"title": "修改托管节点池健康检测规则"
|
87
81
|
}
|
88
82
|
],
|
89
83
|
"ModifyNodePool": [
|
90
84
|
{
|
91
85
|
"document": "用户更新节点池",
|
92
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyNodePool\n<公共请求参数>\n\n{\n \"
|
93
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
86
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyNodePool\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-6sukkvyx\",\n \"Native\": {\n \"EnableAutoscaling\": true,\n \"Scaling\": {\n \"CreatePolicy\": \"ZonePriority\",\n \"MaxReplicas\": 1,\n \"MinReplicas\": 0\n }\n },\n \"NodePoolId\": \"np-00igpu9y\"\n}",
|
87
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"9bd42c72-dd16-46bc-9d1e-b4020c59fab8\"\n }\n}",
|
94
88
|
"title": "更新 TKE 节点池"
|
95
89
|
}
|
96
90
|
],
|
@@ -1005,6 +1005,58 @@ def doDescribeMQTTInsVPCEndpoints(args, parsed_globals):
|
|
1005
1005
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1006
1006
|
|
1007
1007
|
|
1008
|
+
def doDescribeConsumerClient(args, parsed_globals):
|
1009
|
+
g_param = parse_global_arg(parsed_globals)
|
1010
|
+
|
1011
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1012
|
+
cred = credential.CVMRoleCredential()
|
1013
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1014
|
+
cred = credential.STSAssumeRoleCredential(
|
1015
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1016
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1017
|
+
)
|
1018
|
+
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):
|
1019
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1020
|
+
else:
|
1021
|
+
cred = credential.Credential(
|
1022
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1023
|
+
)
|
1024
|
+
http_profile = HttpProfile(
|
1025
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1026
|
+
reqMethod="POST",
|
1027
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1028
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1029
|
+
)
|
1030
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1031
|
+
if g_param[OptionsDefine.Language]:
|
1032
|
+
profile.language = g_param[OptionsDefine.Language]
|
1033
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1034
|
+
client = mod.TrocketClient(cred, g_param[OptionsDefine.Region], profile)
|
1035
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1036
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1037
|
+
model = models.DescribeConsumerClientRequest()
|
1038
|
+
model.from_json_string(json.dumps(args))
|
1039
|
+
start_time = time.time()
|
1040
|
+
while True:
|
1041
|
+
rsp = client.DescribeConsumerClient(model)
|
1042
|
+
result = rsp.to_json_string()
|
1043
|
+
try:
|
1044
|
+
json_obj = json.loads(result)
|
1045
|
+
except TypeError as e:
|
1046
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1047
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1048
|
+
break
|
1049
|
+
cur_time = time.time()
|
1050
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1051
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1052
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1053
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1054
|
+
else:
|
1055
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1056
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1057
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1058
|
+
|
1059
|
+
|
1008
1060
|
def doDeleteRole(args, parsed_globals):
|
1009
1061
|
g_param = parse_global_arg(parsed_globals)
|
1010
1062
|
|
@@ -2803,6 +2855,7 @@ ACTION_MAP = {
|
|
2803
2855
|
"DescribeMQTTMessage": doDescribeMQTTMessage,
|
2804
2856
|
"ModifyConsumerGroup": doModifyConsumerGroup,
|
2805
2857
|
"DescribeMQTTInsVPCEndpoints": doDescribeMQTTInsVPCEndpoints,
|
2858
|
+
"DescribeConsumerClient": doDescribeConsumerClient,
|
2806
2859
|
"DeleteRole": doDeleteRole,
|
2807
2860
|
"DescribeMQTTUserList": doDescribeMQTTUserList,
|
2808
2861
|
"DescribeProductSKUs": doDescribeProductSKUs,
|
@@ -112,6 +112,13 @@
|
|
112
112
|
"output": "DeleteTopicResponse",
|
113
113
|
"status": "online"
|
114
114
|
},
|
115
|
+
"DescribeConsumerClient": {
|
116
|
+
"document": "查询消费者客户端详情",
|
117
|
+
"input": "DescribeConsumerClientRequest",
|
118
|
+
"name": "查询消费者客户端详情",
|
119
|
+
"output": "DescribeConsumerClientResponse",
|
120
|
+
"status": "online"
|
121
|
+
},
|
115
122
|
"DescribeConsumerGroup": {
|
116
123
|
"document": "查询消费组详情",
|
117
124
|
"input": "DescribeConsumerGroupRequest",
|
@@ -495,6 +502,62 @@
|
|
495
502
|
],
|
496
503
|
"usage": "both"
|
497
504
|
},
|
505
|
+
"ConsumerClient": {
|
506
|
+
"document": "消费者客户端",
|
507
|
+
"members": [
|
508
|
+
{
|
509
|
+
"disabled": false,
|
510
|
+
"document": "客户端ID",
|
511
|
+
"example": "test",
|
512
|
+
"member": "string",
|
513
|
+
"name": "ClientId",
|
514
|
+
"required": false,
|
515
|
+
"type": "string",
|
516
|
+
"value_allowed_null": false
|
517
|
+
},
|
518
|
+
{
|
519
|
+
"disabled": false,
|
520
|
+
"document": "客户端地址",
|
521
|
+
"example": "无",
|
522
|
+
"member": "string",
|
523
|
+
"name": "ClientAddr",
|
524
|
+
"required": false,
|
525
|
+
"type": "string",
|
526
|
+
"value_allowed_null": false
|
527
|
+
},
|
528
|
+
{
|
529
|
+
"disabled": false,
|
530
|
+
"document": "客户端SDK语言",
|
531
|
+
"example": "无",
|
532
|
+
"member": "string",
|
533
|
+
"name": "Language",
|
534
|
+
"required": false,
|
535
|
+
"type": "string",
|
536
|
+
"value_allowed_null": false
|
537
|
+
},
|
538
|
+
{
|
539
|
+
"disabled": false,
|
540
|
+
"document": "客户端SDK版本",
|
541
|
+
"example": "无",
|
542
|
+
"member": "string",
|
543
|
+
"name": "Version",
|
544
|
+
"required": false,
|
545
|
+
"type": "string",
|
546
|
+
"value_allowed_null": false
|
547
|
+
},
|
548
|
+
{
|
549
|
+
"disabled": false,
|
550
|
+
"document": "客户端消费堆积\n注意:此字段可能返回 null,表示取不到有效值。",
|
551
|
+
"example": "无",
|
552
|
+
"member": "int64",
|
553
|
+
"name": "ConsumerLag",
|
554
|
+
"required": false,
|
555
|
+
"type": "int",
|
556
|
+
"value_allowed_null": true
|
557
|
+
}
|
558
|
+
],
|
559
|
+
"usage": "out"
|
560
|
+
},
|
498
561
|
"CreateConsumerGroupRequest": {
|
499
562
|
"document": "CreateConsumerGroup请求参数结构体",
|
500
563
|
"members": [
|
@@ -1522,6 +1585,96 @@
|
|
1522
1585
|
],
|
1523
1586
|
"type": "object"
|
1524
1587
|
},
|
1588
|
+
"DescribeConsumerClientRequest": {
|
1589
|
+
"document": "DescribeConsumerClient请求参数结构体",
|
1590
|
+
"members": [
|
1591
|
+
{
|
1592
|
+
"disabled": false,
|
1593
|
+
"document": "集群ID",
|
1594
|
+
"example": "rmq-72mo3a9o",
|
1595
|
+
"member": "string",
|
1596
|
+
"name": "InstanceId",
|
1597
|
+
"required": true,
|
1598
|
+
"type": "string"
|
1599
|
+
},
|
1600
|
+
{
|
1601
|
+
"disabled": false,
|
1602
|
+
"document": "客户端ID",
|
1603
|
+
"example": "无",
|
1604
|
+
"member": "string",
|
1605
|
+
"name": "ClientId",
|
1606
|
+
"required": true,
|
1607
|
+
"type": "string"
|
1608
|
+
},
|
1609
|
+
{
|
1610
|
+
"disabled": false,
|
1611
|
+
"document": "查询条件列表",
|
1612
|
+
"example": "无",
|
1613
|
+
"member": "Filter",
|
1614
|
+
"name": "Filters",
|
1615
|
+
"required": false,
|
1616
|
+
"type": "list"
|
1617
|
+
},
|
1618
|
+
{
|
1619
|
+
"disabled": false,
|
1620
|
+
"document": "查询起始位置",
|
1621
|
+
"example": "0",
|
1622
|
+
"member": "int64",
|
1623
|
+
"name": "Offset",
|
1624
|
+
"required": false,
|
1625
|
+
"type": "int"
|
1626
|
+
},
|
1627
|
+
{
|
1628
|
+
"disabled": false,
|
1629
|
+
"document": "查询结果限制数量",
|
1630
|
+
"example": "20",
|
1631
|
+
"member": "int64",
|
1632
|
+
"name": "Limit",
|
1633
|
+
"required": false,
|
1634
|
+
"type": "int"
|
1635
|
+
},
|
1636
|
+
{
|
1637
|
+
"disabled": false,
|
1638
|
+
"document": "消费组名称",
|
1639
|
+
"example": "test_group",
|
1640
|
+
"member": "string",
|
1641
|
+
"name": "ConsumerGroup",
|
1642
|
+
"required": false,
|
1643
|
+
"type": "string"
|
1644
|
+
}
|
1645
|
+
],
|
1646
|
+
"type": "object"
|
1647
|
+
},
|
1648
|
+
"DescribeConsumerClientResponse": {
|
1649
|
+
"document": "DescribeConsumerClient返回参数结构体",
|
1650
|
+
"members": [
|
1651
|
+
{
|
1652
|
+
"disabled": false,
|
1653
|
+
"document": "客户端详情\n注意:此字段可能返回 null,表示取不到有效值。",
|
1654
|
+
"example": "无",
|
1655
|
+
"member": "ConsumerClient",
|
1656
|
+
"name": "Client",
|
1657
|
+
"type": "object",
|
1658
|
+
"value_allowed_null": true
|
1659
|
+
},
|
1660
|
+
{
|
1661
|
+
"disabled": false,
|
1662
|
+
"document": "主题消费信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
1663
|
+
"example": "无",
|
1664
|
+
"member": "TopicConsumeStats",
|
1665
|
+
"name": "TopicList",
|
1666
|
+
"type": "list",
|
1667
|
+
"value_allowed_null": true
|
1668
|
+
},
|
1669
|
+
{
|
1670
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1671
|
+
"member": "string",
|
1672
|
+
"name": "RequestId",
|
1673
|
+
"type": "string"
|
1674
|
+
}
|
1675
|
+
],
|
1676
|
+
"type": "object"
|
1677
|
+
},
|
1525
1678
|
"DescribeConsumerGroupListRequest": {
|
1526
1679
|
"document": "DescribeConsumerGroupList请求参数结构体",
|
1527
1680
|
"members": [
|
@@ -6888,6 +7041,72 @@
|
|
6888
7041
|
],
|
6889
7042
|
"usage": "in"
|
6890
7043
|
},
|
7044
|
+
"TopicConsumeStats": {
|
7045
|
+
"document": "主题消费进度",
|
7046
|
+
"members": [
|
7047
|
+
{
|
7048
|
+
"disabled": false,
|
7049
|
+
"document": "主题名称",
|
7050
|
+
"example": "test",
|
7051
|
+
"member": "string",
|
7052
|
+
"name": "Topic",
|
7053
|
+
"required": false,
|
7054
|
+
"type": "string",
|
7055
|
+
"value_allowed_null": false
|
7056
|
+
},
|
7057
|
+
{
|
7058
|
+
"disabled": false,
|
7059
|
+
"document": "主题类型",
|
7060
|
+
"example": "无",
|
7061
|
+
"member": "string",
|
7062
|
+
"name": "TopicType",
|
7063
|
+
"required": false,
|
7064
|
+
"type": "string",
|
7065
|
+
"value_allowed_null": false
|
7066
|
+
},
|
7067
|
+
{
|
7068
|
+
"disabled": false,
|
7069
|
+
"document": "单节点主题队列数量",
|
7070
|
+
"example": "无",
|
7071
|
+
"member": "int64",
|
7072
|
+
"name": "QueueNum",
|
7073
|
+
"required": false,
|
7074
|
+
"type": "int",
|
7075
|
+
"value_allowed_null": false
|
7076
|
+
},
|
7077
|
+
{
|
7078
|
+
"disabled": false,
|
7079
|
+
"document": "消费堆积",
|
7080
|
+
"example": "无",
|
7081
|
+
"member": "int64",
|
7082
|
+
"name": "ConsumerLag",
|
7083
|
+
"required": false,
|
7084
|
+
"type": "int",
|
7085
|
+
"value_allowed_null": false
|
7086
|
+
},
|
7087
|
+
{
|
7088
|
+
"disabled": false,
|
7089
|
+
"document": "订阅规则",
|
7090
|
+
"example": "无",
|
7091
|
+
"member": "string",
|
7092
|
+
"name": "SubString",
|
7093
|
+
"required": false,
|
7094
|
+
"type": "string",
|
7095
|
+
"value_allowed_null": false
|
7096
|
+
},
|
7097
|
+
{
|
7098
|
+
"disabled": false,
|
7099
|
+
"document": "最后消费进度更新时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
7100
|
+
"example": "无",
|
7101
|
+
"member": "int64",
|
7102
|
+
"name": "LastUpdateTime",
|
7103
|
+
"required": false,
|
7104
|
+
"type": "int",
|
7105
|
+
"value_allowed_null": true
|
7106
|
+
}
|
7107
|
+
],
|
7108
|
+
"usage": "out"
|
7109
|
+
},
|
6891
7110
|
"TopicItem": {
|
6892
7111
|
"document": "列表上的主题信息",
|
6893
7112
|
"members": [
|
@@ -128,6 +128,14 @@
|
|
128
128
|
"title": "删除主题"
|
129
129
|
}
|
130
130
|
],
|
131
|
+
"DescribeConsumerClient": [
|
132
|
+
{
|
133
|
+
"document": "查询消费者客户端详情",
|
134
|
+
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeConsumerClient\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-72mo3a9o\",\n \"Offset\": 0,\n \"Limit\": 1,\n \"ConsumerGroup\": \"group\",\n \"ClientId\": \"11.139.244.247@75043#6734858812769343\"\n}",
|
135
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Client\": {\n \"ClientAddr\": \"11.139.244.247:58330\",\n \"ClientId\": \"11.139.244.247@75043#6734858812769343\",\n \"ConsumerLag\": 0,\n \"Language\": \"JAVA\",\n \"Version\": \"399\"\n },\n \"RequestId\": \"7e3acbab-5b5f-457f-b276-68c2f7e16f5e\",\n \"TopicList\": [\n {\n \"ConsumerLag\": 0,\n \"LastUpdateTime\": 1683614607184,\n \"QueueNum\": 16,\n \"SubString\": \"*\",\n \"Topic\": \"topic\",\n \"TopicType\": \"NORMAL\"\n }\n ]\n }\n}",
|
136
|
+
"title": "查询消费者客户端详情"
|
137
|
+
}
|
138
|
+
],
|
131
139
|
"DescribeConsumerGroup": [
|
132
140
|
{
|
133
141
|
"document": "查询消费者详情",
|
@@ -285,7 +285,7 @@
|
|
285
285
|
{
|
286
286
|
"disabled": false,
|
287
287
|
"document": "设备id",
|
288
|
-
"example": "\"
|
288
|
+
"example": "\"trro_dev\"",
|
289
289
|
"member": "string",
|
290
290
|
"name": "DeviceId",
|
291
291
|
"required": true,
|
@@ -294,7 +294,7 @@
|
|
294
294
|
{
|
295
295
|
"disabled": false,
|
296
296
|
"document": "项目ID",
|
297
|
-
"example": "\"
|
297
|
+
"example": "\"m82k5408n123phvb\"",
|
298
298
|
"member": "string",
|
299
299
|
"name": "ProjectId",
|
300
300
|
"required": true,
|
@@ -691,7 +691,7 @@
|
|
691
691
|
{
|
692
692
|
"disabled": false,
|
693
693
|
"document": "项目ID",
|
694
|
-
"example": "
|
694
|
+
"example": "m82k5408n123phvb",
|
695
695
|
"member": "string",
|
696
696
|
"name": "ProjectId",
|
697
697
|
"required": true,
|
@@ -718,7 +718,7 @@
|
|
718
718
|
{
|
719
719
|
"disabled": false,
|
720
720
|
"document": "设备ID",
|
721
|
-
"example": "
|
721
|
+
"example": "trro_dev",
|
722
722
|
"member": "string",
|
723
723
|
"name": "DeviceId",
|
724
724
|
"required": false,
|
@@ -754,7 +754,7 @@
|
|
754
754
|
"example": "100",
|
755
755
|
"member": "uint64",
|
756
756
|
"name": "Total",
|
757
|
-
"
|
757
|
+
"output_required": true,
|
758
758
|
"type": "int",
|
759
759
|
"value_allowed_null": false
|
760
760
|
},
|
@@ -764,7 +764,7 @@
|
|
764
764
|
"example": "无",
|
765
765
|
"member": "SessionInfo",
|
766
766
|
"name": "DeviceSessionList",
|
767
|
-
"
|
767
|
+
"output_required": true,
|
768
768
|
"type": "list",
|
769
769
|
"value_allowed_null": false
|
770
770
|
},
|
@@ -774,7 +774,7 @@
|
|
774
774
|
"example": "10",
|
775
775
|
"member": "uint64",
|
776
776
|
"name": "Num",
|
777
|
-
"
|
777
|
+
"output_required": true,
|
778
778
|
"type": "int",
|
779
779
|
"value_allowed_null": false
|
780
780
|
},
|
@@ -820,7 +820,7 @@
|
|
820
820
|
{
|
821
821
|
"disabled": false,
|
822
822
|
"document": "模糊匹配关键字,不填默认不进行模糊匹配",
|
823
|
-
"example": "
|
823
|
+
"example": "trro",
|
824
824
|
"member": "string",
|
825
825
|
"name": "SearchWords",
|
826
826
|
"required": false,
|
@@ -856,7 +856,7 @@
|
|
856
856
|
"example": "black",
|
857
857
|
"member": "string",
|
858
858
|
"name": "PolicyMode",
|
859
|
-
"
|
859
|
+
"output_required": true,
|
860
860
|
"type": "string",
|
861
861
|
"value_allowed_null": false
|
862
862
|
},
|
@@ -866,7 +866,7 @@
|
|
866
866
|
"example": "true",
|
867
867
|
"member": "bool",
|
868
868
|
"name": "PolicyEnabled",
|
869
|
-
"
|
869
|
+
"output_required": true,
|
870
870
|
"type": "bool",
|
871
871
|
"value_allowed_null": false
|
872
872
|
},
|
@@ -876,7 +876,7 @@
|
|
876
876
|
"example": "无",
|
877
877
|
"member": "PolicyInfo",
|
878
878
|
"name": "PolicyInfo",
|
879
|
-
"
|
879
|
+
"output_required": true,
|
880
880
|
"type": "list",
|
881
881
|
"value_allowed_null": false
|
882
882
|
},
|
@@ -886,7 +886,7 @@
|
|
886
886
|
"example": "1",
|
887
887
|
"member": "int64",
|
888
888
|
"name": "Num",
|
889
|
-
"
|
889
|
+
"output_required": true,
|
890
890
|
"type": "int",
|
891
891
|
"value_allowed_null": false
|
892
892
|
},
|
@@ -896,7 +896,7 @@
|
|
896
896
|
"example": "10",
|
897
897
|
"member": "int64",
|
898
898
|
"name": "Total",
|
899
|
-
"
|
899
|
+
"output_required": true,
|
900
900
|
"type": "int",
|
901
901
|
"value_allowed_null": false
|
902
902
|
},
|
@@ -1048,7 +1048,7 @@
|
|
1048
1048
|
{
|
1049
1049
|
"disabled": false,
|
1050
1050
|
"document": "项目ID",
|
1051
|
-
"example": "
|
1051
|
+
"example": "m82k5408n123phvb",
|
1052
1052
|
"member": "string",
|
1053
1053
|
"name": "ProjectId",
|
1054
1054
|
"required": true,
|
@@ -1075,7 +1075,7 @@
|
|
1075
1075
|
{
|
1076
1076
|
"disabled": false,
|
1077
1077
|
"document": "设备ID,支持过滤远端设备或现场设备",
|
1078
|
-
"example": "
|
1078
|
+
"example": "trro_dev1",
|
1079
1079
|
"member": "string",
|
1080
1080
|
"name": "DeviceId",
|
1081
1081
|
"required": false,
|
@@ -1111,7 +1111,7 @@
|
|
1111
1111
|
"example": "100",
|
1112
1112
|
"member": "uint64",
|
1113
1113
|
"name": "Total",
|
1114
|
-
"
|
1114
|
+
"output_required": true,
|
1115
1115
|
"type": "int",
|
1116
1116
|
"value_allowed_null": false
|
1117
1117
|
},
|
@@ -1121,7 +1121,7 @@
|
|
1121
1121
|
"example": "无",
|
1122
1122
|
"member": "RecentSessionInfo",
|
1123
1123
|
"name": "RecentSessionList",
|
1124
|
-
"
|
1124
|
+
"output_required": true,
|
1125
1125
|
"type": "list",
|
1126
1126
|
"value_allowed_null": false
|
1127
1127
|
},
|
@@ -1131,7 +1131,7 @@
|
|
1131
1131
|
"example": "10",
|
1132
1132
|
"member": "uint64",
|
1133
1133
|
"name": "Num",
|
1134
|
-
"
|
1134
|
+
"output_required": true,
|
1135
1135
|
"type": "int",
|
1136
1136
|
"value_allowed_null": false
|
1137
1137
|
},
|
@@ -1553,7 +1553,7 @@
|
|
1553
1553
|
{
|
1554
1554
|
"disabled": false,
|
1555
1555
|
"document": "项目 ID",
|
1556
|
-
"example": "
|
1556
|
+
"example": "m82k5408n123phvb",
|
1557
1557
|
"member": "string",
|
1558
1558
|
"name": "ProjectId",
|
1559
1559
|
"required": false,
|
@@ -1562,7 +1562,7 @@
|
|
1562
1562
|
{
|
1563
1563
|
"disabled": false,
|
1564
1564
|
"document": "设备ID",
|
1565
|
-
"example": "
|
1565
|
+
"example": "trro_dev",
|
1566
1566
|
"member": "string",
|
1567
1567
|
"name": "DeviceId",
|
1568
1568
|
"required": false,
|
@@ -1587,7 +1587,7 @@
|
|
1587
1587
|
{
|
1588
1588
|
"disabled": false,
|
1589
1589
|
"document": "列表数量",
|
1590
|
-
"example": "
|
1590
|
+
"example": "10",
|
1591
1591
|
"member": "int64",
|
1592
1592
|
"name": "TotalCount",
|
1593
1593
|
"output_required": true,
|
@@ -1676,7 +1676,7 @@
|
|
1676
1676
|
{
|
1677
1677
|
"disabled": false,
|
1678
1678
|
"document": "页码",
|
1679
|
-
"example": "
|
1679
|
+
"example": "1",
|
1680
1680
|
"member": "int64",
|
1681
1681
|
"name": "PageNum",
|
1682
1682
|
"required": true,
|
@@ -1685,7 +1685,7 @@
|
|
1685
1685
|
{
|
1686
1686
|
"disabled": false,
|
1687
1687
|
"document": "页面数量",
|
1688
|
-
"example": "
|
1688
|
+
"example": "10",
|
1689
1689
|
"member": "int64",
|
1690
1690
|
"name": "PageSize",
|
1691
1691
|
"required": true,
|
@@ -1694,7 +1694,7 @@
|
|
1694
1694
|
{
|
1695
1695
|
"disabled": false,
|
1696
1696
|
"document": "projectId",
|
1697
|
-
"example": "
|
1697
|
+
"example": "m82k5408n123phvb",
|
1698
1698
|
"member": "string",
|
1699
1699
|
"name": "ProjectId",
|
1700
1700
|
"required": false,
|
@@ -1703,7 +1703,7 @@
|
|
1703
1703
|
{
|
1704
1704
|
"disabled": false,
|
1705
1705
|
"document": "DeviceId",
|
1706
|
-
"example": "
|
1706
|
+
"example": "trro_dev",
|
1707
1707
|
"member": "string",
|
1708
1708
|
"name": "DeviceId",
|
1709
1709
|
"required": false,
|
@@ -1930,7 +1930,7 @@
|
|
1930
1930
|
{
|
1931
1931
|
"disabled": false,
|
1932
1932
|
"document": "添加关联失败的现场设备ID列表",
|
1933
|
-
"example": "
|
1933
|
+
"example": "[\"trro_dev1\"]",
|
1934
1934
|
"member": "string",
|
1935
1935
|
"name": "FailedInsertIds",
|
1936
1936
|
"output_required": false,
|
@@ -1940,7 +1940,7 @@
|
|
1940
1940
|
{
|
1941
1941
|
"disabled": false,
|
1942
1942
|
"document": "解除关联失败的现场设备ID列表",
|
1943
|
-
"example": "
|
1943
|
+
"example": "[\"trro_dev2\"]",
|
1944
1944
|
"member": "string",
|
1945
1945
|
"name": "FailedDeleteIds",
|
1946
1946
|
"output_required": false,
|