tccli 3.0.1253.1__py2.py3-none-any.whl → 3.0.1254.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/apm/v20210622/api.json +298 -300
- tccli/services/apm/v20210622/examples.json +4 -4
- tccli/services/autoscaling/v20180419/api.json +72 -0
- tccli/services/cat/v20180409/api.json +4 -4
- tccli/services/cdwdoris/v20211228/api.json +152 -122
- tccli/services/cdwdoris/v20211228/examples.json +6 -6
- tccli/services/clb/v20180317/api.json +1 -1
- tccli/services/cvm/cvm_client.py +121 -68
- tccli/services/cvm/v20170312/api.json +55 -3
- tccli/services/cvm/v20170312/examples.json +8 -0
- tccli/services/hunyuan/v20230901/api.json +2 -2
- tccli/services/hunyuan/v20230901/examples.json +1 -1
- tccli/services/lcic/v20220817/api.json +4 -4
- tccli/services/lke/v20231130/api.json +7 -7
- tccli/services/mna/v20210119/api.json +36 -36
- tccli/services/monitor/v20180724/api.json +32 -32
- tccli/services/ssl/v20191205/api.json +9 -0
- tccli/services/teo/v20220901/api.json +26 -14
- tccli/services/vod/v20180717/api.json +3 -3
- tccli/services/vpc/v20170312/api.json +39 -36596
- tccli/services/vpc/v20170312/examples.json +5 -3513
- tccli/services/vpc/vpc_client.py +4 -20462
- tccli/services/wedata/v20210820/api.json +437 -8
- tccli/services/wedata/v20210820/examples.json +10 -2
- tccli/services/wedata/wedata_client.py +57 -4
- {tccli-3.0.1253.1.dist-info → tccli-3.0.1254.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1253.1.dist-info → tccli-3.0.1254.1.dist-info}/RECORD +31 -31
- {tccli-3.0.1253.1.dist-info → tccli-3.0.1254.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1253.1.dist-info → tccli-3.0.1254.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1253.1.dist-info → tccli-3.0.1254.1.dist-info}/license_files/LICENSE +0 -0
@@ -435,8 +435,8 @@
|
|
435
435
|
"OpenCoolDownPolicy": [
|
436
436
|
{
|
437
437
|
"document": "",
|
438
|
-
"input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: OpenCoolDownPolicy\n<公共请求参数>\n\n{\n \"InstanceId\": \"doris-12345678\",\n \"DatabaseName\": \"sales_db\",\n \"TableName\": \"customer_orders\",\n \"OperationType\": \"enable\"\n}",
|
439
|
-
"output": "{\n \"Response\": {\n \"ErrorMsg\": \"Operation successful\",\n \"QueryDocument\": \"
|
438
|
+
"input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: OpenCoolDownPolicy\n<公共请求参数>\n\n\n\n{\n \"InstanceId\": \"doris-12345678\",\n \"DatabaseName\": \"sales_db\",\n \"TableName\": \"customer_orders\",\n \"OperationType\": \"enable\"\n}",
|
439
|
+
"output": "{\n \"Response\": {\n \"ErrorMsg\": \"Operation successful\",\n \"QueryDocument\": \"[{\\\"partition_name\\\": \\\"p1\\\", \\\"cool_down_status\\\": \\\"enabled\\\", \\\"cool_down_policy\\\": \\\"policy_7days\\\"}, {\\\"partition_name\\\": \\\"p2\\\", \\\"cool_down_status\\\": \\\"disabled\\\", \\\"cool_down_policy\\\": \\\"\\\"}]\",\n \"RequestId\": \"req-987654321\"\n }\n}",
|
440
440
|
"title": "开通"
|
441
441
|
}
|
442
442
|
],
|
@@ -475,8 +475,8 @@
|
|
475
475
|
"RestartClusterForNode": [
|
476
476
|
{
|
477
477
|
"document": "",
|
478
|
-
"input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RestartClusterForNode\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
479
|
-
"output": "{\n \"Response\": {\n \"FlowId\":
|
478
|
+
"input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RestartClusterForNode\n<公共请求参数>\n\n\n\n{\n \"InstanceId\": \"cdwch-xxxx\",\n \"ConfigName\": \"fe\"\n}",
|
479
|
+
"output": "{\n \"Response\": {\n \"FlowId\": 6331,\n \"ErrorMsg\": \"\",\n \"RequestId\": \"1-2-3-4\"\n }\n}",
|
480
480
|
"title": "test"
|
481
481
|
}
|
482
482
|
],
|
@@ -499,8 +499,8 @@
|
|
499
499
|
"UpdateCoolDown": [
|
500
500
|
{
|
501
501
|
"document": "",
|
502
|
-
"input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateCoolDown\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
503
|
-
"output": "{\n \"Response\": {\n \"ErrorMsg\": \"
|
502
|
+
"input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateCoolDown\n<公共请求参数>\n\n\n\n{\n \"InstanceId\": \"doris-123\",\n \"Enable\": 1,\n \"Bucket\": \"bucket6331\"\n}",
|
503
|
+
"output": "{\n \"Response\": {\n \"ErrorMsg\": \"\",\n \"RequestId\": \"1-2-3-4\"\n }\n}",
|
504
504
|
"title": "示例"
|
505
505
|
}
|
506
506
|
]
|
@@ -5274,7 +5274,7 @@
|
|
5274
5274
|
{
|
5275
5275
|
"disabled": false,
|
5276
5276
|
"document": "选择返回的扩充字段,不指定时,扩充字段默认不返回。详细支持的扩充字段如下:\n<li> TargetCount:绑定的后端服务数量</li>",
|
5277
|
-
"example": "
|
5277
|
+
"example": "[\"TargetCount\"]",
|
5278
5278
|
"member": "string",
|
5279
5279
|
"name": "AdditionalFields",
|
5280
5280
|
"required": false,
|
tccli/services/cvm/cvm_client.py
CHANGED
@@ -693,7 +693,7 @@ def doResetInstancesType(args, parsed_globals):
|
|
693
693
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
694
694
|
|
695
695
|
|
696
|
-
def
|
696
|
+
def doDescribeInstanceVncUrl(args, parsed_globals):
|
697
697
|
g_param = parse_global_arg(parsed_globals)
|
698
698
|
|
699
699
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -722,11 +722,11 @@ def doDescribeInstanceFamilyConfigs(args, parsed_globals):
|
|
722
722
|
client = mod.CvmClient(cred, g_param[OptionsDefine.Region], profile)
|
723
723
|
client._sdkVersion += ("_CLI_" + __version__)
|
724
724
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
725
|
-
model = models.
|
725
|
+
model = models.DescribeInstanceVncUrlRequest()
|
726
726
|
model.from_json_string(json.dumps(args))
|
727
727
|
start_time = time.time()
|
728
728
|
while True:
|
729
|
-
rsp = client.
|
729
|
+
rsp = client.DescribeInstanceVncUrl(model)
|
730
730
|
result = rsp.to_json_string()
|
731
731
|
try:
|
732
732
|
json_obj = json.loads(result)
|
@@ -1213,6 +1213,58 @@ def doDescribeImageSharePermission(args, parsed_globals):
|
|
1213
1213
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1214
1214
|
|
1215
1215
|
|
1216
|
+
def doDescribeRegions(args, parsed_globals):
|
1217
|
+
g_param = parse_global_arg(parsed_globals)
|
1218
|
+
|
1219
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1220
|
+
cred = credential.CVMRoleCredential()
|
1221
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1222
|
+
cred = credential.STSAssumeRoleCredential(
|
1223
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1224
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1225
|
+
)
|
1226
|
+
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):
|
1227
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1228
|
+
else:
|
1229
|
+
cred = credential.Credential(
|
1230
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1231
|
+
)
|
1232
|
+
http_profile = HttpProfile(
|
1233
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1234
|
+
reqMethod="POST",
|
1235
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1236
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1237
|
+
)
|
1238
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1239
|
+
if g_param[OptionsDefine.Language]:
|
1240
|
+
profile.language = g_param[OptionsDefine.Language]
|
1241
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1242
|
+
client = mod.CvmClient(cred, g_param[OptionsDefine.Region], profile)
|
1243
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1244
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1245
|
+
model = models.DescribeRegionsRequest()
|
1246
|
+
model.from_json_string(json.dumps(args))
|
1247
|
+
start_time = time.time()
|
1248
|
+
while True:
|
1249
|
+
rsp = client.DescribeRegions(model)
|
1250
|
+
result = rsp.to_json_string()
|
1251
|
+
try:
|
1252
|
+
json_obj = json.loads(result)
|
1253
|
+
except TypeError as e:
|
1254
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1255
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1256
|
+
break
|
1257
|
+
cur_time = time.time()
|
1258
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1259
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1260
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1261
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1262
|
+
else:
|
1263
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1264
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1265
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1266
|
+
|
1267
|
+
|
1216
1268
|
def doDescribeInstancesModification(args, parsed_globals):
|
1217
1269
|
g_param = parse_global_arg(parsed_globals)
|
1218
1270
|
|
@@ -1681,7 +1733,7 @@ def doDescribeInstancesOperationLimit(args, parsed_globals):
|
|
1681
1733
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1682
1734
|
|
1683
1735
|
|
1684
|
-
def
|
1736
|
+
def doDeleteLaunchTemplateVersions(args, parsed_globals):
|
1685
1737
|
g_param = parse_global_arg(parsed_globals)
|
1686
1738
|
|
1687
1739
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1710,11 +1762,11 @@ def doStopInstances(args, parsed_globals):
|
|
1710
1762
|
client = mod.CvmClient(cred, g_param[OptionsDefine.Region], profile)
|
1711
1763
|
client._sdkVersion += ("_CLI_" + __version__)
|
1712
1764
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1713
|
-
model = models.
|
1765
|
+
model = models.DeleteLaunchTemplateVersionsRequest()
|
1714
1766
|
model.from_json_string(json.dumps(args))
|
1715
1767
|
start_time = time.time()
|
1716
1768
|
while True:
|
1717
|
-
rsp = client.
|
1769
|
+
rsp = client.DeleteLaunchTemplateVersions(model)
|
1718
1770
|
result = rsp.to_json_string()
|
1719
1771
|
try:
|
1720
1772
|
json_obj = json.loads(result)
|
@@ -1733,7 +1785,7 @@ def doStopInstances(args, parsed_globals):
|
|
1733
1785
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1734
1786
|
|
1735
1787
|
|
1736
|
-
def
|
1788
|
+
def doStopInstances(args, parsed_globals):
|
1737
1789
|
g_param = parse_global_arg(parsed_globals)
|
1738
1790
|
|
1739
1791
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1762,11 +1814,11 @@ def doDescribeRegions(args, parsed_globals):
|
|
1762
1814
|
client = mod.CvmClient(cred, g_param[OptionsDefine.Region], profile)
|
1763
1815
|
client._sdkVersion += ("_CLI_" + __version__)
|
1764
1816
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1765
|
-
model = models.
|
1817
|
+
model = models.StopInstancesRequest()
|
1766
1818
|
model.from_json_string(json.dumps(args))
|
1767
1819
|
start_time = time.time()
|
1768
1820
|
while True:
|
1769
|
-
rsp = client.
|
1821
|
+
rsp = client.StopInstances(model)
|
1770
1822
|
result = rsp.to_json_string()
|
1771
1823
|
try:
|
1772
1824
|
json_obj = json.loads(result)
|
@@ -2409,6 +2461,58 @@ def doModifyLaunchTemplateDefaultVersion(args, parsed_globals):
|
|
2409
2461
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2410
2462
|
|
2411
2463
|
|
2464
|
+
def doModifyInstancesDisasterRecoverGroup(args, parsed_globals):
|
2465
|
+
g_param = parse_global_arg(parsed_globals)
|
2466
|
+
|
2467
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2468
|
+
cred = credential.CVMRoleCredential()
|
2469
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2470
|
+
cred = credential.STSAssumeRoleCredential(
|
2471
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2472
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2473
|
+
)
|
2474
|
+
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):
|
2475
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2476
|
+
else:
|
2477
|
+
cred = credential.Credential(
|
2478
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2479
|
+
)
|
2480
|
+
http_profile = HttpProfile(
|
2481
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2482
|
+
reqMethod="POST",
|
2483
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2484
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2485
|
+
)
|
2486
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2487
|
+
if g_param[OptionsDefine.Language]:
|
2488
|
+
profile.language = g_param[OptionsDefine.Language]
|
2489
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2490
|
+
client = mod.CvmClient(cred, g_param[OptionsDefine.Region], profile)
|
2491
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2492
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2493
|
+
model = models.ModifyInstancesDisasterRecoverGroupRequest()
|
2494
|
+
model.from_json_string(json.dumps(args))
|
2495
|
+
start_time = time.time()
|
2496
|
+
while True:
|
2497
|
+
rsp = client.ModifyInstancesDisasterRecoverGroup(model)
|
2498
|
+
result = rsp.to_json_string()
|
2499
|
+
try:
|
2500
|
+
json_obj = json.loads(result)
|
2501
|
+
except TypeError as e:
|
2502
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2503
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2504
|
+
break
|
2505
|
+
cur_time = time.time()
|
2506
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2507
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2508
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2509
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2510
|
+
else:
|
2511
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2512
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2513
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2514
|
+
|
2515
|
+
|
2412
2516
|
def doExitRescueMode(args, parsed_globals):
|
2413
2517
|
g_param = parse_global_arg(parsed_globals)
|
2414
2518
|
|
@@ -3137,7 +3241,7 @@ def doRemoveChcAssistVpc(args, parsed_globals):
|
|
3137
3241
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3138
3242
|
|
3139
3243
|
|
3140
|
-
def
|
3244
|
+
def doDescribeInstanceFamilyConfigs(args, parsed_globals):
|
3141
3245
|
g_param = parse_global_arg(parsed_globals)
|
3142
3246
|
|
3143
3247
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -3166,11 +3270,11 @@ def doDescribeInstanceVncUrl(args, parsed_globals):
|
|
3166
3270
|
client = mod.CvmClient(cred, g_param[OptionsDefine.Region], profile)
|
3167
3271
|
client._sdkVersion += ("_CLI_" + __version__)
|
3168
3272
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3169
|
-
model = models.
|
3273
|
+
model = models.DescribeInstanceFamilyConfigsRequest()
|
3170
3274
|
model.from_json_string(json.dumps(args))
|
3171
3275
|
start_time = time.time()
|
3172
3276
|
while True:
|
3173
|
-
rsp = client.
|
3277
|
+
rsp = client.DescribeInstanceFamilyConfigs(model)
|
3174
3278
|
result = rsp.to_json_string()
|
3175
3279
|
try:
|
3176
3280
|
json_obj = json.loads(result)
|
@@ -4073,58 +4177,6 @@ def doDeleteImages(args, parsed_globals):
|
|
4073
4177
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4074
4178
|
|
4075
4179
|
|
4076
|
-
def doDeleteLaunchTemplateVersions(args, parsed_globals):
|
4077
|
-
g_param = parse_global_arg(parsed_globals)
|
4078
|
-
|
4079
|
-
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
4080
|
-
cred = credential.CVMRoleCredential()
|
4081
|
-
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
4082
|
-
cred = credential.STSAssumeRoleCredential(
|
4083
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
4084
|
-
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
4085
|
-
)
|
4086
|
-
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):
|
4087
|
-
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
4088
|
-
else:
|
4089
|
-
cred = credential.Credential(
|
4090
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
4091
|
-
)
|
4092
|
-
http_profile = HttpProfile(
|
4093
|
-
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
4094
|
-
reqMethod="POST",
|
4095
|
-
endpoint=g_param[OptionsDefine.Endpoint],
|
4096
|
-
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
4097
|
-
)
|
4098
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
4099
|
-
if g_param[OptionsDefine.Language]:
|
4100
|
-
profile.language = g_param[OptionsDefine.Language]
|
4101
|
-
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
4102
|
-
client = mod.CvmClient(cred, g_param[OptionsDefine.Region], profile)
|
4103
|
-
client._sdkVersion += ("_CLI_" + __version__)
|
4104
|
-
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
4105
|
-
model = models.DeleteLaunchTemplateVersionsRequest()
|
4106
|
-
model.from_json_string(json.dumps(args))
|
4107
|
-
start_time = time.time()
|
4108
|
-
while True:
|
4109
|
-
rsp = client.DeleteLaunchTemplateVersions(model)
|
4110
|
-
result = rsp.to_json_string()
|
4111
|
-
try:
|
4112
|
-
json_obj = json.loads(result)
|
4113
|
-
except TypeError as e:
|
4114
|
-
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
4115
|
-
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
4116
|
-
break
|
4117
|
-
cur_time = time.time()
|
4118
|
-
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
4119
|
-
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
4120
|
-
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
4121
|
-
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
4122
|
-
else:
|
4123
|
-
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
4124
|
-
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
4125
|
-
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4126
|
-
|
4127
|
-
|
4128
4180
|
def doResetInstancesPassword(args, parsed_globals):
|
4129
4181
|
g_param = parse_global_arg(parsed_globals)
|
4130
4182
|
|
@@ -5033,7 +5085,7 @@ ACTION_MAP = {
|
|
5033
5085
|
"CreateImage": doCreateImage,
|
5034
5086
|
"ConfigureChcAssistVpc": doConfigureChcAssistVpc,
|
5035
5087
|
"ResetInstancesType": doResetInstancesType,
|
5036
|
-
"
|
5088
|
+
"DescribeInstanceVncUrl": doDescribeInstanceVncUrl,
|
5037
5089
|
"SyncImages": doSyncImages,
|
5038
5090
|
"ImportImage": doImportImage,
|
5039
5091
|
"DescribeZoneInstanceConfigInfos": doDescribeZoneInstanceConfigInfos,
|
@@ -5043,6 +5095,7 @@ ACTION_MAP = {
|
|
5043
5095
|
"DisassociateSecurityGroups": doDisassociateSecurityGroups,
|
5044
5096
|
"RemoveChcDeployVpc": doRemoveChcDeployVpc,
|
5045
5097
|
"DescribeImageSharePermission": doDescribeImageSharePermission,
|
5098
|
+
"DescribeRegions": doDescribeRegions,
|
5046
5099
|
"DescribeInstancesModification": doDescribeInstancesModification,
|
5047
5100
|
"CreateKeyPair": doCreateKeyPair,
|
5048
5101
|
"AssociateInstancesKeyPairs": doAssociateInstancesKeyPairs,
|
@@ -5052,8 +5105,8 @@ ACTION_MAP = {
|
|
5052
5105
|
"ModifyDisasterRecoverGroupAttribute": doModifyDisasterRecoverGroupAttribute,
|
5053
5106
|
"DescribeHpcClusters": doDescribeHpcClusters,
|
5054
5107
|
"DescribeInstancesOperationLimit": doDescribeInstancesOperationLimit,
|
5108
|
+
"DeleteLaunchTemplateVersions": doDeleteLaunchTemplateVersions,
|
5055
5109
|
"StopInstances": doStopInstances,
|
5056
|
-
"DescribeRegions": doDescribeRegions,
|
5057
5110
|
"DescribeImportImageOs": doDescribeImportImageOs,
|
5058
5111
|
"DeleteHpcClusters": doDeleteHpcClusters,
|
5059
5112
|
"InquiryPriceRenewInstances": doInquiryPriceRenewInstances,
|
@@ -5066,6 +5119,7 @@ ACTION_MAP = {
|
|
5066
5119
|
"ModifyImageSharePermission": doModifyImageSharePermission,
|
5067
5120
|
"ImportInstancesActionTimer": doImportInstancesActionTimer,
|
5068
5121
|
"ModifyLaunchTemplateDefaultVersion": doModifyLaunchTemplateDefaultVersion,
|
5122
|
+
"ModifyInstancesDisasterRecoverGroup": doModifyInstancesDisasterRecoverGroup,
|
5069
5123
|
"ExitRescueMode": doExitRescueMode,
|
5070
5124
|
"DescribeInstancesActionTimer": doDescribeInstancesActionTimer,
|
5071
5125
|
"InquiryPriceResizeInstanceDisks": doInquiryPriceResizeInstanceDisks,
|
@@ -5080,7 +5134,7 @@ ACTION_MAP = {
|
|
5080
5134
|
"DeleteDisasterRecoverGroups": doDeleteDisasterRecoverGroups,
|
5081
5135
|
"TerminateInstances": doTerminateInstances,
|
5082
5136
|
"RemoveChcAssistVpc": doRemoveChcAssistVpc,
|
5083
|
-
"
|
5137
|
+
"DescribeInstanceFamilyConfigs": doDescribeInstanceFamilyConfigs,
|
5084
5138
|
"ModifyInstancesProject": doModifyInstancesProject,
|
5085
5139
|
"DescribeKeyPairs": doDescribeKeyPairs,
|
5086
5140
|
"InquiryPriceModifyInstancesChargeType": doInquiryPriceModifyInstancesChargeType,
|
@@ -5098,7 +5152,6 @@ ACTION_MAP = {
|
|
5098
5152
|
"DescribeInstanceInternetBandwidthConfigs": doDescribeInstanceInternetBandwidthConfigs,
|
5099
5153
|
"InquiryPriceTerminateInstances": doInquiryPriceTerminateInstances,
|
5100
5154
|
"DeleteImages": doDeleteImages,
|
5101
|
-
"DeleteLaunchTemplateVersions": doDeleteLaunchTemplateVersions,
|
5102
5155
|
"ResetInstancesPassword": doResetInstancesPassword,
|
5103
5156
|
"ResizeInstanceDisks": doResizeInstanceDisks,
|
5104
5157
|
"DescribeZones": doDescribeZones,
|
@@ -518,6 +518,13 @@
|
|
518
518
|
"output": "ModifyInstancesChargeTypeResponse",
|
519
519
|
"status": "online"
|
520
520
|
},
|
521
|
+
"ModifyInstancesDisasterRecoverGroup": {
|
522
|
+
"document": "本接口 (ModifyInstancesDisasterRecoverGroup) 用于调整实例所在置放群组。\n* 目前只支持基础网络或私有网络实例。",
|
523
|
+
"input": "ModifyInstancesDisasterRecoverGroupRequest",
|
524
|
+
"name": "调整实例分散置放群组",
|
525
|
+
"output": "ModifyInstancesDisasterRecoverGroupResponse",
|
526
|
+
"status": "online"
|
527
|
+
},
|
521
528
|
"ModifyInstancesProject": {
|
522
529
|
"document": "本接口 (ModifyInstancesProject) 用于修改实例所属项目。\n\n* 项目为一个虚拟概念,用户可以在一个账户下面建立多个项目,每个项目中管理不同的资源;将多个不同实例分属到不同项目中,后续使用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728)接口查询实例,项目ID可用于过滤结果。\n* 绑定负载均衡的实例不支持修改实例所属项目,请先使用[DeregisterInstancesFromLoadBalancer](https://cloud.tencent.com/document/api/214/1258)接口解绑负载均衡。\n* 支持批量操作。每次请求批量实例的上限为100。\n* 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。",
|
523
530
|
"input": "ModifyInstancesProjectRequest",
|
@@ -2750,8 +2757,8 @@
|
|
2750
2757
|
"members": [
|
2751
2758
|
{
|
2752
2759
|
"disabled": false,
|
2753
|
-
"document": "分散置放群组ID列表,可通过[DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/api/213/17810)接口获取。每次请求允许操作的分散置放群组数量上限是
|
2754
|
-
"example": "[\"ps-58l1hu01
|
2760
|
+
"document": "分散置放群组ID列表,可通过[DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/api/213/17810)接口获取。每次请求允许操作的分散置放群组数量上限是10。",
|
2761
|
+
"example": "[\"ps-58l1hu01\"]",
|
2755
2762
|
"member": "string",
|
2756
2763
|
"name": "DisasterRecoverGroupIds",
|
2757
2764
|
"required": true,
|
@@ -3186,7 +3193,7 @@
|
|
3186
3193
|
"members": [
|
3187
3194
|
{
|
3188
3195
|
"disabled": false,
|
3189
|
-
"document": "分散置放群组ID列表。每次请求允许操作的分散置放群组数量上限是
|
3196
|
+
"document": "分散置放群组ID列表。每次请求允许操作的分散置放群组数量上限是10。",
|
3190
3197
|
"example": "ps-21q9ibvr",
|
3191
3198
|
"member": "string",
|
3192
3199
|
"name": "DisasterRecoverGroupIds",
|
@@ -9080,6 +9087,51 @@
|
|
9080
9087
|
],
|
9081
9088
|
"type": "object"
|
9082
9089
|
},
|
9090
|
+
"ModifyInstancesDisasterRecoverGroupRequest": {
|
9091
|
+
"document": "ModifyInstancesDisasterRecoverGroup请求参数结构体",
|
9092
|
+
"members": [
|
9093
|
+
{
|
9094
|
+
"disabled": false,
|
9095
|
+
"document": "一个或多个待操作的实例ID。可通过[`DescribeInstances`](https://cloud.tencent.com/document/api/213/15728)接口返回值中的`InstanceId`获取。每次请求批量实例的上限为1",
|
9096
|
+
"example": "[\"ins-r8hr2upy\"]",
|
9097
|
+
"member": "string",
|
9098
|
+
"name": "InstanceIds",
|
9099
|
+
"required": true,
|
9100
|
+
"type": "list"
|
9101
|
+
},
|
9102
|
+
{
|
9103
|
+
"disabled": false,
|
9104
|
+
"document": "分散置放群组ID,可使用[DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/api/213/17810)接口获取",
|
9105
|
+
"example": "ps-a66w6rlb",
|
9106
|
+
"member": "string",
|
9107
|
+
"name": "DisasterRecoverGroupId",
|
9108
|
+
"required": false,
|
9109
|
+
"type": "string"
|
9110
|
+
},
|
9111
|
+
{
|
9112
|
+
"disabled": false,
|
9113
|
+
"document": "是否强制更换实例宿主机。取值范围:<br><li>true:表示允许实例更换宿主机,允许重启实例。本地盘子机不支持指定此参数。</li><br><li>false:不允许实例更换宿主机,只在当前宿主机上加入置放群组。这可能导致更换置放群组失败。</li><br><br>默认取值:false",
|
9114
|
+
"example": "false",
|
9115
|
+
"member": "bool",
|
9116
|
+
"name": "Force",
|
9117
|
+
"required": false,
|
9118
|
+
"type": "bool"
|
9119
|
+
}
|
9120
|
+
],
|
9121
|
+
"type": "object"
|
9122
|
+
},
|
9123
|
+
"ModifyInstancesDisasterRecoverGroupResponse": {
|
9124
|
+
"document": "ModifyInstancesDisasterRecoverGroup返回参数结构体",
|
9125
|
+
"members": [
|
9126
|
+
{
|
9127
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
9128
|
+
"member": "string",
|
9129
|
+
"name": "RequestId",
|
9130
|
+
"type": "string"
|
9131
|
+
}
|
9132
|
+
],
|
9133
|
+
"type": "object"
|
9134
|
+
},
|
9083
9135
|
"ModifyInstancesProjectRequest": {
|
9084
9136
|
"document": "ModifyInstancesProject请求参数结构体",
|
9085
9137
|
"members": [
|
@@ -640,6 +640,14 @@
|
|
640
640
|
"title": "本示例将实例计费模式切换为预付费模式,且时长为1个月。"
|
641
641
|
}
|
642
642
|
],
|
643
|
+
"ModifyInstancesDisasterRecoverGroup": [
|
644
|
+
{
|
645
|
+
"document": "调整实例所在置放群组",
|
646
|
+
"input": "https://cvm.tencentcloudapi.com/?Action=ModifyInstancesDisasterRecoverGroup\n&InstanceIds.0=ins-r8hr2upy\n&DisasterRecoverGroupId=ps-a66w6rlb\n&<公共请求参数>",
|
647
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"d39d6c09-44e9-4e80-8661-77b5ff3cbc15\"\n }\n}",
|
648
|
+
"title": "调整实例所在置放群组"
|
649
|
+
}
|
650
|
+
],
|
643
651
|
"ModifyInstancesProject": [
|
644
652
|
{
|
645
653
|
"document": "本示例用于修改两个实例所属的项目为指定的项目。",
|
@@ -8,7 +8,7 @@
|
|
8
8
|
"status": "online"
|
9
9
|
},
|
10
10
|
"ChatCompletions": {
|
11
|
-
"document": "腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。\n\n 1. 本接口暂不支持返回图片内容。\n 2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。\n 3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。\n 4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。",
|
11
|
+
"document": "如需使用OpenAI兼容接口, 请参考文档:[OpenAI 兼容接口](https://cloud.tencent.com/document/product/1729/111007)\n\n腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。\n\n 1. 本接口暂不支持返回图片内容。\n 2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。\n 3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。\n 4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。",
|
12
12
|
"input": "ChatCompletionsRequest",
|
13
13
|
"name": "对话",
|
14
14
|
"output": "ChatCompletionsResponse",
|
@@ -326,7 +326,7 @@
|
|
326
326
|
},
|
327
327
|
{
|
328
328
|
"disabled": false,
|
329
|
-
"document": "
|
329
|
+
"document": "自定义结束生成字符串\n\n调用 OpenAI 的接口时,如果您指定了 `stop` 参数, 模型会停止在匹配到 `stop` 的内容之前。\n在调用混元接口时,会停止在匹配到 `stop` 的内容之后。\n\n**说明:**\n未来我们可能会修改此行为以便和 OpenAI 保持一致。\n但是目前有使用该参数的情况下,开发者需要注意该参数是否会对应用造成影响,以及未来该行为调整时带来的影响。",
|
330
330
|
"example": "无",
|
331
331
|
"member": "string",
|
332
332
|
"name": "Stop",
|
@@ -138,7 +138,7 @@
|
|
138
138
|
{
|
139
139
|
"document": "获取会话消息列表",
|
140
140
|
"input": "POST / HTTP/1.1\nHost: hunyuan.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetThreadMessageList\n<公共请求参数>\n\n{\n \"ThreadID\": \"thread_QPH2Z6DpBhc46V3ylE1JEqTv\"\n}",
|
141
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"4809bed2-f1ca-4d72-b097-bd528184825d\",\n \"Data\": [\n {\n \"ID\": \"msg_jtO6oVZmFtIi4T43eswXk6lJ\",\n \"Object\": \"thread.message\",\n \"CreatedAt\": 1727303115,\n \"ThreadID\": \"thread_QPH2Z6DpBhc46V3ylE1JEqTv\",\n \"Status\": \"completed\",\n \"InCompleteDetails\": {\n \"Reason\": \"\"\n },\n \"CompletedAt\": 1727331915,\n \"InCompleteAt\": null,\n \"Role\": \"assistant\",\n \"Content\": [\n {\n \"Index\": 0,\n \"Type\": \"text\",\n \"Text\": {\n \"Value\": \"您好!非常高兴与您交流,今天有什么有趣的事情想和我分享呢\"\n }\n }\n ],\n \"AssistantID\": \"\",\n \"RunID\": \"run_XmeUGzgrzTE82Yh7p8mZWRcJ\",\n \"Attachments\": null,\n \"Metadata\": {}\n },\n {\n \"ID\": \"msg_oJBEpYDXDZw5epfQYNrJEEJa\",\n \"Object\": \"thread.message\",\n \"CreatedAt\": 1727303115,\n \"ThreadID\": \"thread_QPH2Z6DpBhc46V3ylE1JEqTv\",\n \"Status\": \"completed\",\n \"InCompleteDetails\": {\n \"Reason\": \"\"\n },\n \"CompletedAt\": 1727331915,\n \"InCompleteAt\": null,\n \"Role\": \"user\",\n \"Content\": [\n {\n \"Index\": 0,\n \"Type\": \"text\",\n \"Text\": {\n \"Value\": \"你好\"\n }\n }\n ],\n \"AssistantID\": \"\",\n \"RunID\": \"run_XmeUGzgrzTE82Yh7p8mZWRcJ\",\n \"Attachments\": null,\n \"Metadata\": {}\n }\n ],\n \"
|
141
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"4809bed2-f1ca-4d72-b097-bd528184825d\",\n \"Data\": [\n {\n \"ID\": \"msg_jtO6oVZmFtIi4T43eswXk6lJ\",\n \"Object\": \"thread.message\",\n \"CreatedAt\": 1727303115,\n \"ThreadID\": \"thread_QPH2Z6DpBhc46V3ylE1JEqTv\",\n \"Status\": \"completed\",\n \"InCompleteDetails\": {\n \"Reason\": \"\"\n },\n \"CompletedAt\": 1727331915,\n \"InCompleteAt\": null,\n \"Role\": \"assistant\",\n \"Content\": [\n {\n \"Index\": 0,\n \"Type\": \"text\",\n \"Text\": {\n \"Value\": \"您好!非常高兴与您交流,今天有什么有趣的事情想和我分享呢\"\n }\n }\n ],\n \"AssistantID\": \"\",\n \"RunID\": \"run_XmeUGzgrzTE82Yh7p8mZWRcJ\",\n \"Attachments\": null,\n \"Metadata\": {}\n },\n {\n \"ID\": \"msg_oJBEpYDXDZw5epfQYNrJEEJa\",\n \"Object\": \"thread.message\",\n \"CreatedAt\": 1727303115,\n \"ThreadID\": \"thread_QPH2Z6DpBhc46V3ylE1JEqTv\",\n \"Status\": \"completed\",\n \"InCompleteDetails\": {\n \"Reason\": \"\"\n },\n \"CompletedAt\": 1727331915,\n \"InCompleteAt\": null,\n \"Role\": \"user\",\n \"Content\": [\n {\n \"Index\": 0,\n \"Type\": \"text\",\n \"Text\": {\n \"Value\": \"你好\"\n }\n }\n ],\n \"AssistantID\": \"\",\n \"RunID\": \"run_XmeUGzgrzTE82Yh7p8mZWRcJ\",\n \"Attachments\": null,\n \"Metadata\": {}\n }\n ],\n \"FirstMsgID\": \"msg_jtO6oVZmFtIi4T43eswXk6lJ\",\n \"LastMsgID\": \"msg_oJBEpYDXDZw5epfQYNrJEEJa\",\n \"HasMore\": false,\n \"Object\": \"list\"\n }\n}",
|
142
142
|
"title": "获取会话消息列表"
|
143
143
|
}
|
144
144
|
],
|
@@ -304,7 +304,7 @@
|
|
304
304
|
"EndRoom": {
|
305
305
|
"document": "结束房间的直播",
|
306
306
|
"input": "EndRoomRequest",
|
307
|
-
"name": "
|
307
|
+
"name": "结束直播",
|
308
308
|
"output": "EndRoomResponse",
|
309
309
|
"status": "online"
|
310
310
|
},
|
@@ -444,7 +444,7 @@
|
|
444
444
|
"StartRoom": {
|
445
445
|
"document": "开始房间的直播。 说明:开始房间接口调用之前需要有用户进入课堂初始化课堂信息。",
|
446
446
|
"input": "StartRoomRequest",
|
447
|
-
"name": "
|
447
|
+
"name": "开始直播",
|
448
448
|
"output": "StartRoomResponse",
|
449
449
|
"status": "online"
|
450
450
|
},
|
@@ -6270,7 +6270,7 @@
|
|
6270
6270
|
},
|
6271
6271
|
{
|
6272
6272
|
"disabled": false,
|
6273
|
-
"document": "
|
6273
|
+
"document": "对应用户昵称。对应修改用户信息下“nickname“字段,在修改用户信息时,可以对该字段进行调整,从而更改用户的昵称。",
|
6274
6274
|
"example": "nickname",
|
6275
6275
|
"member": "string",
|
6276
6276
|
"name": "Name",
|
@@ -6279,7 +6279,7 @@
|
|
6279
6279
|
},
|
6280
6280
|
{
|
6281
6281
|
"disabled": false,
|
6282
|
-
"document": "用户在客户系统的Id,需要在同一应用下唯一。入参为空时默认赋值为UserId
|
6282
|
+
"document": "用户在客户系统的Id,需要在同一应用下唯一。入参为空时默认赋值为UserId。",
|
6283
6283
|
"example": "id12345",
|
6284
6284
|
"member": "string",
|
6285
6285
|
"name": "OriginId",
|
@@ -2478,7 +2478,7 @@
|
|
2478
2478
|
{
|
2479
2479
|
"disabled": false,
|
2480
2480
|
"document": "应用ID",
|
2481
|
-
"example": "
|
2481
|
+
"example": "1844287616635371520",
|
2482
2482
|
"member": "string",
|
2483
2483
|
"name": "BotBizId",
|
2484
2484
|
"required": true,
|
@@ -2487,7 +2487,7 @@
|
|
2487
2487
|
{
|
2488
2488
|
"disabled": false,
|
2489
2489
|
"document": "拒答问题\n\n",
|
2490
|
-
"example": "
|
2490
|
+
"example": "你是谁你来自哪里你要到哪里去",
|
2491
2491
|
"member": "string",
|
2492
2492
|
"name": "Question",
|
2493
2493
|
"required": true,
|
@@ -2495,8 +2495,8 @@
|
|
2495
2495
|
},
|
2496
2496
|
{
|
2497
2497
|
"disabled": false,
|
2498
|
-
"document": "拒答问题来源的数据源唯一id
|
2499
|
-
"example": "
|
2498
|
+
"document": "拒答问题来源的数据源唯一id, - 拒答来源于不满意回复 2 - 拒答来源于手动添加",
|
2499
|
+
"example": "2",
|
2500
2500
|
"member": "uint64",
|
2501
2501
|
"name": "BusinessSource",
|
2502
2502
|
"required": true,
|
@@ -4309,7 +4309,7 @@
|
|
4309
4309
|
"members": [
|
4310
4310
|
{
|
4311
4311
|
"disabled": false,
|
4312
|
-
"document": "
|
4312
|
+
"document": "应用ID",
|
4313
4313
|
"example": "无",
|
4314
4314
|
"member": "string",
|
4315
4315
|
"name": "BotBizId",
|
@@ -4334,7 +4334,7 @@
|
|
4334
4334
|
},
|
4335
4335
|
{
|
4336
4336
|
"disabled": false,
|
4337
|
-
"document": "发布状态",
|
4337
|
+
"document": "发布状态 , 1-待发布 , 2-发布中 , 3-发布成功 , 4-发布失败 , 5-审核中 , 6-审核成功 , 7-审核失败 , 8-发布成功回调处理中 , 9-发布暂停 , 10-申诉审核中 , 11-申诉审核通过 , 12-申诉审核不通过",
|
4338
4338
|
"example": "无",
|
4339
4339
|
"member": "int64",
|
4340
4340
|
"name": "Status",
|
@@ -4344,7 +4344,7 @@
|
|
4344
4344
|
},
|
4345
4345
|
{
|
4346
4346
|
"disabled": false,
|
4347
|
-
"document": "
|
4347
|
+
"document": "是否编辑过, 当为true的时候表示可以发布",
|
4348
4348
|
"example": "无",
|
4349
4349
|
"member": "bool",
|
4350
4350
|
"name": "IsUpdated",
|