tccli 3.0.1088.1__py2.py3-none-any.whl → 3.0.1090.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/examples/ccc/v20200210/DescribeIvrAudioList.md +32 -0
- tccli/examples/ccc/v20200210/UploadIvrAudio.md +22 -0
- tccli/examples/csip/v20221121/DescribeAssetViewVulRiskList.md +455 -0
- tccli/examples/mongodb/v20190725/FlashBackDBInstance.md +29 -0
- tccli/examples/ssl/v20191205/DeployCertificateInstance.md +3 -3
- tccli/services/bri/v20190328/api.json +2 -2
- tccli/services/ccc/ccc_client.py +110 -4
- tccli/services/ccc/v20200210/api.json +248 -0
- tccli/services/ccc/v20200210/examples.json +16 -0
- tccli/services/csip/csip_client.py +53 -0
- tccli/services/csip/v20221121/api.json +518 -0
- tccli/services/csip/v20221121/examples.json +8 -0
- tccli/services/cvm/v20170312/api.json +1 -1
- tccli/services/ess/v20201111/api.json +18 -0
- tccli/services/essbasic/v20210526/api.json +18 -0
- tccli/services/lcic/v20220817/api.json +5 -5
- tccli/services/lighthouse/v20200324/api.json +1 -1
- tccli/services/live/v20180801/api.json +33 -0
- tccli/services/mongodb/mongodb_client.py +67 -14
- tccli/services/mongodb/v20190725/api.json +161 -0
- tccli/services/mongodb/v20190725/examples.json +8 -0
- tccli/services/ssl/v20191205/api.json +11 -2
- tccli/services/ssl/v20191205/examples.json +2 -2
- tccli/services/vpc/v20170312/api.json +10 -0
- {tccli-3.0.1088.1.dist-info → tccli-3.0.1090.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1088.1.dist-info → tccli-3.0.1090.1.dist-info}/RECORD +30 -26
- {tccli-3.0.1088.1.dist-info → tccli-3.0.1090.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1088.1.dist-info → tccli-3.0.1090.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1088.1.dist-info → tccli-3.0.1090.1.dist-info}/license_files/LICENSE +0 -0
@@ -906,6 +906,15 @@
|
|
906
906
|
"name": "LicenseType",
|
907
907
|
"required": false,
|
908
908
|
"type": "int"
|
909
|
+
},
|
910
|
+
{
|
911
|
+
"disabled": false,
|
912
|
+
"document": "开通成功后前端页面跳转的url,此字段的用法场景请联系客户经理确认。\n\n注:`仅支持H5开通场景`, `跳转链接仅支持 https:// , qianapp:// 开头`\n\n跳转场景:\n<ul><li>**贵方H5 -> 腾讯电子签H5 -> 贵方H5** : JumpUrl格式: https://YOUR_CUSTOM_URL/xxxx,只需满足 https:// 开头的正确且合规的网址即可。</li>\n<li>**贵方原生App -> 腾讯电子签H5 -> 贵方原生App** : JumpUrl格式: qianapp://YOUR_CUSTOM_URL,只需满足 qianapp:// 开头的URL即可。`APP实现方,需要拦截Webview地址跳转,发现url是qianapp:// 开头时跳转到原生页面。`APP拦截地址跳转可参考:<a href='https://stackoverflow.com/questions/41693263/android-webview-err-unknown-url-scheme'>Android</a>,<a href='https://razorpay.com/docs/payments/payment-gateway/web-integration/standard/webview/upi-intent-ios/'>IOS</a> </li></ul>\n\n成功结果返回:\n若贵方需要在跳转回时通过链接query参数提示开通成功,JumpUrl中的query应携带如下参数:`appendResult=qian`。这样腾讯电子签H5会在跳转回的url后面会添加query参数提示贵方签署成功,比如 qianapp://YOUR_CUSTOM_URL?action=sign&result=success&from=tencent_ess",
|
913
|
+
"example": "无",
|
914
|
+
"member": "string",
|
915
|
+
"name": "JumpUrl",
|
916
|
+
"required": false,
|
917
|
+
"type": "string"
|
909
918
|
}
|
910
919
|
],
|
911
920
|
"usage": "in"
|
@@ -3527,6 +3536,15 @@
|
|
3527
3536
|
"name": "ExpiredTime",
|
3528
3537
|
"required": false,
|
3529
3538
|
"type": "int"
|
3539
|
+
},
|
3540
|
+
{
|
3541
|
+
"disabled": false,
|
3542
|
+
"document": "调用方自定义的个性化字段(可自定义此字段的值),并以base64方式编码,支持的最大数据大小为 20480长度。 在个人自动签的开通、关闭等回调信息场景中,该字段的信息将原封不动地透传给贵方。 ",
|
3543
|
+
"example": "无",
|
3544
|
+
"member": "string",
|
3545
|
+
"name": "UserData",
|
3546
|
+
"required": false,
|
3547
|
+
"type": "string"
|
3530
3548
|
}
|
3531
3549
|
],
|
3532
3550
|
"type": "object"
|
@@ -1688,7 +1688,7 @@
|
|
1688
1688
|
},
|
1689
1689
|
{
|
1690
1690
|
"disabled": false,
|
1691
|
-
"document": "房间类型: 0 小班课(默认值); 1 大班课; 2 1V1 (预留参数,暂未开放)",
|
1691
|
+
"document": "房间类型: 0 小班课(默认值); 1 大班课; 2 1V1 (预留参数,暂未开放)\n注:大班课的布局(layout)只有三分屏",
|
1692
1692
|
"example": "0",
|
1693
1693
|
"member": "int64",
|
1694
1694
|
"name": "RoomType",
|
@@ -3319,7 +3319,7 @@
|
|
3319
3319
|
},
|
3320
3320
|
{
|
3321
3321
|
"disabled": false,
|
3322
|
-
"document": "房间类型: 0 小班课(默认值); 1 大班课; 2 1V1 (后续扩展)",
|
3322
|
+
"document": "房间类型: 0 小班课(默认值); 1 大班课; 2 1V1 (后续扩展)\n注:大班课的布局(layout)只有三分屏",
|
3323
3323
|
"example": "0",
|
3324
3324
|
"member": "int64",
|
3325
3325
|
"name": "RoomType",
|
@@ -5476,7 +5476,7 @@
|
|
5476
5476
|
},
|
5477
5477
|
{
|
5478
5478
|
"disabled": false,
|
5479
|
-
"document": "房间类型: 0 小班课(默认值); 1 大班课; 2 1V1 (预留参数、暂未开放)",
|
5479
|
+
"document": "房间类型: 0 小班课(默认值); 1 大班课; 2 1V1 (预留参数、暂未开放)\n注:大班课的布局(layout)只有三分屏",
|
5480
5480
|
"example": "0",
|
5481
5481
|
"member": "uint64",
|
5482
5482
|
"name": "RoomType",
|
@@ -5998,7 +5998,7 @@
|
|
5998
5998
|
},
|
5999
5999
|
{
|
6000
6000
|
"disabled": false,
|
6001
|
-
"document": "房间类型: 0 小班课(默认值); 1 大班课; 2 1V1 (后续扩展)",
|
6001
|
+
"document": "房间类型: 0 小班课(默认值); 1 大班课; 2 1V1 (后续扩展)\n注:大班课的布局(layout)只有三分屏",
|
6002
6002
|
"example": "0",
|
6003
6003
|
"member": "int64",
|
6004
6004
|
"name": "RoomType",
|
@@ -6236,7 +6236,7 @@
|
|
6236
6236
|
},
|
6237
6237
|
{
|
6238
6238
|
"disabled": false,
|
6239
|
-
"document": "房间类型。0:小班课(默认值);1:大班课;2:1V1(后续扩展)\n注意:此字段可能返回 null,表示取不到有效值。",
|
6239
|
+
"document": "房间类型。0:小班课(默认值);1:大班课;2:1V1(后续扩展)\n注:大班课的布局(layout)只有三分屏\n注意:此字段可能返回 null,表示取不到有效值。",
|
6240
6240
|
"example": "0",
|
6241
6241
|
"member": "int64",
|
6242
6242
|
"name": "RoomType",
|
@@ -8095,7 +8095,7 @@
|
|
8095
8095
|
},
|
8096
8096
|
{
|
8097
8097
|
"disabled": false,
|
8098
|
-
"document": "
|
8098
|
+
"document": "自动续费标识。取值范围:\n\n- NOTIFY_AND_AUTO_RENEW:通知过期且自动续费\n- NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费\n- DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费\n\n若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。",
|
8099
8099
|
"example": "NOTIFY_AND_AUTO_RENEW",
|
8100
8100
|
"member": "string",
|
8101
8101
|
"name": "RenewFlag",
|
@@ -15226,6 +15226,39 @@
|
|
15226
15226
|
"required": false,
|
15227
15227
|
"type": "int",
|
15228
15228
|
"value_allowed_null": true
|
15229
|
+
},
|
15230
|
+
{
|
15231
|
+
"disabled": false,
|
15232
|
+
"document": "存储至 cos 的 bucket 桶名称。\n注意:此字段可能返回 null,表示取不到有效值。",
|
15233
|
+
"example": "test",
|
15234
|
+
"member": "string",
|
15235
|
+
"name": "CosBucketName",
|
15236
|
+
"output_required": true,
|
15237
|
+
"required": false,
|
15238
|
+
"type": "string",
|
15239
|
+
"value_allowed_null": true
|
15240
|
+
},
|
15241
|
+
{
|
15242
|
+
"disabled": false,
|
15243
|
+
"document": "存储至 cos 的 bucket 区域。\n注意:此字段可能返回 null,表示取不到有效值。",
|
15244
|
+
"example": "test",
|
15245
|
+
"member": "string",
|
15246
|
+
"name": "CosBucketRegion",
|
15247
|
+
"output_required": true,
|
15248
|
+
"required": false,
|
15249
|
+
"type": "string",
|
15250
|
+
"value_allowed_null": true
|
15251
|
+
},
|
15252
|
+
{
|
15253
|
+
"disabled": false,
|
15254
|
+
"document": "存储至 cos 的 bucket 路径。\n注意:此字段可能返回 null,表示取不到有效值。",
|
15255
|
+
"example": "test",
|
15256
|
+
"member": "string",
|
15257
|
+
"name": "CosBucketPath",
|
15258
|
+
"output_required": true,
|
15259
|
+
"required": false,
|
15260
|
+
"type": "string",
|
15261
|
+
"value_allowed_null": true
|
15229
15262
|
}
|
15230
15263
|
],
|
15231
15264
|
"usage": "both"
|
@@ -799,7 +799,7 @@ def doDescribeAsyncRequestInfo(args, parsed_globals):
|
|
799
799
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
800
800
|
|
801
801
|
|
802
|
-
def
|
802
|
+
def doCreateAccountUser(args, parsed_globals):
|
803
803
|
g_param = parse_global_arg(parsed_globals)
|
804
804
|
|
805
805
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -828,11 +828,11 @@ def doModifyDBInstanceNetworkAddress(args, parsed_globals):
|
|
828
828
|
client = mod.MongodbClient(cred, g_param[OptionsDefine.Region], profile)
|
829
829
|
client._sdkVersion += ("_CLI_" + __version__)
|
830
830
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
831
|
-
model = models.
|
831
|
+
model = models.CreateAccountUserRequest()
|
832
832
|
model.from_json_string(json.dumps(args))
|
833
833
|
start_time = time.time()
|
834
834
|
while True:
|
835
|
-
rsp = client.
|
835
|
+
rsp = client.CreateAccountUser(model)
|
836
836
|
result = rsp.to_json_string()
|
837
837
|
try:
|
838
838
|
json_obj = json.loads(result)
|
@@ -1111,6 +1111,58 @@ def doUpgradeDBInstanceHour(args, parsed_globals):
|
|
1111
1111
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1112
1112
|
|
1113
1113
|
|
1114
|
+
def doFlashBackDBInstance(args, parsed_globals):
|
1115
|
+
g_param = parse_global_arg(parsed_globals)
|
1116
|
+
|
1117
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1118
|
+
cred = credential.CVMRoleCredential()
|
1119
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1120
|
+
cred = credential.STSAssumeRoleCredential(
|
1121
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1122
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1123
|
+
)
|
1124
|
+
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):
|
1125
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1126
|
+
else:
|
1127
|
+
cred = credential.Credential(
|
1128
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1129
|
+
)
|
1130
|
+
http_profile = HttpProfile(
|
1131
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1132
|
+
reqMethod="POST",
|
1133
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1134
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1135
|
+
)
|
1136
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1137
|
+
if g_param[OptionsDefine.Language]:
|
1138
|
+
profile.language = g_param[OptionsDefine.Language]
|
1139
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1140
|
+
client = mod.MongodbClient(cred, g_param[OptionsDefine.Region], profile)
|
1141
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1142
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1143
|
+
model = models.FlashBackDBInstanceRequest()
|
1144
|
+
model.from_json_string(json.dumps(args))
|
1145
|
+
start_time = time.time()
|
1146
|
+
while True:
|
1147
|
+
rsp = client.FlashBackDBInstance(model)
|
1148
|
+
result = rsp.to_json_string()
|
1149
|
+
try:
|
1150
|
+
json_obj = json.loads(result)
|
1151
|
+
except TypeError as e:
|
1152
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1153
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1154
|
+
break
|
1155
|
+
cur_time = time.time()
|
1156
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1157
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1158
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1159
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1160
|
+
else:
|
1161
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1162
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1163
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1164
|
+
|
1165
|
+
|
1114
1166
|
def doDescribeDBInstances(args, parsed_globals):
|
1115
1167
|
g_param = parse_global_arg(parsed_globals)
|
1116
1168
|
|
@@ -1319,7 +1371,7 @@ def doDescribeSlowLogs(args, parsed_globals):
|
|
1319
1371
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1320
1372
|
|
1321
1373
|
|
1322
|
-
def
|
1374
|
+
def doModifyDBInstanceNetworkAddress(args, parsed_globals):
|
1323
1375
|
g_param = parse_global_arg(parsed_globals)
|
1324
1376
|
|
1325
1377
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1348,11 +1400,11 @@ def doCreateDBInstance(args, parsed_globals):
|
|
1348
1400
|
client = mod.MongodbClient(cred, g_param[OptionsDefine.Region], profile)
|
1349
1401
|
client._sdkVersion += ("_CLI_" + __version__)
|
1350
1402
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1351
|
-
model = models.
|
1403
|
+
model = models.ModifyDBInstanceNetworkAddressRequest()
|
1352
1404
|
model.from_json_string(json.dumps(args))
|
1353
1405
|
start_time = time.time()
|
1354
1406
|
while True:
|
1355
|
-
rsp = client.
|
1407
|
+
rsp = client.ModifyDBInstanceNetworkAddress(model)
|
1356
1408
|
result = rsp.to_json_string()
|
1357
1409
|
try:
|
1358
1410
|
json_obj = json.loads(result)
|
@@ -1371,7 +1423,7 @@ def doCreateDBInstance(args, parsed_globals):
|
|
1371
1423
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1372
1424
|
|
1373
1425
|
|
1374
|
-
def
|
1426
|
+
def doCreateDBInstance(args, parsed_globals):
|
1375
1427
|
g_param = parse_global_arg(parsed_globals)
|
1376
1428
|
|
1377
1429
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1400,11 +1452,11 @@ def doModifyDBInstanceSpec(args, parsed_globals):
|
|
1400
1452
|
client = mod.MongodbClient(cred, g_param[OptionsDefine.Region], profile)
|
1401
1453
|
client._sdkVersion += ("_CLI_" + __version__)
|
1402
1454
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1403
|
-
model = models.
|
1455
|
+
model = models.CreateDBInstanceRequest()
|
1404
1456
|
model.from_json_string(json.dumps(args))
|
1405
1457
|
start_time = time.time()
|
1406
1458
|
while True:
|
1407
|
-
rsp = client.
|
1459
|
+
rsp = client.CreateDBInstance(model)
|
1408
1460
|
result = rsp.to_json_string()
|
1409
1461
|
try:
|
1410
1462
|
json_obj = json.loads(result)
|
@@ -1423,7 +1475,7 @@ def doModifyDBInstanceSpec(args, parsed_globals):
|
|
1423
1475
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1424
1476
|
|
1425
1477
|
|
1426
|
-
def
|
1478
|
+
def doModifyDBInstanceSpec(args, parsed_globals):
|
1427
1479
|
g_param = parse_global_arg(parsed_globals)
|
1428
1480
|
|
1429
1481
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1452,11 +1504,11 @@ def doCreateAccountUser(args, parsed_globals):
|
|
1452
1504
|
client = mod.MongodbClient(cred, g_param[OptionsDefine.Region], profile)
|
1453
1505
|
client._sdkVersion += ("_CLI_" + __version__)
|
1454
1506
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1455
|
-
model = models.
|
1507
|
+
model = models.ModifyDBInstanceSpecRequest()
|
1456
1508
|
model.from_json_string(json.dumps(args))
|
1457
1509
|
start_time = time.time()
|
1458
1510
|
while True:
|
1459
|
-
rsp = client.
|
1511
|
+
rsp = client.ModifyDBInstanceSpec(model)
|
1460
1512
|
result = rsp.to_json_string()
|
1461
1513
|
try:
|
1462
1514
|
json_obj = json.loads(result)
|
@@ -2283,19 +2335,20 @@ ACTION_MAP = {
|
|
2283
2335
|
"IsolateDBInstance": doIsolateDBInstance,
|
2284
2336
|
"InquirePriceModifyDBInstanceSpec": doInquirePriceModifyDBInstanceSpec,
|
2285
2337
|
"DescribeAsyncRequestInfo": doDescribeAsyncRequestInfo,
|
2286
|
-
"
|
2338
|
+
"CreateAccountUser": doCreateAccountUser,
|
2287
2339
|
"CreateDBInstanceHour": doCreateDBInstanceHour,
|
2288
2340
|
"TerminateDBInstance": doTerminateDBInstance,
|
2289
2341
|
"RenewDBInstances": doRenewDBInstances,
|
2290
2342
|
"CreateBackupDownloadTask": doCreateBackupDownloadTask,
|
2291
2343
|
"UpgradeDBInstanceHour": doUpgradeDBInstanceHour,
|
2344
|
+
"FlashBackDBInstance": doFlashBackDBInstance,
|
2292
2345
|
"DescribeDBInstances": doDescribeDBInstances,
|
2293
2346
|
"OfflineIsolatedDBInstance": doOfflineIsolatedDBInstance,
|
2294
2347
|
"DescribeSlowLogPatterns": doDescribeSlowLogPatterns,
|
2295
2348
|
"DescribeSlowLogs": doDescribeSlowLogs,
|
2349
|
+
"ModifyDBInstanceNetworkAddress": doModifyDBInstanceNetworkAddress,
|
2296
2350
|
"CreateDBInstance": doCreateDBInstance,
|
2297
2351
|
"ModifyDBInstanceSpec": doModifyDBInstanceSpec,
|
2298
|
-
"CreateAccountUser": doCreateAccountUser,
|
2299
2352
|
"DescribeInstanceParams": doDescribeInstanceParams,
|
2300
2353
|
"DescribeSpecInfo": doDescribeSpecInfo,
|
2301
2354
|
"DescribeBackupDownloadTask": doDescribeBackupDownloadTask,
|
@@ -147,6 +147,13 @@
|
|
147
147
|
"output": "DescribeSpecInfoResponse",
|
148
148
|
"status": "online"
|
149
149
|
},
|
150
|
+
"FlashBackDBInstance": {
|
151
|
+
"document": "该接口用于发起按 Key 闪回任务,依据数据的闪回 Key(默认为 id)对数据进行极速回档,快速恢复业务。\n**说明:按 Key 闪回于2023年09月11日正式进行公测,在此期间,该接口仅对公测用户开放。**",
|
152
|
+
"input": "FlashBackDBInstanceRequest",
|
153
|
+
"name": "按 Key 回档",
|
154
|
+
"output": "FlashBackDBInstanceResponse",
|
155
|
+
"status": "online"
|
156
|
+
},
|
150
157
|
"FlushInstanceRouterConfig": {
|
151
158
|
"document": "在所有mongos上执行FlushRouterConfig命令",
|
152
159
|
"input": "FlushInstanceRouterConfigRequest",
|
@@ -2747,6 +2754,160 @@
|
|
2747
2754
|
],
|
2748
2755
|
"type": "object"
|
2749
2756
|
},
|
2757
|
+
"FBKeyValue": {
|
2758
|
+
"document": "按key回档,用于筛选数据的键值对",
|
2759
|
+
"members": [
|
2760
|
+
{
|
2761
|
+
"disabled": false,
|
2762
|
+
"document": "用于按key回档过滤的key",
|
2763
|
+
"example": "无",
|
2764
|
+
"member": "string",
|
2765
|
+
"name": "Key",
|
2766
|
+
"required": false,
|
2767
|
+
"type": "string"
|
2768
|
+
},
|
2769
|
+
{
|
2770
|
+
"disabled": false,
|
2771
|
+
"document": "用于按key回档过滤的value",
|
2772
|
+
"example": "无",
|
2773
|
+
"member": "string",
|
2774
|
+
"name": "Value",
|
2775
|
+
"required": false,
|
2776
|
+
"type": "string"
|
2777
|
+
}
|
2778
|
+
],
|
2779
|
+
"usage": "in"
|
2780
|
+
},
|
2781
|
+
"FlashBackDBInstanceRequest": {
|
2782
|
+
"document": "FlashBackDBInstance请求参数结构体",
|
2783
|
+
"members": [
|
2784
|
+
{
|
2785
|
+
"disabled": false,
|
2786
|
+
"document": "开启按 Key 回档的实例 ID。",
|
2787
|
+
"example": "cmgo-igjysqkr",
|
2788
|
+
"member": "string",
|
2789
|
+
"name": "InstanceId",
|
2790
|
+
"required": true,
|
2791
|
+
"type": "string"
|
2792
|
+
},
|
2793
|
+
{
|
2794
|
+
"disabled": false,
|
2795
|
+
"document": "源数据想恢复到的时间。",
|
2796
|
+
"example": "2023-08-04 14:00:00",
|
2797
|
+
"member": "string",
|
2798
|
+
"name": "TargetFlashbackTime",
|
2799
|
+
"required": true,
|
2800
|
+
"type": "string"
|
2801
|
+
},
|
2802
|
+
{
|
2803
|
+
"disabled": false,
|
2804
|
+
"document": "源数据所在的库表信息。",
|
2805
|
+
"example": "无",
|
2806
|
+
"member": "FlashbackDatabase",
|
2807
|
+
"name": "TargetDatabases",
|
2808
|
+
"required": true,
|
2809
|
+
"type": "list"
|
2810
|
+
},
|
2811
|
+
{
|
2812
|
+
"disabled": false,
|
2813
|
+
"document": "数据最终写入的实例 ID。",
|
2814
|
+
"example": "无",
|
2815
|
+
"member": "string",
|
2816
|
+
"name": "TargetInstanceId",
|
2817
|
+
"required": false,
|
2818
|
+
"type": "string"
|
2819
|
+
}
|
2820
|
+
],
|
2821
|
+
"type": "object"
|
2822
|
+
},
|
2823
|
+
"FlashBackDBInstanceResponse": {
|
2824
|
+
"document": "FlashBackDBInstance返回参数结构体",
|
2825
|
+
"members": [
|
2826
|
+
{
|
2827
|
+
"disabled": false,
|
2828
|
+
"document": "回档数据异步任务 ID。\n注意:此字段可能返回 null,表示取不到有效值。",
|
2829
|
+
"example": "无",
|
2830
|
+
"member": "int64",
|
2831
|
+
"name": "FlowId",
|
2832
|
+
"output_required": false,
|
2833
|
+
"type": "int",
|
2834
|
+
"value_allowed_null": true
|
2835
|
+
},
|
2836
|
+
{
|
2837
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
2838
|
+
"member": "string",
|
2839
|
+
"name": "RequestId",
|
2840
|
+
"type": "string"
|
2841
|
+
}
|
2842
|
+
],
|
2843
|
+
"type": "object"
|
2844
|
+
},
|
2845
|
+
"FlashbackCollection": {
|
2846
|
+
"document": "按key回档,源数据所在的表",
|
2847
|
+
"members": [
|
2848
|
+
{
|
2849
|
+
"disabled": false,
|
2850
|
+
"document": "按key回档指定的集合名",
|
2851
|
+
"example": "无",
|
2852
|
+
"member": "string",
|
2853
|
+
"name": "CollectionName",
|
2854
|
+
"required": true,
|
2855
|
+
"type": "string"
|
2856
|
+
},
|
2857
|
+
{
|
2858
|
+
"disabled": false,
|
2859
|
+
"document": "按key回档到的目标集合名",
|
2860
|
+
"example": "无",
|
2861
|
+
"member": "string",
|
2862
|
+
"name": "TargetResultCollectionName",
|
2863
|
+
"required": true,
|
2864
|
+
"type": "string"
|
2865
|
+
},
|
2866
|
+
{
|
2867
|
+
"disabled": false,
|
2868
|
+
"document": "上传到cos的文件的value所对应的key值",
|
2869
|
+
"example": "无",
|
2870
|
+
"member": "string",
|
2871
|
+
"name": "FilterKey",
|
2872
|
+
"required": true,
|
2873
|
+
"type": "string"
|
2874
|
+
},
|
2875
|
+
{
|
2876
|
+
"disabled": false,
|
2877
|
+
"document": "用于按key回档过滤的键值对",
|
2878
|
+
"example": "无",
|
2879
|
+
"member": "FBKeyValue",
|
2880
|
+
"name": "KeyValues",
|
2881
|
+
"required": false,
|
2882
|
+
"type": "list"
|
2883
|
+
}
|
2884
|
+
],
|
2885
|
+
"usage": "in"
|
2886
|
+
},
|
2887
|
+
"FlashbackDatabase": {
|
2888
|
+
"document": "按key回档,源数据所在的库表",
|
2889
|
+
"members": [
|
2890
|
+
{
|
2891
|
+
"disabled": false,
|
2892
|
+
"document": "按key回档源数据所在库",
|
2893
|
+
"example": "无",
|
2894
|
+
"member": "string",
|
2895
|
+
"name": "DBName",
|
2896
|
+
"required": true,
|
2897
|
+
"type": "string"
|
2898
|
+
},
|
2899
|
+
{
|
2900
|
+
"disabled": false,
|
2901
|
+
"document": "按key回档的集群数组",
|
2902
|
+
"example": "无",
|
2903
|
+
"member": "FlashbackCollection",
|
2904
|
+
"name": "Collections",
|
2905
|
+
"required": true,
|
2906
|
+
"type": "list"
|
2907
|
+
}
|
2908
|
+
],
|
2909
|
+
"usage": "in"
|
2910
|
+
},
|
2750
2911
|
"FlushInstanceRouterConfigRequest": {
|
2751
2912
|
"document": "FlushInstanceRouterConfig请求参数结构体",
|
2752
2913
|
"members": [
|
@@ -168,6 +168,14 @@
|
|
168
168
|
"title": "查询云数据库售卖"
|
169
169
|
}
|
170
170
|
],
|
171
|
+
"FlashBackDBInstance": [
|
172
|
+
{
|
173
|
+
"document": "",
|
174
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: FlashBackDBInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"cmgo-igjysqkr\",\n \"TargetFlashbackTime\": \"2023-08-04 14:00:00\",\n \"TargetDatabases\": [\n {\n \"DBName\": \"my_test\",\n \"Collections\": [\n {\n \"CollectionName\": \"my_test1\",\n \"KeyValues\": [\n {\n \"Key\": \"name\",\n \"Value\": \"abc\"\n }\n ],\n \"TargetResultCollectionName\": \"my_test_bak0804143230\",\n \"FilterKey\": \"name\"\n }\n ]\n }\n ],\n \"TargetInstanceId\": \"cmgo-05173fe7\"\n}",
|
175
|
+
"output": "{\n \"Response\": {\n \"FlowId\": 1234567,\n \"RequestId\": \"abc\"\n }\n}",
|
176
|
+
"title": "执行按key回档"
|
177
|
+
}
|
178
|
+
],
|
171
179
|
"FlushInstanceRouterConfig": [
|
172
180
|
{
|
173
181
|
"document": "",
|
@@ -2551,6 +2551,15 @@
|
|
2551
2551
|
"name": "Status",
|
2552
2552
|
"required": false,
|
2553
2553
|
"type": "int"
|
2554
|
+
},
|
2555
|
+
{
|
2556
|
+
"disabled": false,
|
2557
|
+
"document": "是否查询缓存,1:是; 0:否, 默认为查询缓存,缓存半小时",
|
2558
|
+
"example": "无",
|
2559
|
+
"member": "uint64",
|
2560
|
+
"name": "IsCache",
|
2561
|
+
"required": false,
|
2562
|
+
"type": "int"
|
2554
2563
|
}
|
2555
2564
|
],
|
2556
2565
|
"type": "object"
|
@@ -2564,7 +2573,7 @@
|
|
2564
2573
|
"example": "无",
|
2565
2574
|
"member": "uint64",
|
2566
2575
|
"name": "DeployRecordId",
|
2567
|
-
"
|
2576
|
+
"output_required": true,
|
2568
2577
|
"type": "int",
|
2569
2578
|
"value_allowed_null": true
|
2570
2579
|
},
|
@@ -2574,7 +2583,7 @@
|
|
2574
2583
|
"example": "无",
|
2575
2584
|
"member": "int64",
|
2576
2585
|
"name": "DeployStatus",
|
2577
|
-
"
|
2586
|
+
"output_required": true,
|
2578
2587
|
"type": "int",
|
2579
2588
|
"value_allowed_null": false
|
2580
2589
|
},
|
@@ -96,9 +96,9 @@
|
|
96
96
|
],
|
97
97
|
"DeployCertificateInstance": [
|
98
98
|
{
|
99
|
-
"document": "证书部署到clb
|
99
|
+
"document": "证书部署到clb云资源实例列表, 若部署的监听器开启了SNI,则InstanceIdList传参需要到域名, 若未开启SNI, InstanceIdList只需要到监听器",
|
100
100
|
"input": "POST / HTTP/1.1\nHost: ssl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeployCertificateInstance\n<公共请求参数>\n\n{\n \"CertificateId\": \"vyRlKIeI\",\n \"InstanceIdList\": [\n \"lb-pk278gkq|lbl-2yju432e\",\n \"lb-mmgz14kg|lbl-5q6yn03o|asdasd.ninghhuang.top\"\n ]\n}",
|
101
|
-
"output": "{\n \"Response\": {\n \"
|
101
|
+
"output": "{\n \"Response\": {\n \"DeployRecordId\": 1,\n \"DeployStatus\": 0,\n \"RequestId\": \"abc\"\n }\n}",
|
102
102
|
"title": "证书部署到clb云资源实例列表"
|
103
103
|
}
|
104
104
|
],
|
@@ -2770,6 +2770,16 @@
|
|
2770
2770
|
"output_required": false,
|
2771
2771
|
"type": "string",
|
2772
2772
|
"value_allowed_null": false
|
2773
|
+
},
|
2774
|
+
{
|
2775
|
+
"disabled": false,
|
2776
|
+
"document": "当前公网IP所关联的带宽包ID,如果该公网IP未使用带宽包计费,则返回为空\n注意:此字段可能返回 null,表示取不到有效值。",
|
2777
|
+
"example": "bwp-ki2fa60h",
|
2778
|
+
"member": "string",
|
2779
|
+
"name": "BandwidthPackageId",
|
2780
|
+
"output_required": false,
|
2781
|
+
"type": "string",
|
2782
|
+
"value_allowed_null": true
|
2773
2783
|
}
|
2774
2784
|
],
|
2775
2785
|
"usage": "out"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: tccli
|
3
|
-
Version: 3.0.
|
3
|
+
Version: 3.0.1090.1
|
4
4
|
Summary: Universal Command Line Environment for Tencent Cloud
|
5
5
|
Project-URL: Bug Tracker, https://github.com/TencentCloud/tencentcloud-cli/issues
|
6
6
|
Project-URL: Homepage, https://github.com/TencentCloud/tencentcloud-cli
|
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
13
13
|
Classifier: Programming Language :: Python :: 3
|
14
14
|
Requires-Dist: jmespath==0.10.0
|
15
15
|
Requires-Dist: six==1.16.0
|
16
|
-
Requires-Dist: tencentcloud-sdk-python>=3.0.
|
16
|
+
Requires-Dist: tencentcloud-sdk-python>=3.0.1090
|
17
17
|
Description-Content-Type: text/markdown
|
18
18
|
|
19
19
|
# 命令行工具简介
|