tccli 3.0.1361.1__py2.py3-none-any.whl → 3.0.1363.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 (30) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/captcha/v20190722/api.json +2 -2
  3. tccli/services/cdwdoris/v20211228/api.json +9 -0
  4. tccli/services/cfg/v20210820/api.json +1 -1
  5. tccli/services/clb/v20180317/api.json +35 -6
  6. tccli/services/cvm/v20170312/api.json +1 -1
  7. tccli/services/ecdn/ecdn_client.py +0 -106
  8. tccli/services/ecdn/v20191012/api.json +0 -227
  9. tccli/services/ecdn/v20191012/examples.json +0 -16
  10. tccli/services/ims/v20201229/api.json +20 -20
  11. tccli/services/live/v20180801/api.json +2 -2
  12. tccli/services/live/v20180801/examples.json +2 -2
  13. tccli/services/lke/v20231130/api.json +16 -16
  14. tccli/services/mna/v20210119/api.json +1 -1
  15. tccli/services/mps/v20190612/api.json +67 -14
  16. tccli/services/mps/v20190612/examples.json +2 -2
  17. tccli/services/ocr/v20181119/api.json +30 -0
  18. tccli/services/postgres/v20170312/api.json +2 -2
  19. tccli/services/tione/v20211111/api.json +43 -43
  20. tccli/services/vod/v20180717/api.json +62 -0
  21. tccli/services/vod/v20180717/examples.json +8 -0
  22. tccli/services/vod/vod_client.py +53 -0
  23. tccli/services/wedata/v20210820/api.json +13 -4
  24. tccli/services/wedata/v20210820/examples.json +1 -1
  25. tccli/services/wsa/v20250508/api.json +3 -3
  26. {tccli-3.0.1361.1.dist-info → tccli-3.0.1363.1.dist-info}/METADATA +2 -2
  27. {tccli-3.0.1361.1.dist-info → tccli-3.0.1363.1.dist-info}/RECORD +30 -30
  28. {tccli-3.0.1361.1.dist-info → tccli-3.0.1363.1.dist-info}/WHEEL +0 -0
  29. {tccli-3.0.1361.1.dist-info → tccli-3.0.1363.1.dist-info}/entry_points.txt +0 -0
  30. {tccli-3.0.1361.1.dist-info → tccli-3.0.1363.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1361.1'
1
+ __version__ = '3.0.1363.1'
@@ -994,7 +994,7 @@
994
994
  {
995
995
  "disabled": false,
996
996
  "document": "数据数组",
997
- "example": "{ \"Cnt\": 0, \"Date\": \"2019112900\"",
997
+ "example": "{ \"Cnt\": 0, \"Date\": \"2019112900\"}",
998
998
  "member": "CaptchaQueryData",
999
999
  "name": "Data",
1000
1000
  "output_required": false,
@@ -2042,7 +2042,7 @@
2042
2042
  {
2043
2043
  "disabled": false,
2044
2044
  "document": "验证码票据信息",
2045
- "example": "{ \"DateKey\":\"20200909\", ",
2045
+ "example": "{ \"DateKey\":\"20200909\"}",
2046
2046
  "member": "CaptchaTicketDataRes",
2047
2047
  "name": "Data",
2048
2048
  "output_required": false,
@@ -9159,6 +9159,15 @@
9159
9159
  "name": "CamRangerGroupIds",
9160
9160
  "required": false,
9161
9161
  "type": "list"
9162
+ },
9163
+ {
9164
+ "disabled": false,
9165
+ "document": "0: 灵活场景 1: 固定场景",
9166
+ "example": "0",
9167
+ "member": "int64",
9168
+ "name": "ComputeGroupType",
9169
+ "required": false,
9170
+ "type": "int"
9162
9171
  }
9163
9172
  ],
9164
9173
  "usage": "in"
@@ -123,7 +123,7 @@
123
123
  "metadata": {
124
124
  "apiVersion": "2021-08-20",
125
125
  "api_brief": "介绍如何使用API对混沌工程平台进行操作,包括创建演练、创建演练分组、创建经验库等",
126
- "serviceNameCN": "混沌演练平台",
126
+ "serviceNameCN": "云顾问-混沌演练",
127
127
  "serviceShortName": "cfg"
128
128
  },
129
129
  "objects": {
@@ -872,6 +872,16 @@
872
872
  "output_required": false,
873
873
  "type": "int",
874
874
  "value_allowed_null": false
875
+ },
876
+ {
877
+ "disabled": false,
878
+ "document": "高级路由规则ID",
879
+ "example": "rule-kfgg89**",
880
+ "member": "string",
881
+ "name": "RuleId",
882
+ "output_required": false,
883
+ "type": "string",
884
+ "value_allowed_null": false
875
885
  }
876
886
  ],
877
887
  "usage": "out"
@@ -3174,7 +3184,7 @@
3174
3184
  {
3175
3185
  "disabled": false,
3176
3186
  "document": "网络计费模式,最大出带宽。仅对内网属性的性能容量型实例和公网属性的所有实例生效。API接口购买包年包月实例还在灰度中,如您需要体验该功能,请通过 [工单申请](https://console.cloud.tencent.com/workorder/category)",
3177
- "example": "",
3187
+ "example": "None",
3178
3188
  "member": "InternetAccessible",
3179
3189
  "name": "InternetAccessible",
3180
3190
  "required": false,
@@ -3192,7 +3202,7 @@
3192
3202
  {
3193
3203
  "disabled": false,
3194
3204
  "document": "购买负载均衡的同时,给负载均衡打上标签,最大支持20个标签键值对。",
3195
- "example": "",
3205
+ "example": "None",
3196
3206
  "member": "TagInfo",
3197
3207
  "name": "Tags",
3198
3208
  "required": false,
@@ -3219,7 +3229,7 @@
3219
3229
  {
3220
3230
  "disabled": false,
3221
3231
  "document": "独占型实例信息。若创建独占型的内网负载均衡实例,则此参数必填。",
3222
- "example": "",
3232
+ "example": "None",
3223
3233
  "member": "ExclusiveCluster",
3224
3234
  "name": "ExclusiveCluster",
3225
3235
  "required": false,
@@ -3264,7 +3274,7 @@
3264
3274
  {
3265
3275
  "disabled": false,
3266
3276
  "document": "开启绑定跨地域/跨Vpc绑定IP的功能后,创建SnatIp。",
3267
- "example": "",
3277
+ "example": "None",
3268
3278
  "member": "SnatIp",
3269
3279
  "name": "SnatIps",
3270
3280
  "required": false,
@@ -3327,7 +3337,7 @@
3327
3337
  {
3328
3338
  "disabled": false,
3329
3339
  "document": "负载均衡实例的预付费相关属性,API接口购买包年包月实例还在灰度中,如您需要体验该功能,请通过 [工单申请](https://console.cloud.tencent.com/workorder/category)",
3330
- "example": "",
3340
+ "example": "None",
3331
3341
  "member": "LBChargePrepaid",
3332
3342
  "name": "LBChargePrepaid",
3333
3343
  "required": false,
@@ -3350,6 +3360,15 @@
3350
3360
  "name": "AccessLogTopicId",
3351
3361
  "required": false,
3352
3362
  "type": "string"
3363
+ },
3364
+ {
3365
+ "disabled": false,
3366
+ "document": "是否开启七层高级路由",
3367
+ "example": "false",
3368
+ "member": "bool",
3369
+ "name": "AdvancedRoute",
3370
+ "required": false,
3371
+ "type": "bool"
3353
3372
  }
3354
3373
  ],
3355
3374
  "type": "object"
@@ -10868,10 +10887,20 @@
10868
10887
  "type": "string",
10869
10888
  "value_allowed_null": true
10870
10889
  },
10890
+ {
10891
+ "disabled": false,
10892
+ "document": "高级路由规则ID",
10893
+ "example": "rule-b6xw**lo",
10894
+ "member": "string",
10895
+ "name": "RuleId",
10896
+ "output_required": false,
10897
+ "type": "string",
10898
+ "value_allowed_null": false
10899
+ },
10871
10900
  {
10872
10901
  "disabled": false,
10873
10902
  "document": "本规则上绑定的后端服务的健康检查状态",
10874
- "example": "",
10903
+ "example": "None",
10875
10904
  "member": "TargetHealth",
10876
10905
  "name": "Targets",
10877
10906
  "output_required": true,
@@ -5840,7 +5840,7 @@
5840
5840
  {
5841
5841
  "disabled": false,
5842
5842
  "document": "高性能计算集群备注",
5843
- "example": "H20",
5843
+ "example": "HCCPNV6",
5844
5844
  "member": "string",
5845
5845
  "name": "Remark",
5846
5846
  "output_required": true,
@@ -69,58 +69,6 @@ def doDescribeIpStatus(args, parsed_globals):
69
69
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
70
70
 
71
71
 
72
- def doDescribePurgeTasks(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.EcdnClient(cred, g_param[OptionsDefine.Region], profile)
99
- client._sdkVersion += ("_CLI_" + __version__)
100
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
101
- model = models.DescribePurgeTasksRequest()
102
- model.from_json_string(json.dumps(args))
103
- start_time = time.time()
104
- while True:
105
- rsp = client.DescribePurgeTasks(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
-
124
72
  def doDescribeEcdnDomainLogs(args, parsed_globals):
125
73
  g_param = parse_global_arg(parsed_globals)
126
74
 
@@ -225,58 +173,6 @@ def doDescribeDomainsConfig(args, parsed_globals):
225
173
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
226
174
 
227
175
 
228
- def doPurgeUrlsCache(args, parsed_globals):
229
- g_param = parse_global_arg(parsed_globals)
230
-
231
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
232
- cred = credential.CVMRoleCredential()
233
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
234
- cred = credential.STSAssumeRoleCredential(
235
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
236
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
237
- )
238
- 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):
239
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
240
- else:
241
- cred = credential.Credential(
242
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
243
- )
244
- http_profile = HttpProfile(
245
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
246
- reqMethod="POST",
247
- endpoint=g_param[OptionsDefine.Endpoint],
248
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
249
- )
250
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
251
- if g_param[OptionsDefine.Language]:
252
- profile.language = g_param[OptionsDefine.Language]
253
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
254
- client = mod.EcdnClient(cred, g_param[OptionsDefine.Region], profile)
255
- client._sdkVersion += ("_CLI_" + __version__)
256
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
257
- model = models.PurgeUrlsCacheRequest()
258
- model.from_json_string(json.dumps(args))
259
- start_time = time.time()
260
- while True:
261
- rsp = client.PurgeUrlsCache(model)
262
- result = rsp.to_json_string()
263
- try:
264
- json_obj = json.loads(result)
265
- except TypeError as e:
266
- json_obj = json.loads(result.decode('utf-8')) # python3.3
267
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
268
- break
269
- cur_time = time.time()
270
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
271
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
272
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
273
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
274
- else:
275
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
276
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
277
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
278
-
279
-
280
176
  def doDescribeDomains(args, parsed_globals):
281
177
  g_param = parse_global_arg(parsed_globals)
282
178
 
@@ -445,10 +341,8 @@ MODELS_MAP = {
445
341
 
446
342
  ACTION_MAP = {
447
343
  "DescribeIpStatus": doDescribeIpStatus,
448
- "DescribePurgeTasks": doDescribePurgeTasks,
449
344
  "DescribeEcdnDomainLogs": doDescribeEcdnDomainLogs,
450
345
  "DescribeDomainsConfig": doDescribeDomainsConfig,
451
- "PurgeUrlsCache": doPurgeUrlsCache,
452
346
  "DescribeDomains": doDescribeDomains,
453
347
  "DescribeEcdnStatistics": doDescribeEcdnStatistics,
454
348
  "DescribeEcdnDomainStatistics": doDescribeEcdnDomainStatistics,
@@ -41,20 +41,6 @@
41
41
  "name": "查询平台服务节点IP",
42
42
  "output": "DescribeIpStatusResponse",
43
43
  "status": "deprecated"
44
- },
45
- "DescribePurgeTasks": {
46
- "document": "ECDN即将下线,如需要动态加速请使用EdgeOne\n\nDescribePurgeTasks 用于查询刷新任务提交历史记录及执行进度。\n\n>? 若您的业务已迁移至 CDN 控制台,请参考<a href=\"https://cloud.tencent.com/document/api/228/37873\"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。",
47
- "input": "DescribePurgeTasksRequest",
48
- "name": "刷新历史查询",
49
- "output": "DescribePurgeTasksResponse",
50
- "status": "deprecated"
51
- },
52
- "PurgeUrlsCache": {
53
- "document": "ECDN即将下线,如需要动态加速请使用EdgeOne\n\nPurgeUrlsCache 用于批量刷新Url,一次提交将返回一个刷新任务id。\n\n>? 若您的业务已迁移至 CDN 控制台,请参考<a href=\"https://cloud.tencent.com/document/api/228/37870\"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。",
54
- "input": "PurgeUrlsCacheRequest",
55
- "name": "刷新 URL",
56
- "output": "PurgeUrlsCacheResponse",
57
- "status": "deprecated"
58
44
  }
59
45
  },
60
46
  "metadata": {
@@ -733,116 +719,6 @@
733
719
  ],
734
720
  "type": "object"
735
721
  },
736
- "DescribePurgeTasksRequest": {
737
- "document": "DescribePurgeTasks请求参数结构体",
738
- "members": [
739
- {
740
- "disabled": false,
741
- "document": "查询刷新类型。url:查询 url 刷新记录;path:查询目录刷新记录。",
742
- "example": "ur",
743
- "member": "string",
744
- "name": "PurgeType",
745
- "required": false,
746
- "type": "string"
747
- },
748
- {
749
- "disabled": false,
750
- "document": "开始时间,如2018-08-08 00:00:00。",
751
- "example": "无",
752
- "member": "datetime",
753
- "name": "StartTime",
754
- "required": false,
755
- "type": "string"
756
- },
757
- {
758
- "disabled": false,
759
- "document": "结束时间,如2018-08-08 23:59:59。",
760
- "example": "无",
761
- "member": "datetime",
762
- "name": "EndTime",
763
- "required": false,
764
- "type": "string"
765
- },
766
- {
767
- "disabled": false,
768
- "document": "提交时返回的任务 Id,查询时 TaskId 和起始时间必须指定一项。",
769
- "example": "1234567",
770
- "member": "string",
771
- "name": "TaskId",
772
- "required": false,
773
- "type": "string"
774
- },
775
- {
776
- "disabled": false,
777
- "document": "分页查询偏移量,默认为0(从第0条开始)。",
778
- "example": "0",
779
- "member": "int64",
780
- "name": "Offset",
781
- "required": false,
782
- "type": "int"
783
- },
784
- {
785
- "disabled": false,
786
- "document": "分页查询限制数目,默认为20。",
787
- "example": "10",
788
- "member": "int64",
789
- "name": "Limit",
790
- "required": false,
791
- "type": "int"
792
- },
793
- {
794
- "disabled": false,
795
- "document": "查询关键字,请输入域名或 http(s):// 开头完整 URL。",
796
- "example": "无",
797
- "member": "string",
798
- "name": "Keyword",
799
- "required": false,
800
- "type": "string"
801
- },
802
- {
803
- "disabled": false,
804
- "document": "查询指定任务状态,fail表示失败,done表示成功,process表示刷新中。",
805
- "example": "无",
806
- "member": "string",
807
- "name": "Status",
808
- "required": false,
809
- "type": "string"
810
- }
811
- ],
812
- "type": "object"
813
- },
814
- "DescribePurgeTasksResponse": {
815
- "document": "DescribePurgeTasks返回参数结构体",
816
- "members": [
817
- {
818
- "disabled": false,
819
- "document": "刷新历史记录。",
820
- "example": "无",
821
- "member": "PurgeTask",
822
- "name": "PurgeLogs",
823
- "required": true,
824
- "type": "list",
825
- "value_allowed_null": false
826
- },
827
- {
828
- "disabled": false,
829
- "document": "任务总数,用于分页。",
830
- "example": "20",
831
- "member": "int64",
832
- "name": "TotalCount",
833
- "required": true,
834
- "type": "int",
835
- "value_allowed_null": false
836
- },
837
- {
838
- "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
839
- "member": "string",
840
- "name": "RequestId",
841
- "type": "string"
842
- }
843
- ],
844
- "type": "object"
845
- },
846
722
  "DetailData": {
847
723
  "document": "排序类型的数据结构",
848
724
  "members": [
@@ -1773,109 +1649,6 @@
1773
1649
  ],
1774
1650
  "usage": "both"
1775
1651
  },
1776
- "PurgeTask": {
1777
- "document": "刷新任务日志详情",
1778
- "members": [
1779
- {
1780
- "disabled": false,
1781
- "document": "刷新任务ID。",
1782
- "example": "",
1783
- "member": "string",
1784
- "name": "TaskId",
1785
- "required": true,
1786
- "type": "string",
1787
- "value_allowed_null": false
1788
- },
1789
- {
1790
- "disabled": false,
1791
- "document": "刷新Url。",
1792
- "example": "",
1793
- "member": "string",
1794
- "name": "Url",
1795
- "required": true,
1796
- "type": "string",
1797
- "value_allowed_null": false
1798
- },
1799
- {
1800
- "disabled": false,
1801
- "document": "刷新任务状态,fail表示失败,done表示成功,process表示刷新中。",
1802
- "example": "",
1803
- "member": "string",
1804
- "name": "Status",
1805
- "required": true,
1806
- "type": "string",
1807
- "value_allowed_null": false
1808
- },
1809
- {
1810
- "disabled": false,
1811
- "document": "刷新类型,url表示url刷新,path表示目录刷新。",
1812
- "example": "",
1813
- "member": "string",
1814
- "name": "PurgeType",
1815
- "required": true,
1816
- "type": "string",
1817
- "value_allowed_null": false
1818
- },
1819
- {
1820
- "disabled": false,
1821
- "document": "刷新资源方式,flush代表刷新更新资源,delete代表刷新全部资源。",
1822
- "example": "",
1823
- "member": "string",
1824
- "name": "FlushType",
1825
- "required": true,
1826
- "type": "string",
1827
- "value_allowed_null": false
1828
- },
1829
- {
1830
- "disabled": false,
1831
- "document": "刷新任务提交时间",
1832
- "example": "",
1833
- "member": "datetime",
1834
- "name": "CreateTime",
1835
- "required": true,
1836
- "type": "string",
1837
- "value_allowed_null": false
1838
- }
1839
- ],
1840
- "usage": "out"
1841
- },
1842
- "PurgeUrlsCacheRequest": {
1843
- "document": "PurgeUrlsCache请求参数结构体",
1844
- "members": [
1845
- {
1846
- "disabled": false,
1847
- "document": "要刷新的Url列表,必须包含协议头部。",
1848
- "example": "[\"http:\\/\\/www.test.com\\/1.jpg\"]",
1849
- "member": "string",
1850
- "name": "Urls",
1851
- "required": true,
1852
- "type": "list"
1853
- }
1854
- ],
1855
- "type": "object"
1856
- },
1857
- "PurgeUrlsCacheResponse": {
1858
- "document": "PurgeUrlsCache返回参数结构体",
1859
- "members": [
1860
- {
1861
- "disabled": false,
1862
- "document": "刷新任务Id。",
1863
- "example": "1533045796-i60rfmzm",
1864
- "member": "string",
1865
- "name": "TaskId",
1866
- "required": true,
1867
- "type": "string",
1868
- "value_allowed_null": false
1869
- },
1870
- {
1871
- "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
1872
- "member": "string",
1873
- "name": "RequestId",
1874
- "type": "string"
1875
- }
1876
- ],
1877
- "type": "object"
1878
- },
1879
1652
  "ResourceData": {
1880
1653
  "document": "查询对象及其对应的访问明细数据",
1881
1654
  "members": [
@@ -47,22 +47,6 @@
47
47
  "output": "{\n \"Response\": {\n \"RequestId\": \"b6e9964d-26a3-49d0-adab-993e17d2f950\",\n \"Ips\": [\n {\n \"Ip\": \"1.1.1.1\",\n \"District\": \"广东\",\n \"Isp\": \"电信\",\n \"City\": \"深圳\",\n \"Status\": \"online\",\n \"CreateTime\": \"2019-10-12 00:00:00\"\n }\n ],\n \"TotalCount\": 0\n }\n}",
48
48
  "title": "查询域名节点信息"
49
49
  }
50
- ],
51
- "DescribePurgeTasks": [
52
- {
53
- "document": "",
54
- "input": "https://ecdn.tencentcloudapi.com/?Action=DescribePurgeTasks\n&PurgeType=ur\n&TaskId=1234567\n&<公共请求参数>",
55
- "output": "{\n \"Response\": {\n \"RequestId\": \"4d5a83f8-a61f-445b-8036-5636be640bef\",\n \"PurgeLogs\": [\n {\n \"TaskId\": \"153303185323131331\",\n \"Url\": \"http://www.test.com/\",\n \"Status\": \"Done\",\n \"PurgeType\": \"url\",\n \"FlushType\": \"flush\",\n \"CreateTime\": \"2018-07-30 18:10:53\"\n }\n ],\n \"TotalCount\": 20\n }\n}",
56
- "title": "刷新历史查询"
57
- }
58
- ],
59
- "PurgeUrlsCache": [
60
- {
61
- "document": "",
62
- "input": "https://ecdn.tencentcloudapi.com/?Action=PurgeUrlsCache\n&Urls.0=http://www.test.com/1.jpg\n&<公共请求参数>",
63
- "output": "{\n \"Response\": {\n \"RequestId\": \"4d5a83f8-a61f-445b-8036-5636be640bef\",\n \"TaskId\": \"1533045796-i60rfmzm\"\n }\n}",
64
- "title": "刷新Url"
65
- }
66
50
  ]
67
51
  },
68
52
  "version": "1.0"