tccli 3.0.1133.1__py2.py3-none-any.whl → 3.0.1135.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/asr/v20190614/api.json +2 -2
- tccli/services/billing/v20180709/api.json +10 -0
- tccli/services/cam/v20190116/api.json +41 -12
- tccli/services/cdb/cdb_client.py +57 -4
- tccli/services/cdb/v20170320/api.json +270 -0
- tccli/services/cdb/v20170320/examples.json +8 -0
- tccli/services/cls/v20201016/api.json +3 -3
- tccli/services/cls/v20201016/examples.json +1 -1
- tccli/services/cmq/v20190304/api.json +53 -49
- tccli/services/cmq/v20190304/examples.json +2 -2
- tccli/services/cynosdb/cynosdb_client.py +57 -4
- tccli/services/cynosdb/v20190107/api.json +111 -0
- tccli/services/cynosdb/v20190107/examples.json +8 -0
- tccli/services/dlc/dlc_client.py +53 -0
- tccli/services/dlc/v20210125/api.json +153 -6
- tccli/services/dlc/v20210125/examples.json +14 -6
- tccli/services/dsgc/v20190723/api.json +45 -40
- tccli/services/dts/dts_client.py +0 -53
- tccli/services/dts/v20180330/api.json +0 -98
- tccli/services/dts/v20180330/examples.json +0 -8
- tccli/services/emr/v20190103/api.json +4 -4
- tccli/services/ess/ess_client.py +411 -305
- tccli/services/ess/v20201111/api.json +144 -0
- tccli/services/ess/v20201111/examples.json +16 -0
- tccli/services/essbasic/essbasic_client.py +110 -4
- tccli/services/essbasic/v20210526/api.json +138 -3
- tccli/services/essbasic/v20210526/examples.json +16 -0
- tccli/services/facefusion/v20181201/api.json +12 -12
- tccli/services/facefusion/v20181201/examples.json +4 -4
- tccli/services/iotexplorer/v20190423/api.json +4 -4
- tccli/services/lcic/v20220817/api.json +4 -4
- tccli/services/lighthouse/v20200324/api.json +1 -1
- tccli/services/lke/v20231130/api.json +274 -82
- tccli/services/lke/v20231130/examples.json +11 -5
- tccli/services/mongodb/mongodb_client.py +57 -4
- tccli/services/mongodb/v20190725/api.json +96 -0
- tccli/services/mongodb/v20190725/examples.json +8 -0
- tccli/services/mps/v20190612/api.json +57 -7
- tccli/services/mps/v20190612/examples.json +1 -1
- tccli/services/ocr/v20181119/api.json +373 -3
- tccli/services/organization/organization_client.py +118 -12
- tccli/services/organization/v20210331/api.json +68 -0
- tccli/services/organization/v20210331/examples.json +16 -0
- tccli/services/ses/v20201002/api.json +20 -1
- tccli/services/tdmq/tdmq_client.py +443 -19
- tccli/services/tdmq/v20200217/api.json +607 -17
- tccli/services/tdmq/v20200217/examples.json +64 -0
- tccli/services/tke/v20180525/api.json +33 -21
- tccli/services/tke/v20180525/examples.json +4 -4
- tccli/services/trro/v20220325/api.json +6 -6
- tccli/services/trtc/v20190722/api.json +4 -4
- tccli/services/tsf/v20180326/api.json +37 -27
- tccli/services/tsf/v20180326/examples.json +1 -1
- {tccli-3.0.1133.1.dist-info → tccli-3.0.1135.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1133.1.dist-info → tccli-3.0.1135.1.dist-info}/RECORD +59 -59
- {tccli-3.0.1133.1.dist-info → tccli-3.0.1135.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1133.1.dist-info → tccli-3.0.1135.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1133.1.dist-info → tccli-3.0.1135.1.dist-info}/license_files/LICENSE +0 -0
@@ -194,10 +194,10 @@
|
|
194
194
|
],
|
195
195
|
"DescribeRobotBizIDByAppKey": [
|
196
196
|
{
|
197
|
-
"document": "通过AppKey
|
197
|
+
"document": "通过AppKey查询应用业务ID",
|
198
198
|
"input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRobotBizIDByAppKey\n<公共请求参数>\n\n{\n \"AppKey\": \"xITNfdVe\"\n}",
|
199
199
|
"output": "{\n \"Response\": {\n \"BotBizId\": \"1751945013419311104\",\n \"RequestId\": \"ad3d5826-6cda-4f3c-a620-1749608b7aff\"\n }\n}",
|
200
|
-
"title": "通过AppKey
|
200
|
+
"title": "通过AppKey查询应用业务ID"
|
201
201
|
}
|
202
202
|
],
|
203
203
|
"DescribeStorageCredential": [
|
@@ -206,6 +206,12 @@
|
|
206
206
|
"input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStorageCredential\n<公共请求参数>\n\n{\n \"BotBizId\": \"1727231073371148288\"\n}",
|
207
207
|
"output": "{\n \"Response\": {\n \"Bucket\": \"qidian-qbot-test-1251316161\",\n \"CorpUin\": \"0\",\n \"Credentials\": {\n \"TmpSecretId\": \"AKIDijguNrgnblHncqBKsJBrPV5_J6NCCuklAAvcQlNUiArDzMWbEA97tmXFbydKx839\",\n \"TmpSecretKey\": \"tI2ka75Gsqj46xx8/TbqhTa2VmUYm11Gi08EkAbkaVQ=\",\n \"Token\": \"FS9JPHeDJWa1fjOrV6X0l1XXfwsGUpIa929d1959a6973c640f2248598cf6b21fHmvd_Zw5Geld2CGSAdgsme916AxqAdp3fKBhlKEnTUaUeoFAEUxtiAdL2pL29U9hM8vuRyoY5BJJoH17ucJv5nAoXfR9kaf41NTw0nSUd1XI55EfTzPWUiqOQF7nAyASFeKZZnHq6Capdos04TqSfEYW9ZaODqh0Htc1MCl0rue9Vh9muCJQuMXaH8fkrtigvZHh2fX5yyX4xXJ0mcST1TDbFwFTz5cbUmKMeiwNE_DYXg9Qhbv1LaF9MMFbqCU7UMfWEngpcncHcUL2hPkMYvlZqKAMHjo_SsgaQB8Pg_9gudKUqEDtJhRUzMkyyYYpcZQggGYyPmtbUcGumdugaKPz1HUXiYQWQ_bBVBrqR3V0QiVKWTg8xtgxepJL8RLizOd8q0Oj_cAM9EncPpvjJanaO9xGu7tEjMtD770sbnr0YI2mu16WNgNkhFUucE1OEzeWibshpbCnzi--VArAFuwV30N9ChTobLPd_0rq3J3ekRRobQEMkLxHxS6vcUjCDnYawaVLe9aXtVMD-hy8pVOAydvoB2hxMpczOtHkeyQsy0F-OqCnSI0bhs17OOZfqhoNQhWWR7LI9cSvlP0N-g6QeGpqkAkATTN27W5iLGJoMne49llTDFsD1emH-KTpIL4KcrkPLH_NWN0C52PZByDmAq0xwGCZ5xNU0X9JzUzaMpjVSOlluJDf4_fSzdY8EmBOQCf0EaegY1vDyP3bXTOf8xkRF56AGkYXjm_xpl7zEgXuoojr5yGyOq7iNG4kTCcnkAasZvcbw1ZY9-b6Ae-VlkRnGA5nEUe-v5nsw1UQZAm_YKRDtReQ5vRefZpso76YohBocqbgF1ZF15W__8xVHhX6E4zVrZ9w7Um74fzCyc3_uZH45ockrLr2AH0qjdHE-T397390OXmsON1frQCr7u5Dvkqd4YCLQnuHsPSzB9YO9bXNwzHZU7cGsGliCSi53m1sV2JDu2h07a-i7JyocbHAp4jNW8vIbGjcnjz7qPkOnthztgmScAK1GkeVpOge542a-UEEVxMj6GNWD2D7BMJaxEWV4IG5QsHL13pt3jmlKbSqeovee8OXyn2v4y50zXxwHZdD6i9bVkb7ig\"\n },\n \"ExpiredTime\": 1701429243,\n \"FilePath\": \"/corp/137/doc/\",\n \"Region\": \"ap-guangzhou\",\n \"RequestId\": \"87d578f9-6de5-4515-906e-d28e56d33fe0\",\n \"StartTime\": 1701425643,\n \"Type\": \"cos\"\n }\n}",
|
208
208
|
"title": "获取对象存储上传密钥"
|
209
|
+
},
|
210
|
+
{
|
211
|
+
"document": "离线文档",
|
212
|
+
"input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStorageCredential\n<公共请求参数>\n\n{\n \"BotBizId\": \"1779863007508561920\",\n \"FileType\": \"md\",\n \"TypeKey\": \"offline\"\n}",
|
213
|
+
"output": "{\n \"Response\": {\n \"Bucket\": \"qidian-qbot-test-1251316161\",\n \"CorpUin\": \"0\",\n \"Credentials\": {\n \"TmpSecretId\": \"AKIDlL2FKlsigkCspNQyh2s0-IzKd8cBvmEM-r2e3qOu8ilXs66FFH_-CKmHeAZhFeEV\",\n \"TmpSecretKey\": \"Vlr4JmRzKR4Z1PJxzuSsMZ/O2VlxtmvJCEjPV7s5ruY=\",\n \"Token\": \"fPEfNWwNoY196OMrLtTdt1zsp8dImhWa14cca3e696eb04ac4dfc6f5f1a3a8b19paI6e-FWHCNPijFmf62yF1pPIhtrLz05W2RsGymutFYnsBGI9RfvYtrKTVScVeX_q-PQ5LXND8L78tPNkb39rakw_58aPIgJfZqpmdqQN-bFeJY0OiOJQgexT2V9doqZvy7LusVERxTQalEsTCnaB9juEBd7h_8O9Jc2GGTAs8hZYRTsqwqxfkrZm4oN5ndH0m53RloH2iSWm1BlplB1VlzbUFLsdxLcklcw8pyD0mzYOtW0HiMLRMVlGlmu0HZpSXtvYWFpLrZ-vRPNfxfuFywpU5ZmqHGubte2b8_3iOFPVPgsnT4zLL8tawSfV2qKLdN_lgAfNzguX6ROC_yP-hP5j7jkkBzWsvIcDzTdJmGvkS2vOgA3-uGkVDJwljsm0oPz1rEfxt-mI05z5YYCT7VVeJ-KVWi8UlH6ww9u1NUa9bKarH1XfDddBnh9Womlxb92uOzfv75q2PqIfvaN9BZWrRmfzooPbdIqE74oFaJw6tyZnMu2zAs0VbYRTN0CdiVB-IggNVaWoQulSFWLL7NRSIGUzjyoUyt_K2XYjV64sYG4Cwpiqe3BteV61p6m_IPEM4hEgb23hhIiytg8JmFWwJZNLJ3Uu6SB8kidb7wjTNGucfFGvDXgzOnqVbcQnTeva0PZ3XkjBNdplYd6RdWl7N54zawxk6R4Ib8pZ1hDuogXTJ5sjwVuQmmMYGUroQY39omyLMGl2zxEXm5uig\"\n },\n \"ExpiredTime\": 1717063483,\n \"FilePath\": \"\",\n \"ImagePath\": \"\",\n \"Region\": \"ap-guangzhou\",\n \"RequestId\": \"11b8fa96-4700-4f11-8eb0-421de37ed48d\",\n \"StartTime\": 1717062883,\n \"Type\": \"cos\",\n \"UploadPath\": \"/corp/1737374499879124992/1779863007508561920/doc/QUiGRdWFAFBkDKjhuxbd-1796118032488595456.md\"\n }\n}",
|
214
|
+
"title": "获取文档上传密钥"
|
209
215
|
}
|
210
216
|
],
|
211
217
|
"DescribeUnsatisfiedReplyContext": [
|
@@ -368,7 +374,7 @@
|
|
368
374
|
{
|
369
375
|
"document": "知识标签列表",
|
370
376
|
"input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListAttributeLabel\n<公共请求参数>\n\n{\n \"BotBizId\": \"1696822786072117248\",\n \"PageNumber\": 1,\n \"PageSize\": 15\n}",
|
371
|
-
"output": "{\n \"Response\": {\n \"List\": [\n {\n \"AttrKey\": \"test\",\n \"AttrName\": \"诶皮爱标签\",\n \"IsUpdating\": false,\n \"LabelNames\": [\n \"你好\"\n ]\n }\n ],\n \"RequestId\": \"f949f7b3-c7f1-4e46-8049-db0c872dc174\",\n \"Total\": \"1\"\n }\n}",
|
377
|
+
"output": "{\n \"Response\": {\n \"List\": [\n {\n \"AttrKey\": \"test\",\n \"AttrName\": \"诶皮爱标签\",\n \"IsUpdating\": false,\n \"AttrBizId\": \"1734549420823662592\",\n \"LabelNames\": [\n \"你好\"\n ]\n }\n ],\n \"RequestId\": \"f949f7b3-c7f1-4e46-8049-db0c872dc174\",\n \"Total\": \"1\"\n }\n}",
|
372
378
|
"title": "知识标签列表"
|
373
379
|
}
|
374
380
|
],
|
@@ -583,8 +589,8 @@
|
|
583
589
|
"RetryDocAudit": [
|
584
590
|
{
|
585
591
|
"document": "文档审核重试",
|
586
|
-
"input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RetryDocAudit\n<公共请求参数>\n\n{\n \"BotBizId\": \"
|
587
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
592
|
+
"input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RetryDocAudit\n<公共请求参数>\n\n{\n \"BotBizId\": \"1231212123\",\n \"DocBizId\": \"2131212333\"\n}",
|
593
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"xxsssdf-erw-xxxx\"\n }\n}",
|
588
594
|
"title": "文档审核重试"
|
589
595
|
}
|
590
596
|
],
|
@@ -851,6 +851,58 @@ def doDescribeBackupRules(args, parsed_globals):
|
|
851
851
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
852
852
|
|
853
853
|
|
854
|
+
def doRenameInstance(args, parsed_globals):
|
855
|
+
g_param = parse_global_arg(parsed_globals)
|
856
|
+
|
857
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
858
|
+
cred = credential.CVMRoleCredential()
|
859
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
860
|
+
cred = credential.STSAssumeRoleCredential(
|
861
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
862
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
863
|
+
)
|
864
|
+
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):
|
865
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
866
|
+
else:
|
867
|
+
cred = credential.Credential(
|
868
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
869
|
+
)
|
870
|
+
http_profile = HttpProfile(
|
871
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
872
|
+
reqMethod="POST",
|
873
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
874
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
875
|
+
)
|
876
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
877
|
+
if g_param[OptionsDefine.Language]:
|
878
|
+
profile.language = g_param[OptionsDefine.Language]
|
879
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
880
|
+
client = mod.MongodbClient(cred, g_param[OptionsDefine.Region], profile)
|
881
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
882
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
883
|
+
model = models.RenameInstanceRequest()
|
884
|
+
model.from_json_string(json.dumps(args))
|
885
|
+
start_time = time.time()
|
886
|
+
while True:
|
887
|
+
rsp = client.RenameInstance(model)
|
888
|
+
result = rsp.to_json_string()
|
889
|
+
try:
|
890
|
+
json_obj = json.loads(result)
|
891
|
+
except TypeError as e:
|
892
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
893
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
894
|
+
break
|
895
|
+
cur_time = time.time()
|
896
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
897
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
898
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
899
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
900
|
+
else:
|
901
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
902
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
903
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
904
|
+
|
905
|
+
|
854
906
|
def doDescribeAsyncRequestInfo(args, parsed_globals):
|
855
907
|
g_param = parse_global_arg(parsed_globals)
|
856
908
|
|
@@ -2099,7 +2151,7 @@ def doSetInstanceMaintenance(args, parsed_globals):
|
|
2099
2151
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2100
2152
|
|
2101
2153
|
|
2102
|
-
def
|
2154
|
+
def doModifyInstanceParams(args, parsed_globals):
|
2103
2155
|
g_param = parse_global_arg(parsed_globals)
|
2104
2156
|
|
2105
2157
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -2128,11 +2180,11 @@ def doRenameInstance(args, parsed_globals):
|
|
2128
2180
|
client = mod.MongodbClient(cred, g_param[OptionsDefine.Region], profile)
|
2129
2181
|
client._sdkVersion += ("_CLI_" + __version__)
|
2130
2182
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2131
|
-
model = models.
|
2183
|
+
model = models.ModifyInstanceParamsRequest()
|
2132
2184
|
model.from_json_string(json.dumps(args))
|
2133
2185
|
start_time = time.time()
|
2134
2186
|
while True:
|
2135
|
-
rsp = client.
|
2187
|
+
rsp = client.ModifyInstanceParams(model)
|
2136
2188
|
result = rsp.to_json_string()
|
2137
2189
|
try:
|
2138
2190
|
json_obj = json.loads(result)
|
@@ -2544,6 +2596,7 @@ ACTION_MAP = {
|
|
2544
2596
|
"SetBackupRules": doSetBackupRules,
|
2545
2597
|
"InquirePriceModifyDBInstanceSpec": doInquirePriceModifyDBInstanceSpec,
|
2546
2598
|
"DescribeBackupRules": doDescribeBackupRules,
|
2599
|
+
"RenameInstance": doRenameInstance,
|
2547
2600
|
"DescribeAsyncRequestInfo": doDescribeAsyncRequestInfo,
|
2548
2601
|
"CreateAccountUser": doCreateAccountUser,
|
2549
2602
|
"CreateDBInstanceHour": doCreateDBInstanceHour,
|
@@ -2568,7 +2621,7 @@ ACTION_MAP = {
|
|
2568
2621
|
"DescribeAccountUsers": doDescribeAccountUsers,
|
2569
2622
|
"DescribeSlowLog": doDescribeSlowLog,
|
2570
2623
|
"SetInstanceMaintenance": doSetInstanceMaintenance,
|
2571
|
-
"
|
2624
|
+
"ModifyInstanceParams": doModifyInstanceParams,
|
2572
2625
|
"UpgradeDBInstance": doUpgradeDBInstance,
|
2573
2626
|
"KillOps": doKillOps,
|
2574
2627
|
"EnableTransparentDataEncryption": doEnableTransparentDataEncryption,
|
@@ -238,6 +238,13 @@
|
|
238
238
|
"output": "ModifyDBInstanceSpecResponse",
|
239
239
|
"status": "online"
|
240
240
|
},
|
241
|
+
"ModifyInstanceParams": {
|
242
|
+
"document": "本接口(ModifyInstanceParams)用于修改mongoDB实例的参数配置。",
|
243
|
+
"input": "ModifyInstanceParamsRequest",
|
244
|
+
"name": "修改mongoDB实例参数",
|
245
|
+
"output": "ModifyInstanceParamsResponse",
|
246
|
+
"status": "online"
|
247
|
+
},
|
241
248
|
"OfflineIsolatedDBInstance": {
|
242
249
|
"document": "本接口(OfflineIsolatedDBInstance)用于立即下线隔离状态的云数据库实例。进行操作的实例状态必须为隔离状态。",
|
243
250
|
"input": "OfflineIsolatedDBInstanceRequest",
|
@@ -4685,6 +4692,95 @@
|
|
4685
4692
|
],
|
4686
4693
|
"type": "object"
|
4687
4694
|
},
|
4695
|
+
"ModifyInstanceParamsRequest": {
|
4696
|
+
"document": "ModifyInstanceParams请求参数结构体",
|
4697
|
+
"members": [
|
4698
|
+
{
|
4699
|
+
"disabled": false,
|
4700
|
+
"document": "指定实例 ID。例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。\n",
|
4701
|
+
"example": "\"cmgo-jyjcw8yv\"",
|
4702
|
+
"member": "string",
|
4703
|
+
"name": "InstanceId",
|
4704
|
+
"required": true,
|
4705
|
+
"type": "string"
|
4706
|
+
},
|
4707
|
+
{
|
4708
|
+
"disabled": false,
|
4709
|
+
"document": "指定需修改的参数名及值。当前所支持的参数名及对应取值范围,请通过 [DescribeInstanceParams ](https://cloud.tencent.com/document/product/240/65903)获取。",
|
4710
|
+
"example": "无",
|
4711
|
+
"member": "ModifyMongoDBParamType",
|
4712
|
+
"name": "InstanceParams",
|
4713
|
+
"required": true,
|
4714
|
+
"type": "list"
|
4715
|
+
},
|
4716
|
+
{
|
4717
|
+
"disabled": false,
|
4718
|
+
"document": "操作类型,包括:\n- IMMEDIATELY:立即调整。\n- DELAY:延迟调整。可选字段,不配置该参数则默认为立即调整。",
|
4719
|
+
"example": "IMMEDIATELY",
|
4720
|
+
"member": "string",
|
4721
|
+
"name": "ModifyType",
|
4722
|
+
"required": false,
|
4723
|
+
"type": "string"
|
4724
|
+
}
|
4725
|
+
],
|
4726
|
+
"type": "object"
|
4727
|
+
},
|
4728
|
+
"ModifyInstanceParamsResponse": {
|
4729
|
+
"document": "ModifyInstanceParams返回参数结构体",
|
4730
|
+
"members": [
|
4731
|
+
{
|
4732
|
+
"disabled": false,
|
4733
|
+
"document": "修改参数配置是否生效。\n- true:参数修改后的值已生效。\n- false:执行失败。\n",
|
4734
|
+
"example": "true",
|
4735
|
+
"member": "bool",
|
4736
|
+
"name": "Changed",
|
4737
|
+
"output_required": true,
|
4738
|
+
"type": "bool",
|
4739
|
+
"value_allowed_null": false
|
4740
|
+
},
|
4741
|
+
{
|
4742
|
+
"disabled": false,
|
4743
|
+
"document": "该参数暂时无意义(兼容前端保留)。",
|
4744
|
+
"example": "1",
|
4745
|
+
"member": "uint64",
|
4746
|
+
"name": "TaskId",
|
4747
|
+
"output_required": true,
|
4748
|
+
"type": "int",
|
4749
|
+
"value_allowed_null": false
|
4750
|
+
},
|
4751
|
+
{
|
4752
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
4753
|
+
"member": "string",
|
4754
|
+
"name": "RequestId",
|
4755
|
+
"type": "string"
|
4756
|
+
}
|
4757
|
+
],
|
4758
|
+
"type": "object"
|
4759
|
+
},
|
4760
|
+
"ModifyMongoDBParamType": {
|
4761
|
+
"document": "修改mongoDB实例,请求参数",
|
4762
|
+
"members": [
|
4763
|
+
{
|
4764
|
+
"disabled": false,
|
4765
|
+
"document": "需要修改的参数名称,请严格参考通过 DescribeInstanceParams 获取的当前实例支持的参数名。",
|
4766
|
+
"example": "\"operationProfiling.mode\"",
|
4767
|
+
"member": "string",
|
4768
|
+
"name": "Key",
|
4769
|
+
"required": true,
|
4770
|
+
"type": "string"
|
4771
|
+
},
|
4772
|
+
{
|
4773
|
+
"disabled": false,
|
4774
|
+
"document": "需要修改的参数名称对应的值,请严格参考通过 DescribeInstanceParams 获取的参数对应的值的范围。",
|
4775
|
+
"example": "无",
|
4776
|
+
"member": "string",
|
4777
|
+
"name": "Value",
|
4778
|
+
"required": true,
|
4779
|
+
"type": "string"
|
4780
|
+
}
|
4781
|
+
],
|
4782
|
+
"usage": "in"
|
4783
|
+
},
|
4688
4784
|
"ModifyNetworkAddress": {
|
4689
4785
|
"document": "修改数据库地址",
|
4690
4786
|
"members": [
|
@@ -284,6 +284,14 @@
|
|
284
284
|
"title": "新增mognodb云数据库实例从节点"
|
285
285
|
}
|
286
286
|
],
|
287
|
+
"ModifyInstanceParams": [
|
288
|
+
{
|
289
|
+
"document": "用户发起修改其mongoDB的参数配置",
|
290
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInstanceParams\n<公共请求参数>\n\n{\n \"InstanceId\": \"cmgo-9d0p6umb\",\n \"InstanceParams\": [\n {\n \"Value\": \"operation.profiling.slowOpThresholdMs\",\n \"Key\": \"operation.profiling.slowOpThresholdMs\"\n }\n ]\n}",
|
291
|
+
"output": "{\n \"Response\": {\n \"Changed\": true,\n \"RequestId\": \"e51b4590-db7b-4835-9899-1f5c33f92fbf\",\n \"TaskId\": 0\n }\n}",
|
292
|
+
"title": "修改mongoDB实例参数"
|
293
|
+
}
|
294
|
+
],
|
287
295
|
"OfflineIsolatedDBInstance": [
|
288
296
|
{
|
289
297
|
"document": "",
|
@@ -1485,6 +1485,16 @@
|
|
1485
1485
|
"output_required": false,
|
1486
1486
|
"type": "int",
|
1487
1487
|
"value_allowed_null": true
|
1488
|
+
},
|
1489
|
+
{
|
1490
|
+
"disabled": false,
|
1491
|
+
"document": "hls 分片类型,可选值:\n<li>ts-segment:HLS+TS 切片</li>\n<li>ts-byterange:HLS+TS byte range</li>\n<li>mp4-segment:HLS+MP4 切片</li>\n<li>mp4-byterange:HLS+MP4 byte range</li>\n<li>ts-packed-audio:TS+Packed Audio</li>\n<li>mp4-packed-audio:MP4+Packed Audio</li>\n默认值:ts-segment\n\n注:自适应码流的hls分片格式已此字段为准\n注意:此字段可能返回 null,表示取不到有效值。",
|
1492
|
+
"example": "无",
|
1493
|
+
"member": "string",
|
1494
|
+
"name": "SegmentType",
|
1495
|
+
"output_required": false,
|
1496
|
+
"type": "string",
|
1497
|
+
"value_allowed_null": true
|
1488
1498
|
}
|
1489
1499
|
],
|
1490
1500
|
"usage": "out"
|
@@ -6155,7 +6165,7 @@
|
|
6155
6165
|
"members": [
|
6156
6166
|
{
|
6157
6167
|
"disabled": false,
|
6158
|
-
"document": "音频流的编码格式。\n当不需要对音频进行转码时,可选值为:\n<li>copy。</li>\n当外层参数 Container 为 mp3 时,可选值为:\n<li>mp3。</li>\n当外层参数 Container 为 ogg 或 flac 时,可选值为:\n<li>flac。</li>\n当外层参数 Container 为 m4a 时,可选值为:\n<li>aac;</li>\n<li>mp3;</li>\n<li>ac3。</li>\n当外层参数 Container 为 mp4 或 flv 时,可选值为:\n<li>aac:更适合 mp4;</li>\n<li>mp3:更适合 flv;</li>\n<li>mp2。</li>\n当外层参数 Container 为 hls 时,可选值为:\n<li>aac;</li>\n<li>mp3。</li>",
|
6168
|
+
"document": "音频流的编码格式。\n当不需要对音频进行转码时,可选值为:\n<li>copy。</li>\n当外层参数 Container 为 mp3 时,可选值为:\n<li>mp3。</li>\n当外层参数 Container 为 ogg 或 flac 时,可选值为:\n<li>flac。</li>\n当外层参数 Container 为 m4a 时,可选值为:\n<li>aac;</li>\n<li>mp3;</li>\n<li>ac3。</li>\n<li>eac3。</li>\n当外层参数 Container 为 mp4 或 flv 时,可选值为:\n<li>aac:更适合 mp4;</li>\n<li>mp3:更适合 flv;</li>\n<li>mp2。</li>\n当外层参数 Container 为 hls 时,可选值为:\n<li>aac;</li>\n<li>mp3。</li>",
|
6159
6169
|
"example": "aac",
|
6160
6170
|
"member": "string",
|
6161
6171
|
"name": "Codec",
|
@@ -6205,7 +6215,7 @@
|
|
6205
6215
|
"members": [
|
6206
6216
|
{
|
6207
6217
|
"disabled": false,
|
6208
|
-
"document": "音频流的编码格式。\n当不需要对音频进行转码时,可选值为:\n<li>copy。</li>\n当外层参数 Container 为 mp3 时,可选值为:\n<li>mp3。</li>\n当外层参数 Container 为 ogg 或 flac 时,可选值为:\n<li>flac。</li>\n当外层参数 Container 为 m4a 时,可选值为:\n<li>aac;</li>\n<li>mp3;</li>\n<li>ac3。</li>\n当外层参数 Container 为 mp4 或 flv 时,可选值为:\n<li>aac:更适合 mp4;</li>\n<li>mp3:更适合 flv;</li>\n<li>mp2。</li>\n当外层参数 Container 为 hls 时,可选值为:\n<li>aac;</li>\n<li>mp3。</li>\n注意:此字段可能返回 null,表示取不到有效值。",
|
6218
|
+
"document": "音频流的编码格式。\n当不需要对音频进行转码时,可选值为:\n<li>copy。</li>\n当外层参数 Container 为 mp3 时,可选值为:\n<li>mp3。</li>\n当外层参数 Container 为 ogg 或 flac 时,可选值为:\n<li>flac。</li>\n当外层参数 Container 为 m4a 时,可选值为:\n<li>aac;</li>\n<li>mp3;</li>\n<li>ac3。</li>\n<li>eac3。</li>\n当外层参数 Container 为 mp4 或 flv 时,可选值为:\n<li>aac:更适合 mp4;</li>\n<li>mp3:更适合 flv;</li>\n<li>mp2。</li>\n当外层参数 Container 为 hls 时,可选值为:\n<li>aac;</li>\n<li>mp3。</li>\n注意:此字段可能返回 null,表示取不到有效值。",
|
6209
6219
|
"example": "aac",
|
6210
6220
|
"member": "string",
|
6211
6221
|
"name": "Codec",
|
@@ -7878,6 +7888,15 @@
|
|
7878
7888
|
"name": "PureAudio",
|
7879
7889
|
"required": false,
|
7880
7890
|
"type": "int"
|
7891
|
+
},
|
7892
|
+
{
|
7893
|
+
"disabled": false,
|
7894
|
+
"document": "hls 分片类型,可选值: <li>ts-segment:HLS+TS 切片</li> <li>ts-byterange:HLS+TS byte range</li> <li>mp4-segment:HLS+MP4 切片</li> <li>mp4-byterange:HLS+MP4 byte range</li> <li>ts-packed-audio:TS+Packed Audio</li> <li>mp4-packed-audio:MP4+Packed Audio</li> 默认值:ts-segment \n注:自适应码流的hls分片格式已此字段为准",
|
7895
|
+
"example": "无",
|
7896
|
+
"member": "string",
|
7897
|
+
"name": "SegmentType",
|
7898
|
+
"required": false,
|
7899
|
+
"type": "string"
|
7881
7900
|
}
|
7882
7901
|
],
|
7883
7902
|
"type": "object"
|
@@ -9415,7 +9434,7 @@
|
|
9415
9434
|
"members": [
|
9416
9435
|
{
|
9417
9436
|
"disabled": false,
|
9418
|
-
"document": "封装格式,可选值:mp4、flv、hls、mp3、flac、ogg、m4a。其中,mp3、flac、ogg、m4a 为纯音频文件。",
|
9437
|
+
"document": "封装格式,可选值:mp4、flv、hls、ts、webm、mkv、mxf、mov、mp3、flac、ogg、m4a。其中,mp3、flac、ogg、m4a 为纯音频文件。",
|
9419
9438
|
"example": "mp4",
|
9420
9439
|
"member": "string",
|
9421
9440
|
"name": "Container",
|
@@ -19489,6 +19508,15 @@
|
|
19489
19508
|
"name": "PureAudio",
|
19490
19509
|
"required": false,
|
19491
19510
|
"type": "int"
|
19511
|
+
},
|
19512
|
+
{
|
19513
|
+
"disabled": false,
|
19514
|
+
"document": "hls 分片类型,可选值: <li>ts-segment:HLS+TS 切片</li> <li>ts-byterange:HLS+TS byte range</li> <li>mp4-segment:HLS+MP4 切片</li> <li>mp4-byterange:HLS+MP4 byte range</li> <li>ts-packed-audio:TS+Packed Audio</li> <li>mp4-packed-audio:MP4+Packed Audio</li> 默认值:ts-segment \n注:自适应码流的hls分片格式已此字段为准",
|
19515
|
+
"example": "无",
|
19516
|
+
"member": "string",
|
19517
|
+
"name": "SegmentType",
|
19518
|
+
"required": false,
|
19519
|
+
"type": "string"
|
19492
19520
|
}
|
19493
19521
|
],
|
19494
19522
|
"type": "object"
|
@@ -26134,7 +26162,7 @@
|
|
26134
26162
|
"members": [
|
26135
26163
|
{
|
26136
26164
|
"disabled": false,
|
26137
|
-
"document": "视频流的编码格式,可选值:\n<li>
|
26165
|
+
"document": "视频流的编码格式,可选值:\n<li>h264:H.264 编码</li>\n<li>h265:H.265 编码</li>\n<li>h266:H.266 编码</li>\n<li>av1:AOMedia Video 1 编码</li>\n<li>vp8:VP8 编码</li>\n<li>vp9:VP9 编码</li>\n<li>mpeg2:MPEG2 编码</li>\n<li>dnxhd:DNxHD 编码</li>\n注意:目前 H.265 编码必须指定分辨率,并且需要在 640*480 以内。\n\n注意:av1 编码容器目前只支持 mp4 ,webm,mkv,mov。\n注意:H.266 编码容器目前只支持 mp4 ,hls,ts,mov。\n注意:VP8、VP9编码容器目前只支持webm,mkv。\n注意:MPEG2、dnxhd 编码容器目前只支持mxf。",
|
26138
26166
|
"example": "h264",
|
26139
26167
|
"member": "string",
|
26140
26168
|
"name": "Codec",
|
@@ -26145,7 +26173,7 @@
|
|
26145
26173
|
},
|
26146
26174
|
{
|
26147
26175
|
"disabled": false,
|
26148
|
-
"document": "视频帧率,取值范围:[0, 120],单位:Hz。
|
26176
|
+
"document": "视频帧率,取值范围:[0, 120],单位:Hz。 当取值为 0,表示帧率和原始视频保持一致。\n注意:自适应码率时取值范围是 [0, 60]",
|
26149
26177
|
"example": "0",
|
26150
26178
|
"member": "int64",
|
26151
26179
|
"name": "Fps",
|
@@ -26230,6 +26258,17 @@
|
|
26230
26258
|
"required": false,
|
26231
26259
|
"type": "int",
|
26232
26260
|
"value_allowed_null": false
|
26261
|
+
},
|
26262
|
+
{
|
26263
|
+
"disabled": false,
|
26264
|
+
"document": "hls 分片类型,可选值 :\n<li>6:HLS+TS 切片</li>\n<li>2:HLS+TS byte range</li>\n<li>7:HLS+MP4 切片</li>\n<li>5:HLS+MP4 byte range</li>\n默认值:6\n注意:此字段可能返回 null,表示取不到有效值。",
|
26265
|
+
"example": "无",
|
26266
|
+
"member": "int64",
|
26267
|
+
"name": "SegmentType",
|
26268
|
+
"output_required": false,
|
26269
|
+
"required": false,
|
26270
|
+
"type": "int",
|
26271
|
+
"value_allowed_null": true
|
26233
26272
|
}
|
26234
26273
|
],
|
26235
26274
|
"usage": "both"
|
@@ -26239,7 +26278,7 @@
|
|
26239
26278
|
"members": [
|
26240
26279
|
{
|
26241
26280
|
"disabled": false,
|
26242
|
-
"document": "视频流的编码格式,可选值:\n<li>h264:H.264 编码</li>\n<li>h265:H.265 编码</li>\n<li>av1:AOMedia Video 1 编码</li>\n注意:目前 H.265 编码必须指定分辨率,并且需要在 640*480 以内。\n注意:av1 编码容器目前只支持 mp4 。\n注意:此字段可能返回 null,表示取不到有效值。",
|
26281
|
+
"document": "视频流的编码格式,可选值:\n<li>h264:H.264 编码</li>\n<li>h265:H.265 编码</li>\n<li>h266:H.266 编码</li>\n<li>av1:AOMedia Video 1 编码</li>\n<li>vp8:VP8 编码</li>\n<li>vp9:VP9 编码</li>\n<li>mpeg2:MPEG2 编码</li>\n<li>dnxhd:DNxHD 编码</li>\n注意:目前 H.265 编码必须指定分辨率,并且需要在 640*480 以内。\n\n注意:av1 编码容器目前只支持 mp4 ,webm,mkv,mov。\n注意:H.266 编码容器目前只支持 mp4 ,hls,ts,mov。\n注意:VP8、VP9编码容器目前只支持webm,mkv。\n注意:MPEG2、dnxhd 编码容器目前只支持mxf。\n注意:此字段可能返回 null,表示取不到有效值。",
|
26243
26282
|
"example": "h264",
|
26244
26283
|
"member": "string",
|
26245
26284
|
"name": "Codec",
|
@@ -26250,7 +26289,7 @@
|
|
26250
26289
|
},
|
26251
26290
|
{
|
26252
26291
|
"disabled": false,
|
26253
|
-
"document": "视频帧率,取值范围:[0, 120],单位:Hz
|
26292
|
+
"document": "视频帧率,取值范围:[0, 120],单位:Hz。 当取值为 0,表示帧率和原始视频保持一致。\n注意:此字段可能返回 null,表示取不到有效值。",
|
26254
26293
|
"example": "0",
|
26255
26294
|
"member": "int64",
|
26256
26295
|
"name": "Fps",
|
@@ -26346,6 +26385,17 @@
|
|
26346
26385
|
"required": false,
|
26347
26386
|
"type": "int",
|
26348
26387
|
"value_allowed_null": true
|
26388
|
+
},
|
26389
|
+
{
|
26390
|
+
"disabled": false,
|
26391
|
+
"document": "hls 分片类型,可选值:\n<li>6:HLS+TS 切片</li>\n<li>2:HLS+TS byte range</li>\n<li>7:HLS+MP4 切片</li>\n<li>5:HLS+MP4 byte range</li>\n默认值:6\n注意:此字段可能返回 null,表示取不到有效值。",
|
26392
|
+
"example": "无",
|
26393
|
+
"member": "int64",
|
26394
|
+
"name": "SegmentType",
|
26395
|
+
"output_required": false,
|
26396
|
+
"required": false,
|
26397
|
+
"type": "int",
|
26398
|
+
"value_allowed_null": true
|
26349
26399
|
}
|
26350
26400
|
],
|
26351
26401
|
"usage": "both"
|
@@ -181,7 +181,7 @@
|
|
181
181
|
"CreateTranscodeTemplate": [
|
182
182
|
{
|
183
183
|
"document": "",
|
184
|
-
"input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTranscodeTemplate\n<公共请求参数>\n\n{\n \"RemoveVideo\": 0,\n \"Container\": \"mp4\",\n \"Name\": \"test\",\n \"AudioTemplate\": {\n \"SampleRate\": 44100,\n \"Codec\": \"
|
184
|
+
"input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTranscodeTemplate\n<公共请求参数>\n\n{\n \"RemoveVideo\": 0,\n \"Container\": \"mp4\",\n \"Name\": \"test\",\n \"AudioTemplate\": {\n \"SampleRate\": 44100,\n \"Codec\": \"aac\",\n \"Bitrate\": 200\n },\n \"VideoTemplate\": {\n \"Codec\": \"h264\",\n \"Bitrate\": 256,\n \"Fps\": 45\n },\n \"RemoveAudio\": 0\n}",
|
185
185
|
"output": "{\n \"Response\": {\n \"Definition\": 1008,\n \"RequestId\": \"12ae8d8e-dce3-4151-9d4b-5594145287e1\"\n }\n}",
|
186
186
|
"title": "创建转码模板"
|
187
187
|
}
|