tccli 3.0.1247.1__py2.py3-none-any.whl → 3.0.1249.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/aca/v20210323/api.json +9 -9
- tccli/services/aiart/aiart_client.py +113 -7
- tccli/services/aiart/v20221229/api.json +191 -0
- tccli/services/aiart/v20221229/examples.json +16 -0
- tccli/services/autoscaling/v20180419/api.json +11 -0
- tccli/services/batch/v20170312/api.json +1 -1
- tccli/services/bh/v20230418/api.json +2 -2
- tccli/services/cbs/v20170312/api.json +6 -0
- tccli/services/cdb/v20170320/api.json +9 -0
- tccli/services/cfw/v20190904/api.json +3 -1
- tccli/services/clb/v20180317/api.json +29 -1
- tccli/services/clb/v20180317/examples.json +2 -2
- tccli/services/cloudapp/v20220530/api.json +43 -12
- tccli/services/cloudapp/v20220530/examples.json +1 -1
- tccli/services/cls/v20201016/api.json +17 -7
- tccli/services/cls/v20201016/examples.json +4 -4
- tccli/services/cmq/cmq_client.py +4 -799
- tccli/services/cmq/v20190304/api.json +135 -1329
- tccli/services/cmq/v20190304/examples.json +0 -120
- tccli/services/config/config_client.py +110 -4
- tccli/services/config/v20220802/api.json +374 -0
- tccli/services/config/v20220802/examples.json +16 -0
- tccli/services/cvm/v20170312/api.json +1 -1
- tccli/services/cynosdb/v20190107/api.json +64 -0
- tccli/services/cynosdb/v20190107/examples.json +1 -1
- tccli/services/dc/v20180410/api.json +202 -171
- tccli/services/drm/v20181115/api.json +18 -7
- tccli/services/dts/v20211206/api.json +37 -1
- tccli/services/ecm/v20190719/api.json +64 -62
- tccli/services/ecm/v20190719/examples.json +5 -5
- tccli/services/emr/v20190103/api.json +639 -514
- tccli/services/emr/v20190103/examples.json +10 -10
- tccli/services/ess/v20201111/api.json +184 -165
- tccli/services/ess/v20201111/examples.json +15 -21
- tccli/services/essbasic/v20210526/api.json +109 -90
- tccli/services/essbasic/v20210526/examples.json +2 -2
- tccli/services/gaap/v20180529/api.json +12 -11
- tccli/services/gaap/v20180529/examples.json +2 -8
- tccli/services/gme/v20180711/api.json +110 -100
- tccli/services/gme/v20180711/examples.json +2 -2
- tccli/services/gwlb/v20240906/api.json +1 -1
- tccli/services/hai/hai_client.py +121 -15
- tccli/services/hai/v20230812/api.json +259 -2
- tccli/services/hai/v20230812/examples.json +18 -2
- tccli/services/iotexplorer/iotexplorer_client.py +228 -16
- tccli/services/iotexplorer/v20190423/api.json +536 -0
- tccli/services/iotexplorer/v20190423/examples.json +32 -0
- tccli/services/iotvideo/iotvideo_client.py +53 -0
- tccli/services/iotvideo/v20211125/api.json +80 -0
- tccli/services/iotvideo/v20211125/examples.json +8 -0
- tccli/services/keewidb/v20220308/api.json +17 -17
- tccli/services/lcic/v20220817/api.json +1 -1
- tccli/services/lkeap/v20240522/api.json +13 -13
- tccli/services/lkeap/v20240522/examples.json +2 -2
- tccli/services/mna/v20210119/api.json +22 -22
- tccli/services/mongodb/v20180408/api.json +52 -50
- tccli/services/mongodb/v20180408/examples.json +3 -3
- tccli/services/mongodb/v20190725/api.json +39 -44
- tccli/services/ocr/v20181119/api.json +7 -7
- tccli/services/postgres/postgres_client.py +106 -0
- tccli/services/postgres/v20170312/api.json +135 -0
- tccli/services/postgres/v20170312/examples.json +16 -0
- tccli/services/redis/v20180412/api.json +172 -172
- tccli/services/redis/v20180412/examples.json +1 -1
- tccli/services/scf/v20180416/api.json +2 -2
- tccli/services/sms/v20190711/api.json +48 -0
- tccli/services/sms/v20210111/api.json +48 -0
- tccli/services/ssl/v20191205/api.json +6 -6
- tccli/services/ssl/v20191205/examples.json +71 -5
- tccli/services/tcb/v20180608/api.json +828 -631
- tccli/services/tcb/v20180608/examples.json +19 -19
- tccli/services/tcbr/v20220217/examples.json +1 -1
- tccli/services/tcr/v20190924/api.json +18 -17
- tccli/services/tcr/v20190924/examples.json +6 -6
- tccli/services/tione/v20211111/api.json +23 -3
- tccli/services/trro/v20220325/api.json +12 -2
- tccli/services/trtc/v20190722/api.json +165 -163
- tccli/services/trtc/v20190722/examples.json +2 -2
- tccli/services/tse/v20201207/api.json +18 -0
- tccli/services/vpc/v20170312/api.json +40 -30
- tccli/services/vpc/v20170312/examples.json +13 -13
- tccli/services/wedata/v20210820/api.json +80 -2
- tccli/services/wedata/v20210820/examples.json +1 -1
- {tccli-3.0.1247.1.dist-info → tccli-3.0.1249.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1247.1.dist-info → tccli-3.0.1249.1.dist-info}/RECORD +89 -89
- {tccli-3.0.1247.1.dist-info → tccli-3.0.1249.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1247.1.dist-info → tccli-3.0.1249.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1247.1.dist-info → tccli-3.0.1249.1.dist-info}/license_files/LICENSE +0 -0
@@ -20,7 +20,7 @@
|
|
20
20
|
{
|
21
21
|
"document": "用户使用该接口可以创建语音消息转文本热句模型,以供识别调用",
|
22
22
|
"input": "POST / HTTP/1.1\nHost: gme.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCustomization\n<公共请求参数>\n\n{\n \"BizId\": 1400000000,\n \"TextUrl\": \"https://gme-xxx.cos.xxx.com/customization/1400000000/1400000000_customization\"\n}",
|
23
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"f1338576-0231-4a4b-b441-a780e6ffe894\",\n \"ModelId\": \"
|
23
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"f1338576-0231-4a4b-b441-a780e6ffe894\",\n \"ModelId\": \"f440dfa77ae411eda5d3564a2eb5fd49\"\n }\n}",
|
24
24
|
"title": "创建语音消息转文本热句模型"
|
25
25
|
}
|
26
26
|
],
|
@@ -35,7 +35,7 @@
|
|
35
35
|
"DeleteCustomization": [
|
36
36
|
{
|
37
37
|
"document": "用户通过该接口可以删除语音消息转文本热句模型",
|
38
|
-
"input": "POST / HTTP/1.1\nHost: gme.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteCustomization\n<公共请求参数>\n\n{\n \"BizId\": 1400000000,\n \"ModelId\": \"
|
38
|
+
"input": "POST / HTTP/1.1\nHost: gme.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteCustomization\n<公共请求参数>\n\n{\n \"BizId\": 1400000000,\n \"ModelId\": \"f440dfa77ae411eda5d3564a2eb5fd49\"\n}",
|
39
39
|
"output": "{\n \"Response\": {\n \"ErrorCode\": 0,\n \"RequestId\": \"5d686f47-d3c8-4e41-a65d-11ecf0d18e17\"\n }\n}",
|
40
40
|
"title": "删除热句模型"
|
41
41
|
}
|
tccli/services/hai/hai_client.py
CHANGED
@@ -69,7 +69,7 @@ def doStopInstance(args, parsed_globals):
|
|
69
69
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
70
70
|
|
71
71
|
|
72
|
-
def
|
72
|
+
def doDescribeInstances(args, parsed_globals):
|
73
73
|
g_param = parse_global_arg(parsed_globals)
|
74
74
|
|
75
75
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -98,11 +98,11 @@ def doDescribeServiceLoginSettings(args, parsed_globals):
|
|
98
98
|
client = mod.HaiClient(cred, g_param[OptionsDefine.Region], profile)
|
99
99
|
client._sdkVersion += ("_CLI_" + __version__)
|
100
100
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
101
|
-
model = models.
|
101
|
+
model = models.DescribeInstancesRequest()
|
102
102
|
model.from_json_string(json.dumps(args))
|
103
103
|
start_time = time.time()
|
104
104
|
while True:
|
105
|
-
rsp = client.
|
105
|
+
rsp = client.DescribeInstances(model)
|
106
106
|
result = rsp.to_json_string()
|
107
107
|
try:
|
108
108
|
json_obj = json.loads(result)
|
@@ -173,7 +173,7 @@ def doDescribeApplications(args, parsed_globals):
|
|
173
173
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
174
174
|
|
175
175
|
|
176
|
-
def
|
176
|
+
def doDescribeMuskPrompts(args, parsed_globals):
|
177
177
|
g_param = parse_global_arg(parsed_globals)
|
178
178
|
|
179
179
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -202,11 +202,11 @@ def doDescribeScenes(args, parsed_globals):
|
|
202
202
|
client = mod.HaiClient(cred, g_param[OptionsDefine.Region], profile)
|
203
203
|
client._sdkVersion += ("_CLI_" + __version__)
|
204
204
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
205
|
-
model = models.
|
205
|
+
model = models.DescribeMuskPromptsRequest()
|
206
206
|
model.from_json_string(json.dumps(args))
|
207
207
|
start_time = time.time()
|
208
208
|
while True:
|
209
|
-
rsp = client.
|
209
|
+
rsp = client.DescribeMuskPrompts(model)
|
210
210
|
result = rsp.to_json_string()
|
211
211
|
try:
|
212
212
|
json_obj = json.loads(result)
|
@@ -225,7 +225,7 @@ def doDescribeScenes(args, parsed_globals):
|
|
225
225
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
226
226
|
|
227
227
|
|
228
|
-
def
|
228
|
+
def doDescribeScenes(args, parsed_globals):
|
229
229
|
g_param = parse_global_arg(parsed_globals)
|
230
230
|
|
231
231
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -254,11 +254,11 @@ def doDescribeRegions(args, parsed_globals):
|
|
254
254
|
client = mod.HaiClient(cred, g_param[OptionsDefine.Region], profile)
|
255
255
|
client._sdkVersion += ("_CLI_" + __version__)
|
256
256
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
257
|
-
model = models.
|
257
|
+
model = models.DescribeScenesRequest()
|
258
258
|
model.from_json_string(json.dumps(args))
|
259
259
|
start_time = time.time()
|
260
260
|
while True:
|
261
|
-
rsp = client.
|
261
|
+
rsp = client.DescribeScenes(model)
|
262
262
|
result = rsp.to_json_string()
|
263
263
|
try:
|
264
264
|
json_obj = json.loads(result)
|
@@ -329,6 +329,58 @@ def doRunInstances(args, parsed_globals):
|
|
329
329
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
330
330
|
|
331
331
|
|
332
|
+
def doDescribeRegions(args, parsed_globals):
|
333
|
+
g_param = parse_global_arg(parsed_globals)
|
334
|
+
|
335
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
336
|
+
cred = credential.CVMRoleCredential()
|
337
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
338
|
+
cred = credential.STSAssumeRoleCredential(
|
339
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
340
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
341
|
+
)
|
342
|
+
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):
|
343
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
344
|
+
else:
|
345
|
+
cred = credential.Credential(
|
346
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
347
|
+
)
|
348
|
+
http_profile = HttpProfile(
|
349
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
350
|
+
reqMethod="POST",
|
351
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
352
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
353
|
+
)
|
354
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
355
|
+
if g_param[OptionsDefine.Language]:
|
356
|
+
profile.language = g_param[OptionsDefine.Language]
|
357
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
358
|
+
client = mod.HaiClient(cred, g_param[OptionsDefine.Region], profile)
|
359
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
360
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
361
|
+
model = models.DescribeRegionsRequest()
|
362
|
+
model.from_json_string(json.dumps(args))
|
363
|
+
start_time = time.time()
|
364
|
+
while True:
|
365
|
+
rsp = client.DescribeRegions(model)
|
366
|
+
result = rsp.to_json_string()
|
367
|
+
try:
|
368
|
+
json_obj = json.loads(result)
|
369
|
+
except TypeError as e:
|
370
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
371
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
372
|
+
break
|
373
|
+
cur_time = time.time()
|
374
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
375
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
376
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
377
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
378
|
+
else:
|
379
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
380
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
381
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
382
|
+
|
383
|
+
|
332
384
|
def doStartInstance(args, parsed_globals):
|
333
385
|
g_param = parse_global_arg(parsed_globals)
|
334
386
|
|
@@ -381,6 +433,58 @@ def doStartInstance(args, parsed_globals):
|
|
381
433
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
382
434
|
|
383
435
|
|
436
|
+
def doCreateMuskPrompt(args, parsed_globals):
|
437
|
+
g_param = parse_global_arg(parsed_globals)
|
438
|
+
|
439
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
440
|
+
cred = credential.CVMRoleCredential()
|
441
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
442
|
+
cred = credential.STSAssumeRoleCredential(
|
443
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
444
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
445
|
+
)
|
446
|
+
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):
|
447
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
448
|
+
else:
|
449
|
+
cred = credential.Credential(
|
450
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
451
|
+
)
|
452
|
+
http_profile = HttpProfile(
|
453
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
454
|
+
reqMethod="POST",
|
455
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
456
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
457
|
+
)
|
458
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
459
|
+
if g_param[OptionsDefine.Language]:
|
460
|
+
profile.language = g_param[OptionsDefine.Language]
|
461
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
462
|
+
client = mod.HaiClient(cred, g_param[OptionsDefine.Region], profile)
|
463
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
464
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
465
|
+
model = models.CreateMuskPromptRequest()
|
466
|
+
model.from_json_string(json.dumps(args))
|
467
|
+
start_time = time.time()
|
468
|
+
while True:
|
469
|
+
rsp = client.CreateMuskPrompt(model)
|
470
|
+
result = rsp.to_json_string()
|
471
|
+
try:
|
472
|
+
json_obj = json.loads(result)
|
473
|
+
except TypeError as e:
|
474
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
475
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
476
|
+
break
|
477
|
+
cur_time = time.time()
|
478
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
479
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
480
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
481
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
482
|
+
else:
|
483
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
484
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
485
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
486
|
+
|
487
|
+
|
384
488
|
def doDescribeInstanceNetworkStatus(args, parsed_globals):
|
385
489
|
g_param = parse_global_arg(parsed_globals)
|
386
490
|
|
@@ -433,7 +537,7 @@ def doDescribeInstanceNetworkStatus(args, parsed_globals):
|
|
433
537
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
434
538
|
|
435
539
|
|
436
|
-
def
|
540
|
+
def doDescribeServiceLoginSettings(args, parsed_globals):
|
437
541
|
g_param = parse_global_arg(parsed_globals)
|
438
542
|
|
439
543
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -462,11 +566,11 @@ def doDescribeInstances(args, parsed_globals):
|
|
462
566
|
client = mod.HaiClient(cred, g_param[OptionsDefine.Region], profile)
|
463
567
|
client._sdkVersion += ("_CLI_" + __version__)
|
464
568
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
465
|
-
model = models.
|
569
|
+
model = models.DescribeServiceLoginSettingsRequest()
|
466
570
|
model.from_json_string(json.dumps(args))
|
467
571
|
start_time = time.time()
|
468
572
|
while True:
|
469
|
-
rsp = client.
|
573
|
+
rsp = client.DescribeServiceLoginSettings(model)
|
470
574
|
result = rsp.to_json_string()
|
471
575
|
try:
|
472
576
|
json_obj = json.loads(result)
|
@@ -601,14 +705,16 @@ MODELS_MAP = {
|
|
601
705
|
|
602
706
|
ACTION_MAP = {
|
603
707
|
"StopInstance": doStopInstance,
|
604
|
-
"
|
708
|
+
"DescribeInstances": doDescribeInstances,
|
605
709
|
"DescribeApplications": doDescribeApplications,
|
710
|
+
"DescribeMuskPrompts": doDescribeMuskPrompts,
|
606
711
|
"DescribeScenes": doDescribeScenes,
|
607
|
-
"DescribeRegions": doDescribeRegions,
|
608
712
|
"RunInstances": doRunInstances,
|
713
|
+
"DescribeRegions": doDescribeRegions,
|
609
714
|
"StartInstance": doStartInstance,
|
715
|
+
"CreateMuskPrompt": doCreateMuskPrompt,
|
610
716
|
"DescribeInstanceNetworkStatus": doDescribeInstanceNetworkStatus,
|
611
|
-
"
|
717
|
+
"DescribeServiceLoginSettings": doDescribeServiceLoginSettings,
|
612
718
|
"InquirePriceRunInstances": doInquirePriceRunInstances,
|
613
719
|
"TerminateInstances": doTerminateInstances,
|
614
720
|
|
@@ -1,5 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
|
+
"CreateMuskPrompt": {
|
4
|
+
"document": "创建musk prompt 任务",
|
5
|
+
"input": "CreateMuskPromptRequest",
|
6
|
+
"name": "创建Prompt请求任务",
|
7
|
+
"output": "CreateMuskPromptResponse",
|
8
|
+
"status": "online"
|
9
|
+
},
|
3
10
|
"DescribeApplications": {
|
4
11
|
"document": "查询应用",
|
5
12
|
"input": "DescribeApplicationsRequest",
|
@@ -21,6 +28,13 @@
|
|
21
28
|
"output": "DescribeInstancesResponse",
|
22
29
|
"status": "online"
|
23
30
|
},
|
31
|
+
"DescribeMuskPrompts": {
|
32
|
+
"document": "获取prompt任务列表",
|
33
|
+
"input": "DescribeMuskPromptsRequest",
|
34
|
+
"name": "获取Prompt任务列表",
|
35
|
+
"output": "DescribeMuskPromptsResponse",
|
36
|
+
"status": "online"
|
37
|
+
},
|
24
38
|
"DescribeRegions": {
|
25
39
|
"document": "查询地域列表",
|
26
40
|
"input": "DescribeRegionsRequest",
|
@@ -181,6 +195,61 @@
|
|
181
195
|
],
|
182
196
|
"usage": "out"
|
183
197
|
},
|
198
|
+
"CreateMuskPromptRequest": {
|
199
|
+
"document": "CreateMuskPrompt请求参数结构体",
|
200
|
+
"members": [
|
201
|
+
{
|
202
|
+
"disabled": false,
|
203
|
+
"document": "workgroup id",
|
204
|
+
"example": "4a3f3be9-f35b-40bf-b6bb-2af812dd63cb",
|
205
|
+
"member": "string",
|
206
|
+
"name": "WorkgroupId",
|
207
|
+
"required": true,
|
208
|
+
"type": "string"
|
209
|
+
},
|
210
|
+
{
|
211
|
+
"disabled": false,
|
212
|
+
"document": "workflow id",
|
213
|
+
"example": "wf-b9dbb48a-f4cd-40f3-9a68-2af4c78d31a7",
|
214
|
+
"member": "string",
|
215
|
+
"name": "WorkflowId",
|
216
|
+
"required": true,
|
217
|
+
"type": "string"
|
218
|
+
},
|
219
|
+
{
|
220
|
+
"disabled": false,
|
221
|
+
"document": "prompt 参数",
|
222
|
+
"example": "{\"6\":{\"inputs\":{\"text\":\"cute anime girl with massive fluffy fennec ears and a big fluffy tail blonde messy long hair blue eyes wearing a maid outfit with a long black gold leaf pattern dress and a white apron mouth open holding a fancy black forest cake with candles on top in the kitchen of an old dark Victorian mansion lit by candlelight with a bright window to the foggy forest and very expensive stuff everywhere\",\"clip\":[\"11\",0]},\"class_type\":\"CLIPTextEncode\",\"_meta\":{\"title\":\"CLIP Text Encode (Positive Prompt)\"}},\"8\":{\"inputs\":{\"samples\":[\"13\",0],\"vae\":[\"10\",0]},\"class_type\":\"VAEDecode\",\"_meta\":{\"title\":\"VAE解码\"}},\"9\":{\"inputs\":{\"filename_prefix\":\"ComfyUI\",\"images\":[\"8\",0]},\"class_type\":\"SaveImage\",\"_meta\":{\"title\":\"保存图像\"}},\"10\":{\"inputs\":{\"vae_name\":\"ae.sft\"},\"class_type\":\"VAELoader\",\"_meta\":{\"title\":\"加载VAE\"}},\"11\":{\"inputs\":{\"clip_name1\":\"t5xxl_fp8_e4m3fn.safetensors\",\"clip_name2\":\"clip_l.safetensors\",\"type\":\"flux\"},\"class_type\":\"DualCLIPLoader\",\"_meta\":{\"title\":\"双CLIP加载器\"}},\"12\":{\"inputs\":{\"unet_name\":\"flux1-dev-fp8.safetensors\",\"weight_dtype\":\"fp8_e4m3fn\"},\"class_type\":\"UNETLoader\",\"_meta\":{\"title\":\"加载扩散模型\"}},\"13\":{\"inputs\":{\"noise\":[\"25\",0],\"guider\":[\"22\",0],\"sampler\":[\"16\",0],\"sigmas\":[\"17\",0],\"latent_image\":[\"27\",0]},\"class_type\":\"SamplerCustomAdvanced\",\"_meta\":{\"title\":\"自定义采样器(高级)\"}},\"16\":{\"inputs\":{\"sampler_name\":\"euler\"},\"class_type\":\"KSamplerSelect\",\"_meta\":{\"title\":\"K采样器选择\"}},\"17\":{\"inputs\":{\"scheduler\":\"simple\",\"steps\":20,\"denoise\":1,\"model\":[\"30\",0]},\"class_type\":\"BasicScheduler\",\"_meta\":{\"title\":\"基本调度器\"}},\"22\":{\"inputs\":{\"model\":[\"30\",0],\"conditioning\":[\"26\",0]},\"class_type\":\"BasicGuider\",\"_meta\":{\"title\":\"基本引导器\"}},\"25\":{\"inputs\":{\"noise_seed\":317016131367339},\"class_type\":\"RandomNoise\",\"_meta\":{\"title\":\"随机噪声\"}},\"26\":{\"inputs\":{\"guidance\":3.5,\"conditioning\":[\"6\",0]},\"class_type\":\"FluxGuidance\",\"_meta\":{\"title\":\"Flux引导\"}},\"27\":{\"inputs\":{\"width\":1024,\"height\":1024,\"batch_size\":1},\"class_type\":\"EmptySD3LatentImage\",\"_meta\":{\"title\":\"空SD3潜空间图像\"}},\"30\":{\"inputs\":{\"max_shift\":1.15,\"base_shift\":0.5,\"width\":1024,\"height\":1024,\"model\":[\"12\",0]},\"class_type\":\"ModelSamplingFlux\",\"_meta\":{\"title\":\"模型采样Flux\"}}}",
|
223
|
+
"member": "string",
|
224
|
+
"name": "PromptParams",
|
225
|
+
"required": true,
|
226
|
+
"type": "string"
|
227
|
+
}
|
228
|
+
],
|
229
|
+
"type": "object"
|
230
|
+
},
|
231
|
+
"CreateMuskPromptResponse": {
|
232
|
+
"document": "CreateMuskPrompt返回参数结构体",
|
233
|
+
"members": [
|
234
|
+
{
|
235
|
+
"disabled": false,
|
236
|
+
"document": "prompt id",
|
237
|
+
"example": "edc6e6ec-072c-41dd-8672-c956b739fd31",
|
238
|
+
"member": "string",
|
239
|
+
"name": "PromptId",
|
240
|
+
"output_required": false,
|
241
|
+
"type": "string",
|
242
|
+
"value_allowed_null": false
|
243
|
+
},
|
244
|
+
{
|
245
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
246
|
+
"member": "string",
|
247
|
+
"name": "RequestId",
|
248
|
+
"type": "string"
|
249
|
+
}
|
250
|
+
],
|
251
|
+
"type": "object"
|
252
|
+
},
|
184
253
|
"DescribeApplicationsRequest": {
|
185
254
|
"document": "DescribeApplications请求参数结构体",
|
186
255
|
"members": [
|
@@ -394,6 +463,89 @@
|
|
394
463
|
],
|
395
464
|
"type": "object"
|
396
465
|
},
|
466
|
+
"DescribeMuskPromptsRequest": {
|
467
|
+
"document": "DescribeMuskPrompts请求参数结构体",
|
468
|
+
"members": [
|
469
|
+
{
|
470
|
+
"disabled": false,
|
471
|
+
"document": "workgroup id",
|
472
|
+
"example": "4a3f3be9-f35b-40bf-b6bb-2af812dd63cb",
|
473
|
+
"member": "string",
|
474
|
+
"name": "WorkgroupId",
|
475
|
+
"required": true,
|
476
|
+
"type": "string"
|
477
|
+
},
|
478
|
+
{
|
479
|
+
"disabled": false,
|
480
|
+
"document": "workflow id",
|
481
|
+
"example": "wf-b9dbb48a-f4cd-40f3-9a68-2af4c78d31a7",
|
482
|
+
"member": "string",
|
483
|
+
"name": "WorkflowId",
|
484
|
+
"required": true,
|
485
|
+
"type": "string"
|
486
|
+
},
|
487
|
+
{
|
488
|
+
"disabled": false,
|
489
|
+
"document": "offset ",
|
490
|
+
"example": "0",
|
491
|
+
"member": "uint64",
|
492
|
+
"name": "Offset",
|
493
|
+
"required": true,
|
494
|
+
"type": "int"
|
495
|
+
},
|
496
|
+
{
|
497
|
+
"disabled": false,
|
498
|
+
"document": "limit",
|
499
|
+
"example": "20",
|
500
|
+
"member": "uint64",
|
501
|
+
"name": "Limit",
|
502
|
+
"required": true,
|
503
|
+
"type": "int"
|
504
|
+
},
|
505
|
+
{
|
506
|
+
"disabled": false,
|
507
|
+
"document": "过滤参数 支持过滤的键值: PromptId,Status",
|
508
|
+
"example": "[{\"Name\":\"PromptId\", Values:[\"dhfhds-dhdhd-xxdfdf-iejmrhf\"]}]",
|
509
|
+
"member": "Filter",
|
510
|
+
"name": "Filters",
|
511
|
+
"required": false,
|
512
|
+
"type": "list"
|
513
|
+
}
|
514
|
+
],
|
515
|
+
"type": "object"
|
516
|
+
},
|
517
|
+
"DescribeMuskPromptsResponse": {
|
518
|
+
"document": "DescribeMuskPrompts返回参数结构体",
|
519
|
+
"members": [
|
520
|
+
{
|
521
|
+
"disabled": false,
|
522
|
+
"document": "total count",
|
523
|
+
"example": "1",
|
524
|
+
"member": "uint64",
|
525
|
+
"name": "TotalCount",
|
526
|
+
"output_required": true,
|
527
|
+
"type": "int",
|
528
|
+
"value_allowed_null": false
|
529
|
+
},
|
530
|
+
{
|
531
|
+
"disabled": false,
|
532
|
+
"document": "prompt列表详情",
|
533
|
+
"example": "无",
|
534
|
+
"member": "MuskPromptInfo",
|
535
|
+
"name": "MuskPromptInfos",
|
536
|
+
"output_required": true,
|
537
|
+
"type": "list",
|
538
|
+
"value_allowed_null": false
|
539
|
+
},
|
540
|
+
{
|
541
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
542
|
+
"member": "string",
|
543
|
+
"name": "RequestId",
|
544
|
+
"type": "string"
|
545
|
+
}
|
546
|
+
],
|
547
|
+
"type": "object"
|
548
|
+
},
|
397
549
|
"DescribeRegionsRequest": {
|
398
550
|
"document": "DescribeRegions请求参数结构体",
|
399
551
|
"members": [],
|
@@ -621,7 +773,7 @@
|
|
621
773
|
{
|
622
774
|
"disabled": false,
|
623
775
|
"document": "发货参数对应的价格组合,当DryRun=True,会返回空\n注意:此字段可能返回 null,表示取不到有效值。",
|
624
|
-
"example": "{\"Price\":{\"CloudDiskPrice\":{\"
|
776
|
+
"example": "{\"Price\":{\"CloudDiskPrice\":{\"DiscountUnitPrice\":0.01,\"UnitPrice\":0.01},\"InstancePrice\":{\"DiscountUnitPrice\":1,\"UnitPrice\":1}}}",
|
625
777
|
"member": "Price",
|
626
778
|
"name": "Price",
|
627
779
|
"output_required": true,
|
@@ -1040,6 +1192,111 @@
|
|
1040
1192
|
],
|
1041
1193
|
"usage": "out"
|
1042
1194
|
},
|
1195
|
+
"MuskPromptInfo": {
|
1196
|
+
"document": "musk prompt详情",
|
1197
|
+
"members": [
|
1198
|
+
{
|
1199
|
+
"disabled": false,
|
1200
|
+
"document": "workflow id",
|
1201
|
+
"example": "wf-c23b5551-4008-4c9f-844a-4c4dd30f84f7",
|
1202
|
+
"member": "string",
|
1203
|
+
"name": "WorkflowId",
|
1204
|
+
"output_required": true,
|
1205
|
+
"required": false,
|
1206
|
+
"type": "string",
|
1207
|
+
"value_allowed_null": false
|
1208
|
+
},
|
1209
|
+
{
|
1210
|
+
"disabled": false,
|
1211
|
+
"document": "workgroup id",
|
1212
|
+
"example": "wg-4a3f3be9-f35b-40bf-b6bb-2af812dd63cb",
|
1213
|
+
"member": "string",
|
1214
|
+
"name": "WorkgroupId",
|
1215
|
+
"output_required": true,
|
1216
|
+
"required": false,
|
1217
|
+
"type": "string",
|
1218
|
+
"value_allowed_null": false
|
1219
|
+
},
|
1220
|
+
{
|
1221
|
+
"disabled": false,
|
1222
|
+
"document": "prompt id",
|
1223
|
+
"example": "4a3f3be9-f35b-40bf-b6bb-2af812dd63cb",
|
1224
|
+
"member": "string",
|
1225
|
+
"name": "PromptId",
|
1226
|
+
"output_required": true,
|
1227
|
+
"required": false,
|
1228
|
+
"type": "string",
|
1229
|
+
"value_allowed_null": false
|
1230
|
+
},
|
1231
|
+
{
|
1232
|
+
"disabled": false,
|
1233
|
+
"document": "生成的内容",
|
1234
|
+
"example": "[\"image\"]",
|
1235
|
+
"member": "string",
|
1236
|
+
"name": "OutputResource",
|
1237
|
+
"output_required": true,
|
1238
|
+
"required": false,
|
1239
|
+
"type": "list",
|
1240
|
+
"value_allowed_null": false
|
1241
|
+
},
|
1242
|
+
{
|
1243
|
+
"disabled": false,
|
1244
|
+
"document": "prompt status \n0: 执行中\n1: 执行成功\n2: 执行失败",
|
1245
|
+
"example": "1",
|
1246
|
+
"member": "uint64",
|
1247
|
+
"name": "Status",
|
1248
|
+
"output_required": true,
|
1249
|
+
"required": false,
|
1250
|
+
"type": "int",
|
1251
|
+
"value_allowed_null": false
|
1252
|
+
},
|
1253
|
+
{
|
1254
|
+
"disabled": false,
|
1255
|
+
"document": "创建时间",
|
1256
|
+
"example": "2024-12-30",
|
1257
|
+
"member": "string",
|
1258
|
+
"name": "CreateTime",
|
1259
|
+
"output_required": true,
|
1260
|
+
"required": false,
|
1261
|
+
"type": "string",
|
1262
|
+
"value_allowed_null": false
|
1263
|
+
},
|
1264
|
+
{
|
1265
|
+
"disabled": false,
|
1266
|
+
"document": "更新时间",
|
1267
|
+
"example": "2024-12-30",
|
1268
|
+
"member": "string",
|
1269
|
+
"name": "UpdateTime",
|
1270
|
+
"output_required": true,
|
1271
|
+
"required": false,
|
1272
|
+
"type": "string",
|
1273
|
+
"value_allowed_null": false
|
1274
|
+
},
|
1275
|
+
{
|
1276
|
+
"disabled": false,
|
1277
|
+
"document": "任务执行耗时,单位毫秒",
|
1278
|
+
"example": "0",
|
1279
|
+
"member": "uint64",
|
1280
|
+
"name": "Cost",
|
1281
|
+
"output_required": false,
|
1282
|
+
"required": false,
|
1283
|
+
"type": "int",
|
1284
|
+
"value_allowed_null": false
|
1285
|
+
},
|
1286
|
+
{
|
1287
|
+
"disabled": false,
|
1288
|
+
"document": "任务执行失败错误信息",
|
1289
|
+
"example": " ",
|
1290
|
+
"member": "string",
|
1291
|
+
"name": "ErrorMessage",
|
1292
|
+
"output_required": false,
|
1293
|
+
"required": false,
|
1294
|
+
"type": "string",
|
1295
|
+
"value_allowed_null": false
|
1296
|
+
}
|
1297
|
+
],
|
1298
|
+
"usage": "both"
|
1299
|
+
},
|
1043
1300
|
"NetworkStatus": {
|
1044
1301
|
"document": "HAI 实例的网络配置和消耗情况",
|
1045
1302
|
"members": [
|
@@ -1220,7 +1477,7 @@
|
|
1220
1477
|
{
|
1221
1478
|
"disabled": false,
|
1222
1479
|
"document": "实例显示名称",
|
1223
|
-
"example": "
|
1480
|
+
"example": "hai",
|
1224
1481
|
"member": "string",
|
1225
1482
|
"name": "InstanceName",
|
1226
1483
|
"required": false,
|
@@ -1,5 +1,13 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
|
+
"CreateMuskPrompt": [
|
4
|
+
{
|
5
|
+
"document": "创建prompt任务",
|
6
|
+
"input": "POST / HTTP/1.1\nHost: hai.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMuskPrompt\n<公共请求参数>\n\n{\n \"WorkgroupId\": \"4a3f3be9-f35b-40bf-b6bb-2af812dd63cb\",\n \"WorkflowId\": \"wf-b9dbb48a-f4cd-40f3-9a68-2af4c78d31a7\",\n \"PromptParams\": \"{\\\"6\\\":{\\\"inputs\\\":{\\\"text\\\":\\\"cute anime girl with massive fluffy fennec ears and a big fluffy tail blonde messy long hair blue eyes wearing a maid outfit with a long black gold leaf pattern dress and a white apron mouth open holding a fancy black forest cake with candles on top in the kitchen of an old dark Victorian mansion lit by candlelight with a bright window to the foggy forest and very expensive stuff everywhere\\\",\\\"clip\\\":[\\\"11\\\",0]},\\\"class_type\\\":\\\"CLIPTextEncode\\\",\\\"_meta\\\":{\\\"title\\\":\\\"CLIP Text Encode (Positive Prompt)\\\"}},\\\"8\\\":{\\\"inputs\\\":{\\\"samples\\\":[\\\"13\\\",0],\\\"vae\\\":[\\\"10\\\",0]},\\\"class_type\\\":\\\"VAEDecode\\\",\\\"_meta\\\":{\\\"title\\\":\\\"VAE解码\\\"}},\\\"9\\\":{\\\"inputs\\\":{\\\"filename_prefix\\\":\\\"ComfyUI\\\",\\\"images\\\":[\\\"8\\\",0]},\\\"class_type\\\":\\\"SaveImage\\\",\\\"_meta\\\":{\\\"title\\\":\\\"保存图像\\\"}},\\\"10\\\":{\\\"inputs\\\":{\\\"vae_name\\\":\\\"ae.sft\\\"},\\\"class_type\\\":\\\"VAELoader\\\",\\\"_meta\\\":{\\\"title\\\":\\\"加载VAE\\\"}},\\\"11\\\":{\\\"inputs\\\":{\\\"clip_name1\\\":\\\"t5xxl_fp8_e4m3fn.safetensors\\\",\\\"clip_name2\\\":\\\"clip_l.safetensors\\\",\\\"type\\\":\\\"flux\\\"},\\\"class_type\\\":\\\"DualCLIPLoader\\\",\\\"_meta\\\":{\\\"title\\\":\\\"双CLIP加载器\\\"}},\\\"12\\\":{\\\"inputs\\\":{\\\"unet_name\\\":\\\"flux1-dev-fp8.safetensors\\\",\\\"weight_dtype\\\":\\\"fp8_e4m3fn\\\"},\\\"class_type\\\":\\\"UNETLoader\\\",\\\"_meta\\\":{\\\"title\\\":\\\"加载扩散模型\\\"}},\\\"13\\\":{\\\"inputs\\\":{\\\"noise\\\":[\\\"25\\\",0],\\\"guider\\\":[\\\"22\\\",0],\\\"sampler\\\":[\\\"16\\\",0],\\\"sigmas\\\":[\\\"17\\\",0],\\\"latent_image\\\":[\\\"27\\\",0]},\\\"class_type\\\":\\\"SamplerCustomAdvanced\\\",\\\"_meta\\\":{\\\"title\\\":\\\"自定义采样器(高级)\\\"}},\\\"16\\\":{\\\"inputs\\\":{\\\"sampler_name\\\":\\\"euler\\\"},\\\"class_type\\\":\\\"KSamplerSelect\\\",\\\"_meta\\\":{\\\"title\\\":\\\"K采样器选择\\\"}},\\\"17\\\":{\\\"inputs\\\":{\\\"scheduler\\\":\\\"simple\\\",\\\"steps\\\":20,\\\"denoise\\\":1,\\\"model\\\":[\\\"30\\\",0]},\\\"class_type\\\":\\\"BasicScheduler\\\",\\\"_meta\\\":{\\\"title\\\":\\\"基本调度器\\\"}},\\\"22\\\":{\\\"inputs\\\":{\\\"model\\\":[\\\"30\\\",0],\\\"conditioning\\\":[\\\"26\\\",0]},\\\"class_type\\\":\\\"BasicGuider\\\",\\\"_meta\\\":{\\\"title\\\":\\\"基本引导器\\\"}},\\\"25\\\":{\\\"inputs\\\":{\\\"noise_seed\\\":317016131367339},\\\"class_type\\\":\\\"RandomNoise\\\",\\\"_meta\\\":{\\\"title\\\":\\\"随机噪声\\\"}},\\\"26\\\":{\\\"inputs\\\":{\\\"guidance\\\":3.5,\\\"conditioning\\\":[\\\"6\\\",0]},\\\"class_type\\\":\\\"FluxGuidance\\\",\\\"_meta\\\":{\\\"title\\\":\\\"Flux引导\\\"}},\\\"27\\\":{\\\"inputs\\\":{\\\"width\\\":1024,\\\"height\\\":1024,\\\"batch_size\\\":1},\\\"class_type\\\":\\\"EmptySD3LatentImage\\\",\\\"_meta\\\":{\\\"title\\\":\\\"空SD3潜空间图像\\\"}},\\\"30\\\":{\\\"inputs\\\":{\\\"max_shift\\\":1.15,\\\"base_shift\\\":0.5,\\\"width\\\":1024,\\\"height\\\":1024,\\\"model\\\":[\\\"12\\\",0]},\\\"class_type\\\":\\\"ModelSamplingFlux\\\",\\\"_meta\\\":{\\\"title\\\":\\\"模型采样Flux\\\"}}}\"\n}",
|
7
|
+
"output": "{\n \"Response\": {\n \"PromptId\": \"edc6e6ec-072c-41dd-8672-c956b739fd31\",\n \"RequestId\": \"840728c5-4abb-4eb5-b469-a304631693f9\"\n }\n}",
|
8
|
+
"title": "创建prompt任务"
|
9
|
+
}
|
10
|
+
],
|
3
11
|
"DescribeApplications": [
|
4
12
|
{
|
5
13
|
"document": "查询应用",
|
@@ -24,6 +32,14 @@
|
|
24
32
|
"title": "查看指定实例hai-jklfaded的信息"
|
25
33
|
}
|
26
34
|
],
|
35
|
+
"DescribeMuskPrompts": [
|
36
|
+
{
|
37
|
+
"document": "获取prompt任务详情",
|
38
|
+
"input": "POST / HTTP/1.1\nHost: hai.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMuskPrompts\n<公共请求参数>\n\n{\n \"WorkgroupId\": \"4a3f3be9-f35b-40bf-b6bb-2af812dd63cb\",\n \"WorkflowId\": \"wf-b9dbb48a-f4cd-40f3-9a68-2af4c78d31a7\",\n \"Offset\": 0,\n \"Limit\": 20\n}",
|
39
|
+
"output": "{\n \"Response\": {\n \"MuskPromptInfos\": [\n {\n \"CreateTime\": \"2024-12-24 12:07:22\",\n \"OutputResource\": [],\n \"PromptId\": \"edc6e6ec-072c-41dd-8672-c956b739fd31\",\n \"Status\": 2,\n \"UpdateTime\": \"2024-12-24 12:09:22\",\n \"WorkflowId\": \"wf-b9dbb48a-f4cd-40f3-9a68-2af4c78d31a7\",\n \"WorkgroupId\": \"4a3f3be9-f35b-40bf-b6bb-2af812dd63cb\"\n }\n ],\n \"RequestId\": \"a8a7930a-b642-4a3e-a3df-2d4a6bd389cc\",\n \"TotalCount\": 1\n }\n}",
|
40
|
+
"title": "获取prompt任务详情"
|
41
|
+
}
|
42
|
+
],
|
27
43
|
"DescribeRegions": [
|
28
44
|
{
|
29
45
|
"document": "查询地域列表",
|
@@ -52,14 +68,14 @@
|
|
52
68
|
{
|
53
69
|
"document": "",
|
54
70
|
"input": "POST / HTTP/1.1\nHost: hai.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquirePriceRunInstances\n<公共请求参数>\n\n{\n \"ApplicationId\": \"app-jknfna\",\n \"BundleType\": \"S\",\n \"SystemDisk\": {\n \"DiskType\": \"CLOUD_PREMIUM\",\n \"DiskSize\": 250\n },\n \"InstanceName\": \"hai\"\n}",
|
55
|
-
"output": "{\n \"Response\": {\n \"Price\": {\n \"InstancePrice\": {\n \"UnitPrice\": 0.88,\n \"DiscountUnitPrice\": 0.88,\n \"Discount\": 100.0,\n \"ChargeUnit\": \"HOUR\",\n \"Amount\": 1\n },\n \"CloudDiskPrice\": {\n \"UnitPrice\": 0,\n \"DiscountUnitPrice\": 0,\n \"Discount\": 0,\n \"ChargeUnit\": \"HOUR\",\n \"Amount\": 1\n }\n },\n \"RequestId\": \"
|
71
|
+
"output": "{\n \"Response\": {\n \"Price\": {\n \"InstancePrice\": {\n \"UnitPrice\": 0.88,\n \"DiscountUnitPrice\": 0.88,\n \"Discount\": 100.0,\n \"ChargeUnit\": \"HOUR\",\n \"Amount\": 1\n },\n \"CloudDiskPrice\": {\n \"UnitPrice\": 0,\n \"DiscountUnitPrice\": 0,\n \"Discount\": 0,\n \"ChargeUnit\": \"HOUR\",\n \"Amount\": 1\n }\n },\n \"RequestId\": \"c5ec5837-b9d0-46dd-911e-6c91d488b938\"\n }\n}",
|
56
72
|
"title": "发货询价"
|
57
73
|
}
|
58
74
|
],
|
59
75
|
"RunInstances": [
|
60
76
|
{
|
61
77
|
"document": "创建hai实例",
|
62
|
-
"input": "POST / HTTP/1.1\nHost: hai.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RunInstances\n<公共请求参数>\n\n{\n \"ApplicationId\": \"app-jknfna\",\n \"BundleType\": \"S\",\n \"SystemDisk\": {\n \"DiskType\": \"CLOUD_PREMIUM\",\n \"DiskSize\": 250\n },\n \"InstanceName\": \"
|
78
|
+
"input": "POST / HTTP/1.1\nHost: hai.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RunInstances\n<公共请求参数>\n\n{\n \"ApplicationId\": \"app-jknfna\",\n \"BundleType\": \"S\",\n \"SystemDisk\": {\n \"DiskType\": \"CLOUD_PREMIUM\",\n \"DiskSize\": 250\n },\n \"InstanceName\": \"hai\"\n}",
|
63
79
|
"output": "{\n \"Response\": {\n \"InstanceIdSet\": [\n \"hai-qcgdfaptd\"\n ],\n \"RequestId\": \"e267492d-fadaf-45a9-a139-416bc8652861\"\n }\n}",
|
64
80
|
"title": "创建实例"
|
65
81
|
}
|