tencentcloud-sdk-ecdn 3.0.1024 → 3.0.1026
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20191012/client.rb +0 -225
- data/lib/v20191012/models.rb +0 -462
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 467c69489011480e9a68d7094c20ef6423901390
|
4
|
+
data.tar.gz: 9cf3f7dd7cfd21b1756bb2aa603f7f9c2c60aeed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ddff7c4195c00cb3ca66a1c3aadd750a8d345342e9944c1149d431c8bd230a45ed0b2c0c5734d092b33ee20a4b7e0332ee3411a0e1db9c083b3883a6f3e1b5e3
|
7
|
+
data.tar.gz: a3421909dcd761b5b75fd424876b404012737a3c6a53e75b818991030a5df0059515e1e04315a93b98389e354e5ea90b69bf811c60c16ba4365ddf5fcb786249
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1026
|
data/lib/v20191012/client.rb
CHANGED
@@ -29,90 +29,6 @@ module TencentCloud
|
|
29
29
|
end
|
30
30
|
|
31
31
|
|
32
|
-
# ECDN融合CDN后,接口都用CDN的,此接口已经废弃
|
33
|
-
|
34
|
-
# 本接口(AddEcdnDomain)用于创建加速域名。
|
35
|
-
|
36
|
-
# >? 若您的业务已迁移至 CDN 控制台,请参考<a href="https://cloud.tencent.com/document/api/228/41123"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
37
|
-
|
38
|
-
# @param request: Request instance for AddEcdnDomain.
|
39
|
-
# @type request: :class:`Tencentcloud::ecdn::V20191012::AddEcdnDomainRequest`
|
40
|
-
# @rtype: :class:`Tencentcloud::ecdn::V20191012::AddEcdnDomainResponse`
|
41
|
-
def AddEcdnDomain(request)
|
42
|
-
body = send_request('AddEcdnDomain', request.serialize)
|
43
|
-
response = JSON.parse(body)
|
44
|
-
if response['Response'].key?('Error') == false
|
45
|
-
model = AddEcdnDomainResponse.new
|
46
|
-
model.deserialize(response['Response'])
|
47
|
-
model
|
48
|
-
else
|
49
|
-
code = response['Response']['Error']['Code']
|
50
|
-
message = response['Response']['Error']['Message']
|
51
|
-
reqid = response['Response']['RequestId']
|
52
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
53
|
-
end
|
54
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
55
|
-
raise e
|
56
|
-
rescue StandardError => e
|
57
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
58
|
-
end
|
59
|
-
|
60
|
-
# ECDN融合CDN后,接口都用CDN的,此接口已经废弃
|
61
|
-
|
62
|
-
# 生成一条子域名解析,提示客户添加到域名解析上,用于泛域名及域名取回校验归属权。
|
63
|
-
|
64
|
-
# >? 若您的业务已迁移至 CDN 控制台,请参考<a href=" https://cloud.tencent.com/document/api/228/48118"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
65
|
-
|
66
|
-
# @param request: Request instance for CreateVerifyRecord.
|
67
|
-
# @type request: :class:`Tencentcloud::ecdn::V20191012::CreateVerifyRecordRequest`
|
68
|
-
# @rtype: :class:`Tencentcloud::ecdn::V20191012::CreateVerifyRecordResponse`
|
69
|
-
def CreateVerifyRecord(request)
|
70
|
-
body = send_request('CreateVerifyRecord', request.serialize)
|
71
|
-
response = JSON.parse(body)
|
72
|
-
if response['Response'].key?('Error') == false
|
73
|
-
model = CreateVerifyRecordResponse.new
|
74
|
-
model.deserialize(response['Response'])
|
75
|
-
model
|
76
|
-
else
|
77
|
-
code = response['Response']['Error']['Code']
|
78
|
-
message = response['Response']['Error']['Message']
|
79
|
-
reqid = response['Response']['RequestId']
|
80
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
81
|
-
end
|
82
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
83
|
-
raise e
|
84
|
-
rescue StandardError => e
|
85
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
86
|
-
end
|
87
|
-
|
88
|
-
# ECDN融合CDN后,接口都用CDN的,此接口已经废弃
|
89
|
-
|
90
|
-
# 本接口(DeleteEcdnDomain)用于删除指定加速域名。待删除域名必须处于已停用状态。
|
91
|
-
|
92
|
-
# >? 若您的业务已迁移至 CDN 控制台,请参考<a href="https://cloud.tencent.com/document/api/228/41122"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
93
|
-
|
94
|
-
# @param request: Request instance for DeleteEcdnDomain.
|
95
|
-
# @type request: :class:`Tencentcloud::ecdn::V20191012::DeleteEcdnDomainRequest`
|
96
|
-
# @rtype: :class:`Tencentcloud::ecdn::V20191012::DeleteEcdnDomainResponse`
|
97
|
-
def DeleteEcdnDomain(request)
|
98
|
-
body = send_request('DeleteEcdnDomain', request.serialize)
|
99
|
-
response = JSON.parse(body)
|
100
|
-
if response['Response'].key?('Error') == false
|
101
|
-
model = DeleteEcdnDomainResponse.new
|
102
|
-
model.deserialize(response['Response'])
|
103
|
-
model
|
104
|
-
else
|
105
|
-
code = response['Response']['Error']['Code']
|
106
|
-
message = response['Response']['Error']['Message']
|
107
|
-
reqid = response['Response']['RequestId']
|
108
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
109
|
-
end
|
110
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
111
|
-
raise e
|
112
|
-
rescue StandardError => e
|
113
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
114
|
-
end
|
115
|
-
|
116
32
|
# 本接口(DescribeDomains)用于查询CDN域名基本信息,包括项目id,状态,业务类型,创建时间,更新时间等。
|
117
33
|
|
118
34
|
# >? 若您的业务已迁移至 CDN 控制台,请参考<a href="https://cloud.tencent.com/document/api/228/41118"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
@@ -273,34 +189,6 @@ module TencentCloud
|
|
273
189
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
274
190
|
end
|
275
191
|
|
276
|
-
# ECDN融合CDN后,接口都用CDN的,此接口已经废弃
|
277
|
-
|
278
|
-
# 查询刷新接口的用量配额。
|
279
|
-
|
280
|
-
# >? 若您的业务已迁移至 CDN 控制台,请参考<a href="https://cloud.tencent.com/document/api/228/41956"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
281
|
-
|
282
|
-
# @param request: Request instance for DescribePurgeQuota.
|
283
|
-
# @type request: :class:`Tencentcloud::ecdn::V20191012::DescribePurgeQuotaRequest`
|
284
|
-
# @rtype: :class:`Tencentcloud::ecdn::V20191012::DescribePurgeQuotaResponse`
|
285
|
-
def DescribePurgeQuota(request)
|
286
|
-
body = send_request('DescribePurgeQuota', request.serialize)
|
287
|
-
response = JSON.parse(body)
|
288
|
-
if response['Response'].key?('Error') == false
|
289
|
-
model = DescribePurgeQuotaResponse.new
|
290
|
-
model.deserialize(response['Response'])
|
291
|
-
model
|
292
|
-
else
|
293
|
-
code = response['Response']['Error']['Code']
|
294
|
-
message = response['Response']['Error']['Message']
|
295
|
-
reqid = response['Response']['RequestId']
|
296
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
297
|
-
end
|
298
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
299
|
-
raise e
|
300
|
-
rescue StandardError => e
|
301
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
302
|
-
end
|
303
|
-
|
304
192
|
# DescribePurgeTasks 用于查询刷新任务提交历史记录及执行进度。
|
305
193
|
|
306
194
|
# >? 若您的业务已迁移至 CDN 控制台,请参考<a href="https://cloud.tencent.com/document/api/228/37873"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
@@ -327,34 +215,6 @@ module TencentCloud
|
|
327
215
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
328
216
|
end
|
329
217
|
|
330
|
-
# ECDN融合CDN后,接口都用CDN的,此接口已经废弃
|
331
|
-
|
332
|
-
# PurgePathCache 用于批量刷新目录缓存,一次提交将返回一个刷新任务id。
|
333
|
-
|
334
|
-
# >? 若您的业务已迁移至 CDN 控制台,请参考<a href=" https://cloud.tencent.com/document/api/570/42475"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
335
|
-
|
336
|
-
# @param request: Request instance for PurgePathCache.
|
337
|
-
# @type request: :class:`Tencentcloud::ecdn::V20191012::PurgePathCacheRequest`
|
338
|
-
# @rtype: :class:`Tencentcloud::ecdn::V20191012::PurgePathCacheResponse`
|
339
|
-
def PurgePathCache(request)
|
340
|
-
body = send_request('PurgePathCache', request.serialize)
|
341
|
-
response = JSON.parse(body)
|
342
|
-
if response['Response'].key?('Error') == false
|
343
|
-
model = PurgePathCacheResponse.new
|
344
|
-
model.deserialize(response['Response'])
|
345
|
-
model
|
346
|
-
else
|
347
|
-
code = response['Response']['Error']['Code']
|
348
|
-
message = response['Response']['Error']['Message']
|
349
|
-
reqid = response['Response']['RequestId']
|
350
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
351
|
-
end
|
352
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
353
|
-
raise e
|
354
|
-
rescue StandardError => e
|
355
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
356
|
-
end
|
357
|
-
|
358
218
|
# PurgeUrlsCache 用于批量刷新Url,一次提交将返回一个刷新任务id。
|
359
219
|
|
360
220
|
# >? 若您的业务已迁移至 CDN 控制台,请参考<a href="https://cloud.tencent.com/document/api/228/37870"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
@@ -381,91 +241,6 @@ module TencentCloud
|
|
381
241
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
382
242
|
end
|
383
243
|
|
384
|
-
# ECDN融合CDN后,接口都用CDN的,此接口已经废弃
|
385
|
-
|
386
|
-
# 本接口(StartEcdnDomain)用于启用加速域名,待启用域名必须处于已下线状态。
|
387
|
-
|
388
|
-
# >? 若您的业务已迁移至 CDN 控制台,请参考<a href="https://cloud.tencent.com/document/product/228/41121"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
389
|
-
|
390
|
-
# @param request: Request instance for StartEcdnDomain.
|
391
|
-
# @type request: :class:`Tencentcloud::ecdn::V20191012::StartEcdnDomainRequest`
|
392
|
-
# @rtype: :class:`Tencentcloud::ecdn::V20191012::StartEcdnDomainResponse`
|
393
|
-
def StartEcdnDomain(request)
|
394
|
-
body = send_request('StartEcdnDomain', request.serialize)
|
395
|
-
response = JSON.parse(body)
|
396
|
-
if response['Response'].key?('Error') == false
|
397
|
-
model = StartEcdnDomainResponse.new
|
398
|
-
model.deserialize(response['Response'])
|
399
|
-
model
|
400
|
-
else
|
401
|
-
code = response['Response']['Error']['Code']
|
402
|
-
message = response['Response']['Error']['Message']
|
403
|
-
reqid = response['Response']['RequestId']
|
404
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
405
|
-
end
|
406
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
407
|
-
raise e
|
408
|
-
rescue StandardError => e
|
409
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
410
|
-
end
|
411
|
-
|
412
|
-
# ECDN融合CDN后,接口都用CDN的,此接口已经废弃
|
413
|
-
|
414
|
-
# 本接口(StopCdnDomain)用于停止加速域名,待停用加速域名必须处于已上线或部署中状态。
|
415
|
-
|
416
|
-
# >? 若您的业务已迁移至 CDN 控制台,请参考<a href="https://cloud.tencent.com/document/product/228/41120"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
417
|
-
|
418
|
-
# @param request: Request instance for StopEcdnDomain.
|
419
|
-
# @type request: :class:`Tencentcloud::ecdn::V20191012::StopEcdnDomainRequest`
|
420
|
-
# @rtype: :class:`Tencentcloud::ecdn::V20191012::StopEcdnDomainResponse`
|
421
|
-
def StopEcdnDomain(request)
|
422
|
-
body = send_request('StopEcdnDomain', request.serialize)
|
423
|
-
response = JSON.parse(body)
|
424
|
-
if response['Response'].key?('Error') == false
|
425
|
-
model = StopEcdnDomainResponse.new
|
426
|
-
model.deserialize(response['Response'])
|
427
|
-
model
|
428
|
-
else
|
429
|
-
code = response['Response']['Error']['Code']
|
430
|
-
message = response['Response']['Error']['Message']
|
431
|
-
reqid = response['Response']['RequestId']
|
432
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
433
|
-
end
|
434
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
435
|
-
raise e
|
436
|
-
rescue StandardError => e
|
437
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
438
|
-
end
|
439
|
-
|
440
|
-
# ECDN融合CDN后,接口都用CDN的,此接口已经废弃
|
441
|
-
|
442
|
-
# 本接口(UpdateDomainConfig)用于更新ECDN加速域名配置信息。
|
443
|
-
# 注意:如果需要更新复杂类型的配置项,必须传递整个对象的所有属性,未传递的属性将使用默认值。建议通过查询接口获取配置属性后,直接修改后传递给本接口。Https配置由于证书的特殊性,更新时不用传递证书和密钥字段。
|
444
|
-
|
445
|
-
# >? 若您的业务已迁移至 CDN 控制台,请参考<a href="https://cloud.tencent.com/document/product/228/41116"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
446
|
-
|
447
|
-
# @param request: Request instance for UpdateDomainConfig.
|
448
|
-
# @type request: :class:`Tencentcloud::ecdn::V20191012::UpdateDomainConfigRequest`
|
449
|
-
# @rtype: :class:`Tencentcloud::ecdn::V20191012::UpdateDomainConfigResponse`
|
450
|
-
def UpdateDomainConfig(request)
|
451
|
-
body = send_request('UpdateDomainConfig', request.serialize)
|
452
|
-
response = JSON.parse(body)
|
453
|
-
if response['Response'].key?('Error') == false
|
454
|
-
model = UpdateDomainConfigResponse.new
|
455
|
-
model.deserialize(response['Response'])
|
456
|
-
model
|
457
|
-
else
|
458
|
-
code = response['Response']['Error']['Code']
|
459
|
-
message = response['Response']['Error']['Message']
|
460
|
-
reqid = response['Response']['RequestId']
|
461
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
462
|
-
end
|
463
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
464
|
-
raise e
|
465
|
-
rescue StandardError => e
|
466
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
467
|
-
end
|
468
|
-
|
469
244
|
|
470
245
|
end
|
471
246
|
end
|
data/lib/v20191012/models.rb
CHANGED
@@ -17,120 +17,6 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Ecdn
|
19
19
|
module V20191012
|
20
|
-
# AddEcdnDomain请求参数结构体
|
21
|
-
class AddEcdnDomainRequest < TencentCloud::Common::AbstractModel
|
22
|
-
# @param Domain: 域名。
|
23
|
-
# @type Domain: String
|
24
|
-
# @param Origin: 源站配置。
|
25
|
-
# @type Origin: :class:`Tencentcloud::Ecdn.v20191012.models.Origin`
|
26
|
-
# @param Area: 域名加速区域,mainland,overseas或global,分别表示中国境内加速,海外加速或全球加速。
|
27
|
-
# @type Area: String
|
28
|
-
# @param ProjectId: 项目id,默认0。
|
29
|
-
# @type ProjectId: Integer
|
30
|
-
# @param IpFilter: IP黑白名单配置。
|
31
|
-
# @type IpFilter: :class:`Tencentcloud::Ecdn.v20191012.models.IpFilter`
|
32
|
-
# @param IpFreqLimit: IP限频配置。
|
33
|
-
# @type IpFreqLimit: :class:`Tencentcloud::Ecdn.v20191012.models.IpFreqLimit`
|
34
|
-
# @param ResponseHeader: 源站响应头部配置。
|
35
|
-
# @type ResponseHeader: :class:`Tencentcloud::Ecdn.v20191012.models.ResponseHeader`
|
36
|
-
# @param CacheKey: 节点缓存配置。
|
37
|
-
# @type CacheKey: :class:`Tencentcloud::Ecdn.v20191012.models.CacheKey`
|
38
|
-
# @param Cache: 缓存规则配置。
|
39
|
-
# @type Cache: :class:`Tencentcloud::Ecdn.v20191012.models.Cache`
|
40
|
-
# @param Https: Https配置。
|
41
|
-
# @type Https: :class:`Tencentcloud::Ecdn.v20191012.models.Https`
|
42
|
-
# @param ForceRedirect: 访问协议强制跳转配置。
|
43
|
-
# @type ForceRedirect: :class:`Tencentcloud::Ecdn.v20191012.models.ForceRedirect`
|
44
|
-
# @param Tag: 域名绑定的标签
|
45
|
-
# @type Tag: Array
|
46
|
-
# @param WebSocket: WebSocket配置
|
47
|
-
# @type WebSocket: :class:`Tencentcloud::Ecdn.v20191012.models.WebSocket`
|
48
|
-
|
49
|
-
attr_accessor :Domain, :Origin, :Area, :ProjectId, :IpFilter, :IpFreqLimit, :ResponseHeader, :CacheKey, :Cache, :Https, :ForceRedirect, :Tag, :WebSocket
|
50
|
-
|
51
|
-
def initialize(domain=nil, origin=nil, area=nil, projectid=nil, ipfilter=nil, ipfreqlimit=nil, responseheader=nil, cachekey=nil, cache=nil, https=nil, forceredirect=nil, tag=nil, websocket=nil)
|
52
|
-
@Domain = domain
|
53
|
-
@Origin = origin
|
54
|
-
@Area = area
|
55
|
-
@ProjectId = projectid
|
56
|
-
@IpFilter = ipfilter
|
57
|
-
@IpFreqLimit = ipfreqlimit
|
58
|
-
@ResponseHeader = responseheader
|
59
|
-
@CacheKey = cachekey
|
60
|
-
@Cache = cache
|
61
|
-
@Https = https
|
62
|
-
@ForceRedirect = forceredirect
|
63
|
-
@Tag = tag
|
64
|
-
@WebSocket = websocket
|
65
|
-
end
|
66
|
-
|
67
|
-
def deserialize(params)
|
68
|
-
@Domain = params['Domain']
|
69
|
-
unless params['Origin'].nil?
|
70
|
-
@Origin = Origin.new
|
71
|
-
@Origin.deserialize(params['Origin'])
|
72
|
-
end
|
73
|
-
@Area = params['Area']
|
74
|
-
@ProjectId = params['ProjectId']
|
75
|
-
unless params['IpFilter'].nil?
|
76
|
-
@IpFilter = IpFilter.new
|
77
|
-
@IpFilter.deserialize(params['IpFilter'])
|
78
|
-
end
|
79
|
-
unless params['IpFreqLimit'].nil?
|
80
|
-
@IpFreqLimit = IpFreqLimit.new
|
81
|
-
@IpFreqLimit.deserialize(params['IpFreqLimit'])
|
82
|
-
end
|
83
|
-
unless params['ResponseHeader'].nil?
|
84
|
-
@ResponseHeader = ResponseHeader.new
|
85
|
-
@ResponseHeader.deserialize(params['ResponseHeader'])
|
86
|
-
end
|
87
|
-
unless params['CacheKey'].nil?
|
88
|
-
@CacheKey = CacheKey.new
|
89
|
-
@CacheKey.deserialize(params['CacheKey'])
|
90
|
-
end
|
91
|
-
unless params['Cache'].nil?
|
92
|
-
@Cache = Cache.new
|
93
|
-
@Cache.deserialize(params['Cache'])
|
94
|
-
end
|
95
|
-
unless params['Https'].nil?
|
96
|
-
@Https = Https.new
|
97
|
-
@Https.deserialize(params['Https'])
|
98
|
-
end
|
99
|
-
unless params['ForceRedirect'].nil?
|
100
|
-
@ForceRedirect = ForceRedirect.new
|
101
|
-
@ForceRedirect.deserialize(params['ForceRedirect'])
|
102
|
-
end
|
103
|
-
unless params['Tag'].nil?
|
104
|
-
@Tag = []
|
105
|
-
params['Tag'].each do |i|
|
106
|
-
tag_tmp = Tag.new
|
107
|
-
tag_tmp.deserialize(i)
|
108
|
-
@Tag << tag_tmp
|
109
|
-
end
|
110
|
-
end
|
111
|
-
unless params['WebSocket'].nil?
|
112
|
-
@WebSocket = WebSocket.new
|
113
|
-
@WebSocket.deserialize(params['WebSocket'])
|
114
|
-
end
|
115
|
-
end
|
116
|
-
end
|
117
|
-
|
118
|
-
# AddEcdnDomain返回参数结构体
|
119
|
-
class AddEcdnDomainResponse < TencentCloud::Common::AbstractModel
|
120
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
121
|
-
# @type RequestId: String
|
122
|
-
|
123
|
-
attr_accessor :RequestId
|
124
|
-
|
125
|
-
def initialize(requestid=nil)
|
126
|
-
@RequestId = requestid
|
127
|
-
end
|
128
|
-
|
129
|
-
def deserialize(params)
|
130
|
-
@RequestId = params['RequestId']
|
131
|
-
end
|
132
|
-
end
|
133
|
-
|
134
20
|
# 回源的自定义Https配置
|
135
21
|
class AdvanceHttps < TencentCloud::Common::AbstractModel
|
136
22
|
# @param CustomTlsStatus: 自定义Tls数据开关
|
@@ -285,82 +171,6 @@ module TencentCloud
|
|
285
171
|
end
|
286
172
|
end
|
287
173
|
|
288
|
-
# CreateVerifyRecord请求参数结构体
|
289
|
-
class CreateVerifyRecordRequest < TencentCloud::Common::AbstractModel
|
290
|
-
# @param Domain: 要取回的域名
|
291
|
-
# @type Domain: String
|
292
|
-
|
293
|
-
attr_accessor :Domain
|
294
|
-
|
295
|
-
def initialize(domain=nil)
|
296
|
-
@Domain = domain
|
297
|
-
end
|
298
|
-
|
299
|
-
def deserialize(params)
|
300
|
-
@Domain = params['Domain']
|
301
|
-
end
|
302
|
-
end
|
303
|
-
|
304
|
-
# CreateVerifyRecord返回参数结构体
|
305
|
-
class CreateVerifyRecordResponse < TencentCloud::Common::AbstractModel
|
306
|
-
# @param SubDomain: 子解析
|
307
|
-
# @type SubDomain: String
|
308
|
-
# @param Record: 解析值
|
309
|
-
# @type Record: String
|
310
|
-
# @param RecordType: 解析类型
|
311
|
-
# @type RecordType: String
|
312
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
313
|
-
# @type RequestId: String
|
314
|
-
|
315
|
-
attr_accessor :SubDomain, :Record, :RecordType, :RequestId
|
316
|
-
|
317
|
-
def initialize(subdomain=nil, record=nil, recordtype=nil, requestid=nil)
|
318
|
-
@SubDomain = subdomain
|
319
|
-
@Record = record
|
320
|
-
@RecordType = recordtype
|
321
|
-
@RequestId = requestid
|
322
|
-
end
|
323
|
-
|
324
|
-
def deserialize(params)
|
325
|
-
@SubDomain = params['SubDomain']
|
326
|
-
@Record = params['Record']
|
327
|
-
@RecordType = params['RecordType']
|
328
|
-
@RequestId = params['RequestId']
|
329
|
-
end
|
330
|
-
end
|
331
|
-
|
332
|
-
# DeleteEcdnDomain请求参数结构体
|
333
|
-
class DeleteEcdnDomainRequest < TencentCloud::Common::AbstractModel
|
334
|
-
# @param Domain: 待删除域名。
|
335
|
-
# @type Domain: String
|
336
|
-
|
337
|
-
attr_accessor :Domain
|
338
|
-
|
339
|
-
def initialize(domain=nil)
|
340
|
-
@Domain = domain
|
341
|
-
end
|
342
|
-
|
343
|
-
def deserialize(params)
|
344
|
-
@Domain = params['Domain']
|
345
|
-
end
|
346
|
-
end
|
347
|
-
|
348
|
-
# DeleteEcdnDomain返回参数结构体
|
349
|
-
class DeleteEcdnDomainResponse < TencentCloud::Common::AbstractModel
|
350
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
351
|
-
# @type RequestId: String
|
352
|
-
|
353
|
-
attr_accessor :RequestId
|
354
|
-
|
355
|
-
def initialize(requestid=nil)
|
356
|
-
@RequestId = requestid
|
357
|
-
end
|
358
|
-
|
359
|
-
def deserialize(params)
|
360
|
-
@RequestId = params['RequestId']
|
361
|
-
end
|
362
|
-
end
|
363
|
-
|
364
174
|
# DescribeDomainsConfig请求参数结构体
|
365
175
|
class DescribeDomainsConfigRequest < TencentCloud::Common::AbstractModel
|
366
176
|
# @param Offset: 分页查询的偏移地址,默认0。
|
@@ -780,47 +590,6 @@ module TencentCloud
|
|
780
590
|
end
|
781
591
|
end
|
782
592
|
|
783
|
-
# DescribePurgeQuota请求参数结构体
|
784
|
-
class DescribePurgeQuotaRequest < TencentCloud::Common::AbstractModel
|
785
|
-
|
786
|
-
|
787
|
-
def initialize()
|
788
|
-
end
|
789
|
-
|
790
|
-
def deserialize(params)
|
791
|
-
end
|
792
|
-
end
|
793
|
-
|
794
|
-
# DescribePurgeQuota返回参数结构体
|
795
|
-
class DescribePurgeQuotaResponse < TencentCloud::Common::AbstractModel
|
796
|
-
# @param UrlPurge: Url刷新用量及配额。
|
797
|
-
# @type UrlPurge: :class:`Tencentcloud::Ecdn.v20191012.models.Quota`
|
798
|
-
# @param PathPurge: 目录刷新用量及配额。
|
799
|
-
# @type PathPurge: :class:`Tencentcloud::Ecdn.v20191012.models.Quota`
|
800
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
801
|
-
# @type RequestId: String
|
802
|
-
|
803
|
-
attr_accessor :UrlPurge, :PathPurge, :RequestId
|
804
|
-
|
805
|
-
def initialize(urlpurge=nil, pathpurge=nil, requestid=nil)
|
806
|
-
@UrlPurge = urlpurge
|
807
|
-
@PathPurge = pathpurge
|
808
|
-
@RequestId = requestid
|
809
|
-
end
|
810
|
-
|
811
|
-
def deserialize(params)
|
812
|
-
unless params['UrlPurge'].nil?
|
813
|
-
@UrlPurge = Quota.new
|
814
|
-
@UrlPurge.deserialize(params['UrlPurge'])
|
815
|
-
end
|
816
|
-
unless params['PathPurge'].nil?
|
817
|
-
@PathPurge = Quota.new
|
818
|
-
@PathPurge.deserialize(params['PathPurge'])
|
819
|
-
end
|
820
|
-
@RequestId = params['RequestId']
|
821
|
-
end
|
822
|
-
end
|
823
|
-
|
824
593
|
# DescribePurgeTasks请求参数结构体
|
825
594
|
class DescribePurgeTasksRequest < TencentCloud::Common::AbstractModel
|
826
595
|
# @param PurgeType: 查询刷新类型。url:查询 url 刷新记录;path:查询目录刷新记录。
|
@@ -1540,46 +1309,6 @@ module TencentCloud
|
|
1540
1309
|
end
|
1541
1310
|
end
|
1542
1311
|
|
1543
|
-
# PurgePathCache请求参数结构体
|
1544
|
-
class PurgePathCacheRequest < TencentCloud::Common::AbstractModel
|
1545
|
-
# @param Paths: 要刷新的目录列表,必须包含协议头部。
|
1546
|
-
# @type Paths: Array
|
1547
|
-
# @param FlushType: 刷新类型,flush 代表刷新有更新的资源,delete 表示刷新全部资源。
|
1548
|
-
# @type FlushType: String
|
1549
|
-
|
1550
|
-
attr_accessor :Paths, :FlushType
|
1551
|
-
|
1552
|
-
def initialize(paths=nil, flushtype=nil)
|
1553
|
-
@Paths = paths
|
1554
|
-
@FlushType = flushtype
|
1555
|
-
end
|
1556
|
-
|
1557
|
-
def deserialize(params)
|
1558
|
-
@Paths = params['Paths']
|
1559
|
-
@FlushType = params['FlushType']
|
1560
|
-
end
|
1561
|
-
end
|
1562
|
-
|
1563
|
-
# PurgePathCache返回参数结构体
|
1564
|
-
class PurgePathCacheResponse < TencentCloud::Common::AbstractModel
|
1565
|
-
# @param TaskId: 刷新任务Id。
|
1566
|
-
# @type TaskId: String
|
1567
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1568
|
-
# @type RequestId: String
|
1569
|
-
|
1570
|
-
attr_accessor :TaskId, :RequestId
|
1571
|
-
|
1572
|
-
def initialize(taskid=nil, requestid=nil)
|
1573
|
-
@TaskId = taskid
|
1574
|
-
@RequestId = requestid
|
1575
|
-
end
|
1576
|
-
|
1577
|
-
def deserialize(params)
|
1578
|
-
@TaskId = params['TaskId']
|
1579
|
-
@RequestId = params['RequestId']
|
1580
|
-
end
|
1581
|
-
end
|
1582
|
-
|
1583
1312
|
# 刷新任务日志详情
|
1584
1313
|
class PurgeTask < TencentCloud::Common::AbstractModel
|
1585
1314
|
# @param TaskId: 刷新任务ID。
|
@@ -1652,30 +1381,6 @@ module TencentCloud
|
|
1652
1381
|
end
|
1653
1382
|
end
|
1654
1383
|
|
1655
|
-
# 刷新用量及刷新配额
|
1656
|
-
class Quota < TencentCloud::Common::AbstractModel
|
1657
|
-
# @param Batch: 单次批量提交配额上限。
|
1658
|
-
# @type Batch: Integer
|
1659
|
-
# @param Total: 每日提交配额上限。
|
1660
|
-
# @type Total: Integer
|
1661
|
-
# @param Available: 每日剩余的可提交配额。
|
1662
|
-
# @type Available: Integer
|
1663
|
-
|
1664
|
-
attr_accessor :Batch, :Total, :Available
|
1665
|
-
|
1666
|
-
def initialize(batch=nil, total=nil, available=nil)
|
1667
|
-
@Batch = batch
|
1668
|
-
@Total = total
|
1669
|
-
@Available = available
|
1670
|
-
end
|
1671
|
-
|
1672
|
-
def deserialize(params)
|
1673
|
-
@Batch = params['Batch']
|
1674
|
-
@Total = params['Total']
|
1675
|
-
@Available = params['Available']
|
1676
|
-
end
|
1677
|
-
end
|
1678
|
-
|
1679
1384
|
# 查询对象及其对应的访问明细数据
|
1680
1385
|
class ResourceData < TencentCloud::Common::AbstractModel
|
1681
1386
|
# @param Resource: 资源名称,根据查询条件不同分为以下几类:
|
@@ -1800,70 +1505,6 @@ module TencentCloud
|
|
1800
1505
|
end
|
1801
1506
|
end
|
1802
1507
|
|
1803
|
-
# StartEcdnDomain请求参数结构体
|
1804
|
-
class StartEcdnDomainRequest < TencentCloud::Common::AbstractModel
|
1805
|
-
# @param Domain: 待启用域名。
|
1806
|
-
# @type Domain: String
|
1807
|
-
|
1808
|
-
attr_accessor :Domain
|
1809
|
-
|
1810
|
-
def initialize(domain=nil)
|
1811
|
-
@Domain = domain
|
1812
|
-
end
|
1813
|
-
|
1814
|
-
def deserialize(params)
|
1815
|
-
@Domain = params['Domain']
|
1816
|
-
end
|
1817
|
-
end
|
1818
|
-
|
1819
|
-
# StartEcdnDomain返回参数结构体
|
1820
|
-
class StartEcdnDomainResponse < TencentCloud::Common::AbstractModel
|
1821
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1822
|
-
# @type RequestId: String
|
1823
|
-
|
1824
|
-
attr_accessor :RequestId
|
1825
|
-
|
1826
|
-
def initialize(requestid=nil)
|
1827
|
-
@RequestId = requestid
|
1828
|
-
end
|
1829
|
-
|
1830
|
-
def deserialize(params)
|
1831
|
-
@RequestId = params['RequestId']
|
1832
|
-
end
|
1833
|
-
end
|
1834
|
-
|
1835
|
-
# StopEcdnDomain请求参数结构体
|
1836
|
-
class StopEcdnDomainRequest < TencentCloud::Common::AbstractModel
|
1837
|
-
# @param Domain: 待停用域名。
|
1838
|
-
# @type Domain: String
|
1839
|
-
|
1840
|
-
attr_accessor :Domain
|
1841
|
-
|
1842
|
-
def initialize(domain=nil)
|
1843
|
-
@Domain = domain
|
1844
|
-
end
|
1845
|
-
|
1846
|
-
def deserialize(params)
|
1847
|
-
@Domain = params['Domain']
|
1848
|
-
end
|
1849
|
-
end
|
1850
|
-
|
1851
|
-
# StopEcdnDomain返回参数结构体
|
1852
|
-
class StopEcdnDomainResponse < TencentCloud::Common::AbstractModel
|
1853
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1854
|
-
# @type RequestId: String
|
1855
|
-
|
1856
|
-
attr_accessor :RequestId
|
1857
|
-
|
1858
|
-
def initialize(requestid=nil)
|
1859
|
-
@RequestId = requestid
|
1860
|
-
end
|
1861
|
-
|
1862
|
-
def deserialize(params)
|
1863
|
-
@RequestId = params['RequestId']
|
1864
|
-
end
|
1865
|
-
end
|
1866
|
-
|
1867
1508
|
# 标签键和标签值
|
1868
1509
|
class Tag < TencentCloud::Common::AbstractModel
|
1869
1510
|
# @param TagKey: 标签键
|
@@ -1907,109 +1548,6 @@ module TencentCloud
|
|
1907
1548
|
end
|
1908
1549
|
end
|
1909
1550
|
|
1910
|
-
# UpdateDomainConfig请求参数结构体
|
1911
|
-
class UpdateDomainConfigRequest < TencentCloud::Common::AbstractModel
|
1912
|
-
# @param Domain: 域名。
|
1913
|
-
# @type Domain: String
|
1914
|
-
# @param Origin: 源站配置。
|
1915
|
-
# @type Origin: :class:`Tencentcloud::Ecdn.v20191012.models.Origin`
|
1916
|
-
# @param ProjectId: 项目id。
|
1917
|
-
# @type ProjectId: Integer
|
1918
|
-
# @param IpFilter: IP黑白名单配置。
|
1919
|
-
# @type IpFilter: :class:`Tencentcloud::Ecdn.v20191012.models.IpFilter`
|
1920
|
-
# @param IpFreqLimit: IP限频配置。
|
1921
|
-
# @type IpFreqLimit: :class:`Tencentcloud::Ecdn.v20191012.models.IpFreqLimit`
|
1922
|
-
# @param ResponseHeader: 源站响应头部配置。
|
1923
|
-
# @type ResponseHeader: :class:`Tencentcloud::Ecdn.v20191012.models.ResponseHeader`
|
1924
|
-
# @param CacheKey: 节点缓存配置。
|
1925
|
-
# @type CacheKey: :class:`Tencentcloud::Ecdn.v20191012.models.CacheKey`
|
1926
|
-
# @param Cache: 缓存规则配置。
|
1927
|
-
# @type Cache: :class:`Tencentcloud::Ecdn.v20191012.models.Cache`
|
1928
|
-
# @param Https: Https配置。
|
1929
|
-
# @type Https: :class:`Tencentcloud::Ecdn.v20191012.models.Https`
|
1930
|
-
# @param ForceRedirect: 访问协议强制跳转配置。
|
1931
|
-
# @type ForceRedirect: :class:`Tencentcloud::Ecdn.v20191012.models.ForceRedirect`
|
1932
|
-
# @param Area: 域名加速区域,mainland,overseas或global,分别表示中国境内加速,海外加速或全球加速。
|
1933
|
-
# @type Area: String
|
1934
|
-
# @param WebSocket: WebSocket配置
|
1935
|
-
# @type WebSocket: :class:`Tencentcloud::Ecdn.v20191012.models.WebSocket`
|
1936
|
-
|
1937
|
-
attr_accessor :Domain, :Origin, :ProjectId, :IpFilter, :IpFreqLimit, :ResponseHeader, :CacheKey, :Cache, :Https, :ForceRedirect, :Area, :WebSocket
|
1938
|
-
|
1939
|
-
def initialize(domain=nil, origin=nil, projectid=nil, ipfilter=nil, ipfreqlimit=nil, responseheader=nil, cachekey=nil, cache=nil, https=nil, forceredirect=nil, area=nil, websocket=nil)
|
1940
|
-
@Domain = domain
|
1941
|
-
@Origin = origin
|
1942
|
-
@ProjectId = projectid
|
1943
|
-
@IpFilter = ipfilter
|
1944
|
-
@IpFreqLimit = ipfreqlimit
|
1945
|
-
@ResponseHeader = responseheader
|
1946
|
-
@CacheKey = cachekey
|
1947
|
-
@Cache = cache
|
1948
|
-
@Https = https
|
1949
|
-
@ForceRedirect = forceredirect
|
1950
|
-
@Area = area
|
1951
|
-
@WebSocket = websocket
|
1952
|
-
end
|
1953
|
-
|
1954
|
-
def deserialize(params)
|
1955
|
-
@Domain = params['Domain']
|
1956
|
-
unless params['Origin'].nil?
|
1957
|
-
@Origin = Origin.new
|
1958
|
-
@Origin.deserialize(params['Origin'])
|
1959
|
-
end
|
1960
|
-
@ProjectId = params['ProjectId']
|
1961
|
-
unless params['IpFilter'].nil?
|
1962
|
-
@IpFilter = IpFilter.new
|
1963
|
-
@IpFilter.deserialize(params['IpFilter'])
|
1964
|
-
end
|
1965
|
-
unless params['IpFreqLimit'].nil?
|
1966
|
-
@IpFreqLimit = IpFreqLimit.new
|
1967
|
-
@IpFreqLimit.deserialize(params['IpFreqLimit'])
|
1968
|
-
end
|
1969
|
-
unless params['ResponseHeader'].nil?
|
1970
|
-
@ResponseHeader = ResponseHeader.new
|
1971
|
-
@ResponseHeader.deserialize(params['ResponseHeader'])
|
1972
|
-
end
|
1973
|
-
unless params['CacheKey'].nil?
|
1974
|
-
@CacheKey = CacheKey.new
|
1975
|
-
@CacheKey.deserialize(params['CacheKey'])
|
1976
|
-
end
|
1977
|
-
unless params['Cache'].nil?
|
1978
|
-
@Cache = Cache.new
|
1979
|
-
@Cache.deserialize(params['Cache'])
|
1980
|
-
end
|
1981
|
-
unless params['Https'].nil?
|
1982
|
-
@Https = Https.new
|
1983
|
-
@Https.deserialize(params['Https'])
|
1984
|
-
end
|
1985
|
-
unless params['ForceRedirect'].nil?
|
1986
|
-
@ForceRedirect = ForceRedirect.new
|
1987
|
-
@ForceRedirect.deserialize(params['ForceRedirect'])
|
1988
|
-
end
|
1989
|
-
@Area = params['Area']
|
1990
|
-
unless params['WebSocket'].nil?
|
1991
|
-
@WebSocket = WebSocket.new
|
1992
|
-
@WebSocket.deserialize(params['WebSocket'])
|
1993
|
-
end
|
1994
|
-
end
|
1995
|
-
end
|
1996
|
-
|
1997
|
-
# UpdateDomainConfig返回参数结构体
|
1998
|
-
class UpdateDomainConfigResponse < TencentCloud::Common::AbstractModel
|
1999
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2000
|
-
# @type RequestId: String
|
2001
|
-
|
2002
|
-
attr_accessor :RequestId
|
2003
|
-
|
2004
|
-
def initialize(requestid=nil)
|
2005
|
-
@RequestId = requestid
|
2006
|
-
end
|
2007
|
-
|
2008
|
-
def deserialize(params)
|
2009
|
-
@RequestId = params['RequestId']
|
2010
|
-
end
|
2011
|
-
end
|
2012
|
-
|
2013
1551
|
# WebSocket配置。
|
2014
1552
|
class WebSocket < TencentCloud::Common::AbstractModel
|
2015
1553
|
# @param Switch: WebSocket 超时配置开关, 开关为off时,平台仍支持WebSocket连接,此时超时时间默认为15秒,若需要调整超时时间,将开关置为on.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ecdn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1026
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-03-
|
11
|
+
date: 2025-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|