tccli 3.0.1142.1__py2.py3-none-any.whl → 3.0.1144.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 (33) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/aiart/aiart_client.py +53 -0
  3. tccli/services/aiart/v20221229/api.json +108 -0
  4. tccli/services/aiart/v20221229/examples.json +8 -0
  5. tccli/services/bpaas/v20181217/api.json +45 -1
  6. tccli/services/clb/v20180317/api.json +37 -37
  7. tccli/services/cls/v20201016/api.json +37 -0
  8. tccli/services/cwp/v20180228/api.json +76 -8
  9. tccli/services/dbbrain/v20210527/api.json +2 -2
  10. tccli/services/essbasic/v20210526/api.json +5 -7
  11. tccli/services/fmu/v20191213/api.json +6 -6
  12. tccli/services/hunyuan/v20230901/api.json +253 -3
  13. tccli/services/hunyuan/v20230901/examples.json +24 -0
  14. tccli/services/iotexplorer/v20190423/api.json +47 -1
  15. tccli/services/ocr/v20181119/api.json +1 -1
  16. tccli/services/postgres/v20170312/api.json +31 -21
  17. tccli/services/postgres/v20170312/examples.json +4 -4
  18. tccli/services/redis/v20180412/api.json +29 -29
  19. tccli/services/redis/v20180412/examples.json +1 -1
  20. tccli/services/ssl/v20191205/api.json +30 -0
  21. tccli/services/teo/v20220901/api.json +15 -7
  22. tccli/services/tiia/v20190529/api.json +2 -2
  23. tccli/services/tmt/v20180321/api.json +36 -0
  24. tccli/services/tmt/v20180321/examples.json +6 -0
  25. tccli/services/trocket/v20230308/api.json +60 -48
  26. tccli/services/vod/v20180717/api.json +20 -2
  27. tccli/services/waf/v20180125/api.json +222 -174
  28. tccli/services/waf/v20180125/examples.json +14 -14
  29. {tccli-3.0.1142.1.dist-info → tccli-3.0.1144.1.dist-info}/METADATA +2 -2
  30. {tccli-3.0.1142.1.dist-info → tccli-3.0.1144.1.dist-info}/RECORD +33 -33
  31. {tccli-3.0.1142.1.dist-info → tccli-3.0.1144.1.dist-info}/WHEEL +0 -0
  32. {tccli-3.0.1142.1.dist-info → tccli-3.0.1144.1.dist-info}/entry_points.txt +0 -0
  33. {tccli-3.0.1142.1.dist-info → tccli-3.0.1144.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1142.1'
1
+ __version__ = '3.0.1144.1'
@@ -69,6 +69,58 @@ def doSubmitTextToImageProJob(args, parsed_globals):
69
69
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
70
70
 
71
71
 
72
+ def doReplaceBackground(args, parsed_globals):
73
+ g_param = parse_global_arg(parsed_globals)
74
+
75
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
76
+ cred = credential.CVMRoleCredential()
77
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
78
+ cred = credential.STSAssumeRoleCredential(
79
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
80
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
81
+ )
82
+ 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):
83
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
84
+ else:
85
+ cred = credential.Credential(
86
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
87
+ )
88
+ http_profile = HttpProfile(
89
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
90
+ reqMethod="POST",
91
+ endpoint=g_param[OptionsDefine.Endpoint],
92
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
93
+ )
94
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
95
+ if g_param[OptionsDefine.Language]:
96
+ profile.language = g_param[OptionsDefine.Language]
97
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
98
+ client = mod.AiartClient(cred, g_param[OptionsDefine.Region], profile)
99
+ client._sdkVersion += ("_CLI_" + __version__)
100
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
101
+ model = models.ReplaceBackgroundRequest()
102
+ model.from_json_string(json.dumps(args))
103
+ start_time = time.time()
104
+ while True:
105
+ rsp = client.ReplaceBackground(model)
106
+ result = rsp.to_json_string()
107
+ try:
108
+ json_obj = json.loads(result)
109
+ except TypeError as e:
110
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
111
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
112
+ break
113
+ cur_time = time.time()
114
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
115
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
116
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
117
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
118
+ else:
119
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
120
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
121
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
122
+
123
+
72
124
  def doSubmitTrainPortraitModelJob(args, parsed_globals):
73
125
  g_param = parse_global_arg(parsed_globals)
74
126
 
@@ -549,6 +601,7 @@ MODELS_MAP = {
549
601
 
550
602
  ACTION_MAP = {
551
603
  "SubmitTextToImageProJob": doSubmitTextToImageProJob,
604
+ "ReplaceBackground": doReplaceBackground,
552
605
  "SubmitTrainPortraitModelJob": doSubmitTrainPortraitModelJob,
553
606
  "QueryTextToImageProJob": doQueryTextToImageProJob,
554
607
  "GenerateAvatar": doGenerateAvatar,
@@ -35,6 +35,13 @@
35
35
  "output": "QueryTrainPortraitModelJobResponse",
36
36
  "status": "online"
37
37
  },
38
+ "ReplaceBackground": {
39
+ "document": "商品背景生成接口根据指定的背景描述 Prompt,将商品图中的原背景替换为自定义的新背景并保留商品主体形象,实现商品背景的自由生成与更换。\n\n商品背景生成默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。",
40
+ "input": "ReplaceBackgroundRequest",
41
+ "name": "商品背景生成",
42
+ "output": "ReplaceBackgroundResponse",
43
+ "status": "online"
44
+ },
38
45
  "SubmitDrawPortraitJob": {
39
46
  "document": "AI 写真提供 AI 写真形象照的训练与生成能力,分为上传训练图片、训练模型、生成图片3个环节,需要依次调用对应接口。\n每个写真模型自训练完成起1年内有效,有效期内可使用写真模型 ID 生成图片,期满后需要重新训练。\n生成图片分为提交任务和查询任务2个接口。\n- 提交生成写真图片任务:完成训练写真模型后,选择风格模板,提交一个生成写真图片异步任务,根据写真模型 ID 开始生成人物形象在指定风格上的写真图片,获得任务 ID。\n- 查询生成写真图片任务:根据任务 ID 查询生成图片任务的处理状态、处理结果。\n\n提交生成写真图片任务默认提供1个并发任务数。",
40
47
  "input": "SubmitDrawPortraitJobRequest",
@@ -653,6 +660,107 @@
653
660
  ],
654
661
  "type": "object"
655
662
  },
663
+ "ReplaceBackgroundRequest": {
664
+ "document": "ReplaceBackground请求参数结构体",
665
+ "members": [
666
+ {
667
+ "disabled": false,
668
+ "document": "商品原图 Url。\n图片限制:单边分辨率小于4000,长宽比在2:5 ~ 5:2之间,转成 Base64 字符串后小于 6MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。",
669
+ "example": "无",
670
+ "member": "string",
671
+ "name": "ProductUrl",
672
+ "required": true,
673
+ "type": "string"
674
+ },
675
+ {
676
+ "disabled": false,
677
+ "document": "商品 Mask 图 Url,要求背景透明,保留商品主体。\n如果不传,将自动使用内置的商品分割算法得到 Mask。\n支持自定义上传 Mask,如果该参数不为空,则以实际上传的数据为准。\n图片限制:Mask 图必须和商品原图分辨率一致,转成 Base64 字符串后小于 6MB,格式仅支持 png。",
678
+ "example": "无",
679
+ "member": "string",
680
+ "name": "MaskUrl",
681
+ "required": false,
682
+ "type": "string"
683
+ },
684
+ {
685
+ "disabled": false,
686
+ "document": "对新背景的文本描述。\n最多支持256个 utf-8 字符,支持中、英文。",
687
+ "example": "无",
688
+ "member": "string",
689
+ "name": "Prompt",
690
+ "required": false,
691
+ "type": "string"
692
+ },
693
+ {
694
+ "disabled": false,
695
+ "document": "替换背景后生成的商品图分辨率。\n支持生成单边分辨率大于500且小于4000、长宽比在2:5 ~ 5:2之间的图片,不传默认生成1280:1280。\n建议图片比例为1:1、9:16、16:9,生成效果更佳,使用其他比例的生成效果可能不如建议比例。",
696
+ "example": "1280:1280",
697
+ "member": "string",
698
+ "name": "Resolution",
699
+ "required": false,
700
+ "type": "string"
701
+ },
702
+ {
703
+ "disabled": false,
704
+ "document": "为生成结果图添加标识的开关,默认为1。\n1:添加标识。\n0:不添加标识。\n其他数值:默认按1处理。\n建议您使用显著标识来提示结果图是 AI 生成的图片。",
705
+ "example": "无",
706
+ "member": "int64",
707
+ "name": "LogoAdd",
708
+ "required": false,
709
+ "type": "int"
710
+ },
711
+ {
712
+ "disabled": false,
713
+ "document": "标识内容设置。\n默认在生成结果图右下角添加“图片由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。",
714
+ "example": "无",
715
+ "member": "LogoParam",
716
+ "name": "LogoParam",
717
+ "required": false,
718
+ "type": "object"
719
+ },
720
+ {
721
+ "disabled": false,
722
+ "document": "返回图像方式(base64 或 url) ,二选一,默认为 base64。url 有效期为1小时。\n生成图分辨率较大时建议选择 url,使用 base64 可能因图片过大导致返回失败。",
723
+ "example": "base64",
724
+ "member": "string",
725
+ "name": "RspImgType",
726
+ "required": false,
727
+ "type": "string"
728
+ }
729
+ ],
730
+ "type": "object"
731
+ },
732
+ "ReplaceBackgroundResponse": {
733
+ "document": "ReplaceBackground返回参数结构体",
734
+ "members": [
735
+ {
736
+ "disabled": false,
737
+ "document": "根据入参 RspImgType 填入不同,返回不同的内容。\n如果传入 base64 则返回生成图 Base64 编码。\n如果传入 url 则返回的生成图 URL , 有效期1小时,请及时保存。",
738
+ "example": "无",
739
+ "member": "string",
740
+ "name": "ResultImage",
741
+ "output_required": true,
742
+ "type": "string",
743
+ "value_allowed_null": false
744
+ },
745
+ {
746
+ "disabled": false,
747
+ "document": "如果 MaskUrl 未传,则返回使用内置商品分割算法得到的 Mask 结果。",
748
+ "example": "无",
749
+ "member": "string",
750
+ "name": "MaskImage",
751
+ "output_required": false,
752
+ "type": "string",
753
+ "value_allowed_null": false
754
+ },
755
+ {
756
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
757
+ "member": "string",
758
+ "name": "RequestId",
759
+ "type": "string"
760
+ }
761
+ ],
762
+ "type": "object"
763
+ },
656
764
  "ResultConfig": {
657
765
  "document": "返回结果配置",
658
766
  "members": [
@@ -40,6 +40,14 @@
40
40
  "title": "查询成功"
41
41
  }
42
42
  ],
43
+ "ReplaceBackground": [
44
+ {
45
+ "document": "成功调用并生成图片",
46
+ "input": "POST / HTTP/1.1\nHost: aiart.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ReplaceBackground\n<公共请求参数>\n\n{\n \"ProductUrl\": \"https://xxx.com/test.jpg\",\n \"MaskUrl\": \"https://xxx.com/test.jpg\",\n \"Prompt\": \"backpack,real picture quality, fabric texture, fine, cartoon\",\n \"RspImgType\": \"url\"\n}",
47
+ "output": "{\n \"Response\": {\n \"RequestId\": \"0d0728ed-f777-4861-aa4b-5a6167daa0b6\",\n \"ResultImage\": \"https://result.jpg\"\n }\n}",
48
+ "title": "成功调用并生成图片"
49
+ }
50
+ ],
43
51
  "SubmitDrawPortraitJob": [
44
52
  {
45
53
  "document": "调用成功",
@@ -137,10 +137,54 @@
137
137
  "example": "xx",
138
138
  "member": "Scf",
139
139
  "name": "Scf",
140
- "output_required": true,
140
+ "output_required": false,
141
141
  "required": false,
142
142
  "type": "object",
143
143
  "value_allowed_null": true
144
+ },
145
+ {
146
+ "disabled": false,
147
+ "document": "审批状态 (取值范围 0:待审批 1:审批通过 2:拒绝 6:其他人已审批)\n注意:此字段可能返回 null,表示取不到有效值。",
148
+ "example": "1",
149
+ "member": "uint64",
150
+ "name": "ApproveStatus",
151
+ "output_required": false,
152
+ "required": false,
153
+ "type": "int",
154
+ "value_allowed_null": true
155
+ },
156
+ {
157
+ "disabled": false,
158
+ "document": "审批意见\n注意:此字段可能返回 null,表示取不到有效值。",
159
+ "example": "同意",
160
+ "member": "string",
161
+ "name": "ApproveMsg",
162
+ "output_required": false,
163
+ "required": false,
164
+ "type": "string",
165
+ "value_allowed_null": true
166
+ },
167
+ {
168
+ "disabled": false,
169
+ "document": "审批时间\n注意:此字段可能返回 null,表示取不到有效值。",
170
+ "example": "2024-05-21 12:34:16",
171
+ "member": "string",
172
+ "name": "ApproveTime",
173
+ "output_required": false,
174
+ "required": false,
175
+ "type": "string",
176
+ "value_allowed_null": true
177
+ },
178
+ {
179
+ "disabled": false,
180
+ "document": "审批组名称\n注意:此字段可能返回 null,表示取不到有效值。",
181
+ "example": "\"\"",
182
+ "member": "string",
183
+ "name": "ApproveGroup",
184
+ "output_required": false,
185
+ "required": false,
186
+ "type": "string",
187
+ "value_allowed_null": true
144
188
  }
145
189
  ],
146
190
  "usage": "both"
@@ -1569,180 +1569,180 @@
1569
1569
  {
1570
1570
  "disabled": false,
1571
1571
  "document": "负载均衡监听器ID",
1572
- "example": "",
1572
+ "example": "",
1573
1573
  "member": "string",
1574
1574
  "name": "ListenerId",
1575
- "required": true,
1575
+ "output_required": true,
1576
1576
  "type": "string",
1577
1577
  "value_allowed_null": false
1578
1578
  },
1579
1579
  {
1580
1580
  "disabled": false,
1581
1581
  "document": "负载均衡监听器端口",
1582
- "example": "",
1582
+ "example": "",
1583
1583
  "member": "int64",
1584
1584
  "name": "ListenerPort",
1585
- "required": true,
1585
+ "output_required": true,
1586
1586
  "type": "int",
1587
1587
  "value_allowed_null": false
1588
1588
  },
1589
1589
  {
1590
1590
  "disabled": false,
1591
1591
  "document": "监听器后端转发端口",
1592
- "example": "",
1592
+ "example": "",
1593
1593
  "member": "int64",
1594
1594
  "name": "InstancePort",
1595
- "required": true,
1595
+ "output_required": true,
1596
1596
  "type": "int",
1597
1597
  "value_allowed_null": false
1598
1598
  },
1599
1599
  {
1600
1600
  "disabled": false,
1601
1601
  "document": "监听器名称",
1602
- "example": "",
1602
+ "example": "",
1603
1603
  "member": "string",
1604
1604
  "name": "ListenerName",
1605
- "required": true,
1605
+ "output_required": true,
1606
1606
  "type": "string",
1607
1607
  "value_allowed_null": false
1608
1608
  },
1609
1609
  {
1610
1610
  "disabled": false,
1611
1611
  "document": "监听器协议类型",
1612
- "example": "",
1612
+ "example": "",
1613
1613
  "member": "string",
1614
1614
  "name": "Protocol",
1615
- "required": true,
1615
+ "output_required": true,
1616
1616
  "type": "string",
1617
1617
  "value_allowed_null": false
1618
1618
  },
1619
1619
  {
1620
1620
  "disabled": false,
1621
1621
  "document": "会话保持时间",
1622
- "example": "",
1622
+ "example": "",
1623
1623
  "member": "int64",
1624
1624
  "name": "SessionExpire",
1625
- "required": true,
1625
+ "output_required": true,
1626
1626
  "type": "int",
1627
1627
  "value_allowed_null": false
1628
1628
  },
1629
1629
  {
1630
1630
  "disabled": false,
1631
1631
  "document": "是否开启了健康检查:1(开启)、0(关闭)",
1632
- "example": "",
1632
+ "example": "",
1633
1633
  "member": "int64",
1634
1634
  "name": "HealthSwitch",
1635
- "required": true,
1635
+ "output_required": true,
1636
1636
  "type": "int",
1637
1637
  "value_allowed_null": false
1638
1638
  },
1639
1639
  {
1640
1640
  "disabled": false,
1641
1641
  "document": "响应超时时间",
1642
- "example": "",
1642
+ "example": "",
1643
1643
  "member": "int64",
1644
1644
  "name": "TimeOut",
1645
- "required": true,
1645
+ "output_required": true,
1646
1646
  "type": "int",
1647
1647
  "value_allowed_null": false
1648
1648
  },
1649
1649
  {
1650
1650
  "disabled": false,
1651
1651
  "document": "检查间隔",
1652
- "example": "",
1652
+ "example": "",
1653
1653
  "member": "int64",
1654
1654
  "name": "IntervalTime",
1655
- "required": true,
1655
+ "output_required": true,
1656
1656
  "type": "int",
1657
1657
  "value_allowed_null": false
1658
1658
  },
1659
1659
  {
1660
1660
  "disabled": false,
1661
1661
  "document": "健康阈值",
1662
- "example": "",
1662
+ "example": "",
1663
1663
  "member": "int64",
1664
1664
  "name": "HealthNum",
1665
- "required": true,
1665
+ "output_required": true,
1666
1666
  "type": "int",
1667
1667
  "value_allowed_null": false
1668
1668
  },
1669
1669
  {
1670
1670
  "disabled": false,
1671
1671
  "document": "不健康阈值",
1672
- "example": "",
1672
+ "example": "",
1673
1673
  "member": "int64",
1674
1674
  "name": "UnhealthNum",
1675
- "required": true,
1675
+ "output_required": true,
1676
1676
  "type": "int",
1677
1677
  "value_allowed_null": false
1678
1678
  },
1679
1679
  {
1680
1680
  "disabled": false,
1681
- "document": "传统型公网负载均衡的 HTTP、HTTPS 监听器的请求均衡方法。wrr 表示按权重轮询,ip_hash 表示根据访问的源 IP 进行一致性哈希方式来分发",
1682
- "example": "",
1681
+ "document": "传统型公网负载均衡 监听器的请求均衡方法。空字符串或wrr 表示按权重轮询,ip_hash 表示根据访问的源 IP 进行一致性哈希方式来分发,least_conn表示按最小连接数。",
1682
+ "example": "",
1683
1683
  "member": "string",
1684
1684
  "name": "HttpHash",
1685
- "required": true,
1685
+ "output_required": true,
1686
1686
  "type": "string",
1687
1687
  "value_allowed_null": false
1688
1688
  },
1689
1689
  {
1690
1690
  "disabled": false,
1691
1691
  "document": "传统型公网负载均衡的 HTTP、HTTPS 监听器的健康检查返回码。具体可参考创建监听器中对该字段的解释",
1692
- "example": "",
1692
+ "example": "",
1693
1693
  "member": "int64",
1694
1694
  "name": "HttpCode",
1695
- "required": true,
1695
+ "output_required": true,
1696
1696
  "type": "int",
1697
1697
  "value_allowed_null": false
1698
1698
  },
1699
1699
  {
1700
1700
  "disabled": false,
1701
1701
  "document": "传统型公网负载均衡的 HTTP、HTTPS 监听器的健康检查路径",
1702
- "example": "",
1702
+ "example": "",
1703
1703
  "member": "string",
1704
1704
  "name": "HttpCheckPath",
1705
- "required": true,
1705
+ "output_required": true,
1706
1706
  "type": "string",
1707
1707
  "value_allowed_null": false
1708
1708
  },
1709
1709
  {
1710
1710
  "disabled": false,
1711
1711
  "document": "传统型公网负载均衡的 HTTPS 监听器的认证方式",
1712
- "example": "",
1712
+ "example": "",
1713
1713
  "member": "string",
1714
1714
  "name": "SSLMode",
1715
- "required": true,
1715
+ "output_required": true,
1716
1716
  "type": "string",
1717
1717
  "value_allowed_null": false
1718
1718
  },
1719
1719
  {
1720
1720
  "disabled": false,
1721
1721
  "document": "传统型公网负载均衡的 HTTPS 监听器的服务端证书 ID",
1722
- "example": "",
1722
+ "example": "",
1723
1723
  "member": "string",
1724
1724
  "name": "CertId",
1725
- "required": true,
1725
+ "output_required": true,
1726
1726
  "type": "string",
1727
1727
  "value_allowed_null": false
1728
1728
  },
1729
1729
  {
1730
1730
  "disabled": false,
1731
1731
  "document": "传统型公网负载均衡的 HTTPS 监听器的客户端证书 ID",
1732
- "example": "",
1732
+ "example": "",
1733
1733
  "member": "string",
1734
1734
  "name": "CertCaId",
1735
- "required": true,
1735
+ "output_required": true,
1736
1736
  "type": "string",
1737
1737
  "value_allowed_null": false
1738
1738
  },
1739
1739
  {
1740
1740
  "disabled": false,
1741
1741
  "document": "监听器的状态,0 表示创建中,1 表示运行中",
1742
- "example": "",
1742
+ "example": "",
1743
1743
  "member": "int64",
1744
1744
  "name": "Status",
1745
- "required": true,
1745
+ "output_required": true,
1746
1746
  "type": "int",
1747
1747
  "value_allowed_null": false
1748
1748
  }
@@ -7364,6 +7364,33 @@
7364
7364
  "name": "GroupId",
7365
7365
  "required": true,
7366
7366
  "type": "string"
7367
+ },
7368
+ {
7369
+ "disabled": false,
7370
+ "document": "ip\n- 按照【ip】进行过滤。\n- 类型:String\n- 必选:否\n\ninstance\n- 按照【instance】进行过滤。\n- 类型:String\n- 必选:否\n\nversion\n- 按照【LogListener版本】进行过滤。\n- 类型:String\n- 必选:否\n\nstatus\n- 按照【状态】进行过滤。\n- 类型:String\n- 必选:否\n- 可选值:0:离线,1:正常\n\nofflineTime\n- 按照【机器离线时间】进行过滤。\n- 类型:String\n- 必选:否\n- - 可选值:0:无离线时间,12:12小时内,24:一天内,48:两天内,99:两天前\n\n每次请求的Filters的上限为10,Filter.Values的上限为100。",
7371
+ "example": "无",
7372
+ "member": "Filter",
7373
+ "name": "Filters",
7374
+ "required": false,
7375
+ "type": "list"
7376
+ },
7377
+ {
7378
+ "disabled": false,
7379
+ "document": "分页的偏移量。",
7380
+ "example": "0",
7381
+ "member": "uint64",
7382
+ "name": "Offset",
7383
+ "required": false,
7384
+ "type": "int"
7385
+ },
7386
+ {
7387
+ "disabled": false,
7388
+ "document": "分页单页限制数目。最大支持100",
7389
+ "example": "10",
7390
+ "member": "uint64",
7391
+ "name": "Limit",
7392
+ "required": false,
7393
+ "type": "int"
7367
7394
  }
7368
7395
  ],
7369
7396
  "type": "object"
@@ -7431,6 +7458,16 @@
7431
7458
  "type": "bool",
7432
7459
  "value_allowed_null": false
7433
7460
  },
7461
+ {
7462
+ "disabled": false,
7463
+ "document": "总数目\n注意:此字段可能返回 null,表示取不到有效值。",
7464
+ "example": "2",
7465
+ "member": "uint64",
7466
+ "name": "TotalCount",
7467
+ "output_required": false,
7468
+ "type": "int",
7469
+ "value_allowed_null": true
7470
+ },
7434
7471
  {
7435
7472
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
7436
7473
  "member": "string",