tencentcloud-sdk-ecdn 1.0.243 → 1.0.244
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20191012/client.rb +20 -0
- data/lib/v20191012/models.rb +16 -4
- 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: acc9a396ecb36953a8ca903c50200229450e036d
|
4
|
+
data.tar.gz: 82865db4cc7b430911469570455f8f31e78445af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c89c0bde8955116987f266dee612dc0d58d27530ff05a8aef6f46d5ec020b27b740fea888657461afe5bfd21e6bcefb7626c1687202df00d6a10ff83c0bc17cd
|
7
|
+
data.tar.gz: b77450075ef8bf4ea1010fcbbbd1c315e66a5e1bdd13ab9667202c8e4567fc8ca85c57fbfb80ea0e50252cc17700bf94852acde3a73f95053e3372fe02a3ad18
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.244
|
data/lib/v20191012/client.rb
CHANGED
@@ -31,6 +31,8 @@ module TencentCloud
|
|
31
31
|
|
32
32
|
# 本接口(AddEcdnDomain)用于创建加速域名。
|
33
33
|
|
34
|
+
# >? 若您的业务已迁移至 CDN 控制台,请参考<a href="https://cloud.tencent.com/document/api/228/41123"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
35
|
+
|
34
36
|
# @param request: Request instance for AddEcdnDomain.
|
35
37
|
# @type request: :class:`Tencentcloud::ecdn::V20191012::AddEcdnDomainRequest`
|
36
38
|
# @rtype: :class:`Tencentcloud::ecdn::V20191012::AddEcdnDomainResponse`
|
@@ -79,6 +81,8 @@ module TencentCloud
|
|
79
81
|
|
80
82
|
# 本接口(DeleteEcdnDomain)用于删除指定加速域名。待删除域名必须处于已停用状态。
|
81
83
|
|
84
|
+
# >? 若您的业务已迁移至 CDN 控制台,请参考<a href="https://cloud.tencent.com/document/api/570/42471"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
85
|
+
|
82
86
|
# @param request: Request instance for DeleteEcdnDomain.
|
83
87
|
# @type request: :class:`Tencentcloud::ecdn::V20191012::DeleteEcdnDomainRequest`
|
84
88
|
# @rtype: :class:`Tencentcloud::ecdn::V20191012::DeleteEcdnDomainResponse`
|
@@ -103,6 +107,8 @@ module TencentCloud
|
|
103
107
|
|
104
108
|
# 本接口(DescribeDomains)用于查询CDN域名基本信息,包括项目id,状态,业务类型,创建时间,更新时间等。
|
105
109
|
|
110
|
+
# >? 若您的业务已迁移至 CDN 控制台,请参考<a href="https://cloud.tencent.com/document/api/228/41118"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
111
|
+
|
106
112
|
# @param request: Request instance for DescribeDomains.
|
107
113
|
# @type request: :class:`Tencentcloud::ecdn::V20191012::DescribeDomainsRequest`
|
108
114
|
# @rtype: :class:`Tencentcloud::ecdn::V20191012::DescribeDomainsResponse`
|
@@ -127,6 +133,8 @@ module TencentCloud
|
|
127
133
|
|
128
134
|
# 本接口(DescribeDomainsConfig)用于查询CDN加速域名详细配置信息。
|
129
135
|
|
136
|
+
# >? 若您的业务已迁移至 CDN 控制台,请参考<a href="https://cloud.tencent.com/document/api/228/41117"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
137
|
+
|
130
138
|
# @param request: Request instance for DescribeDomainsConfig.
|
131
139
|
# @type request: :class:`Tencentcloud::ecdn::V20191012::DescribeDomainsConfigRequest`
|
132
140
|
# @rtype: :class:`Tencentcloud::ecdn::V20191012::DescribeDomainsConfigResponse`
|
@@ -257,6 +265,8 @@ module TencentCloud
|
|
257
265
|
|
258
266
|
# 查询刷新接口的用量配额。
|
259
267
|
|
268
|
+
# >? 若您的业务已迁移至 CDN 控制台,请参考<a href="https://cloud.tencent.com/document/api/228/41956"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
269
|
+
|
260
270
|
# @param request: Request instance for DescribePurgeQuota.
|
261
271
|
# @type request: :class:`Tencentcloud::ecdn::V20191012::DescribePurgeQuotaRequest`
|
262
272
|
# @rtype: :class:`Tencentcloud::ecdn::V20191012::DescribePurgeQuotaResponse`
|
@@ -281,6 +291,8 @@ module TencentCloud
|
|
281
291
|
|
282
292
|
# DescribePurgeTasks 用于查询刷新任务提交历史记录及执行进度。
|
283
293
|
|
294
|
+
# >? 若您的业务已迁移至 CDN 控制台,请参考<a href="https://cloud.tencent.com/document/api/228/37873"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
295
|
+
|
284
296
|
# @param request: Request instance for DescribePurgeTasks.
|
285
297
|
# @type request: :class:`Tencentcloud::ecdn::V20191012::DescribePurgeTasksRequest`
|
286
298
|
# @rtype: :class:`Tencentcloud::ecdn::V20191012::DescribePurgeTasksResponse`
|
@@ -305,6 +317,8 @@ module TencentCloud
|
|
305
317
|
|
306
318
|
# PurgePathCache 用于批量刷新目录缓存,一次提交将返回一个刷新任务id。
|
307
319
|
|
320
|
+
# >? 若您的业务已迁移至 CDN 控制台,请参考<a href=" https://cloud.tencent.com/document/api/570/42475"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
321
|
+
|
308
322
|
# @param request: Request instance for PurgePathCache.
|
309
323
|
# @type request: :class:`Tencentcloud::ecdn::V20191012::PurgePathCacheRequest`
|
310
324
|
# @rtype: :class:`Tencentcloud::ecdn::V20191012::PurgePathCacheResponse`
|
@@ -329,6 +343,8 @@ module TencentCloud
|
|
329
343
|
|
330
344
|
# PurgeUrlsCache 用于批量刷新Url,一次提交将返回一个刷新任务id。
|
331
345
|
|
346
|
+
# >? 若您的业务已迁移至 CDN 控制台,请参考<a href="https://cloud.tencent.com/document/api/228/37870"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
347
|
+
|
332
348
|
# @param request: Request instance for PurgeUrlsCache.
|
333
349
|
# @type request: :class:`Tencentcloud::ecdn::V20191012::PurgeUrlsCacheRequest`
|
334
350
|
# @rtype: :class:`Tencentcloud::ecdn::V20191012::PurgeUrlsCacheResponse`
|
@@ -353,6 +369,8 @@ module TencentCloud
|
|
353
369
|
|
354
370
|
# 本接口(StartEcdnDomain)用于启用加速域名,待启用域名必须处于已下线状态。
|
355
371
|
|
372
|
+
# >? 若您的业务已迁移至 CDN 控制台,请参考<a href="https://cloud.tencent.com/document/product/228/41121"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
373
|
+
|
356
374
|
# @param request: Request instance for StartEcdnDomain.
|
357
375
|
# @type request: :class:`Tencentcloud::ecdn::V20191012::StartEcdnDomainRequest`
|
358
376
|
# @rtype: :class:`Tencentcloud::ecdn::V20191012::StartEcdnDomainResponse`
|
@@ -377,6 +395,8 @@ module TencentCloud
|
|
377
395
|
|
378
396
|
# 本接口(StopCdnDomain)用于停止加速域名,待停用加速域名必须处于已上线或部署中状态。
|
379
397
|
|
398
|
+
# >? 若您的业务已迁移至 CDN 控制台,请参考<a href="https://cloud.tencent.com/document/product/228/41120"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
399
|
+
|
380
400
|
# @param request: Request instance for StopEcdnDomain.
|
381
401
|
# @type request: :class:`Tencentcloud::ecdn::V20191012::StopEcdnDomainRequest`
|
382
402
|
# @rtype: :class:`Tencentcloud::ecdn::V20191012::StopEcdnDomainResponse`
|
data/lib/v20191012/models.rb
CHANGED
@@ -942,10 +942,13 @@ module TencentCloud
|
|
942
942
|
# @type Area: String
|
943
943
|
# @param Readonly: 域名锁定状态,normal、global,分别表示未被锁定、全球锁定。
|
944
944
|
# @type Readonly: String
|
945
|
+
# @param Tag: 域名标签。
|
946
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
947
|
+
# @type Tag: Array
|
945
948
|
|
946
|
-
attr_accessor :ResourceId, :AppId, :Domain, :Cname, :Status, :ProjectId, :CreateTime, :UpdateTime, :Origin, :Disable, :Area, :Readonly
|
949
|
+
attr_accessor :ResourceId, :AppId, :Domain, :Cname, :Status, :ProjectId, :CreateTime, :UpdateTime, :Origin, :Disable, :Area, :Readonly, :Tag
|
947
950
|
|
948
|
-
def initialize(resourceid=nil, appid=nil, domain=nil, cname=nil, status=nil, projectid=nil, createtime=nil, updatetime=nil, origin=nil, disable=nil, area=nil, readonly=nil)
|
951
|
+
def initialize(resourceid=nil, appid=nil, domain=nil, cname=nil, status=nil, projectid=nil, createtime=nil, updatetime=nil, origin=nil, disable=nil, area=nil, readonly=nil, tag=nil)
|
949
952
|
@ResourceId = resourceid
|
950
953
|
@AppId = appid
|
951
954
|
@Domain = domain
|
@@ -958,6 +961,7 @@ module TencentCloud
|
|
958
961
|
@Disable = disable
|
959
962
|
@Area = area
|
960
963
|
@Readonly = readonly
|
964
|
+
@Tag = tag
|
961
965
|
end
|
962
966
|
|
963
967
|
def deserialize(params)
|
@@ -976,6 +980,14 @@ module TencentCloud
|
|
976
980
|
@Disable = params['Disable']
|
977
981
|
@Area = params['Area']
|
978
982
|
@Readonly = params['Readonly']
|
983
|
+
unless params['Tag'].nil?
|
984
|
+
@Tag = []
|
985
|
+
params['Tag'].each do |i|
|
986
|
+
tag_tmp = Tag.new
|
987
|
+
tag_tmp.deserialize(i)
|
988
|
+
@Tag << tag_tmp
|
989
|
+
end
|
990
|
+
end
|
979
991
|
end
|
980
992
|
end
|
981
993
|
|
@@ -1550,7 +1562,7 @@ module TencentCloud
|
|
1550
1562
|
|
1551
1563
|
# PurgePathCache返回参数结构体
|
1552
1564
|
class PurgePathCacheResponse < TencentCloud::Common::AbstractModel
|
1553
|
-
# @param TaskId: 刷新任务Id
|
1565
|
+
# @param TaskId: 刷新任务Id。
|
1554
1566
|
# @type TaskId: String
|
1555
1567
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1556
1568
|
# @type RequestId: String
|
@@ -1622,7 +1634,7 @@ module TencentCloud
|
|
1622
1634
|
|
1623
1635
|
# PurgeUrlsCache返回参数结构体
|
1624
1636
|
class PurgeUrlsCacheResponse < TencentCloud::Common::AbstractModel
|
1625
|
-
# @param TaskId: 刷新任务Id
|
1637
|
+
# @param TaskId: 刷新任务Id。
|
1626
1638
|
# @type TaskId: String
|
1627
1639
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1628
1640
|
# @type RequestId: String
|
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: 1.0.
|
4
|
+
version: 1.0.244
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01-
|
11
|
+
date: 2022-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|