tccli 3.0.1389.1__py2.py3-none-any.whl → 3.0.1390.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/ai3d/ai3d_client.py +106 -0
- tccli/services/ai3d/v20250513/api.json +172 -0
- tccli/services/ai3d/v20250513/examples.json +16 -0
- tccli/services/batch/v20170312/api.json +3 -3
- tccli/services/batch/v20170312/examples.json +3 -3
- tccli/services/cam/v20190116/api.json +11 -1
- tccli/services/ccc/v20200210/api.json +10 -10
- tccli/services/cdb/v20170320/api.json +40 -2
- tccli/services/cdz/v20221123/api.json +1 -1
- tccli/services/ckafka/v20190819/api.json +29 -21
- tccli/services/ckafka/v20190819/examples.json +1 -1
- tccli/services/cloudapp/cloudapp_client.py +53 -0
- tccli/services/cloudapp/v20220530/api.json +68 -0
- tccli/services/cloudapp/v20220530/examples.json +14 -0
- tccli/services/cls/cls_client.py +167 -8
- tccli/services/cls/v20201016/api.json +292 -2
- tccli/services/cls/v20201016/examples.json +24 -0
- tccli/services/dts/v20211206/api.json +15 -15
- tccli/services/dts/v20211206/examples.json +1 -1
- tccli/services/es/v20250101/api.json +99 -5
- tccli/services/ess/v20201111/api.json +145 -4
- tccli/services/ess/v20201111/examples.json +1 -1
- tccli/services/gme/v20180711/api.json +7 -7
- tccli/services/igtm/v20231024/api.json +3 -3
- tccli/services/iotexplorer/v20190423/api.json +19 -1
- tccli/services/iotexplorer/v20190423/examples.json +1 -1
- tccli/services/lighthouse/lighthouse_client.py +53 -0
- tccli/services/lighthouse/v20200324/api.json +228 -35
- tccli/services/lighthouse/v20200324/examples.json +8 -0
- tccli/services/live/v20180801/api.json +2 -2
- tccli/services/lowcode/lowcode_client.py +163 -4
- tccli/services/lowcode/v20210108/api.json +1373 -96
- tccli/services/lowcode/v20210108/examples.json +24 -0
- tccli/services/mps/v20190612/api.json +804 -47
- tccli/services/ocr/v20181119/api.json +3 -3
- tccli/services/sqlserver/v20180328/api.json +4 -4
- tccli/services/tcbr/v20220217/api.json +51 -0
- tccli/services/tdai/__init__.py +4 -0
- tccli/services/tdai/tdai_client.py +1108 -0
- tccli/services/tdai/v20250717/api.json +1930 -0
- tccli/services/tdai/v20250717/examples.json +149 -0
- tccli/services/teo/teo_client.py +53 -0
- tccli/services/teo/v20220901/api.json +111 -3
- tccli/services/teo/v20220901/examples.json +8 -0
- tccli/services/tmt/v20180321/api.json +3 -3
- tccli/services/tts/v20190823/api.json +11 -11
- tccli/services/vpc/v20170312/api.json +37 -7
- tccli/services/vpc/v20170312/examples.json +7 -7
- tccli/services/vtc/v20240223/api.json +3 -1
- tccli/services/vtc/v20240223/examples.json +1 -1
- tccli/services/waf/v20180125/api.json +6 -6
- {tccli-3.0.1389.1.dist-info → tccli-3.0.1390.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1389.1.dist-info → tccli-3.0.1390.1.dist-info}/RECORD +58 -54
- {tccli-3.0.1389.1.dist-info → tccli-3.0.1390.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1389.1.dist-info → tccli-3.0.1390.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1389.1.dist-info → tccli-3.0.1390.1.dist-info}/license_files/LICENSE +0 -0
tccli/services/cls/cls_client.py
CHANGED
@@ -745,7 +745,7 @@ def doDeleteDataTransform(args, parsed_globals):
|
|
745
745
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
746
746
|
|
747
747
|
|
748
|
-
def
|
748
|
+
def doDeleteConfigExtra(args, parsed_globals):
|
749
749
|
g_param = parse_global_arg(parsed_globals)
|
750
750
|
|
751
751
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -774,11 +774,11 @@ def doCreateLogset(args, parsed_globals):
|
|
774
774
|
client = mod.ClsClient(cred, g_param[OptionsDefine.Region], profile)
|
775
775
|
client._sdkVersion += ("_CLI_" + __version__)
|
776
776
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
777
|
-
model = models.
|
777
|
+
model = models.DeleteConfigExtraRequest()
|
778
778
|
model.from_json_string(json.dumps(args))
|
779
779
|
start_time = time.time()
|
780
780
|
while True:
|
781
|
-
rsp = client.
|
781
|
+
rsp = client.DeleteConfigExtra(model)
|
782
782
|
result = rsp.to_json_string()
|
783
783
|
try:
|
784
784
|
json_obj = json.loads(result)
|
@@ -2045,6 +2045,58 @@ def doDeleteCosRecharge(args, parsed_globals):
|
|
2045
2045
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2046
2046
|
|
2047
2047
|
|
2048
|
+
def doDescribeKafkaConsumerGroupList(args, parsed_globals):
|
2049
|
+
g_param = parse_global_arg(parsed_globals)
|
2050
|
+
|
2051
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2052
|
+
cred = credential.CVMRoleCredential()
|
2053
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2054
|
+
cred = credential.STSAssumeRoleCredential(
|
2055
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2056
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2057
|
+
)
|
2058
|
+
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):
|
2059
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2060
|
+
else:
|
2061
|
+
cred = credential.Credential(
|
2062
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2063
|
+
)
|
2064
|
+
http_profile = HttpProfile(
|
2065
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2066
|
+
reqMethod="POST",
|
2067
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2068
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2069
|
+
)
|
2070
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2071
|
+
if g_param[OptionsDefine.Language]:
|
2072
|
+
profile.language = g_param[OptionsDefine.Language]
|
2073
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2074
|
+
client = mod.ClsClient(cred, g_param[OptionsDefine.Region], profile)
|
2075
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2076
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2077
|
+
model = models.DescribeKafkaConsumerGroupListRequest()
|
2078
|
+
model.from_json_string(json.dumps(args))
|
2079
|
+
start_time = time.time()
|
2080
|
+
while True:
|
2081
|
+
rsp = client.DescribeKafkaConsumerGroupList(model)
|
2082
|
+
result = rsp.to_json_string()
|
2083
|
+
try:
|
2084
|
+
json_obj = json.loads(result)
|
2085
|
+
except TypeError as e:
|
2086
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2087
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2088
|
+
break
|
2089
|
+
cur_time = time.time()
|
2090
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2091
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2092
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2093
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2094
|
+
else:
|
2095
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2096
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2097
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2098
|
+
|
2099
|
+
|
2048
2100
|
def doDescribeKafkaRecharges(args, parsed_globals):
|
2049
2101
|
g_param = parse_global_arg(parsed_globals)
|
2050
2102
|
|
@@ -3969,7 +4021,7 @@ def doDescribePartitions(args, parsed_globals):
|
|
3969
4021
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3970
4022
|
|
3971
4023
|
|
3972
|
-
def
|
4024
|
+
def doCreateLogset(args, parsed_globals):
|
3973
4025
|
g_param = parse_global_arg(parsed_globals)
|
3974
4026
|
|
3975
4027
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -3998,11 +4050,11 @@ def doDeleteConfigExtra(args, parsed_globals):
|
|
3998
4050
|
client = mod.ClsClient(cred, g_param[OptionsDefine.Region], profile)
|
3999
4051
|
client._sdkVersion += ("_CLI_" + __version__)
|
4000
4052
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
4001
|
-
model = models.
|
4053
|
+
model = models.CreateLogsetRequest()
|
4002
4054
|
model.from_json_string(json.dumps(args))
|
4003
4055
|
start_time = time.time()
|
4004
4056
|
while True:
|
4005
|
-
rsp = client.
|
4057
|
+
rsp = client.CreateLogset(model)
|
4006
4058
|
result = rsp.to_json_string()
|
4007
4059
|
try:
|
4008
4060
|
json_obj = json.loads(result)
|
@@ -5061,6 +5113,58 @@ def doDescribeShippers(args, parsed_globals):
|
|
5061
5113
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5062
5114
|
|
5063
5115
|
|
5116
|
+
def doModifyKafkaConsumerGroupOffset(args, parsed_globals):
|
5117
|
+
g_param = parse_global_arg(parsed_globals)
|
5118
|
+
|
5119
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
5120
|
+
cred = credential.CVMRoleCredential()
|
5121
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
5122
|
+
cred = credential.STSAssumeRoleCredential(
|
5123
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
5124
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
5125
|
+
)
|
5126
|
+
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):
|
5127
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
5128
|
+
else:
|
5129
|
+
cred = credential.Credential(
|
5130
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
5131
|
+
)
|
5132
|
+
http_profile = HttpProfile(
|
5133
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
5134
|
+
reqMethod="POST",
|
5135
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
5136
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
5137
|
+
)
|
5138
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
5139
|
+
if g_param[OptionsDefine.Language]:
|
5140
|
+
profile.language = g_param[OptionsDefine.Language]
|
5141
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
5142
|
+
client = mod.ClsClient(cred, g_param[OptionsDefine.Region], profile)
|
5143
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
5144
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
5145
|
+
model = models.ModifyKafkaConsumerGroupOffsetRequest()
|
5146
|
+
model.from_json_string(json.dumps(args))
|
5147
|
+
start_time = time.time()
|
5148
|
+
while True:
|
5149
|
+
rsp = client.ModifyKafkaConsumerGroupOffset(model)
|
5150
|
+
result = rsp.to_json_string()
|
5151
|
+
try:
|
5152
|
+
json_obj = json.loads(result)
|
5153
|
+
except TypeError as e:
|
5154
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
5155
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
5156
|
+
break
|
5157
|
+
cur_time = time.time()
|
5158
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
5159
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
5160
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
5161
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
5162
|
+
else:
|
5163
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
5164
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
5165
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5166
|
+
|
5167
|
+
|
5064
5168
|
def doModifyConsoleSharing(args, parsed_globals):
|
5065
5169
|
g_param = parse_global_arg(parsed_globals)
|
5066
5170
|
|
@@ -5113,6 +5217,58 @@ def doModifyConsoleSharing(args, parsed_globals):
|
|
5113
5217
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5114
5218
|
|
5115
5219
|
|
5220
|
+
def doDescribeKafkaConsumerGroupDetail(args, parsed_globals):
|
5221
|
+
g_param = parse_global_arg(parsed_globals)
|
5222
|
+
|
5223
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
5224
|
+
cred = credential.CVMRoleCredential()
|
5225
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
5226
|
+
cred = credential.STSAssumeRoleCredential(
|
5227
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
5228
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
5229
|
+
)
|
5230
|
+
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):
|
5231
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
5232
|
+
else:
|
5233
|
+
cred = credential.Credential(
|
5234
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
5235
|
+
)
|
5236
|
+
http_profile = HttpProfile(
|
5237
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
5238
|
+
reqMethod="POST",
|
5239
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
5240
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
5241
|
+
)
|
5242
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
5243
|
+
if g_param[OptionsDefine.Language]:
|
5244
|
+
profile.language = g_param[OptionsDefine.Language]
|
5245
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
5246
|
+
client = mod.ClsClient(cred, g_param[OptionsDefine.Region], profile)
|
5247
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
5248
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
5249
|
+
model = models.DescribeKafkaConsumerGroupDetailRequest()
|
5250
|
+
model.from_json_string(json.dumps(args))
|
5251
|
+
start_time = time.time()
|
5252
|
+
while True:
|
5253
|
+
rsp = client.DescribeKafkaConsumerGroupDetail(model)
|
5254
|
+
result = rsp.to_json_string()
|
5255
|
+
try:
|
5256
|
+
json_obj = json.loads(result)
|
5257
|
+
except TypeError as e:
|
5258
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
5259
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
5260
|
+
break
|
5261
|
+
cur_time = time.time()
|
5262
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
5263
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
5264
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
5265
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
5266
|
+
else:
|
5267
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
5268
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
5269
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5270
|
+
|
5271
|
+
|
5116
5272
|
def doDescribeDashboards(args, parsed_globals):
|
5117
5273
|
g_param = parse_global_arg(parsed_globals)
|
5118
5274
|
|
@@ -5977,7 +6133,7 @@ ACTION_MAP = {
|
|
5977
6133
|
"DeleteLogset": doDeleteLogset,
|
5978
6134
|
"DeleteConfigFromMachineGroup": doDeleteConfigFromMachineGroup,
|
5979
6135
|
"DeleteDataTransform": doDeleteDataTransform,
|
5980
|
-
"
|
6136
|
+
"DeleteConfigExtra": doDeleteConfigExtra,
|
5981
6137
|
"CreateTopic": doCreateTopic,
|
5982
6138
|
"DescribeCloudProductLogTasks": doDescribeCloudProductLogTasks,
|
5983
6139
|
"DeleteAlarmNotice": doDeleteAlarmNotice,
|
@@ -6002,6 +6158,7 @@ ACTION_MAP = {
|
|
6002
6158
|
"DeleteConsumer": doDeleteConsumer,
|
6003
6159
|
"DeleteMachineGroup": doDeleteMachineGroup,
|
6004
6160
|
"DeleteCosRecharge": doDeleteCosRecharge,
|
6161
|
+
"DescribeKafkaConsumerGroupList": doDescribeKafkaConsumerGroupList,
|
6005
6162
|
"DescribeKafkaRecharges": doDescribeKafkaRecharges,
|
6006
6163
|
"DescribeAlarms": doDescribeAlarms,
|
6007
6164
|
"DescribeCosRecharges": doDescribeCosRecharges,
|
@@ -6039,7 +6196,7 @@ ACTION_MAP = {
|
|
6039
6196
|
"DeleteConsoleSharing": doDeleteConsoleSharing,
|
6040
6197
|
"DescribeAlarmNotices": doDescribeAlarmNotices,
|
6041
6198
|
"DescribePartitions": doDescribePartitions,
|
6042
|
-
"
|
6199
|
+
"CreateLogset": doCreateLogset,
|
6043
6200
|
"CheckFunction": doCheckFunction,
|
6044
6201
|
"DeleteAlarm": doDeleteAlarm,
|
6045
6202
|
"DeleteShipper": doDeleteShipper,
|
@@ -6060,7 +6217,9 @@ ACTION_MAP = {
|
|
6060
6217
|
"CheckRechargeKafkaServer": doCheckRechargeKafkaServer,
|
6061
6218
|
"ModifyAlarm": doModifyAlarm,
|
6062
6219
|
"DescribeShippers": doDescribeShippers,
|
6220
|
+
"ModifyKafkaConsumerGroupOffset": doModifyKafkaConsumerGroupOffset,
|
6063
6221
|
"ModifyConsoleSharing": doModifyConsoleSharing,
|
6222
|
+
"DescribeKafkaConsumerGroupDetail": doDescribeKafkaConsumerGroupDetail,
|
6064
6223
|
"DescribeDashboards": doDescribeDashboards,
|
6065
6224
|
"PreviewKafkaRecharge": doPreviewKafkaRecharge,
|
6066
6225
|
"ModifyConfig": doModifyConfig,
|
@@ -469,6 +469,20 @@
|
|
469
469
|
"output": "DescribeKafkaConsumerResponse",
|
470
470
|
"status": "online"
|
471
471
|
},
|
472
|
+
"DescribeKafkaConsumerGroupDetail": {
|
473
|
+
"document": "获取Kafka协议消费组详情",
|
474
|
+
"input": "DescribeKafkaConsumerGroupDetailRequest",
|
475
|
+
"name": "获取Kafka协议消费组详情",
|
476
|
+
"output": "DescribeKafkaConsumerGroupDetailResponse",
|
477
|
+
"status": "online"
|
478
|
+
},
|
479
|
+
"DescribeKafkaConsumerGroupList": {
|
480
|
+
"document": "获取Kafka协议消费组信息列表",
|
481
|
+
"input": "DescribeKafkaConsumerGroupListRequest",
|
482
|
+
"name": "获取Kafka协议消费组列表",
|
483
|
+
"output": "DescribeKafkaConsumerGroupListResponse",
|
484
|
+
"status": "online"
|
485
|
+
},
|
472
486
|
"DescribeKafkaRecharges": {
|
473
487
|
"document": "本接口用于获取Kafka数据订阅任务",
|
474
488
|
"input": "DescribeKafkaRechargesRequest",
|
@@ -672,6 +686,13 @@
|
|
672
686
|
"output": "ModifyKafkaConsumerResponse",
|
673
687
|
"status": "online"
|
674
688
|
},
|
689
|
+
"ModifyKafkaConsumerGroupOffset": {
|
690
|
+
"document": "修改Kafka协议消费组点位",
|
691
|
+
"input": "ModifyKafkaConsumerGroupOffsetRequest",
|
692
|
+
"name": "修改Kafka协议消费组点位",
|
693
|
+
"output": "ModifyKafkaConsumerGroupOffsetResponse",
|
694
|
+
"status": "online"
|
695
|
+
},
|
675
696
|
"ModifyKafkaRecharge": {
|
676
697
|
"document": "本接口用于修改Kafka数据订阅任务",
|
677
698
|
"input": "ModifyKafkaRechargeRequest",
|
@@ -3104,6 +3125,42 @@
|
|
3104
3125
|
],
|
3105
3126
|
"usage": "both"
|
3106
3127
|
},
|
3128
|
+
"ConsumerGroup": {
|
3129
|
+
"document": "kafka协议消费组信息",
|
3130
|
+
"members": [
|
3131
|
+
{
|
3132
|
+
"disabled": false,
|
3133
|
+
"document": "消费组名称",
|
3134
|
+
"example": "消费组1",
|
3135
|
+
"member": "string",
|
3136
|
+
"name": "Group",
|
3137
|
+
"output_required": true,
|
3138
|
+
"type": "string",
|
3139
|
+
"value_allowed_null": false
|
3140
|
+
},
|
3141
|
+
{
|
3142
|
+
"disabled": false,
|
3143
|
+
"document": "状态。\n\n- Empty:组内没有成员,但存在已提交的偏移量。所有消费者都离开但保留了偏移量\n- Dead:组内没有成员,且没有已提交的偏移量。组被删除或长时间无活动\n- Stable:组内成员正常消费,分区分配平衡。正常运行状态\n- PreparingRebalance:组正在准备重新平衡。有新成员加入或现有成员离开\n- CompletingRebalance:组正在准备重新平衡。有新成员加入或现有成员离开\n",
|
3144
|
+
"example": "Empty",
|
3145
|
+
"member": "string",
|
3146
|
+
"name": "State",
|
3147
|
+
"output_required": true,
|
3148
|
+
"type": "string",
|
3149
|
+
"value_allowed_null": false
|
3150
|
+
},
|
3151
|
+
{
|
3152
|
+
"disabled": false,
|
3153
|
+
"document": "分区分配策略均衡算法名称。\n\n- 常见均衡算法如下:\n - range:按分区范围分配\n - roundrobin:轮询式分配\n - sticky:粘性分配(避免不必要的重平衡)",
|
3154
|
+
"example": "roundrobin",
|
3155
|
+
"member": "string",
|
3156
|
+
"name": "ProtocolName",
|
3157
|
+
"output_required": true,
|
3158
|
+
"type": "string",
|
3159
|
+
"value_allowed_null": false
|
3160
|
+
}
|
3161
|
+
],
|
3162
|
+
"usage": "out"
|
3163
|
+
},
|
3107
3164
|
"ContainerFileInfo": {
|
3108
3165
|
"document": "自建k8s-容器文件路径信息",
|
3109
3166
|
"members": [
|
@@ -5240,7 +5297,7 @@
|
|
5240
5297
|
},
|
5241
5298
|
{
|
5242
5299
|
"disabled": false,
|
5243
|
-
"document": "日志集ID,格式为:用户自定义部分-用户
|
5300
|
+
"document": "日志集ID,格式为:用户自定义部分-用户APPID。未填写该参数时将自动生成ID。\n\n- 用户自定义部分仅支持小写字母、数字和-,且不能以-开头和结尾,长度为3至40字符。\n- 尾部需要使用-拼接用户APPID,APPID可在https://console.cloud.tencent.com/developer页面查询。\n- 如果指定该字段,需保证全地域唯一",
|
5244
5301
|
"example": "user-diy-1254139626",
|
5245
5302
|
"member": "string",
|
5246
5303
|
"name": "LogsetId",
|
@@ -5839,7 +5896,7 @@
|
|
5839
5896
|
},
|
5840
5897
|
{
|
5841
5898
|
"disabled": false,
|
5842
|
-
"document": "主题自定义ID
|
5899
|
+
"document": "主题自定义ID,格式为:用户自定义部分-用户APPID。未填写该参数时将自动生成ID。\n- 用户自定义部分仅支持小写字母、数字和-,且不能以-开头和结尾,长度为3至40字符\n- 尾部需要使用-拼接用户APPID,APPID可在https://console.cloud.tencent.com/developer页面查询。\n- 如果指定该字段,需保证全地域唯一",
|
5843
5900
|
"example": "eb9ec10d-1343-4386-9a6e-75fd9d68726e",
|
5844
5901
|
"member": "string",
|
5845
5902
|
"name": "TopicId",
|
@@ -8451,6 +8508,176 @@
|
|
8451
8508
|
],
|
8452
8509
|
"type": "object"
|
8453
8510
|
},
|
8511
|
+
"DescribeKafkaConsumerGroupDetailRequest": {
|
8512
|
+
"document": "DescribeKafkaConsumerGroupDetail请求参数结构体",
|
8513
|
+
"members": [
|
8514
|
+
{
|
8515
|
+
"disabled": false,
|
8516
|
+
"document": "日志主题id。\n- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。",
|
8517
|
+
"example": "57f5808c-4a55-11eb-b378-0242ac130002",
|
8518
|
+
"member": "string",
|
8519
|
+
"name": "TopicId",
|
8520
|
+
"required": true,
|
8521
|
+
"type": "string"
|
8522
|
+
},
|
8523
|
+
{
|
8524
|
+
"disabled": false,
|
8525
|
+
"document": "消费组名称",
|
8526
|
+
"example": "消费组1",
|
8527
|
+
"member": "string",
|
8528
|
+
"name": "Group",
|
8529
|
+
"required": true,
|
8530
|
+
"type": "string"
|
8531
|
+
}
|
8532
|
+
],
|
8533
|
+
"type": "object"
|
8534
|
+
},
|
8535
|
+
"DescribeKafkaConsumerGroupDetailResponse": {
|
8536
|
+
"document": "DescribeKafkaConsumerGroupDetail返回参数结构体",
|
8537
|
+
"members": [
|
8538
|
+
{
|
8539
|
+
"disabled": false,
|
8540
|
+
"document": "日志集id",
|
8541
|
+
"example": "57f5808c-4a55-11eb-b378-0242ac130223",
|
8542
|
+
"member": "string",
|
8543
|
+
"name": "LogsetId",
|
8544
|
+
"output_required": true,
|
8545
|
+
"type": "string",
|
8546
|
+
"value_allowed_null": false
|
8547
|
+
},
|
8548
|
+
{
|
8549
|
+
"disabled": false,
|
8550
|
+
"document": "消费组名称",
|
8551
|
+
"example": "消费组1",
|
8552
|
+
"member": "string",
|
8553
|
+
"name": "Group",
|
8554
|
+
"output_required": true,
|
8555
|
+
"type": "string",
|
8556
|
+
"value_allowed_null": false
|
8557
|
+
},
|
8558
|
+
{
|
8559
|
+
"disabled": false,
|
8560
|
+
"document": "消费组信息列表",
|
8561
|
+
"example": "无",
|
8562
|
+
"member": "GroupPartitionInfo",
|
8563
|
+
"name": "PartitionInfos",
|
8564
|
+
"output_required": true,
|
8565
|
+
"type": "list",
|
8566
|
+
"value_allowed_null": false
|
8567
|
+
},
|
8568
|
+
{
|
8569
|
+
"disabled": false,
|
8570
|
+
"document": "Empty:组内没有成员,但存在已提交的偏移量。所有消费者都离开但保留了偏移量\nDead:组内没有成员,且没有已提交的偏移量。组被删除或长时间无活动\nStable:组内成员正常消费,分区分配平衡。正常运行状态\nPreparingRebalance:组正在准备重新平衡。有新成员加入或现有成员离开\nCompletingRebalance:组正在准备重新平衡。有新成员加入或现有成员离开",
|
8571
|
+
"example": "Empty",
|
8572
|
+
"member": "string",
|
8573
|
+
"name": "State",
|
8574
|
+
"output_required": true,
|
8575
|
+
"type": "string",
|
8576
|
+
"value_allowed_null": false
|
8577
|
+
},
|
8578
|
+
{
|
8579
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
8580
|
+
"member": "string",
|
8581
|
+
"name": "RequestId",
|
8582
|
+
"type": "string"
|
8583
|
+
}
|
8584
|
+
],
|
8585
|
+
"type": "object"
|
8586
|
+
},
|
8587
|
+
"DescribeKafkaConsumerGroupListRequest": {
|
8588
|
+
"document": "DescribeKafkaConsumerGroupList请求参数结构体",
|
8589
|
+
"members": [
|
8590
|
+
{
|
8591
|
+
"disabled": false,
|
8592
|
+
"document": "日志主题id。\n- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。",
|
8593
|
+
"example": "57f5808c-4a55-11eb-b378-0242ac130002",
|
8594
|
+
"member": "string",
|
8595
|
+
"name": "TopicId",
|
8596
|
+
"required": true,
|
8597
|
+
"type": "string"
|
8598
|
+
},
|
8599
|
+
{
|
8600
|
+
"disabled": false,
|
8601
|
+
"document": "- group\n按照【消费组名称】进行过滤。\n类型:String\n必选:否\n示例:消费组1\n\n每次请求的Filters的上限为10,Filter.Values的上限为10。",
|
8602
|
+
"example": "无",
|
8603
|
+
"member": "Filter",
|
8604
|
+
"name": "Filters",
|
8605
|
+
"required": false,
|
8606
|
+
"type": "list"
|
8607
|
+
},
|
8608
|
+
{
|
8609
|
+
"disabled": false,
|
8610
|
+
"document": "分页的偏移量,默认值为0。",
|
8611
|
+
"example": "0",
|
8612
|
+
"member": "uint64",
|
8613
|
+
"name": "Offset",
|
8614
|
+
"required": false,
|
8615
|
+
"type": "int"
|
8616
|
+
},
|
8617
|
+
{
|
8618
|
+
"disabled": false,
|
8619
|
+
"document": "分页单页限制数目,默认值为20,最大值100。",
|
8620
|
+
"example": "10",
|
8621
|
+
"member": "uint64",
|
8622
|
+
"name": "Limit",
|
8623
|
+
"required": false,
|
8624
|
+
"type": "int"
|
8625
|
+
}
|
8626
|
+
],
|
8627
|
+
"type": "object"
|
8628
|
+
},
|
8629
|
+
"DescribeKafkaConsumerGroupListResponse": {
|
8630
|
+
"document": "DescribeKafkaConsumerGroupList返回参数结构体",
|
8631
|
+
"members": [
|
8632
|
+
{
|
8633
|
+
"disabled": false,
|
8634
|
+
"document": "日志主题名称",
|
8635
|
+
"example": "日志a主题",
|
8636
|
+
"member": "string",
|
8637
|
+
"name": "TopicName",
|
8638
|
+
"output_required": false,
|
8639
|
+
"type": "string",
|
8640
|
+
"value_allowed_null": false
|
8641
|
+
},
|
8642
|
+
{
|
8643
|
+
"disabled": false,
|
8644
|
+
"document": "日志集id",
|
8645
|
+
"example": "57f5808c-4a55-11eb-b378-0242ac130223",
|
8646
|
+
"member": "string",
|
8647
|
+
"name": "LogsetId",
|
8648
|
+
"output_required": false,
|
8649
|
+
"type": "string",
|
8650
|
+
"value_allowed_null": false
|
8651
|
+
},
|
8652
|
+
{
|
8653
|
+
"disabled": false,
|
8654
|
+
"document": "总个数",
|
8655
|
+
"example": "1",
|
8656
|
+
"member": "uint64",
|
8657
|
+
"name": "Total",
|
8658
|
+
"output_required": false,
|
8659
|
+
"type": "int",
|
8660
|
+
"value_allowed_null": false
|
8661
|
+
},
|
8662
|
+
{
|
8663
|
+
"disabled": false,
|
8664
|
+
"document": "消费组信息列表",
|
8665
|
+
"example": "无",
|
8666
|
+
"member": "ConsumerGroup",
|
8667
|
+
"name": "Groups",
|
8668
|
+
"output_required": false,
|
8669
|
+
"type": "list",
|
8670
|
+
"value_allowed_null": false
|
8671
|
+
},
|
8672
|
+
{
|
8673
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
8674
|
+
"member": "string",
|
8675
|
+
"name": "RequestId",
|
8676
|
+
"type": "string"
|
8677
|
+
}
|
8678
|
+
],
|
8679
|
+
"type": "object"
|
8680
|
+
},
|
8454
8681
|
"DescribeKafkaConsumerRequest": {
|
8455
8682
|
"document": "DescribeKafkaConsumer请求参数结构体",
|
8456
8683
|
"members": [
|
@@ -10402,6 +10629,42 @@
|
|
10402
10629
|
],
|
10403
10630
|
"type": "object"
|
10404
10631
|
},
|
10632
|
+
"GroupPartitionInfo": {
|
10633
|
+
"document": "kafka协议消费组区分信息",
|
10634
|
+
"members": [
|
10635
|
+
{
|
10636
|
+
"disabled": false,
|
10637
|
+
"document": "分区id",
|
10638
|
+
"example": "1",
|
10639
|
+
"member": "int64",
|
10640
|
+
"name": "PartitionId",
|
10641
|
+
"output_required": true,
|
10642
|
+
"type": "int",
|
10643
|
+
"value_allowed_null": false
|
10644
|
+
},
|
10645
|
+
{
|
10646
|
+
"disabled": false,
|
10647
|
+
"document": "分区最新数据时间戳,单位:s",
|
10648
|
+
"example": "2",
|
10649
|
+
"member": "int64",
|
10650
|
+
"name": "CommitTimestamp",
|
10651
|
+
"output_required": true,
|
10652
|
+
"type": "int",
|
10653
|
+
"value_allowed_null": false
|
10654
|
+
},
|
10655
|
+
{
|
10656
|
+
"disabled": false,
|
10657
|
+
"document": "消费者",
|
10658
|
+
"example": "app_as",
|
10659
|
+
"member": "string",
|
10660
|
+
"name": "Consumer",
|
10661
|
+
"output_required": true,
|
10662
|
+
"type": "string",
|
10663
|
+
"value_allowed_null": false
|
10664
|
+
}
|
10665
|
+
],
|
10666
|
+
"usage": "out"
|
10667
|
+
},
|
10405
10668
|
"GroupTriggerConditionInfo": {
|
10406
10669
|
"document": "分组触发条件",
|
10407
10670
|
"members": [
|
@@ -12935,6 +13198,33 @@
|
|
12935
13198
|
],
|
12936
13199
|
"type": "object"
|
12937
13200
|
},
|
13201
|
+
"ModifyKafkaConsumerGroupOffsetRequest": {
|
13202
|
+
"document": "ModifyKafkaConsumerGroupOffset请求参数结构体",
|
13203
|
+
"members": [],
|
13204
|
+
"type": "object"
|
13205
|
+
},
|
13206
|
+
"ModifyKafkaConsumerGroupOffsetResponse": {
|
13207
|
+
"document": "ModifyKafkaConsumerGroupOffset返回参数结构体",
|
13208
|
+
"members": [
|
13209
|
+
{
|
13210
|
+
"disabled": false,
|
13211
|
+
"document": "状态码。0:成功,-1:失败",
|
13212
|
+
"example": "0",
|
13213
|
+
"member": "int64",
|
13214
|
+
"name": "Code",
|
13215
|
+
"output_required": true,
|
13216
|
+
"type": "int",
|
13217
|
+
"value_allowed_null": false
|
13218
|
+
},
|
13219
|
+
{
|
13220
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
13221
|
+
"member": "string",
|
13222
|
+
"name": "RequestId",
|
13223
|
+
"type": "string"
|
13224
|
+
}
|
13225
|
+
],
|
13226
|
+
"type": "object"
|
13227
|
+
},
|
12938
13228
|
"ModifyKafkaConsumerRequest": {
|
12939
13229
|
"document": "ModifyKafkaConsumer请求参数结构体",
|
12940
13230
|
"members": [
|
@@ -572,6 +572,22 @@
|
|
572
572
|
"title": "获取Kakfa协议消费信息"
|
573
573
|
}
|
574
574
|
],
|
575
|
+
"DescribeKafkaConsumerGroupDetail": [
|
576
|
+
{
|
577
|
+
"document": "",
|
578
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeKafkaConsumerGroupDetail\n<公共请求参数>\n\n{\n \"TopicId\": \"5023192e-1254139626\",\n \"Group\": \"same_group_id\"\n}",
|
579
|
+
"output": "{\n \"Response\": {\n \"Group\": \"same_group_id\",\n \"LogsetId\": \"a8248746-c989-468e-b931-a9bf6c999c89\",\n \"PartitionInfos\": [\n {\n \"CommitTimestamp\": 3223609680,\n \"Consumer\": \"\",\n \"PartitionId\": 0\n },\n {\n \"CommitTimestamp\": 3223609680,\n \"Consumer\": \"\",\n \"PartitionId\": 1\n },\n {\n \"CommitTimestamp\": 3223609680,\n \"Consumer\": \"\",\n \"PartitionId\": 2\n },\n {\n \"CommitTimestamp\": 3223609680,\n \"Consumer\": \"\",\n \"PartitionId\": 3\n },\n {\n \"CommitTimestamp\": 3223609680,\n \"Consumer\": \"\",\n \"PartitionId\": 4\n },\n {\n \"CommitTimestamp\": 3223609680,\n \"Consumer\": \"\",\n \"PartitionId\": 5\n },\n {\n \"CommitTimestamp\": 3223609680,\n \"Consumer\": \"\",\n \"PartitionId\": 6\n }\n ],\n \"RequestId\": \"b4a11979-760c-42e2-92b8-5945eb93ee98\",\n \"State\": \"Empty\"\n }\n}",
|
580
|
+
"title": "获取Kafka协议消费组详情"
|
581
|
+
}
|
582
|
+
],
|
583
|
+
"DescribeKafkaConsumerGroupList": [
|
584
|
+
{
|
585
|
+
"document": "",
|
586
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeKafkaConsumerGroupList\n<公共请求参数>\n\n{\n \"TopicId\": \"5023192e-1254139626\",\n \"Offset\": 0,\n \"Limit\": 1\n}",
|
587
|
+
"output": "{\n \"Response\": {\n \"Groups\": [\n {\n \"Group\": \"same_group_id\",\n \"ProtocolName\": \"\",\n \"State\": \"Empty\"\n }\n ],\n \"LogsetId\": \"a8248746-c989-468e-b931-a9bf6c999c89\",\n \"RequestId\": \"53ac1397-336a-4d4b-87ff-a2a16ff97519\",\n \"TopicName\": \"1254139626-5023192e\",\n \"Total\": 2\n }\n}",
|
588
|
+
"title": "获取Kafka协议消费组详情"
|
589
|
+
}
|
590
|
+
],
|
575
591
|
"DescribeKafkaRecharges": [
|
576
592
|
{
|
577
593
|
"document": "获取Kafka导入配置信息",
|
@@ -816,6 +832,14 @@
|
|
816
832
|
"title": "修改Kafka协议消费信息"
|
817
833
|
}
|
818
834
|
],
|
835
|
+
"ModifyKafkaConsumerGroupOffset": [
|
836
|
+
{
|
837
|
+
"document": "",
|
838
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyKafkaConsumerGroupOffset\n<公共请求参数>\n\n{}",
|
839
|
+
"output": "{\n \"Response\": {\n \"Code\": 0,\n \"RequestId\": \"c3ae291d-8ffd-4a26-b5ae-00b6863cdf44\"\n }\n}",
|
840
|
+
"title": "修改Kafka协议消费组点位"
|
841
|
+
}
|
842
|
+
],
|
819
843
|
"ModifyKafkaRecharge": [
|
820
844
|
{
|
821
845
|
"document": "修改Kafka导入配置",
|