tccli 3.0.1016.1__py2.py3-none-any.whl → 3.0.1018.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.
Files changed (48) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/bi/v20220105/CreateEmbedToken.md +4 -2
  3. tccli/examples/cls/v20201016/CreateDeliverCloudFunction.md +6 -7
  4. tccli/examples/cls/v20201016/DescribeConfigExtras.md +69 -41
  5. tccli/examples/cls/v20201016/DescribeConfigMachineGroups.md +13 -6
  6. tccli/examples/cls/v20201016/DescribeDashboards.md +18 -23
  7. tccli/examples/cls/v20201016/DescribeMachineGroupConfigs.md +33 -27
  8. tccli/examples/cls/v20201016/GetAlarmLog.md +2 -0
  9. tccli/examples/es/v20180416/InquirePriceRenewInstance.md +24 -0
  10. tccli/examples/faceid/v20180301/ImageRecognitionV2.md +25 -0
  11. tccli/examples/monitor/v20180724/UpdateGrafanaNotificationChannel.md +2 -2
  12. tccli/examples/ms/v20180408/DestroyResourceInstances.md +50 -0
  13. tccli/examples/ocr/v20181119/BizLicenseOCR.md +1 -0
  14. tccli/services/bi/v20220105/api.json +37 -0
  15. tccli/services/bi/v20220105/examples.json +2 -2
  16. tccli/services/car/v20220110/api.json +1 -1
  17. tccli/services/cdb/v20170320/api.json +4 -2
  18. tccli/services/cdc/v20201214/api.json +12 -12
  19. tccli/services/clb/v20180317/api.json +4 -4
  20. tccli/services/cls/v20201016/api.json +17 -7
  21. tccli/services/cls/v20201016/examples.json +13 -13
  22. tccli/services/cme/v20191029/api.json +6 -9
  23. tccli/services/cynosdb/v20190107/api.json +10 -0
  24. tccli/services/dts/v20211206/api.json +39 -8
  25. tccli/services/es/es_client.py +53 -0
  26. tccli/services/es/v20180416/api.json +77 -3
  27. tccli/services/es/v20180416/examples.json +8 -0
  28. tccli/services/ess/v20201111/api.json +2 -2
  29. tccli/services/essbasic/v20210526/api.json +3 -3
  30. tccli/services/faceid/faceid_client.py +53 -0
  31. tccli/services/faceid/v20180301/api.json +100 -0
  32. tccli/services/faceid/v20180301/examples.json +8 -0
  33. tccli/services/gme/v20180711/api.json +4 -4
  34. tccli/services/lighthouse/v20200324/api.json +85 -83
  35. tccli/services/monitor/v20180724/api.json +125 -45
  36. tccli/services/monitor/v20180724/examples.json +2 -2
  37. tccli/services/ms/ms_client.py +53 -0
  38. tccli/services/ms/v20180408/api.json +83 -0
  39. tccli/services/ms/v20180408/examples.json +14 -0
  40. tccli/services/ocr/v20181119/api.json +10 -0
  41. tccli/services/ocr/v20181119/examples.json +1 -1
  42. tccli/services/teo/v20220901/api.json +75 -8
  43. tccli/services/weilingwith/v20230427/api.json +83 -83
  44. {tccli-3.0.1016.1.dist-info → tccli-3.0.1018.1.dist-info}/METADATA +2 -2
  45. {tccli-3.0.1016.1.dist-info → tccli-3.0.1018.1.dist-info}/RECORD +48 -45
  46. {tccli-3.0.1016.1.dist-info → tccli-3.0.1018.1.dist-info}/WHEEL +0 -0
  47. {tccli-3.0.1016.1.dist-info → tccli-3.0.1018.1.dist-info}/entry_points.txt +0 -0
  48. {tccli-3.0.1016.1.dist-info → tccli-3.0.1018.1.dist-info}/license_files/LICENSE +0 -0
@@ -1165,7 +1165,7 @@
1165
1165
  "example": "01e1f33f-b4ec-43db-8fd0-6f7e163e6ca5",
1166
1166
  "member": "string",
1167
1167
  "name": "AlarmId",
1168
- "required": true,
1168
+ "output_required": true,
1169
1169
  "type": "string",
1170
1170
  "value_allowed_null": false
1171
1171
  },
@@ -1175,7 +1175,7 @@
1175
1175
  "example": "MT_QCE",
1176
1176
  "member": "string",
1177
1177
  "name": "MonitorType",
1178
- "required": true,
1178
+ "output_required": true,
1179
1179
  "type": "string",
1180
1180
  "value_allowed_null": false
1181
1181
  },
@@ -1185,7 +1185,7 @@
1185
1185
  "example": "cvm_device",
1186
1186
  "member": "string",
1187
1187
  "name": "Namespace",
1188
- "required": true,
1188
+ "output_required": true,
1189
1189
  "type": "string",
1190
1190
  "value_allowed_null": false
1191
1191
  },
@@ -1195,7 +1195,7 @@
1195
1195
  "example": "ins-abcdef",
1196
1196
  "member": "string",
1197
1197
  "name": "AlarmObject",
1198
- "required": true,
1198
+ "output_required": true,
1199
1199
  "type": "string",
1200
1200
  "value_allowed_null": false
1201
1201
  },
@@ -1205,7 +1205,7 @@
1205
1205
  "example": "CPU 使用率 > 80%",
1206
1206
  "member": "string",
1207
1207
  "name": "Content",
1208
- "required": true,
1208
+ "output_required": true,
1209
1209
  "type": "string",
1210
1210
  "value_allowed_null": false
1211
1211
  },
@@ -1215,7 +1215,7 @@
1215
1215
  "example": "1611700000",
1216
1216
  "member": "int64",
1217
1217
  "name": "FirstOccurTime",
1218
- "required": true,
1218
+ "output_required": true,
1219
1219
  "type": "int",
1220
1220
  "value_allowed_null": false
1221
1221
  },
@@ -1225,7 +1225,7 @@
1225
1225
  "example": "1611734567",
1226
1226
  "member": "int64",
1227
1227
  "name": "LastOccurTime",
1228
- "required": true,
1228
+ "output_required": true,
1229
1229
  "type": "int",
1230
1230
  "value_allowed_null": false
1231
1231
  },
@@ -1235,7 +1235,7 @@
1235
1235
  "example": "ALARM",
1236
1236
  "member": "string",
1237
1237
  "name": "AlarmStatus",
1238
- "required": true,
1238
+ "output_required": true,
1239
1239
  "type": "string",
1240
1240
  "value_allowed_null": false
1241
1241
  },
@@ -1245,7 +1245,7 @@
1245
1245
  "example": "policy-abcdef",
1246
1246
  "member": "string",
1247
1247
  "name": "PolicyId",
1248
- "required": true,
1248
+ "output_required": true,
1249
1249
  "type": "string",
1250
1250
  "value_allowed_null": false
1251
1251
  },
@@ -1255,7 +1255,7 @@
1255
1255
  "example": "云服务器告警策略",
1256
1256
  "member": "string",
1257
1257
  "name": "PolicyName",
1258
- "required": true,
1258
+ "output_required": true,
1259
1259
  "type": "string",
1260
1260
  "value_allowed_null": false
1261
1261
  },
@@ -1265,7 +1265,7 @@
1265
1265
  "example": "0",
1266
1266
  "member": "string",
1267
1267
  "name": "VPC",
1268
- "required": true,
1268
+ "output_required": true,
1269
1269
  "type": "string",
1270
1270
  "value_allowed_null": false
1271
1271
  },
@@ -1275,7 +1275,7 @@
1275
1275
  "example": "0",
1276
1276
  "member": "int64",
1277
1277
  "name": "ProjectId",
1278
- "required": true,
1278
+ "output_required": true,
1279
1279
  "type": "int",
1280
1280
  "value_allowed_null": false
1281
1281
  },
@@ -1285,7 +1285,7 @@
1285
1285
  "example": "默认项目",
1286
1286
  "member": "string",
1287
1287
  "name": "ProjectName",
1288
- "required": true,
1288
+ "output_required": true,
1289
1289
  "type": "string",
1290
1290
  "value_allowed_null": false
1291
1291
  },
@@ -1295,7 +1295,7 @@
1295
1295
  "example": "无",
1296
1296
  "member": "InstanceGroups",
1297
1297
  "name": "InstanceGroup",
1298
- "required": true,
1298
+ "output_required": true,
1299
1299
  "type": "list",
1300
1300
  "value_allowed_null": false
1301
1301
  },
@@ -1305,7 +1305,7 @@
1305
1305
  "example": "无",
1306
1306
  "member": "int64",
1307
1307
  "name": "ReceiverUids",
1308
- "required": true,
1308
+ "output_required": true,
1309
1309
  "type": "list",
1310
1310
  "value_allowed_null": false
1311
1311
  },
@@ -1315,7 +1315,7 @@
1315
1315
  "example": "无",
1316
1316
  "member": "int64",
1317
1317
  "name": "ReceiverGroups",
1318
- "required": true,
1318
+ "output_required": true,
1319
1319
  "type": "list",
1320
1320
  "value_allowed_null": false
1321
1321
  },
@@ -1325,7 +1325,7 @@
1325
1325
  "example": "无",
1326
1326
  "member": "string",
1327
1327
  "name": "NoticeWays",
1328
- "required": true,
1328
+ "output_required": true,
1329
1329
  "type": "list",
1330
1330
  "value_allowed_null": false
1331
1331
  },
@@ -1335,7 +1335,7 @@
1335
1335
  "example": "12345",
1336
1336
  "member": "string",
1337
1337
  "name": "OriginId",
1338
- "required": true,
1338
+ "output_required": true,
1339
1339
  "type": "string",
1340
1340
  "value_allowed_null": false
1341
1341
  },
@@ -1345,7 +1345,7 @@
1345
1345
  "example": "METRIC",
1346
1346
  "member": "string",
1347
1347
  "name": "AlarmType",
1348
- "required": true,
1348
+ "output_required": true,
1349
1349
  "type": "string",
1350
1350
  "value_allowed_null": false
1351
1351
  },
@@ -1355,7 +1355,7 @@
1355
1355
  "example": "0",
1356
1356
  "member": "int64",
1357
1357
  "name": "EventId",
1358
- "required": true,
1358
+ "output_required": true,
1359
1359
  "type": "int",
1360
1360
  "value_allowed_null": false
1361
1361
  },
@@ -1365,7 +1365,7 @@
1365
1365
  "example": "ap-guangzhou",
1366
1366
  "member": "string",
1367
1367
  "name": "Region",
1368
- "required": true,
1368
+ "output_required": true,
1369
1369
  "type": "string",
1370
1370
  "value_allowed_null": false
1371
1371
  },
@@ -1375,7 +1375,7 @@
1375
1375
  "example": "1",
1376
1376
  "member": "int64",
1377
1377
  "name": "PolicyExists",
1378
- "required": true,
1378
+ "output_required": true,
1379
1379
  "type": "int",
1380
1380
  "value_allowed_null": false
1381
1381
  },
@@ -1385,7 +1385,7 @@
1385
1385
  "example": "无",
1386
1386
  "member": "AlarmHistoryMetric",
1387
1387
  "name": "MetricsInfo",
1388
- "required": true,
1388
+ "output_required": true,
1389
1389
  "type": "list",
1390
1390
  "value_allowed_null": true
1391
1391
  },
@@ -1395,7 +1395,7 @@
1395
1395
  "example": "{\"cluster_name\":\"es-dnxsssss\"}",
1396
1396
  "member": "string",
1397
1397
  "name": "Dimensions",
1398
- "required": true,
1398
+ "output_required": true,
1399
1399
  "type": "string",
1400
1400
  "value_allowed_null": true
1401
1401
  },
@@ -1405,7 +1405,87 @@
1405
1405
  "example": "Warn",
1406
1406
  "member": "string",
1407
1407
  "name": "AlarmLevel",
1408
- "required": false,
1408
+ "output_required": true,
1409
+ "type": "string",
1410
+ "value_allowed_null": true
1411
+ },
1412
+ {
1413
+ "disabled": false,
1414
+ "document": "是否有配置告警屏蔽规则\n注意:此字段可能返回 null,表示取不到有效值。",
1415
+ "example": "1",
1416
+ "member": "int64",
1417
+ "name": "ShieldFlag",
1418
+ "output_required": false,
1419
+ "type": "int",
1420
+ "value_allowed_null": true
1421
+ },
1422
+ {
1423
+ "disabled": false,
1424
+ "document": "屏蔽类型(英文)\n注意:此字段可能返回 null,表示取不到有效值。",
1425
+ "example": "FOREVER_SHIELD",
1426
+ "member": "string",
1427
+ "name": "AlarmShieldingType",
1428
+ "output_required": false,
1429
+ "type": "string",
1430
+ "value_allowed_null": true
1431
+ },
1432
+ {
1433
+ "disabled": false,
1434
+ "document": "屏蔽时间(英文)\n注意:此字段可能返回 null,表示取不到有效值。",
1435
+ "example": "Permanent",
1436
+ "member": "string",
1437
+ "name": "AlarmShieldingTime",
1438
+ "output_required": false,
1439
+ "type": "string",
1440
+ "value_allowed_null": true
1441
+ },
1442
+ {
1443
+ "disabled": false,
1444
+ "document": "屏蔽类型(中文)\n注意:此字段可能返回 null,表示取不到有效值。",
1445
+ "example": "时间范围屏蔽",
1446
+ "member": "string",
1447
+ "name": "AlarmShieldingShowType",
1448
+ "output_required": false,
1449
+ "type": "string",
1450
+ "value_allowed_null": true
1451
+ },
1452
+ {
1453
+ "disabled": false,
1454
+ "document": "屏蔽时间(中文)\n注意:此字段可能返回 null,表示取不到有效值。",
1455
+ "example": "2023/01/01 12:00:00-2023/01/02 12:00:00",
1456
+ "member": "string",
1457
+ "name": "AlarmShieldingShowTime",
1458
+ "output_required": false,
1459
+ "type": "string",
1460
+ "value_allowed_null": true
1461
+ },
1462
+ {
1463
+ "disabled": false,
1464
+ "document": "屏蔽原因\n注意:此字段可能返回 null,表示取不到有效值。",
1465
+ "example": "测试",
1466
+ "member": "string",
1467
+ "name": "AlarmShieldReason",
1468
+ "output_required": false,
1469
+ "type": "string",
1470
+ "value_allowed_null": true
1471
+ },
1472
+ {
1473
+ "disabled": false,
1474
+ "document": "告警实例的维度信息\n注意:此字段可能返回 null,表示取不到有效值。",
1475
+ "example": "无",
1476
+ "member": "string",
1477
+ "name": "InternalDimensions",
1478
+ "output_required": false,
1479
+ "type": "string",
1480
+ "value_allowed_null": true
1481
+ },
1482
+ {
1483
+ "disabled": false,
1484
+ "document": "指标名称\n注意:此字段可能返回 null,表示取不到有效值。",
1485
+ "example": "无",
1486
+ "member": "string",
1487
+ "name": "MetricName",
1488
+ "output_required": false,
1409
1489
  "type": "string",
1410
1490
  "value_allowed_null": true
1411
1491
  }
@@ -3555,15 +3635,6 @@
3555
3635
  "required": true,
3556
3636
  "type": "string"
3557
3637
  },
3558
- {
3559
- "disabled": false,
3560
- "document": "默认为1,建议使用 OrganizationIds",
3561
- "example": "1",
3562
- "member": "int64",
3563
- "name": "OrgId",
3564
- "required": true,
3565
- "type": "int"
3566
- },
3567
3638
  {
3568
3639
  "disabled": false,
3569
3640
  "document": "接受告警通道 ID 数组,值为告警管理/基础配置/通知模板中的模板 ID ",
@@ -3573,6 +3644,15 @@
3573
3644
  "required": true,
3574
3645
  "type": "list"
3575
3646
  },
3647
+ {
3648
+ "disabled": false,
3649
+ "document": "默认为1,建议使用 OrganizationIds",
3650
+ "example": "1",
3651
+ "member": "int64",
3652
+ "name": "OrgId",
3653
+ "required": false,
3654
+ "type": "int"
3655
+ },
3576
3656
  {
3577
3657
  "disabled": false,
3578
3658
  "document": "额外组织 ID 数组,已废弃,请使用 OrganizationIds",
@@ -5682,7 +5762,7 @@
5682
5762
  },
5683
5763
  {
5684
5764
  "disabled": false,
5685
- "document": "根据监控类型过滤,不选默认查所有类型。\"MT_QCE\"=云产品监控,支持的枚举值有:\"MT_QCE\"=云产品监控;\"MT_TAW\"=应用性能观测;\"MT_RUM\"=前端性能监控;\"MT_PROBE\"=云拨测",
5765
+ "document": "根据监控类型过滤,不选默认查所有类型。\"MT_QCE\"=云产品监控,支持的枚举值有:\"MT_QCE\"=云产品监控;\"MT_TAW\"=应用性能监控;\"MT_RUM\"=前端性能监控;\"MT_PROBE\"=云拨测",
5686
5766
  "example": "MT_QCE",
5687
5767
  "member": "string",
5688
5768
  "name": "MonitorTypes",
@@ -14030,7 +14110,7 @@
14030
14110
  {
14031
14111
  "disabled": false,
14032
14112
  "document": "告警通知规则名称 60字符以内",
14033
- "example": "默认通知模版",
14113
+ "example": "默认通知模板",
14034
14114
  "member": "string",
14035
14115
  "name": "Name",
14036
14116
  "required": true,
@@ -19311,15 +19391,6 @@
19311
19391
  "required": true,
19312
19392
  "type": "string"
19313
19393
  },
19314
- {
19315
- "disabled": false,
19316
- "document": "告警通道名称,例如:test",
19317
- "example": "channel-name",
19318
- "member": "string",
19319
- "name": "ChannelName",
19320
- "required": true,
19321
- "type": "string"
19322
- },
19323
19394
  {
19324
19395
  "disabled": false,
19325
19396
  "document": "接受告警通道 ID 数组",
@@ -19329,6 +19400,15 @@
19329
19400
  "required": true,
19330
19401
  "type": "list"
19331
19402
  },
19403
+ {
19404
+ "disabled": false,
19405
+ "document": "告警通道名称,已废弃,名称不可修改。",
19406
+ "example": "channel-name",
19407
+ "member": "string",
19408
+ "name": "ChannelName",
19409
+ "required": false,
19410
+ "type": "string"
19411
+ },
19332
19412
  {
19333
19413
  "disabled": false,
19334
19414
  "document": "已废弃,请使用 OrganizationIds",
@@ -1209,8 +1209,8 @@
1209
1209
  "UpdateGrafanaNotificationChannel": [
1210
1210
  {
1211
1211
  "document": "更新 Grafana 告警通道",
1212
- "input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateGrafanaNotificationChannel\n<公共请求参数>\n\n{\n \"InstanceId\": \"grafana-12345678\",\n \"ChannelId\": \"nchannel-abcd1234\",\n \"ChannelName\": \"test\",\n \"Receivers\": [\n \"xx\"\n ]\n}",
1213
- "output": "{\n \"Response\": {\n \"RequestId\": \"xx\"\n }\n}",
1212
+ "input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateGrafanaNotificationChannel\n<公共请求参数>\n\n{\n \"InstanceId\": \"grafana-12345678\",\n \"ChannelId\": \"nchannel-abcd1234\",\n \"ChannelName\": \"test\",\n \"Receivers\": [\n \"abc\"\n ]\n}",
1213
+ "output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
1214
1214
  "title": "更新 Grafana 告警通道"
1215
1215
  }
1216
1216
  ],
@@ -849,6 +849,58 @@ def doUpdateClientState(args, parsed_globals):
849
849
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
850
850
 
851
851
 
852
+ def doDestroyResourceInstances(args, parsed_globals):
853
+ g_param = parse_global_arg(parsed_globals)
854
+
855
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
856
+ cred = credential.CVMRoleCredential()
857
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
858
+ cred = credential.STSAssumeRoleCredential(
859
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
860
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
861
+ )
862
+ 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):
863
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
864
+ else:
865
+ cred = credential.Credential(
866
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
867
+ )
868
+ http_profile = HttpProfile(
869
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
870
+ reqMethod="POST",
871
+ endpoint=g_param[OptionsDefine.Endpoint],
872
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
873
+ )
874
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
875
+ if g_param[OptionsDefine.Language]:
876
+ profile.language = g_param[OptionsDefine.Language]
877
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
878
+ client = mod.MsClient(cred, g_param[OptionsDefine.Region], profile)
879
+ client._sdkVersion += ("_CLI_" + __version__)
880
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
881
+ model = models.DestroyResourceInstancesRequest()
882
+ model.from_json_string(json.dumps(args))
883
+ start_time = time.time()
884
+ while True:
885
+ rsp = client.DestroyResourceInstances(model)
886
+ result = rsp.to_json_string()
887
+ try:
888
+ json_obj = json.loads(result)
889
+ except TypeError as e:
890
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
891
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
892
+ break
893
+ cur_time = time.time()
894
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
895
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
896
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
897
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
898
+ else:
899
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
900
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
901
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
902
+
903
+
852
904
  def doRequestLocalTask(args, parsed_globals):
853
905
  g_param = parse_global_arg(parsed_globals)
854
906
 
@@ -1188,6 +1240,7 @@ ACTION_MAP = {
1188
1240
  "DeleteShieldInstances": doDeleteShieldInstances,
1189
1241
  "DescribeShieldResult": doDescribeShieldResult,
1190
1242
  "UpdateClientState": doUpdateClientState,
1243
+ "DestroyResourceInstances": doDestroyResourceInstances,
1191
1244
  "RequestLocalTask": doRequestLocalTask,
1192
1245
  "CancelEncryptTask": doCancelEncryptTask,
1193
1246
  "DescribeUserBaseInfoInstance": doDescribeUserBaseInfoInstance,
@@ -133,6 +133,13 @@
133
133
  "output": "DescribeUserBaseInfoInstanceResponse",
134
134
  "status": "online"
135
135
  },
136
+ "DestroyResourceInstances": {
137
+ "document": "渠道合作资源销毁\n安卓应用加固-按年收费资源销毁,其他类型暂不支持",
138
+ "input": "DestroyResourceInstancesRequest",
139
+ "name": "渠道订单:资源销毁",
140
+ "output": "DestroyResourceInstancesResponse",
141
+ "status": "online"
142
+ },
136
143
  "RequestLocalTask": {
137
144
  "document": "client任务请求",
138
145
  "input": "RequestLocalTaskRequest",
@@ -2866,6 +2873,82 @@
2866
2873
  ],
2867
2874
  "type": "object"
2868
2875
  },
2876
+ "DestroyResourceInstancesRequest": {
2877
+ "document": "DestroyResourceInstances请求参数结构体",
2878
+ "members": [
2879
+ {
2880
+ "disabled": false,
2881
+ "document": "ResourceId 资源id,在创建订单时,返回的resourceId",
2882
+ "example": "20231204_**********_0",
2883
+ "member": "string",
2884
+ "name": "ResourceId",
2885
+ "required": true,
2886
+ "type": "string"
2887
+ },
2888
+ {
2889
+ "disabled": false,
2890
+ "document": "资源绑定的包名,为了防止误删除,需要指定绑定时的包名",
2891
+ "example": "com.***.***",
2892
+ "member": "string",
2893
+ "name": "AppPkgName",
2894
+ "required": true,
2895
+ "type": "string"
2896
+ }
2897
+ ],
2898
+ "type": "object"
2899
+ },
2900
+ "DestroyResourceInstancesResponse": {
2901
+ "document": "DestroyResourceInstances返回参数结构体",
2902
+ "members": [
2903
+ {
2904
+ "disabled": false,
2905
+ "document": "资源id",
2906
+ "example": "20231204_**********_0",
2907
+ "member": "string",
2908
+ "name": "ResourceId",
2909
+ "output_required": false,
2910
+ "type": "string",
2911
+ "value_allowed_null": false
2912
+ },
2913
+ {
2914
+ "disabled": false,
2915
+ "document": "返回状态",
2916
+ "example": "ok",
2917
+ "member": "string",
2918
+ "name": "Result",
2919
+ "output_required": false,
2920
+ "type": "string",
2921
+ "value_allowed_null": false
2922
+ },
2923
+ {
2924
+ "disabled": false,
2925
+ "document": "平台类型 1.android安卓加固 2.ios源码混淆 3.sdk加固 4.applet小程序加固",
2926
+ "example": "平台类型 1.android安卓加固 2.ios源码混淆 3.sdk加固 4.applet小程序加固",
2927
+ "member": "int64",
2928
+ "name": "PlatformType",
2929
+ "output_required": false,
2930
+ "type": "int",
2931
+ "value_allowed_null": false
2932
+ },
2933
+ {
2934
+ "disabled": false,
2935
+ "document": "订单采购类型 1-免费试用 2-按年收费 3-按次收费 ",
2936
+ "example": "订单采购类型 1-免费试用 2-按年收费 3-按次收费 ",
2937
+ "member": "int64",
2938
+ "name": "OrderType",
2939
+ "output_required": false,
2940
+ "type": "int",
2941
+ "value_allowed_null": false
2942
+ },
2943
+ {
2944
+ "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
2945
+ "member": "string",
2946
+ "name": "RequestId",
2947
+ "type": "string"
2948
+ }
2949
+ ],
2950
+ "type": "object"
2951
+ },
2869
2952
  "EncryptResults": {
2870
2953
  "document": "渠道合作加固结果信息",
2871
2954
  "members": [
@@ -206,6 +206,20 @@
206
206
  "title": "获取用户基础信息"
207
207
  }
208
208
  ],
209
+ "DestroyResourceInstances": [
210
+ {
211
+ "document": "销毁资源",
212
+ "input": "POST / HTTP/1.1\nHost: ms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DestroyResourceInstances\n<公共请求参数>\n\n{\n \"ResourceId\": \"20231204_*****_0\",\n \"AppPkgName\": \"com.****\"\n}",
213
+ "output": "{\n \"Response\": {\n \"OrderType\": 2,\n \"PlatformType\": 1,\n \"RequestId\": \"50d9287c-0d10-****\",\n \"ResourceId\": \"20231204_*****_0\",\n \"Result\": \"ok\"\n }\n}",
214
+ "title": "销毁资源"
215
+ },
216
+ {
217
+ "document": "销毁资源:请求找不到资源",
218
+ "input": "POST / HTTP/1.1\nHost: ms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DestroyResourceInstances\n<公共请求参数>\n\n{\n \"ResourceId\": \"20231204_****_0\",\n \"AppPkgName\": \"com.**\"\n}",
219
+ "output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"ResourceNotFound\",\n \"Message\": \"资源不存在。\"\n },\n \"RequestId\": \"62978335-*****\"\n }\n}",
220
+ "title": "销毁资源:请求找不到资源"
221
+ }
222
+ ],
209
223
  "RequestLocalTask": [
210
224
  {
211
225
  "document": "",
@@ -1740,6 +1740,16 @@
1740
1740
  "type": "string",
1741
1741
  "value_allowed_null": false
1742
1742
  },
1743
+ {
1744
+ "disabled": false,
1745
+ "document": " 图片旋转角度(角度制),文本的水平方向为0度;顺时针为正,角度范围是0-360度\n\n",
1746
+ "example": "无",
1747
+ "member": "float",
1748
+ "name": "Angle",
1749
+ "output_required": true,
1750
+ "type": "float",
1751
+ "value_allowed_null": false
1752
+ },
1743
1753
  {
1744
1754
  "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
1745
1755
  "member": "string",
@@ -36,7 +36,7 @@
36
36
  {
37
37
  "document": "营业执照识别示例",
38
38
  "input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BizLicenseOCR\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://xx/a.jpg\"\n}",
39
- "output": "{\n \"Response\": {\n \"RegNum\": \"110000012345678\",\n \"Person\": \"艾米\",\n \"Capital\": \"人民币600000万元整\",\n \"Name\": \"深圳市腾讯计算机系统有限公司\",\n \"Address\": \"深圳市南山区高新区高新南一路飞亚达大厦\",\n \"Period\": \"1998年11月至长期\",\n \"Business\": \"计算机软、硬件的设计、技术开发、销售(不含专营、专控、专卖商品及限制项目);数据库及计算机网络服务;国内商业、物资供销业(不含专营、专控、专卖商品)\",\n \"Type\": \"有限责任公司\",\n \"ComposingForm\": \"\",\n \"SetDate\": \"1998年11月\",\n \"IsDuplication\": 1,\n \"RegistrationDate\": \"1998年11月11日\",\n \"RecognizeWarnCode\": [\n -9102\n ],\n \"RecognizeWarnMsg\": [\n \"WARN_COPY_CARD\"\n ],\n \"RequestId\": \"c3025c22-e159-44fe-9850-91f30b2e2593\"\n }\n}",
39
+ "output": "{\n \"Response\": {\n \"RegNum\": \"110000012345678\",\n \"Person\": \"艾米\",\n \"Capital\": \"人民币600000万元整\",\n \"Name\": \"深圳市腾讯计算机系统有限公司\",\n \"Address\": \"深圳市南山区高新区高新南一路飞亚达大厦\",\n \"Period\": \"1998年11月至长期\",\n \"Business\": \"计算机软、硬件的设计、技术开发、销售(不含专营、专控、专卖商品及限制项目);数据库及计算机网络服务;国内商业、物资供销业(不含专营、专控、专卖商品)\",\n \"Type\": \"有限责任公司\",\n \"ComposingForm\": \"\",\n \"SetDate\": \"1998年11月\",\n \"Angle\": 33.33,\n \"IsDuplication\": 1,\n \"RegistrationDate\": \"1998年11月11日\",\n \"RecognizeWarnCode\": [\n -9102\n ],\n \"RecognizeWarnMsg\": [\n \"WARN_COPY_CARD\"\n ],\n \"RequestId\": \"c3025c22-e159-44fe-9850-91f30b2e2593\"\n }\n}",
40
40
  "title": "营业执照识别示例代码"
41
41
  }
42
42
  ],