tccli 3.0.1357.1__py2.py3-none-any.whl → 3.0.1358.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 (29) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/cdz/v20221123/api.json +1 -1
  3. tccli/services/clb/v20180317/api.json +4 -4
  4. tccli/services/cloudaudit/v20190319/api.json +9 -0
  5. tccli/services/ctem/ctem_client.py +57 -4
  6. tccli/services/ctem/v20231128/api.json +70 -0
  7. tccli/services/ctem/v20231128/examples.json +8 -0
  8. tccli/services/cwp/v20180228/api.json +13 -3
  9. tccli/services/dnspod/dnspod_client.py +53 -0
  10. tccli/services/dnspod/v20210323/api.json +218 -0
  11. tccli/services/dnspod/v20210323/examples.json +26 -0
  12. tccli/services/emr/v20190103/api.json +10 -0
  13. tccli/services/ess/ess_client.py +103 -50
  14. tccli/services/ess/v20201111/api.json +337 -0
  15. tccli/services/ess/v20201111/examples.json +8 -0
  16. tccli/services/igtm/v20231024/api.json +1 -1
  17. tccli/services/rum/v20210622/api.json +15 -15
  18. tccli/services/tat/v20201028/api.json +10 -0
  19. tccli/services/trtc/v20190722/api.json +21 -10
  20. tccli/services/trtc/v20190722/examples.json +1 -1
  21. tccli/services/vclm/v20240523/api.json +9 -0
  22. tccli/services/vod/v20180717/api.json +29 -1
  23. tccli/services/vod/v20180717/examples.json +2 -2
  24. tccli/services/weilingwith/v20230427/api.json +2 -2
  25. {tccli-3.0.1357.1.dist-info → tccli-3.0.1358.1.dist-info}/METADATA +2 -2
  26. {tccli-3.0.1357.1.dist-info → tccli-3.0.1358.1.dist-info}/RECORD +29 -29
  27. {tccli-3.0.1357.1.dist-info → tccli-3.0.1358.1.dist-info}/WHEEL +0 -0
  28. {tccli-3.0.1357.1.dist-info → tccli-3.0.1358.1.dist-info}/entry_points.txt +0 -0
  29. {tccli-3.0.1357.1.dist-info → tccli-3.0.1358.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1357.1'
1
+ __version__ = '3.0.1358.1'
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "metadata": {
19
19
  "apiVersion": "2022-11-23",
20
- "api_brief": "介绍如何使用API对专属可用区进行操作,包括查看专属可用区的基本信息和订单数据,以及获取专属可用区内可用资源情况等。",
20
+ "api_brief": "可查询专属可用区CDZ中的资源情况,包括水位、母机等信息。",
21
21
  "serviceNameCN": "专属可用区",
22
22
  "serviceShortName": "cdz"
23
23
  },
@@ -2876,7 +2876,7 @@
2876
2876
  {
2877
2877
  "disabled": false,
2878
2878
  "document": "健康检查相关参数,此参数仅适用于TCP/UDP/TCP_SSL/QUIC监听器。",
2879
- "example": "",
2879
+ "example": "{\"CheckPort\": -1, \"CheckType\": \"TCP\", \"HealthNum\": 3, \"HealthSwitch\": 1, \"IntervalTime\": 5, \"SourceIpType\": 1, \"TimeOut\": 2, \"UnHealthNum\": 3}",
2880
2880
  "member": "HealthCheck",
2881
2881
  "name": "HealthCheck",
2882
2882
  "required": false,
@@ -2885,7 +2885,7 @@
2885
2885
  {
2886
2886
  "disabled": false,
2887
2887
  "document": "证书相关信息。参数限制如下:\n<li>此参数仅适用于TCP_SSL监听器和未开启SNI特性的HTTPS监听器。</li>\n<li>创建TCP_SSL监听器和未开启SNI特性的HTTPS监听器时,此参数和参数MultiCertInfo至少需要传一个, 但不能同时传入。</li>",
2888
- "example": "",
2888
+ "example": "{\"CertId\": \"PY6XAzZw\", \"SSLMode\": \"UNIDIRECTIONAL\"}",
2889
2889
  "member": "CertificateInput",
2890
2890
  "name": "Certificate",
2891
2891
  "required": false,
@@ -2956,7 +2956,7 @@
2956
2956
  },
2957
2957
  {
2958
2958
  "disabled": false,
2959
- "document": "解绑后端目标时,是否发RST给客户端,此参数仅适用于TCP监听器。",
2959
+ "document": "解绑后端目标时,是否发RST给两端(客户端和服务器),此参数仅适用于TCP监听器。",
2960
2960
  "example": "False",
2961
2961
  "member": "bool",
2962
2962
  "name": "DeregisterTargetRst",
@@ -2966,7 +2966,7 @@
2966
2966
  {
2967
2967
  "disabled": false,
2968
2968
  "document": "证书信息,支持同时传入不同算法类型的多本服务端证书,参数限制如下:\n<li>此参数仅适用于TCP_SSL监听器和未开启SNI特性的HTTPS监听器。</li>\n<li>创建TCP_SSL监听器和未开启SNI特性的HTTPS监听器时,此参数和参数Certificate至少需要传一个, 但不能同时传入。</li>",
2969
- "example": "",
2969
+ "example": "{\"CertList\": [{\"CertId\": \"PY6XAzZw\"}, {\"CertId\": \"OMN6Gek7\"}], \"SSLMode\": \"UNIDIRECTIONAL\"}",
2970
2970
  "member": "MultiCertInfo",
2971
2971
  "name": "MultiCertInfo",
2972
2972
  "required": false,
@@ -373,6 +373,15 @@
373
373
  "name": "TrackForAllMembers",
374
374
  "required": false,
375
375
  "type": "int"
376
+ },
377
+ {
378
+ "disabled": false,
379
+ "document": "任务ID",
380
+ "example": "20250707_163212_1hxWz5otqS7akePfoX1xlWem1AuUVUGP",
381
+ "member": "string",
382
+ "name": "ExportId",
383
+ "required": false,
384
+ "type": "string"
376
385
  }
377
386
  ],
378
387
  "type": "object"
@@ -277,6 +277,58 @@ def doDescribeDomains(args, parsed_globals):
277
277
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
278
278
 
279
279
 
280
+ def doDescribeFakeWechatOfficials(args, parsed_globals):
281
+ g_param = parse_global_arg(parsed_globals)
282
+
283
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
284
+ cred = credential.CVMRoleCredential()
285
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
286
+ cred = credential.STSAssumeRoleCredential(
287
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
288
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
289
+ )
290
+ 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):
291
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
292
+ else:
293
+ cred = credential.Credential(
294
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
295
+ )
296
+ http_profile = HttpProfile(
297
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
298
+ reqMethod="POST",
299
+ endpoint=g_param[OptionsDefine.Endpoint],
300
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
301
+ )
302
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
303
+ if g_param[OptionsDefine.Language]:
304
+ profile.language = g_param[OptionsDefine.Language]
305
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
306
+ client = mod.CtemClient(cred, g_param[OptionsDefine.Region], profile)
307
+ client._sdkVersion += ("_CLI_" + __version__)
308
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
309
+ model = models.DescribeFakeWechatOfficialsRequest()
310
+ model.from_json_string(json.dumps(args))
311
+ start_time = time.time()
312
+ while True:
313
+ rsp = client.DescribeFakeWechatOfficials(model)
314
+ result = rsp.to_json_string()
315
+ try:
316
+ json_obj = json.loads(result)
317
+ except TypeError as e:
318
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
319
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
320
+ break
321
+ cur_time = time.time()
322
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
323
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
324
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
325
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
326
+ else:
327
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
328
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
329
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
330
+
331
+
280
332
  def doDescribeVuls(args, parsed_globals):
281
333
  g_param = parse_global_arg(parsed_globals)
282
334
 
@@ -849,7 +901,7 @@ def doDescribeApps(args, parsed_globals):
849
901
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
850
902
 
851
903
 
852
- def doDescribeFakeWechatOfficials(args, parsed_globals):
904
+ def doModifyLabel(args, parsed_globals):
853
905
  g_param = parse_global_arg(parsed_globals)
854
906
 
855
907
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -878,11 +930,11 @@ def doDescribeFakeWechatOfficials(args, parsed_globals):
878
930
  client = mod.CtemClient(cred, g_param[OptionsDefine.Region], profile)
879
931
  client._sdkVersion += ("_CLI_" + __version__)
880
932
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
881
- model = models.DescribeFakeWechatOfficialsRequest()
933
+ model = models.ModifyLabelRequest()
882
934
  model.from_json_string(json.dumps(args))
883
935
  start_time = time.time()
884
936
  while True:
885
- rsp = client.DescribeFakeWechatOfficials(model)
937
+ rsp = client.ModifyLabel(model)
886
938
  result = rsp.to_json_string()
887
939
  try:
888
940
  json_obj = json.loads(result)
@@ -1697,6 +1749,7 @@ ACTION_MAP = {
1697
1749
  "DescribeLeakageDatas": doDescribeLeakageDatas,
1698
1750
  "ModifyCustomer": doModifyCustomer,
1699
1751
  "DescribeDomains": doDescribeDomains,
1752
+ "DescribeFakeWechatOfficials": doDescribeFakeWechatOfficials,
1700
1753
  "DescribeVuls": doDescribeVuls,
1701
1754
  "DescribeConfigs": doDescribeConfigs,
1702
1755
  "DescribeWechatApplets": doDescribeWechatApplets,
@@ -1708,7 +1761,7 @@ ACTION_MAP = {
1708
1761
  "DescribeLeakageEmails": doDescribeLeakageEmails,
1709
1762
  "DescribeFakeApps": doDescribeFakeApps,
1710
1763
  "DescribeApps": doDescribeApps,
1711
- "DescribeFakeWechatOfficials": doDescribeFakeWechatOfficials,
1764
+ "ModifyLabel": doModifyLabel,
1712
1765
  "DescribeJobRecordDetails": doDescribeJobRecordDetails,
1713
1766
  "DescribeSuspiciousAssets": doDescribeSuspiciousAssets,
1714
1767
  "DescribeGithubs": doDescribeGithubs,
@@ -217,6 +217,13 @@
217
217
  "output": "ModifyCustomerResponse",
218
218
  "status": "online"
219
219
  },
220
+ "ModifyLabel": {
221
+ "document": "修改标签",
222
+ "input": "ModifyLabelRequest",
223
+ "name": "修改标签",
224
+ "output": "ModifyLabelResponse",
225
+ "status": "online"
226
+ },
220
227
  "StopJobRecord": {
221
228
  "document": "停止扫描",
222
229
  "input": "StopJobRecordRequest",
@@ -7657,6 +7664,69 @@
7657
7664
  ],
7658
7665
  "type": "object"
7659
7666
  },
7667
+ "ModifyLabelRequest": {
7668
+ "document": "ModifyLabel请求参数结构体",
7669
+ "members": [
7670
+ {
7671
+ "disabled": false,
7672
+ "document": "资产或风险主键ID",
7673
+ "example": "100",
7674
+ "member": "int64",
7675
+ "name": "Id",
7676
+ "required": true,
7677
+ "type": "int"
7678
+ },
7679
+ {
7680
+ "disabled": false,
7681
+ "document": "企业ID,在企业管理页面查看",
7682
+ "example": "10001",
7683
+ "member": "int64",
7684
+ "name": "CustomerId",
7685
+ "required": true,
7686
+ "type": "int"
7687
+ },
7688
+ {
7689
+ "disabled": false,
7690
+ "document": "模块,包括:enterprise:企业架构,domain:主域名,sub_domain:子域名,asset:IP资产,port:端口服务,http:HTTP资产,vul:漏洞信息,app:APP,wechat_applet:微信小程序,wechat_official_account:微信公众号,github:Github信息泄露,manage:管理后台暴露,config:目录爆破,dark_web:暗网泄露,net_disk:文库网盘泄露,supply_chain:供应链,weak_password:弱口令,sensitive_info:敏感信息泄露",
7691
+ "example": "asset",
7692
+ "member": "string",
7693
+ "name": "Module",
7694
+ "required": true,
7695
+ "type": "string"
7696
+ },
7697
+ {
7698
+ "disabled": false,
7699
+ "document": "是否聚合数据",
7700
+ "example": "无",
7701
+ "member": "bool",
7702
+ "name": "IsAggregation",
7703
+ "required": false,
7704
+ "type": "bool"
7705
+ },
7706
+ {
7707
+ "disabled": false,
7708
+ "document": "标签详情",
7709
+ "example": "json字符串格式,注意key值要带user_input_前缀,例如:{\\\"user_input_a\\\":[\\\"123\\\"],\\\"user_input_b\\\":[\\\"456\\\"]}",
7710
+ "member": "string",
7711
+ "name": "Labels",
7712
+ "required": false,
7713
+ "type": "string"
7714
+ }
7715
+ ],
7716
+ "type": "object"
7717
+ },
7718
+ "ModifyLabelResponse": {
7719
+ "document": "ModifyLabel返回参数结构体",
7720
+ "members": [
7721
+ {
7722
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
7723
+ "member": "string",
7724
+ "name": "RequestId",
7725
+ "type": "string"
7726
+ }
7727
+ ],
7728
+ "type": "object"
7729
+ },
7660
7730
  "StopJobRecordRequest": {
7661
7731
  "document": "StopJobRecord请求参数结构体",
7662
7732
  "members": [
@@ -248,6 +248,14 @@
248
248
  "title": "编辑企业"
249
249
  }
250
250
  ],
251
+ "ModifyLabel": [
252
+ {
253
+ "document": "编辑标签",
254
+ "input": "POST / HTTP/1.1\nHost: ctem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyLabel\n<公共请求参数>\n\n{\n \"Id\": 8706,\n \"CustomerId\": 100162,\n \"Module\": \"asset\",\n \"Labels\": \"{\\\"user_input_123\\\":[\\\"测试\\\"]}\"\n}",
255
+ "output": "{\n \"Response\": {\n \"RequestId\": \"fe8d21e4-73e7-425a-aebf-4a97396af03b\"\n }\n}",
256
+ "title": "编辑标签"
257
+ }
258
+ ],
251
259
  "StopJobRecord": [
252
260
  {
253
261
  "document": "停止任务",
@@ -25939,7 +25939,7 @@
25939
25939
  {
25940
25940
  "disabled": false,
25941
25941
  "document": "旗舰版 配置信息",
25942
- "example": "1",
25942
+ "example": "",
25943
25943
  "member": "VersionWhiteConfig",
25944
25944
  "name": "FlagShip",
25945
25945
  "output_required": true,
@@ -25949,7 +25949,7 @@
25949
25949
  {
25950
25950
  "disabled": false,
25951
25951
  "document": "专业版 配置信息",
25952
- "example": "1",
25952
+ "example": "",
25953
25953
  "member": "VersionWhiteConfig",
25954
25954
  "name": "Professional",
25955
25955
  "output_required": true,
@@ -25959,13 +25959,23 @@
25959
25959
  {
25960
25960
  "disabled": false,
25961
25961
  "document": "轻量版 配置信息",
25962
- "example": "1",
25962
+ "example": "",
25963
25963
  "member": "VersionWhiteConfig",
25964
25964
  "name": "PrattWhitney",
25965
25965
  "output_required": true,
25966
25966
  "type": "object",
25967
25967
  "value_allowed_null": false
25968
25968
  },
25969
+ {
25970
+ "disabled": false,
25971
+ "document": "重保授权包 配置信息",
25972
+ "example": "无",
25973
+ "member": "VersionWhiteConfig",
25974
+ "name": "RASP",
25975
+ "output_required": false,
25976
+ "type": "object",
25977
+ "value_allowed_null": false
25978
+ },
25969
25979
  {
25970
25980
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
25971
25981
  "member": "string",
@@ -4385,6 +4385,58 @@ def doModifyDomainRemark(args, parsed_globals):
4385
4385
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4386
4386
 
4387
4387
 
4388
+ def doDescribeResolveCount(args, parsed_globals):
4389
+ g_param = parse_global_arg(parsed_globals)
4390
+
4391
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
4392
+ cred = credential.CVMRoleCredential()
4393
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
4394
+ cred = credential.STSAssumeRoleCredential(
4395
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
4396
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
4397
+ )
4398
+ 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):
4399
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
4400
+ else:
4401
+ cred = credential.Credential(
4402
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
4403
+ )
4404
+ http_profile = HttpProfile(
4405
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
4406
+ reqMethod="POST",
4407
+ endpoint=g_param[OptionsDefine.Endpoint],
4408
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
4409
+ )
4410
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
4411
+ if g_param[OptionsDefine.Language]:
4412
+ profile.language = g_param[OptionsDefine.Language]
4413
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
4414
+ client = mod.DnspodClient(cred, g_param[OptionsDefine.Region], profile)
4415
+ client._sdkVersion += ("_CLI_" + __version__)
4416
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
4417
+ model = models.DescribeResolveCountRequest()
4418
+ model.from_json_string(json.dumps(args))
4419
+ start_time = time.time()
4420
+ while True:
4421
+ rsp = client.DescribeResolveCount(model)
4422
+ result = rsp.to_json_string()
4423
+ try:
4424
+ json_obj = json.loads(result)
4425
+ except TypeError as e:
4426
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
4427
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
4428
+ break
4429
+ cur_time = time.time()
4430
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
4431
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
4432
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
4433
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
4434
+ else:
4435
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
4436
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
4437
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4438
+
4439
+
4388
4440
  def doDescribeSubdomainValidateStatus(args, parsed_globals):
4389
4441
  g_param = parse_global_arg(parsed_globals)
4390
4442
 
@@ -4792,6 +4844,7 @@ ACTION_MAP = {
4792
4844
  "DescribeRecord": doDescribeRecord,
4793
4845
  "DescribeDomainShareUserList": doDescribeDomainShareUserList,
4794
4846
  "ModifyDomainRemark": doModifyDomainRemark,
4847
+ "DescribeResolveCount": doDescribeResolveCount,
4795
4848
  "DescribeSubdomainValidateStatus": doDescribeSubdomainValidateStatus,
4796
4849
  "DeleteDomainAlias": doDeleteDomainAlias,
4797
4850
  "DescribeBatchTask": doDescribeBatchTask,
@@ -392,6 +392,13 @@
392
392
  "output": "DescribeRecordTypeResponse",
393
393
  "status": "online"
394
394
  },
395
+ "DescribeResolveCount": {
396
+ "document": "查看域名的解析量",
397
+ "input": "DescribeResolveCountRequest",
398
+ "name": "查询域名解析量",
399
+ "output": "DescribeResolveCountResponse",
400
+ "status": "online"
401
+ },
395
402
  "DescribeSnapshotConfig": {
396
403
  "document": "查询解析快照配置",
397
404
  "input": "DescribeSnapshotConfigRequest",
@@ -5592,6 +5599,99 @@
5592
5599
  ],
5593
5600
  "type": "object"
5594
5601
  },
5602
+ "DescribeResolveCountRequest": {
5603
+ "document": "DescribeResolveCount请求参数结构体",
5604
+ "members": [
5605
+ {
5606
+ "disabled": false,
5607
+ "document": "要查询解析量的域名",
5608
+ "example": "example.com",
5609
+ "member": "string",
5610
+ "name": "Domain",
5611
+ "required": true,
5612
+ "type": "string"
5613
+ },
5614
+ {
5615
+ "disabled": false,
5616
+ "document": "查询的开始时间,格式:YYYY-MM-DD,最多允许查询最近32天的数据。",
5617
+ "example": "2022-06-08",
5618
+ "member": "string",
5619
+ "name": "StartDate",
5620
+ "required": true,
5621
+ "type": "string"
5622
+ },
5623
+ {
5624
+ "disabled": false,
5625
+ "document": "查询的结束时间,格式:YYYY-MM-DD,最多允许查询最近32天的数据。",
5626
+ "example": "2022-06-14",
5627
+ "member": "string",
5628
+ "name": "EndDate",
5629
+ "required": true,
5630
+ "type": "string"
5631
+ },
5632
+ {
5633
+ "disabled": false,
5634
+ "document": "数据统计格式,取值为minute、hour、day,分别表示按十分钟、小时、天统计数据",
5635
+ "example": "minute",
5636
+ "member": "string",
5637
+ "name": "DnsFormat",
5638
+ "required": true,
5639
+ "type": "string"
5640
+ },
5641
+ {
5642
+ "disabled": false,
5643
+ "document": "域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId",
5644
+ "example": "435436",
5645
+ "member": "uint64",
5646
+ "name": "DomainId",
5647
+ "required": false,
5648
+ "type": "int"
5649
+ }
5650
+ ],
5651
+ "type": "object"
5652
+ },
5653
+ "DescribeResolveCountResponse": {
5654
+ "document": "DescribeResolveCount返回参数结构体",
5655
+ "members": [
5656
+ {
5657
+ "disabled": false,
5658
+ "document": "解析量明细",
5659
+ "example": "无",
5660
+ "member": "ResolveCountDataItem",
5661
+ "name": "Data",
5662
+ "output_required": true,
5663
+ "type": "list",
5664
+ "value_allowed_null": false
5665
+ },
5666
+ {
5667
+ "disabled": false,
5668
+ "document": "解析量统计信息",
5669
+ "example": "无",
5670
+ "member": "ResolveCountInfo",
5671
+ "name": "Info",
5672
+ "output_required": true,
5673
+ "type": "object",
5674
+ "value_allowed_null": false
5675
+ },
5676
+ {
5677
+ "disabled": false,
5678
+ "document": "别名解析量明细",
5679
+ "example": "无",
5680
+ "member": "ResolveCountAliasItem",
5681
+ "name": "AliasData",
5682
+ "output_required": true,
5683
+ "type": "list",
5684
+ "value_allowed_null": false
5685
+ },
5686
+ {
5687
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
5688
+ "member": "string",
5689
+ "name": "RequestId",
5690
+ "type": "string"
5691
+ }
5692
+ ],
5693
+ "type": "object"
5694
+ },
5595
5695
  "DescribeSnapshotConfigRequest": {
5596
5696
  "document": "DescribeSnapshotConfig请求参数结构体",
5597
5697
  "members": [
@@ -10082,6 +10182,124 @@
10082
10182
  ],
10083
10183
  "usage": "out"
10084
10184
  },
10185
+ "ResolveCountAliasItem": {
10186
+ "document": "域名别名解析量统计信息",
10187
+ "members": [
10188
+ {
10189
+ "disabled": false,
10190
+ "document": "域名解析量统计信息",
10191
+ "example": "无",
10192
+ "member": "ResolveCountInfo",
10193
+ "name": "Info",
10194
+ "output_required": true,
10195
+ "type": "object",
10196
+ "value_allowed_null": false
10197
+ },
10198
+ {
10199
+ "disabled": false,
10200
+ "document": "解析量明细",
10201
+ "example": "无",
10202
+ "member": "ResolveCountDataItem",
10203
+ "name": "Data",
10204
+ "output_required": true,
10205
+ "type": "list",
10206
+ "value_allowed_null": false
10207
+ }
10208
+ ],
10209
+ "usage": "out"
10210
+ },
10211
+ "ResolveCountDataItem": {
10212
+ "document": "解析量小计",
10213
+ "members": [
10214
+ {
10215
+ "disabled": false,
10216
+ "document": "解析量",
10217
+ "example": "1000",
10218
+ "member": "uint64",
10219
+ "name": "Num",
10220
+ "output_required": true,
10221
+ "type": "int",
10222
+ "value_allowed_null": false
10223
+ },
10224
+ {
10225
+ "disabled": false,
10226
+ "document": "统计的时间点",
10227
+ "example": "2024-11-11 02:00:00",
10228
+ "member": "string",
10229
+ "name": "DateKey",
10230
+ "output_required": true,
10231
+ "type": "string",
10232
+ "value_allowed_null": false
10233
+ }
10234
+ ],
10235
+ "usage": "out"
10236
+ },
10237
+ "ResolveCountInfo": {
10238
+ "document": "域名解析量统计信息",
10239
+ "members": [
10240
+ {
10241
+ "disabled": false,
10242
+ "document": "当前统计周期解析量总计",
10243
+ "example": "10000",
10244
+ "member": "uint64",
10245
+ "name": "DnsTotal",
10246
+ "output_required": true,
10247
+ "type": "int",
10248
+ "value_allowed_null": false
10249
+ },
10250
+ {
10251
+ "disabled": false,
10252
+ "document": "当前查询的域名",
10253
+ "example": "example.com",
10254
+ "member": "string",
10255
+ "name": "Domain",
10256
+ "output_required": true,
10257
+ "type": "string",
10258
+ "value_allowed_null": false
10259
+ },
10260
+ {
10261
+ "disabled": false,
10262
+ "document": "当前统计周期开始时间",
10263
+ "example": "2022-06-08",
10264
+ "member": "string",
10265
+ "name": "StartDate",
10266
+ "output_required": true,
10267
+ "type": "string",
10268
+ "value_allowed_null": false
10269
+ },
10270
+ {
10271
+ "disabled": false,
10272
+ "document": "当前统计周期结束时间",
10273
+ "example": "2022-06-14",
10274
+ "member": "string",
10275
+ "name": "EndDate",
10276
+ "output_required": true,
10277
+ "type": "string",
10278
+ "value_allowed_null": false
10279
+ },
10280
+ {
10281
+ "disabled": false,
10282
+ "document": "当前统计的子域名",
10283
+ "example": "www",
10284
+ "member": "string",
10285
+ "name": "SubDomain",
10286
+ "output_required": true,
10287
+ "type": "string",
10288
+ "value_allowed_null": false
10289
+ },
10290
+ {
10291
+ "disabled": false,
10292
+ "document": "数据统计格式,取值为minute、hour、day,分别表示按十分钟、小时、天统计数据",
10293
+ "example": "hour",
10294
+ "member": "string",
10295
+ "name": "DnsFormat",
10296
+ "output_required": true,
10297
+ "type": "string",
10298
+ "value_allowed_null": false
10299
+ }
10300
+ ],
10301
+ "usage": "out"
10302
+ },
10085
10303
  "RollbackRecordSnapshotRequest": {
10086
10304
  "document": "RollbackRecordSnapshot请求参数结构体",
10087
10305
  "members": [