tccli 3.0.1372.1__py2.py3-none-any.whl → 3.0.1374.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/ai3d/v20250513/api.json +1 -1
- tccli/services/batch/v20170312/api.json +3 -3
- tccli/services/cfs/v20190719/api.json +10 -10
- tccli/services/cfs/v20190719/examples.json +1 -1
- tccli/services/clb/v20180317/api.json +252 -3
- tccli/services/cls/v20201016/api.json +244 -106
- tccli/services/cls/v20201016/examples.json +7 -7
- tccli/services/emr/v20190103/api.json +2 -2
- tccli/services/ess/v20201111/api.json +69 -0
- tccli/services/essbasic/v20210526/api.json +39 -0
- tccli/services/keewidb/v20220308/api.json +24 -24
- tccli/services/lcic/v20220817/api.json +46 -18
- tccli/services/lighthouse/v20200324/examples.json +3 -3
- tccli/services/live/v20180801/examples.json +1 -1
- tccli/services/lke/v20231130/api.json +1344 -246
- tccli/services/lke/v20231130/examples.json +1 -1
- tccli/services/mongodb/v20190725/api.json +4 -4
- tccli/services/monitor/v20180724/api.json +4 -4
- tccli/services/mps/v20190612/api.json +42 -2
- tccli/services/ocr/v20181119/api.json +31 -12
- tccli/services/partners/v20180321/api.json +4 -4
- tccli/services/postgres/postgres_client.py +12 -171
- tccli/services/postgres/v20170312/api.json +20 -819
- tccli/services/postgres/v20170312/examples.json +6 -30
- tccli/services/scf/v20180416/api.json +2 -0
- tccli/services/sqlserver/v20180328/api.json +19 -17
- tccli/services/sqlserver/v20180328/examples.json +2 -2
- tccli/services/sts/v20180813/api.json +4 -4
- tccli/services/tcbr/v20220217/api.json +92 -0
- tccli/services/tcss/v20201101/api.json +32 -2
- tccli/services/tcss/v20201101/examples.json +3 -3
- tccli/services/tke/v20180525/api.json +10 -1
- tccli/services/trabbit/v20230418/api.json +50 -2
- tccli/services/trocket/trocket_client.py +65 -12
- tccli/services/trocket/v20230308/api.json +156 -0
- tccli/services/trocket/v20230308/examples.json +8 -0
- tccli/services/trtc/v20190722/api.json +10 -10
- tccli/services/tsf/v20180326/api.json +573 -371
- tccli/services/tsf/v20180326/examples.json +8 -8
- tccli/services/vod/v20180717/api.json +325 -32
- tccli/services/vod/v20180717/examples.json +33 -1
- tccli/services/vod/vod_client.py +212 -0
- tccli/services/waf/v20180125/api.json +717 -38
- tccli/services/waf/v20180125/examples.json +56 -0
- tccli/services/waf/waf_client.py +444 -73
- tccli/services/wedata/v20210820/api.json +138 -6
- {tccli-3.0.1372.1.dist-info → tccli-3.0.1374.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1372.1.dist-info → tccli-3.0.1374.1.dist-info}/RECORD +52 -52
- {tccli-3.0.1372.1.dist-info → tccli-3.0.1374.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1372.1.dist-info → tccli-3.0.1374.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1372.1.dist-info → tccli-3.0.1374.1.dist-info}/license_files/LICENSE +0 -0
@@ -396,6 +396,15 @@
|
|
396
396
|
"name": "AlternateExchange",
|
397
397
|
"required": false,
|
398
398
|
"type": "string"
|
399
|
+
},
|
400
|
+
{
|
401
|
+
"disabled": false,
|
402
|
+
"document": "延迟类型的exchange背后对应的exchange类型, 支持 \"fanout\",\"direct\",\"topic\",\"headers\"",
|
403
|
+
"example": "direct",
|
404
|
+
"member": "string",
|
405
|
+
"name": "DelayedExchangeType",
|
406
|
+
"required": false,
|
407
|
+
"type": "string"
|
399
408
|
}
|
400
409
|
],
|
401
410
|
"type": "object"
|
@@ -2727,6 +2736,15 @@
|
|
2727
2736
|
"name": "TraceFlag",
|
2728
2737
|
"required": false,
|
2729
2738
|
"type": "bool"
|
2739
|
+
},
|
2740
|
+
{
|
2741
|
+
"disabled": false,
|
2742
|
+
"document": "限流生产消费比例",
|
2743
|
+
"example": "0.5",
|
2744
|
+
"member": "float",
|
2745
|
+
"name": "SendReceiveRatio",
|
2746
|
+
"required": false,
|
2747
|
+
"type": "float"
|
2730
2748
|
}
|
2731
2749
|
],
|
2732
2750
|
"type": "object"
|
@@ -3398,6 +3416,26 @@
|
|
3398
3416
|
"output_required": false,
|
3399
3417
|
"type": "int",
|
3400
3418
|
"value_allowed_null": false
|
3419
|
+
},
|
3420
|
+
{
|
3421
|
+
"disabled": false,
|
3422
|
+
"document": "发送消息流量比例",
|
3423
|
+
"example": "0.5",
|
3424
|
+
"member": "float",
|
3425
|
+
"name": "SendReceiveRatio",
|
3426
|
+
"output_required": false,
|
3427
|
+
"type": "float",
|
3428
|
+
"value_allowed_null": false
|
3429
|
+
},
|
3430
|
+
{
|
3431
|
+
"disabled": false,
|
3432
|
+
"document": "消息轨迹保留时间,单位小时",
|
3433
|
+
"example": "72",
|
3434
|
+
"member": "uint64",
|
3435
|
+
"name": "TraceTime",
|
3436
|
+
"output_required": false,
|
3437
|
+
"type": "int",
|
3438
|
+
"value_allowed_null": false
|
3401
3439
|
}
|
3402
3440
|
],
|
3403
3441
|
"usage": "out"
|
@@ -4060,7 +4098,7 @@
|
|
4060
4098
|
{
|
4061
4099
|
"disabled": false,
|
4062
4100
|
"document": "公网域名",
|
4063
|
-
"example": "
|
4101
|
+
"example": "127.4.5.1",
|
4064
4102
|
"member": "string",
|
4065
4103
|
"name": "PublicAccessEndpoint",
|
4066
4104
|
"output_required": false,
|
@@ -4070,12 +4108,22 @@
|
|
4070
4108
|
{
|
4071
4109
|
"disabled": false,
|
4072
4110
|
"document": "公网状态",
|
4073
|
-
"example": "
|
4111
|
+
"example": "ON",
|
4074
4112
|
"member": "string",
|
4075
4113
|
"name": "PublicDataStreamStatus",
|
4076
4114
|
"output_required": false,
|
4077
4115
|
"type": "string",
|
4078
4116
|
"value_allowed_null": false
|
4117
|
+
},
|
4118
|
+
{
|
4119
|
+
"disabled": false,
|
4120
|
+
"document": "公网CLB实例ID",
|
4121
|
+
"example": "lb-abcd",
|
4122
|
+
"member": "string",
|
4123
|
+
"name": "PublicClbId",
|
4124
|
+
"output_required": false,
|
4125
|
+
"type": "string",
|
4126
|
+
"value_allowed_null": false
|
4079
4127
|
}
|
4080
4128
|
],
|
4081
4129
|
"usage": "out"
|
@@ -1109,7 +1109,7 @@ def doDeleteConsumerGroup(args, parsed_globals):
|
|
1109
1109
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1110
1110
|
|
1111
1111
|
|
1112
|
-
def
|
1112
|
+
def doDescribeProductSKUs(args, parsed_globals):
|
1113
1113
|
g_param = parse_global_arg(parsed_globals)
|
1114
1114
|
|
1115
1115
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1138,11 +1138,11 @@ def doDescribeMQTTMessage(args, parsed_globals):
|
|
1138
1138
|
client = mod.TrocketClient(cred, g_param[OptionsDefine.Region], profile)
|
1139
1139
|
client._sdkVersion += ("_CLI_" + __version__)
|
1140
1140
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1141
|
-
model = models.
|
1141
|
+
model = models.DescribeProductSKUsRequest()
|
1142
1142
|
model.from_json_string(json.dumps(args))
|
1143
1143
|
start_time = time.time()
|
1144
1144
|
while True:
|
1145
|
-
rsp = client.
|
1145
|
+
rsp = client.DescribeProductSKUs(model)
|
1146
1146
|
result = rsp.to_json_string()
|
1147
1147
|
try:
|
1148
1148
|
json_obj = json.loads(result)
|
@@ -1473,7 +1473,7 @@ def doDescribeMQTTUserList(args, parsed_globals):
|
|
1473
1473
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1474
1474
|
|
1475
1475
|
|
1476
|
-
def
|
1476
|
+
def doDescribeMQTTMessage(args, parsed_globals):
|
1477
1477
|
g_param = parse_global_arg(parsed_globals)
|
1478
1478
|
|
1479
1479
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1502,11 +1502,11 @@ def doDescribeProductSKUs(args, parsed_globals):
|
|
1502
1502
|
client = mod.TrocketClient(cred, g_param[OptionsDefine.Region], profile)
|
1503
1503
|
client._sdkVersion += ("_CLI_" + __version__)
|
1504
1504
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1505
|
-
model = models.
|
1505
|
+
model = models.DescribeMQTTMessageRequest()
|
1506
1506
|
model.from_json_string(json.dumps(args))
|
1507
1507
|
start_time = time.time()
|
1508
1508
|
while True:
|
1509
|
-
rsp = client.
|
1509
|
+
rsp = client.DescribeMQTTMessage(model)
|
1510
1510
|
result = rsp.to_json_string()
|
1511
1511
|
try:
|
1512
1512
|
json_obj = json.loads(result)
|
@@ -2877,7 +2877,7 @@ def doDescribeMQTTInsPublicEndpoints(args, parsed_globals):
|
|
2877
2877
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2878
2878
|
|
2879
2879
|
|
2880
|
-
def
|
2880
|
+
def doDescribeProducerList(args, parsed_globals):
|
2881
2881
|
g_param = parse_global_arg(parsed_globals)
|
2882
2882
|
|
2883
2883
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -2906,11 +2906,11 @@ def doDescribeConsumerGroupList(args, parsed_globals):
|
|
2906
2906
|
client = mod.TrocketClient(cred, g_param[OptionsDefine.Region], profile)
|
2907
2907
|
client._sdkVersion += ("_CLI_" + __version__)
|
2908
2908
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2909
|
-
model = models.
|
2909
|
+
model = models.DescribeProducerListRequest()
|
2910
2910
|
model.from_json_string(json.dumps(args))
|
2911
2911
|
start_time = time.time()
|
2912
2912
|
while True:
|
2913
|
-
rsp = client.
|
2913
|
+
rsp = client.DescribeProducerList(model)
|
2914
2914
|
result = rsp.to_json_string()
|
2915
2915
|
try:
|
2916
2916
|
json_obj = json.loads(result)
|
@@ -3137,6 +3137,58 @@ def doDescribeMigrationTaskList(args, parsed_globals):
|
|
3137
3137
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3138
3138
|
|
3139
3139
|
|
3140
|
+
def doDescribeConsumerGroupList(args, parsed_globals):
|
3141
|
+
g_param = parse_global_arg(parsed_globals)
|
3142
|
+
|
3143
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
3144
|
+
cred = credential.CVMRoleCredential()
|
3145
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
3146
|
+
cred = credential.STSAssumeRoleCredential(
|
3147
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
3148
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
3149
|
+
)
|
3150
|
+
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):
|
3151
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
3152
|
+
else:
|
3153
|
+
cred = credential.Credential(
|
3154
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
3155
|
+
)
|
3156
|
+
http_profile = HttpProfile(
|
3157
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
3158
|
+
reqMethod="POST",
|
3159
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
3160
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
3161
|
+
)
|
3162
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
3163
|
+
if g_param[OptionsDefine.Language]:
|
3164
|
+
profile.language = g_param[OptionsDefine.Language]
|
3165
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
3166
|
+
client = mod.TrocketClient(cred, g_param[OptionsDefine.Region], profile)
|
3167
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
3168
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3169
|
+
model = models.DescribeConsumerGroupListRequest()
|
3170
|
+
model.from_json_string(json.dumps(args))
|
3171
|
+
start_time = time.time()
|
3172
|
+
while True:
|
3173
|
+
rsp = client.DescribeConsumerGroupList(model)
|
3174
|
+
result = rsp.to_json_string()
|
3175
|
+
try:
|
3176
|
+
json_obj = json.loads(result)
|
3177
|
+
except TypeError as e:
|
3178
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
3179
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
3180
|
+
break
|
3181
|
+
cur_time = time.time()
|
3182
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
3183
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
3184
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
3185
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
3186
|
+
else:
|
3187
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
3188
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
3189
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3190
|
+
|
3191
|
+
|
3140
3192
|
def doChangeMigratingTopicToNextStage(args, parsed_globals):
|
3141
3193
|
g_param = parse_global_arg(parsed_globals)
|
3142
3194
|
|
@@ -3637,14 +3689,14 @@ ACTION_MAP = {
|
|
3637
3689
|
"DescribeMQTTProductSKUList": doDescribeMQTTProductSKUList,
|
3638
3690
|
"ModifyMQTTUser": doModifyMQTTUser,
|
3639
3691
|
"DeleteConsumerGroup": doDeleteConsumerGroup,
|
3640
|
-
"
|
3692
|
+
"DescribeProductSKUs": doDescribeProductSKUs,
|
3641
3693
|
"ModifyConsumerGroup": doModifyConsumerGroup,
|
3642
3694
|
"DescribeMQTTInsVPCEndpoints": doDescribeMQTTInsVPCEndpoints,
|
3643
3695
|
"DescribeTopicListByGroup": doDescribeTopicListByGroup,
|
3644
3696
|
"DescribeMigratingGroupStats": doDescribeMigratingGroupStats,
|
3645
3697
|
"DeleteRole": doDeleteRole,
|
3646
3698
|
"DescribeMQTTUserList": doDescribeMQTTUserList,
|
3647
|
-
"
|
3699
|
+
"DescribeMQTTMessage": doDescribeMQTTMessage,
|
3648
3700
|
"ModifyMQTTInstance": doModifyMQTTInstance,
|
3649
3701
|
"DescribeConsumerClientList": doDescribeConsumerClientList,
|
3650
3702
|
"DescribeConsumerLag": doDescribeConsumerLag,
|
@@ -3671,11 +3723,12 @@ ACTION_MAP = {
|
|
3671
3723
|
"DescribeInstanceList": doDescribeInstanceList,
|
3672
3724
|
"DeleteTopic": doDeleteTopic,
|
3673
3725
|
"DescribeMQTTInsPublicEndpoints": doDescribeMQTTInsPublicEndpoints,
|
3674
|
-
"
|
3726
|
+
"DescribeProducerList": doDescribeProducerList,
|
3675
3727
|
"ModifyRole": doModifyRole,
|
3676
3728
|
"DescribeMQTTClient": doDescribeMQTTClient,
|
3677
3729
|
"DescribeTopic": doDescribeTopic,
|
3678
3730
|
"DescribeMigrationTaskList": doDescribeMigrationTaskList,
|
3731
|
+
"DescribeConsumerGroupList": doDescribeConsumerGroupList,
|
3679
3732
|
"ChangeMigratingTopicToNextStage": doChangeMigratingTopicToNextStage,
|
3680
3733
|
"DescribeMigratingTopicStats": doDescribeMigratingTopicStats,
|
3681
3734
|
"CreateMQTTInsPublicEndpoint": doCreateMQTTInsPublicEndpoint,
|
@@ -315,6 +315,13 @@
|
|
315
315
|
"output": "DescribeMigrationTaskListResponse",
|
316
316
|
"status": "online"
|
317
317
|
},
|
318
|
+
"DescribeProducerList": {
|
319
|
+
"document": "查询主题关联的生产者列表信息,Filters支持以下筛选条件:\n- ClientIP,客户端IP\n- ClientID,客户端ID",
|
320
|
+
"input": "DescribeProducerListRequest",
|
321
|
+
"name": "查询生产者信息列表",
|
322
|
+
"output": "DescribeProducerListResponse",
|
323
|
+
"status": "online"
|
324
|
+
},
|
318
325
|
"DescribeProductSKUs": {
|
319
326
|
"document": "查询产品售卖规格,针对 RocketMQ 5.x 集群。",
|
320
327
|
"input": "DescribeProductSKUsRequest",
|
@@ -4600,6 +4607,89 @@
|
|
4600
4607
|
],
|
4601
4608
|
"type": "object"
|
4602
4609
|
},
|
4610
|
+
"DescribeProducerListRequest": {
|
4611
|
+
"document": "DescribeProducerList请求参数结构体",
|
4612
|
+
"members": [
|
4613
|
+
{
|
4614
|
+
"disabled": false,
|
4615
|
+
"document": "腾讯云 RocketMQ 实例 ID,从 [DescribeFusionInstanceList](https://cloud.tencent.com/document/api/1493/106745) 接口或控制台获得。",
|
4616
|
+
"example": "rmq-72mo3a9o",
|
4617
|
+
"member": "string",
|
4618
|
+
"name": "InstanceId",
|
4619
|
+
"required": true,
|
4620
|
+
"type": "string"
|
4621
|
+
},
|
4622
|
+
{
|
4623
|
+
"disabled": false,
|
4624
|
+
"document": "主题名称,从 [DescribeTopicList](https://cloud.tencent.com/document/api/1493/96030) 接口返回的 [TopicItem](https://cloud.tencent.com/document/api/1493/96031#TopicItem) 或控制台获得。",
|
4625
|
+
"example": "test_topic",
|
4626
|
+
"member": "string",
|
4627
|
+
"name": "Topic",
|
4628
|
+
"required": true,
|
4629
|
+
"type": "string"
|
4630
|
+
},
|
4631
|
+
{
|
4632
|
+
"disabled": false,
|
4633
|
+
"document": "过滤查询条件列表,请在引用此参数的API说明中了解使用方法。",
|
4634
|
+
"example": "无",
|
4635
|
+
"member": "Filter",
|
4636
|
+
"name": "Filters",
|
4637
|
+
"required": false,
|
4638
|
+
"type": "list"
|
4639
|
+
},
|
4640
|
+
{
|
4641
|
+
"disabled": false,
|
4642
|
+
"document": "查询结果限制数量,默认20。",
|
4643
|
+
"example": "20",
|
4644
|
+
"member": "int64",
|
4645
|
+
"name": "Limit",
|
4646
|
+
"required": false,
|
4647
|
+
"type": "int"
|
4648
|
+
},
|
4649
|
+
{
|
4650
|
+
"disabled": false,
|
4651
|
+
"document": "查询起始位置,默认为0。",
|
4652
|
+
"example": "0",
|
4653
|
+
"member": "int64",
|
4654
|
+
"name": "Offset",
|
4655
|
+
"required": false,
|
4656
|
+
"type": "int"
|
4657
|
+
}
|
4658
|
+
],
|
4659
|
+
"type": "object"
|
4660
|
+
},
|
4661
|
+
"DescribeProducerListResponse": {
|
4662
|
+
"document": "DescribeProducerList返回参数结构体",
|
4663
|
+
"members": [
|
4664
|
+
{
|
4665
|
+
"disabled": false,
|
4666
|
+
"document": "查询总数",
|
4667
|
+
"example": "10",
|
4668
|
+
"member": "int64",
|
4669
|
+
"name": "TotalCount",
|
4670
|
+
"output_required": false,
|
4671
|
+
"type": "int",
|
4672
|
+
"value_allowed_null": false
|
4673
|
+
},
|
4674
|
+
{
|
4675
|
+
"disabled": false,
|
4676
|
+
"document": "生产者信息列表",
|
4677
|
+
"example": "无",
|
4678
|
+
"member": "ProducerInfo",
|
4679
|
+
"name": "ProducerList",
|
4680
|
+
"output_required": false,
|
4681
|
+
"type": "list",
|
4682
|
+
"value_allowed_null": false
|
4683
|
+
},
|
4684
|
+
{
|
4685
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
4686
|
+
"member": "string",
|
4687
|
+
"name": "RequestId",
|
4688
|
+
"type": "string"
|
4689
|
+
}
|
4690
|
+
],
|
4691
|
+
"type": "object"
|
4692
|
+
},
|
4603
4693
|
"DescribeProductSKUsRequest": {
|
4604
4694
|
"document": "DescribeProductSKUs请求参数结构体",
|
4605
4695
|
"members": [],
|
@@ -7653,6 +7743,72 @@
|
|
7653
7743
|
],
|
7654
7744
|
"usage": "out"
|
7655
7745
|
},
|
7746
|
+
"ProducerInfo": {
|
7747
|
+
"document": "生产者信息",
|
7748
|
+
"members": [
|
7749
|
+
{
|
7750
|
+
"disabled": false,
|
7751
|
+
"document": "客户端ID\t\n注意:此字段可能返回 null,表示取不到有效值。",
|
7752
|
+
"example": "169.254.165.243@a3c02f03-5b27-425f-8632-83d1e9f7010b",
|
7753
|
+
"member": "string",
|
7754
|
+
"name": "ClientId",
|
7755
|
+
"output_required": false,
|
7756
|
+
"type": "string",
|
7757
|
+
"value_allowed_null": true
|
7758
|
+
},
|
7759
|
+
{
|
7760
|
+
"disabled": false,
|
7761
|
+
"document": "客户端IP\t\n注意:此字段可能返回 null,表示取不到有效值。",
|
7762
|
+
"example": "10.0.0.1",
|
7763
|
+
"member": "string",
|
7764
|
+
"name": "ClientIp",
|
7765
|
+
"output_required": false,
|
7766
|
+
"type": "string",
|
7767
|
+
"value_allowed_null": true
|
7768
|
+
},
|
7769
|
+
{
|
7770
|
+
"disabled": false,
|
7771
|
+
"document": "客户端语言 \n- JAVA((byte) 0)\n- CPP((byte) 1) \n- DOTNET((byte) 2) \n- PYTHON((byte) 3)\n- DELPHI((byte) 4)\n- ERLANG((byte) 5)\n- RUBY((byte) 6)\n- OTHER((byte) 7)\n- HTTP((byte) 8)\n- GO((byte) 9)\n- PHP((byte) 10)\n- OMS((byte) 11)\n注意:此字段可能返回 null,表示取不到有效值。",
|
7772
|
+
"example": "JAVA",
|
7773
|
+
"member": "string",
|
7774
|
+
"name": "Language",
|
7775
|
+
"output_required": false,
|
7776
|
+
"type": "string",
|
7777
|
+
"value_allowed_null": true
|
7778
|
+
},
|
7779
|
+
{
|
7780
|
+
"disabled": false,
|
7781
|
+
"document": "客户端版本\t\n注意:此字段可能返回 null,表示取不到有效值。",
|
7782
|
+
"example": "5",
|
7783
|
+
"member": "string",
|
7784
|
+
"name": "Version",
|
7785
|
+
"output_required": false,
|
7786
|
+
"type": "string",
|
7787
|
+
"value_allowed_null": true
|
7788
|
+
},
|
7789
|
+
{
|
7790
|
+
"disabled": false,
|
7791
|
+
"document": "最后生产时间,**Unix时间戳(秒)**\n注意:此字段可能返回 null,表示取不到有效值。",
|
7792
|
+
"example": "1602032034",
|
7793
|
+
"member": "uint64",
|
7794
|
+
"name": "LastUpdateTimestamp",
|
7795
|
+
"output_required": false,
|
7796
|
+
"type": "int",
|
7797
|
+
"value_allowed_null": true
|
7798
|
+
},
|
7799
|
+
{
|
7800
|
+
"disabled": false,
|
7801
|
+
"document": "生产者客户端协议类型,枚举如下:\n\n- grpc:GRpc协议\n- remoting:Remoting协议\n- http:HTTP协议\n注意:此字段可能返回 null,表示取不到有效值。",
|
7802
|
+
"example": "remoting",
|
7803
|
+
"member": "string",
|
7804
|
+
"name": "ChannelProtocol",
|
7805
|
+
"output_required": false,
|
7806
|
+
"type": "string",
|
7807
|
+
"value_allowed_null": true
|
7808
|
+
}
|
7809
|
+
],
|
7810
|
+
"usage": "out"
|
7811
|
+
},
|
7656
7812
|
"ProductSKU": {
|
7657
7813
|
"document": "商品售卖信息",
|
7658
7814
|
"members": [
|
@@ -366,6 +366,14 @@
|
|
366
366
|
"title": "获取数据迁移任务列表"
|
367
367
|
}
|
368
368
|
],
|
369
|
+
"DescribeProducerList": [
|
370
|
+
{
|
371
|
+
"document": "查询生产者列表",
|
372
|
+
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProducerList\n<公共请求参数>\n\n{\n \"InstanceId\": \"rmq-9j77qmrm\",\n \"Topic\": \"topic-normal\",\n \"Limit\": 10,\n \"Offset\": 0\n}",
|
373
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"ProducerList\": [\n {\n \"ClientId\": \"169.254.165.243@a3c02f03-5b27-425f-8632-83d1e9f7010b\",\n \"ClientIp\": \"/11.176.16.134:58560\",\n \"Language\": \"JAVA\",\n \"LastUpdateTimestamp\": 1725440379597,\n \"Version\": \"V4_9_3\"\n }\n ],\n \"RequestId\": \"6918ecdb-ee41-4f8a-bf5f-7b313cd5fca0\",\n \"TotalCount\": 1\n }\n}",
|
374
|
+
"title": "查询生产者列表"
|
375
|
+
}
|
376
|
+
],
|
369
377
|
"DescribeProductSKUs": [
|
370
378
|
{
|
371
379
|
"document": "获取产品规格信息",
|
@@ -2242,7 +2242,7 @@
|
|
2242
2242
|
{
|
2243
2243
|
"disabled": false,
|
2244
2244
|
"document": "用户SdkAppId(如:1400xxxxxx)。",
|
2245
|
-
"example": "
|
2245
|
+
"example": "1400123456",
|
2246
2246
|
"member": "uint64",
|
2247
2247
|
"name": "SdkAppId",
|
2248
2248
|
"required": true,
|
@@ -2251,7 +2251,7 @@
|
|
2251
2251
|
{
|
2252
2252
|
"disabled": false,
|
2253
2253
|
"document": "需查询的用户数组,默认不填返回6个用户。",
|
2254
|
-
"example": "[\"
|
2254
|
+
"example": "[\"user_a\",\"user_b\"]",
|
2255
2255
|
"member": "string",
|
2256
2256
|
"name": "UserIds",
|
2257
2257
|
"required": false,
|
@@ -2259,7 +2259,7 @@
|
|
2259
2259
|
},
|
2260
2260
|
{
|
2261
2261
|
"disabled": false,
|
2262
|
-
"document": "需查询的指标,不填则只返回用户列表,填all则返回所有指标。\nappCpu:APP CPU使用率;\nsysCpu:系统 CPU使用率;\naBit:上/下行音频码率;单位:bps\naBlock:音频卡顿时长;单位:ms\nbigvBit:上/下行视频码率;单位:bps\nbigvCapFps:视频采集帧率;\nbigvEncFps:视频发送帧率;\nbigvDecFps:渲染帧率;\nbigvBlock:视频卡顿时长;单位:ms\naLoss:上/下行音频丢包率;\nbigvLoss:上/下行视频丢包率;\nbigvWidth:上/下行分辨率宽;\nbigvHeight:上/下行分辨率高;\naCapEnergy:音频采集能量;\naPlayEnergy:音频播放能量;\nrtt:SDK到云端的往返延时;单位: ms",
|
2262
|
+
"document": "需查询的指标,不填则只返回用户列表,填all则返回所有指标。\nappCpu:APP CPU使用率;\nsysCpu:系统 CPU使用率;\naBit:上/下行音频码率;单位:bps\naBlock:音频卡顿时长;单位:ms\nbigvBit:上/下行视频码率;单位:bps\nbigvCapFps:视频采集帧率;\nbigvEncFps:视频发送帧率;\nbigvDecFps:渲染帧率;\nbigvBlock:视频卡顿时长;单位:ms\naLoss:上/下行音频丢包率;\nbigvLoss:上/下行视频丢包率;\nbigvWidth:上/下行分辨率宽;\nbigvHeight:上/下行分辨率高;\naCapEnergy:音频采集能量;\naPlayEnergy:音频播放能量;\nrtt:SDK到云端的往返延时;单位: ms\nbigvRecFps: 云端送达帧率;",
|
2263
2263
|
"example": "[\"bigvCapFps\"]",
|
2264
2264
|
"member": "string",
|
2265
2265
|
"name": "DataType",
|
@@ -7028,7 +7028,7 @@
|
|
7028
7028
|
{
|
7029
7029
|
"disabled": false,
|
7030
7030
|
"document": "**发起模糊识别为高级版能力,默认按照高级版收费**\n注意:不支持填写\"zh-dialect\", \"16k_zh_edu\", \"16k_zh_medical\", \"16k_zh_court\", \"8k_zh_large\", \"16k_zh_large\",\"16k_multi_lang\", \"16k_zh_en\"\n",
|
7031
|
-
"example": "
|
7031
|
+
"example": "[\"zh\", \"en\"]",
|
7032
7032
|
"member": "string",
|
7033
7033
|
"name": "AlternativeLanguage",
|
7034
7034
|
"output_required": false,
|
@@ -7039,7 +7039,7 @@
|
|
7039
7039
|
{
|
7040
7040
|
"disabled": false,
|
7041
7041
|
"document": "自定义参数,联系后台使用\n",
|
7042
|
-
"example": "
|
7042
|
+
"example": "{\"key\": \"xx\"}",
|
7043
7043
|
"member": "string",
|
7044
7044
|
"name": "CustomParam",
|
7045
7045
|
"output_required": false,
|
@@ -7050,7 +7050,7 @@
|
|
7050
7050
|
{
|
7051
7051
|
"disabled": false,
|
7052
7052
|
"document": "语音识别vad的时间,范围为240-2000,默认为1000,单位为ms。更小的值会让语音识别分句更快。",
|
7053
|
-
"example": "
|
7053
|
+
"example": "500",
|
7054
7054
|
"member": "uint64",
|
7055
7055
|
"name": "VadSilenceTime",
|
7056
7056
|
"output_required": false,
|
@@ -7522,7 +7522,7 @@
|
|
7522
7522
|
{
|
7523
7523
|
"disabled": false,
|
7524
7524
|
"document": "机器人参数",
|
7525
|
-
"example": "
|
7525
|
+
"example": "无",
|
7526
7526
|
"member": "AgentConfig",
|
7527
7527
|
"name": "AgentConfig",
|
7528
7528
|
"required": true,
|
@@ -7549,7 +7549,7 @@
|
|
7549
7549
|
{
|
7550
7550
|
"disabled": false,
|
7551
7551
|
"document": "语音识别配置。",
|
7552
|
-
"example": "
|
7552
|
+
"example": "无",
|
7553
7553
|
"member": "STTConfig",
|
7554
7554
|
"name": "STTConfig",
|
7555
7555
|
"required": false,
|
@@ -7557,7 +7557,7 @@
|
|
7557
7557
|
},
|
7558
7558
|
{
|
7559
7559
|
"disabled": false,
|
7560
|
-
"document": "LLM配置。需符合openai规范,为JSON字符串,示例如下:\n<pre> { <br>   \"LLMType\": \"大模型类型\", // String 必填,如:\"openai\" <br>   \"Model\": \"您的模型名称\", // String 必填,指定使用的模型<br> \"APIKey\": \"您的LLM API密钥\", // String 必填 <br>   \"APIUrl\": \"https://api.xxx.com/chat/completions\", // String 必填,LLM API访问的URL<br>   \"Streaming\": true // Boolean 非必填,指定是否使用流式传输<br>  } </pre>\n",
|
7560
|
+
"document": "LLM配置。需符合openai规范,为JSON字符串,示例如下:\n<pre> { <br>   \"LLMType\": \"大模型类型\", // String 必填,如:\"openai\" <br>   \"Model\": \"您的模型名称\", // String 必填,指定使用的模型<br> \"APIKey\": \"您的LLM API密钥\", // String 必填 <br>   \"APIUrl\": \"https://api.xxx.com/chat/completions\", // String 必填,LLM API访问的URL<br>   \"History\": 10, // Integer 选填,设置 LLM 的上下文轮次,默认值为0,最大值50<br>   \"HistoryMode\": 1, // Integer 选填,1表示LLM上下文中的内容会和播放音频做同步,没有播放的音频对应的文本不会出现在上下文中。0表示不会做同步,默认值为0<br>   \"Streaming\": true // Boolean 非必填,指定是否使用流式传输<br>  } </pre>\n",
|
7561
7561
|
"example": "{\\\"LLMType\\\": \\\"openai\\\", \\\"Model\\\": \\\"gpt-xxx\", \\\"APIKey\\\": \\\"xxxxxxxx\\\", \\\"APIUrl\\\": \\\"https://api.xxx.com/v1/chat/completions\\\", \\\"Streaming\\\": true}",
|
7562
7562
|
"member": "string",
|
7563
7563
|
"name": "LLMConfig",
|
@@ -9751,7 +9751,7 @@
|
|
9751
9751
|
},
|
9752
9752
|
{
|
9753
9753
|
"disabled": false,
|
9754
|
-
"document": "
|
9754
|
+
"document": "声音克隆的名称, 只允许使用数字、字母、下划线,不能超过36位",
|
9755
9755
|
"example": "xiaoming_01",
|
9756
9756
|
"member": "string",
|
9757
9757
|
"name": "VoiceName",
|