tccli 3.0.1173.1__py2.py3-none-any.whl → 3.0.1175.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/asr/v20190614/api.json +2 -2
  3. tccli/services/ccc/v20200210/api.json +9 -0
  4. tccli/services/cdwdoris/cdwdoris_client.py +57 -4
  5. tccli/services/cdwdoris/v20211228/api.json +90 -0
  6. tccli/services/cdwdoris/v20211228/examples.json +8 -0
  7. tccli/services/cfg/v20210820/api.json +25 -0
  8. tccli/services/cls/v20201016/api.json +148 -16
  9. tccli/services/cls/v20201016/examples.json +5 -5
  10. tccli/services/cwp/v20180228/api.json +41 -14
  11. tccli/services/dbbrain/v20210527/api.json +116 -1
  12. tccli/services/dbbrain/v20210527/examples.json +1 -1
  13. tccli/services/eb/v20210416/api.json +1 -0
  14. tccli/services/ess/v20201111/api.json +10 -0
  15. tccli/services/ess/v20201111/examples.json +2 -2
  16. tccli/services/facefusion/v20181201/api.json +15 -21
  17. tccli/services/facefusion/v20220927/api.json +17 -21
  18. tccli/services/faceid/v20180301/api.json +20 -2
  19. tccli/services/faceid/v20180301/examples.json +7 -1
  20. tccli/services/hunyuan/v20230901/api.json +1 -1
  21. tccli/services/ims/v20201229/api.json +2 -2
  22. tccli/services/iotexplorer/v20190423/api.json +20 -10
  23. tccli/services/lighthouse/v20200324/api.json +18 -0
  24. tccli/services/lke/v20231130/api.json +9 -0
  25. tccli/services/mps/v20190612/api.json +47 -5
  26. tccli/services/ms/v20180408/api.json +46 -46
  27. tccli/services/ocr/ocr_client.py +413 -307
  28. tccli/services/ocr/v20181119/api.json +166 -4
  29. tccli/services/ocr/v20181119/examples.json +16 -0
  30. tccli/services/sqlserver/sqlserver_client.py +53 -0
  31. tccli/services/sqlserver/v20180328/api.json +108 -9
  32. tccli/services/sqlserver/v20180328/examples.json +8 -0
  33. tccli/services/tdmq/v20200217/api.json +25 -6
  34. tccli/services/tiia/tiia_client.py +4 -57
  35. tccli/services/tiia/v20190529/api.json +0 -296
  36. tccli/services/tiia/v20190529/examples.json +0 -8
  37. tccli/services/tmt/v20180321/api.json +1 -1
  38. tccli/services/vod/v20180717/api.json +62 -5
  39. tccli/services/vod/v20180717/examples.json +1 -1
  40. tccli/services/vpc/v20170312/api.json +93 -0
  41. {tccli-3.0.1173.1.dist-info → tccli-3.0.1175.1.dist-info}/METADATA +2 -2
  42. {tccli-3.0.1173.1.dist-info → tccli-3.0.1175.1.dist-info}/RECORD +45 -45
  43. {tccli-3.0.1173.1.dist-info → tccli-3.0.1175.1.dist-info}/WHEEL +0 -0
  44. {tccli-3.0.1173.1.dist-info → tccli-3.0.1175.1.dist-info}/entry_points.txt +0 -0
  45. {tccli-3.0.1173.1.dist-info → tccli-3.0.1175.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1173.1'
1
+ __version__ = '3.0.1175.1'
@@ -120,7 +120,7 @@
120
120
  "status": "online"
121
121
  },
122
122
  "SentenceRecognition": {
123
- "document": "本接口用于对60秒之内的短音频文件进行识别。<br>• 支持中文普通话、英语、粤语、日语、越南语、马来语、印度尼西亚语、菲律宾语、泰语、葡萄牙语、土耳其语、阿拉伯语、印地语、法语、德语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。<br>• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。<br>• 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac、 amr。<br>• 请求方法为 HTTP POST , Content-Type为\"application/json; charset=utf-8\"<br>• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。<br>• 默认接口请求频率限制:30次/秒,如您有提高请求频率限制的需求,请[前往购买](https://buy.cloud.tencent.com/asr)。",
123
+ "document": "本接口用于对60秒之内的短音频文件进行识别。\n• 支持中文普通话、英语、粤语、日语、越南语、马来语、印度尼西亚语、菲律宾语、泰语、葡萄牙语、土耳其语、阿拉伯语、印地语、法语、德语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。\n• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。推荐使用 [腾讯云COS](https://cloud.tencent.com/document/product/436/38484) 来存储音频、生成URL并提交请求,此种方式会走内网下载音频,极大降低整体请求时延;并且不会产生外网和流量下行费用,可节约成本(COS桶权限需要设置公有读私有写,或URL设置时效访问签名)\n• 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac、 amr。\n• 请求方法为 HTTP POST , Content-Type为\"application/json; charset=utf-8\"\n• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。\n• 默认接口请求频率限制:30次/秒,如您有提高请求频率限制的需求,请[前往购买](https://buy.cloud.tencent.com/asr)。",
124
124
  "input": "SentenceRecognitionRequest",
125
125
  "name": "一句话识别",
126
126
  "output": "SentenceRecognitionResponse",
@@ -1602,7 +1602,7 @@
1602
1602
  },
1603
1603
  {
1604
1604
  "disabled": false,
1605
- "document": "语音的URL地址,需要公网环境浏览器可下载。当 SourceType 值为 0时须填写该字段,为 1 时不填。音频时长不能超过60s,音频文件大小不能超过3MB",
1605
+ "document": "语音的URL地址,需要公网环境浏览器可下载。当 SourceType 值为 0时须填写该字段,为 1 时不填。音频时长不能超过60s,音频文件大小不能超过3MB。\n\n注意:推荐使用 [腾讯云COS](https://cloud.tencent.com/document/product/436/38484) 来存储音频、生成URL并提交请求,此种方式会走内网下载音频,极大降低整体请求时延;并且不会产生外网和流量下行费用,可节约成本(COS桶权限需要设置公有读私有写,或URL设置时效访问签名)",
1606
1606
  "example": "http://test.voice.com/test.wav",
1607
1607
  "member": "string",
1608
1608
  "name": "Url",
@@ -5459,6 +5459,15 @@
5459
5459
  "required": false,
5460
5460
  "type": "string"
5461
5461
  },
5462
+ {
5463
+ "disabled": false,
5464
+ "document": "座席工号",
5465
+ "example": "114514",
5466
+ "member": "string",
5467
+ "name": "StaffNo",
5468
+ "required": false,
5469
+ "type": "string"
5470
+ },
5462
5471
  {
5463
5472
  "disabled": false,
5464
5473
  "document": "绑定技能组ID列表",
@@ -537,6 +537,58 @@ def doDescribeDatabaseAuditDownload(args, parsed_globals):
537
537
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
538
538
 
539
539
 
540
+ def doDescribeUserBindWorkloadGroup(args, parsed_globals):
541
+ g_param = parse_global_arg(parsed_globals)
542
+
543
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
544
+ cred = credential.CVMRoleCredential()
545
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
546
+ cred = credential.STSAssumeRoleCredential(
547
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
548
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
549
+ )
550
+ 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):
551
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
552
+ else:
553
+ cred = credential.Credential(
554
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
555
+ )
556
+ http_profile = HttpProfile(
557
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
558
+ reqMethod="POST",
559
+ endpoint=g_param[OptionsDefine.Endpoint],
560
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
561
+ )
562
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
563
+ if g_param[OptionsDefine.Language]:
564
+ profile.language = g_param[OptionsDefine.Language]
565
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
566
+ client = mod.CdwdorisClient(cred, g_param[OptionsDefine.Region], profile)
567
+ client._sdkVersion += ("_CLI_" + __version__)
568
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
569
+ model = models.DescribeUserBindWorkloadGroupRequest()
570
+ model.from_json_string(json.dumps(args))
571
+ start_time = time.time()
572
+ while True:
573
+ rsp = client.DescribeUserBindWorkloadGroup(model)
574
+ result = rsp.to_json_string()
575
+ try:
576
+ json_obj = json.loads(result)
577
+ except TypeError as e:
578
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
579
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
580
+ break
581
+ cur_time = time.time()
582
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
583
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
584
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
585
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
586
+ else:
587
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
588
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
589
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
590
+
591
+
540
592
  def doDescribeInstanceNodesInfo(args, parsed_globals):
541
593
  g_param = parse_global_arg(parsed_globals)
542
594
 
@@ -641,7 +693,7 @@ def doDescribeClusterConfigs(args, parsed_globals):
641
693
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
642
694
 
643
695
 
644
- def doDescribeUserBindWorkloadGroup(args, parsed_globals):
696
+ def doDescribeTableList(args, parsed_globals):
645
697
  g_param = parse_global_arg(parsed_globals)
646
698
 
647
699
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -670,11 +722,11 @@ def doDescribeUserBindWorkloadGroup(args, parsed_globals):
670
722
  client = mod.CdwdorisClient(cred, g_param[OptionsDefine.Region], profile)
671
723
  client._sdkVersion += ("_CLI_" + __version__)
672
724
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
673
- model = models.DescribeUserBindWorkloadGroupRequest()
725
+ model = models.DescribeTableListRequest()
674
726
  model.from_json_string(json.dumps(args))
675
727
  start_time = time.time()
676
728
  while True:
677
- rsp = client.DescribeUserBindWorkloadGroup(model)
729
+ rsp = client.DescribeTableList(model)
678
730
  result = rsp.to_json_string()
679
731
  try:
680
732
  json_obj = json.loads(result)
@@ -3054,9 +3106,10 @@ ACTION_MAP = {
3054
3106
  "DescribeRestoreTaskDetail": doDescribeRestoreTaskDetail,
3055
3107
  "CreateWorkloadGroup": doCreateWorkloadGroup,
3056
3108
  "DescribeDatabaseAuditDownload": doDescribeDatabaseAuditDownload,
3109
+ "DescribeUserBindWorkloadGroup": doDescribeUserBindWorkloadGroup,
3057
3110
  "DescribeInstanceNodesInfo": doDescribeInstanceNodesInfo,
3058
3111
  "DescribeClusterConfigs": doDescribeClusterConfigs,
3059
- "DescribeUserBindWorkloadGroup": doDescribeUserBindWorkloadGroup,
3112
+ "DescribeTableList": doDescribeTableList,
3060
3113
  "DescribeBackUpTables": doDescribeBackUpTables,
3061
3114
  "DescribeRegionZone": doDescribeRegionZone,
3062
3115
  "ModifyNodeStatus": doModifyNodeStatus,
@@ -266,6 +266,13 @@
266
266
  "output": "DescribeSqlApisResponse",
267
267
  "status": "online"
268
268
  },
269
+ "DescribeTableList": {
270
+ "document": "获取指定数据源和库下的表列表",
271
+ "input": "DescribeTableListRequest",
272
+ "name": "获取表列表",
273
+ "output": "DescribeTableListResponse",
274
+ "status": "online"
275
+ },
269
276
  "DescribeUserBindWorkloadGroup": {
270
277
  "document": "获取当前集群各用户绑定的资源信息",
271
278
  "input": "DescribeUserBindWorkloadGroupRequest",
@@ -4548,6 +4555,89 @@
4548
4555
  ],
4549
4556
  "type": "object"
4550
4557
  },
4558
+ "DescribeTableListRequest": {
4559
+ "document": "DescribeTableList请求参数结构体",
4560
+ "members": [
4561
+ {
4562
+ "disabled": false,
4563
+ "document": "资源ID,建表所用的TCHouse-D资源ID。",
4564
+ "example": "cdwdoris-bjizjxxx",
4565
+ "member": "string",
4566
+ "name": "InstanceId",
4567
+ "required": true,
4568
+ "type": "string"
4569
+ },
4570
+ {
4571
+ "disabled": false,
4572
+ "document": "需要获取表列表的库",
4573
+ "example": "demo",
4574
+ "member": "string",
4575
+ "name": "DbName",
4576
+ "required": true,
4577
+ "type": "string"
4578
+ },
4579
+ {
4580
+ "disabled": false,
4581
+ "document": "使用该用户进行操作,该用户需要有对应的权限。如果该TCHouse-D集群使用CAM用户注册内核账户,则不需要填写",
4582
+ "example": "user",
4583
+ "member": "string",
4584
+ "name": "UserName",
4585
+ "required": false,
4586
+ "type": "string"
4587
+ },
4588
+ {
4589
+ "disabled": false,
4590
+ "document": "用户对应的密码。如果该TCHouse-D集群使用CAM用户注册内核账户,则不需要填写",
4591
+ "example": "***",
4592
+ "member": "string",
4593
+ "name": "PassWord",
4594
+ "required": false,
4595
+ "type": "string"
4596
+ },
4597
+ {
4598
+ "disabled": false,
4599
+ "document": "查询库所在的数据源,不填则默认为内部数据源(internal)。",
4600
+ "example": "internal",
4601
+ "member": "string",
4602
+ "name": "CatalogName",
4603
+ "required": false,
4604
+ "type": "string"
4605
+ }
4606
+ ],
4607
+ "type": "object"
4608
+ },
4609
+ "DescribeTableListResponse": {
4610
+ "document": "DescribeTableList返回参数结构体",
4611
+ "members": [
4612
+ {
4613
+ "disabled": false,
4614
+ "document": "表名列表\n注意:此字段可能返回 null,表示取不到有效值。",
4615
+ "example": "[\"test1\",\"test2\"]",
4616
+ "member": "string",
4617
+ "name": "TableNames",
4618
+ "output_required": false,
4619
+ "type": "list",
4620
+ "value_allowed_null": true
4621
+ },
4622
+ {
4623
+ "disabled": false,
4624
+ "document": "错误信息\n注意:此字段可能返回 null,表示取不到有效值。",
4625
+ "example": "无",
4626
+ "member": "string",
4627
+ "name": "Message",
4628
+ "output_required": false,
4629
+ "type": "string",
4630
+ "value_allowed_null": true
4631
+ },
4632
+ {
4633
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
4634
+ "member": "string",
4635
+ "name": "RequestId",
4636
+ "type": "string"
4637
+ }
4638
+ ],
4639
+ "type": "object"
4640
+ },
4551
4641
  "DescribeUserBindWorkloadGroupRequest": {
4552
4642
  "document": "DescribeUserBindWorkloadGroup请求参数结构体",
4553
4643
  "members": [
@@ -310,6 +310,14 @@
310
310
  "title": "查询ck集群信息"
311
311
  }
312
312
  ],
313
+ "DescribeTableList": [
314
+ {
315
+ "document": "获取internal数据源和demo库下的表列表",
316
+ "input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTableList\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwdoris-bjizjxxx\",\n \"DbName\": \"demo\"\n}",
317
+ "output": "{\n \"Response\": {\n \"Message\": \"\",\n \"RequestId\": \"28caf1f1-9192-477c-94d4-e910b87ca0fc\",\n \"TableNames\": [\n \"test\",\n \"table\"\n ]\n }\n}",
318
+ "title": "获取表列表"
319
+ }
320
+ ],
313
321
  "DescribeUserBindWorkloadGroup": [
314
322
  {
315
323
  "document": "",
@@ -3475,6 +3475,7 @@
3475
3475
  "example": "1",
3476
3476
  "member": "int64",
3477
3477
  "name": "TemplateGroupActionId",
3478
+ "output_required": true,
3478
3479
  "required": true,
3479
3480
  "type": "int",
3480
3481
  "value_allowed_null": false
@@ -3485,6 +3486,7 @@
3485
3486
  "example": "1",
3486
3487
  "member": "int64",
3487
3488
  "name": "ActionId",
3489
+ "output_required": true,
3488
3490
  "required": true,
3489
3491
  "type": "int",
3490
3492
  "value_allowed_null": false
@@ -3495,6 +3497,7 @@
3495
3497
  "example": "1",
3496
3498
  "member": "int64",
3497
3499
  "name": "Order",
3500
+ "output_required": true,
3498
3501
  "required": true,
3499
3502
  "type": "int",
3500
3503
  "value_allowed_null": false
@@ -3505,6 +3508,7 @@
3505
3508
  "example": "{}",
3506
3509
  "member": "string",
3507
3510
  "name": "GeneralConfiguration",
3511
+ "output_required": true,
3508
3512
  "required": true,
3509
3513
  "type": "string",
3510
3514
  "value_allowed_null": true
@@ -3515,6 +3519,7 @@
3515
3519
  "example": "{}",
3516
3520
  "member": "string",
3517
3521
  "name": "CustomConfiguration",
3522
+ "output_required": true,
3518
3523
  "required": true,
3519
3524
  "type": "string",
3520
3525
  "value_allowed_null": true
@@ -3525,6 +3530,7 @@
3525
3530
  "example": "\"2021-08-17 20:05:04\"",
3526
3531
  "member": "string",
3527
3532
  "name": "CreateTime",
3533
+ "output_required": true,
3528
3534
  "required": true,
3529
3535
  "type": "string",
3530
3536
  "value_allowed_null": false
@@ -3535,6 +3541,7 @@
3535
3541
  "example": "\"2021-08-17 20:05:04\"",
3536
3542
  "member": "string",
3537
3543
  "name": "UpdateTime",
3544
+ "output_required": true,
3538
3545
  "required": true,
3539
3546
  "type": "string",
3540
3547
  "value_allowed_null": false
@@ -3545,6 +3552,7 @@
3545
3552
  "example": "关机",
3546
3553
  "member": "string",
3547
3554
  "name": "ActionTitle",
3555
+ "output_required": true,
3548
3556
  "required": true,
3549
3557
  "type": "string",
3550
3558
  "value_allowed_null": false
@@ -3555,6 +3563,7 @@
3555
3563
  "example": "123456",
3556
3564
  "member": "int64",
3557
3565
  "name": "RandomId",
3566
+ "output_required": true,
3558
3567
  "required": true,
3559
3568
  "type": "int",
3560
3569
  "value_allowed_null": true
@@ -3565,6 +3574,7 @@
3565
3574
  "example": "123456",
3566
3575
  "member": "int64",
3567
3576
  "name": "RecoverId",
3577
+ "output_required": true,
3568
3578
  "required": true,
3569
3579
  "type": "int",
3570
3580
  "value_allowed_null": true
@@ -3575,6 +3585,7 @@
3575
3585
  "example": "123456",
3576
3586
  "member": "int64",
3577
3587
  "name": "ExecuteId",
3588
+ "output_required": true,
3578
3589
  "required": true,
3579
3590
  "type": "int",
3580
3591
  "value_allowed_null": true
@@ -3585,6 +3596,7 @@
3585
3596
  "example": "0",
3586
3597
  "member": "int64",
3587
3598
  "name": "ActionApiType",
3599
+ "output_required": true,
3588
3600
  "required": false,
3589
3601
  "type": "int",
3590
3602
  "value_allowed_null": true
@@ -3595,6 +3607,7 @@
3595
3607
  "example": "1",
3596
3608
  "member": "int64",
3597
3609
  "name": "ActionAttribute",
3610
+ "output_required": true,
3598
3611
  "required": false,
3599
3612
  "type": "int",
3600
3613
  "value_allowed_null": true
@@ -3605,6 +3618,18 @@
3605
3618
  "example": "平台",
3606
3619
  "member": "string",
3607
3620
  "name": "ActionType",
3621
+ "output_required": true,
3622
+ "required": false,
3623
+ "type": "string",
3624
+ "value_allowed_null": true
3625
+ },
3626
+ {
3627
+ "disabled": false,
3628
+ "document": "动作风险等级,1:低风险 2:中风险 3:高风险\n注意:此字段可能返回 null,表示取不到有效值。",
3629
+ "example": "1",
3630
+ "member": "string",
3631
+ "name": "ActionRisk",
3632
+ "output_required": false,
3608
3633
  "required": false,
3609
3634
  "type": "string",
3610
3635
  "value_allowed_null": true
@@ -372,7 +372,7 @@
372
372
  "status": "online"
373
373
  },
374
374
  "DescribeDashboardSubscribes": {
375
- "document": " 本接口用于获取仪表盘订阅列表,支持分页",
375
+ "document": "本接口用于获取仪表盘订阅列表,支持分页",
376
376
  "input": "DescribeDashboardSubscribesRequest",
377
377
  "name": "获取仪表盘订阅列表",
378
378
  "output": "DescribeDashboardSubscribesResponse",
@@ -2512,8 +2512,8 @@
2512
2512
  },
2513
2513
  {
2514
2514
  "disabled": false,
2515
- "document": "开始时间,支持绝对时间(13位时间戳字符串)/相对时间字符串",
2516
- "example": "now-1d或'1706781017413'",
2515
+ "document": "默认查询范围的开始时间点,支持绝对时间(13位Unix时间戳)或相对时间表达式",
2516
+ "example": "'1706781017413'或now-7d",
2517
2517
  "member": "string",
2518
2518
  "name": "StartTime",
2519
2519
  "output_required": false,
@@ -2523,8 +2523,8 @@
2523
2523
  },
2524
2524
  {
2525
2525
  "disabled": false,
2526
- "document": "结束时间,支持绝对时间(13位时间戳字符串)/相对时间字符串",
2527
- "example": "now或'1706780117413'",
2526
+ "document": "默认查询范围的结束时间点,支持绝对时间(13位Unix时间戳)或相对时间表达式。注意,结束时间点要大于开始时间点",
2527
+ "example": "'1706791017413'或now",
2528
2528
  "member": "string",
2529
2529
  "name": "EndTime",
2530
2530
  "output_required": false,
@@ -2534,8 +2534,8 @@
2534
2534
  },
2535
2535
  {
2536
2536
  "disabled": false,
2537
- "document": "StartTime/EndTime为相对时间时,基于NowTime计算绝对时间,默认为创建时间\n注意:此字段可能返回 null,表示取不到有效值。",
2538
- "example": "1706787306086",
2537
+ "document": "仅当StartTime/EndTime为相对时间时使用,基于NowTime计算绝对时间,默认为创建时间\n注意:此字段可能返回 null,表示取不到有效值。",
2538
+ "example": "1706797306086",
2539
2539
  "member": "uint64",
2540
2540
  "name": "NowTime",
2541
2541
  "output_required": false,
@@ -2545,7 +2545,7 @@
2545
2545
  },
2546
2546
  {
2547
2547
  "disabled": false,
2548
- "document": "params参数列表,当Type为2时支持\n注意:此字段可能返回 null,表示取不到有效值。",
2548
+ "document": "默认的检索分析语句,仅当Type为2时使用\n注意:此字段可能返回 null,表示取不到有效值。",
2549
2549
  "example": "[ { \"Name\":\"query\", \"Values\":[ \"* | select *\" ] } ]",
2550
2550
  "member": "ConsoleSharingParam",
2551
2551
  "name": "Params",
@@ -2556,8 +2556,8 @@
2556
2556
  },
2557
2557
  {
2558
2558
  "disabled": false,
2559
- "document": "是否允许访问者自行修改检索分析时间范围,默认不锁定",
2560
- "example": "true",
2559
+ "document": "是否允许访问者自行修改检索分析时间范围。默认不锁定(false)",
2560
+ "example": "false",
2561
2561
  "member": "bool",
2562
2562
  "name": "IsLockTimeRange",
2563
2563
  "output_required": true,
@@ -2567,14 +2567,25 @@
2567
2567
  },
2568
2568
  {
2569
2569
  "disabled": false,
2570
- "document": "是否允许访问者自行修改日志检索语句。在检索页分享中表示检索语句锁定状态;在仪表盘中表示过滤变量锁定状态",
2571
- "example": "true",
2570
+ "document": "是否允许访问者自行修改日志检索语句。在检索页分享中表示检索语句锁定状态;在仪表盘中表示过滤变量锁定状态。默认不锁定(false)",
2571
+ "example": "false",
2572
2572
  "member": "bool",
2573
2573
  "name": "IsLockQuery",
2574
2574
  "output_required": true,
2575
2575
  "required": false,
2576
2576
  "type": "bool",
2577
2577
  "value_allowed_null": false
2578
+ },
2579
+ {
2580
+ "disabled": false,
2581
+ "document": "检索页分享是否允许访问者下载日志,默认不允许(false)\n注意:此字段可能返回 null,表示取不到有效值。",
2582
+ "example": "false",
2583
+ "member": "bool",
2584
+ "name": "IsSupportLogExport",
2585
+ "output_required": false,
2586
+ "required": false,
2587
+ "type": "bool",
2588
+ "value_allowed_null": true
2578
2589
  }
2579
2590
  ],
2580
2591
  "usage": "both"
@@ -4038,7 +4049,44 @@
4038
4049
  },
4039
4050
  "CreateDashboardSubscribeRequest": {
4040
4051
  "document": "CreateDashboardSubscribe请求参数结构体",
4041
- "members": [],
4052
+ "members": [
4053
+ {
4054
+ "disabled": false,
4055
+ "document": "仪表盘订阅名称。",
4056
+ "example": "仪表盘-CLS-日报",
4057
+ "member": "string",
4058
+ "name": "Name",
4059
+ "required": true,
4060
+ "type": "string"
4061
+ },
4062
+ {
4063
+ "disabled": false,
4064
+ "document": "仪表盘id。",
4065
+ "example": "xxx-xxx-xxx-xxx",
4066
+ "member": "string",
4067
+ "name": "DashboardId",
4068
+ "required": true,
4069
+ "type": "string"
4070
+ },
4071
+ {
4072
+ "disabled": false,
4073
+ "document": "订阅时间cron表达式,格式为:{秒数} {分钟} {小时} {日期} {月份} {星期};(有效数据为:{分钟} {小时} {日期} {月份} {星期})。<br><li/>{秒数} 取值范围: 0 ~ 59 <br><li/>{分钟} 取值范围: 0 ~ 59 <br><li/>{小时} 取值范围: 0 ~ 23 <br><li/>{日期} 取值范围: 1 ~ 31 AND (dayOfMonth最后一天: L) <br><li/>{月份} 取值范围: 1 ~ 12 <br><li/>{星期} 取值范围: 0 ~ 6 【0:星期日, 6星期六】",
4074
+ "example": "\"0 0 10 L * ?\"",
4075
+ "member": "string",
4076
+ "name": "Cron",
4077
+ "required": true,
4078
+ "type": "string"
4079
+ },
4080
+ {
4081
+ "disabled": false,
4082
+ "document": "仪表盘订阅数据。",
4083
+ "example": "无",
4084
+ "member": "DashboardSubscribeData",
4085
+ "name": "SubscribeData",
4086
+ "required": true,
4087
+ "type": "object"
4088
+ }
4089
+ ],
4042
4090
  "type": "object"
4043
4091
  },
4044
4092
  "CreateDashboardSubscribeResponse": {
@@ -5889,7 +5937,17 @@
5889
5937
  },
5890
5938
  "DeleteDashboardSubscribeRequest": {
5891
5939
  "document": "DeleteDashboardSubscribe请求参数结构体",
5892
- "members": [],
5940
+ "members": [
5941
+ {
5942
+ "disabled": false,
5943
+ "document": "仪表盘订阅记录id。",
5944
+ "example": "id",
5945
+ "member": "uint64",
5946
+ "name": "Id",
5947
+ "required": true,
5948
+ "type": "int"
5949
+ }
5950
+ ],
5893
5951
  "type": "object"
5894
5952
  },
5895
5953
  "DeleteDashboardSubscribeResponse": {
@@ -6811,7 +6869,35 @@
6811
6869
  },
6812
6870
  "DescribeDashboardSubscribesRequest": {
6813
6871
  "document": "DescribeDashboardSubscribes请求参数结构体",
6814
- "members": [],
6872
+ "members": [
6873
+ {
6874
+ "disabled": false,
6875
+ "document": "<br><li/> dashboardId:按照【仪表盘id】进行过滤。类型:String必选:否<br><br><li/> 每次请求的Filters的上限为10,Filter.Values的上限为100。",
6876
+ "example": "无",
6877
+ "member": "Filter",
6878
+ "name": "Filters",
6879
+ "required": false,
6880
+ "type": "list"
6881
+ },
6882
+ {
6883
+ "disabled": false,
6884
+ "document": "分页的偏移量,默认值为0。",
6885
+ "example": "10",
6886
+ "member": "uint64",
6887
+ "name": "Offset",
6888
+ "required": false,
6889
+ "type": "int"
6890
+ },
6891
+ {
6892
+ "disabled": false,
6893
+ "document": "分页单页限制数目,默认值为20,最大值100。",
6894
+ "example": "30",
6895
+ "member": "uint64",
6896
+ "name": "Limit",
6897
+ "required": false,
6898
+ "type": "int"
6899
+ }
6900
+ ],
6815
6901
  "type": "object"
6816
6902
  },
6817
6903
  "DescribeDashboardSubscribesResponse": {
@@ -11038,7 +11124,53 @@
11038
11124
  },
11039
11125
  "ModifyDashboardSubscribeRequest": {
11040
11126
  "document": "ModifyDashboardSubscribe请求参数结构体",
11041
- "members": [],
11127
+ "members": [
11128
+ {
11129
+ "disabled": false,
11130
+ "document": "仪表盘订阅id。",
11131
+ "example": "1",
11132
+ "member": "uint64",
11133
+ "name": "Id",
11134
+ "required": true,
11135
+ "type": "int"
11136
+ },
11137
+ {
11138
+ "disabled": false,
11139
+ "document": "仪表盘id。",
11140
+ "example": "xxx-xxx-xxx-xxx",
11141
+ "member": "string",
11142
+ "name": "DashboardId",
11143
+ "required": false,
11144
+ "type": "string"
11145
+ },
11146
+ {
11147
+ "disabled": false,
11148
+ "document": "仪表盘订阅名称。",
11149
+ "example": "仪表盘-CLS-日报",
11150
+ "member": "string",
11151
+ "name": "Name",
11152
+ "required": false,
11153
+ "type": "string"
11154
+ },
11155
+ {
11156
+ "disabled": false,
11157
+ "document": "订阅时间cron表达式,格式为:{秒数} {分钟} {小时} {日期} {月份} {星期};(有效数据为:{分钟} {小时} {日期} {月份} {星期})。",
11158
+ "example": "\"0 0 10 L * ?\"",
11159
+ "member": "string",
11160
+ "name": "Cron",
11161
+ "required": false,
11162
+ "type": "string"
11163
+ },
11164
+ {
11165
+ "disabled": false,
11166
+ "document": "仪表盘订阅数据。",
11167
+ "example": "无",
11168
+ "member": "DashboardSubscribeData",
11169
+ "name": "SubscribeData",
11170
+ "required": false,
11171
+ "type": "object"
11172
+ }
11173
+ ],
11042
11174
  "type": "object"
11043
11175
  },
11044
11176
  "ModifyDashboardSubscribeResponse": {