tencentcloud-sdk-teo 3.0.1187 → 3.0.1188
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/v20220901/client.rb +49 -0
- data/lib/v20220901/models.rb +163 -0
- 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: 98e4a639cddbe7c17c7389b0428370d422f18286
|
|
4
|
+
data.tar.gz: af3b51de158bbbf68679157345706f2df613ff1e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5f38059eb8647f2f8c7acfa89ae475da3c090fa12aeb45e0fba76dc56affe53d1a9353f809d92e2168f10cb04fa5c09f8c9f2cd6129d3ee3c08568bec877ca36
|
|
7
|
+
data.tar.gz: c723431d05515a501c7afcb4edba873ca4e60f1f3b9a7c5dc51fb726114ed44b1b691762270d6a76a4148ce2b8035480afb0c94ffd5f8a83c6c65d15fc055177
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1188
|
data/lib/v20220901/client.rb
CHANGED
|
@@ -2753,6 +2753,30 @@ module TencentCloud
|
|
|
2753
2753
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2754
2754
|
end
|
|
2755
2755
|
|
|
2756
|
+
# 本接口用于查询回源限速限制,该功能白名单内测中。
|
|
2757
|
+
|
|
2758
|
+
# @param request: Request instance for DescribePrefetchOriginLimit.
|
|
2759
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::DescribePrefetchOriginLimitRequest`
|
|
2760
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::DescribePrefetchOriginLimitResponse`
|
|
2761
|
+
def DescribePrefetchOriginLimit(request)
|
|
2762
|
+
body = send_request('DescribePrefetchOriginLimit', request.serialize)
|
|
2763
|
+
response = JSON.parse(body)
|
|
2764
|
+
if response['Response'].key?('Error') == false
|
|
2765
|
+
model = DescribePrefetchOriginLimitResponse.new
|
|
2766
|
+
model.deserialize(response['Response'])
|
|
2767
|
+
model
|
|
2768
|
+
else
|
|
2769
|
+
code = response['Response']['Error']['Code']
|
|
2770
|
+
message = response['Response']['Error']['Message']
|
|
2771
|
+
reqid = response['Response']['RequestId']
|
|
2772
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
2773
|
+
end
|
|
2774
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
2775
|
+
raise e
|
|
2776
|
+
rescue StandardError => e
|
|
2777
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2778
|
+
end
|
|
2779
|
+
|
|
2756
2780
|
# DescribePrefetchTasks 用于查询预热任务提交历史记录及执行进度,通过 CreatePrefetchTasks 接口提交的任务可通过此接口进行查询。
|
|
2757
2781
|
|
|
2758
2782
|
# @param request: Request instance for DescribePrefetchTasks.
|
|
@@ -4391,6 +4415,31 @@ module TencentCloud
|
|
|
4391
4415
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
4392
4416
|
end
|
|
4393
4417
|
|
|
4418
|
+
# 本接口用于配置回源限速限制,该功能白名单内测中。
|
|
4419
|
+
# 可通过此接口创建、修改与删除预热回源限速限制,每个账号最多支持 100 条限制。
|
|
4420
|
+
|
|
4421
|
+
# @param request: Request instance for ModifyPrefetchOriginLimit.
|
|
4422
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::ModifyPrefetchOriginLimitRequest`
|
|
4423
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::ModifyPrefetchOriginLimitResponse`
|
|
4424
|
+
def ModifyPrefetchOriginLimit(request)
|
|
4425
|
+
body = send_request('ModifyPrefetchOriginLimit', request.serialize)
|
|
4426
|
+
response = JSON.parse(body)
|
|
4427
|
+
if response['Response'].key?('Error') == false
|
|
4428
|
+
model = ModifyPrefetchOriginLimitResponse.new
|
|
4429
|
+
model.deserialize(response['Response'])
|
|
4430
|
+
model
|
|
4431
|
+
else
|
|
4432
|
+
code = response['Response']['Error']['Code']
|
|
4433
|
+
message = response['Response']['Error']['Message']
|
|
4434
|
+
reqid = response['Response']['RequestId']
|
|
4435
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
4436
|
+
end
|
|
4437
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
4438
|
+
raise e
|
|
4439
|
+
rescue StandardError => e
|
|
4440
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
4441
|
+
end
|
|
4442
|
+
|
|
4394
4443
|
# 通过本接口修改实时日志投递任务配置。本接口有如下限制:<li>不支持修改实时日志投递任务目的地类型(TaskType);</li><li>不支持修改数据投递类型(LogType)</li><li>不支持修改数据投递区域(Area)</li><li>当原实时日志投递任务的目的地为腾讯云 CLS 时,不支持修改目的地详细配置,如日志集、日志主题。</li>
|
|
4395
4444
|
|
|
4396
4445
|
# @param request: Request instance for ModifyRealtimeLogDeliveryTask.
|
data/lib/v20220901/models.rb
CHANGED
|
@@ -10051,6 +10051,74 @@ module TencentCloud
|
|
|
10051
10051
|
end
|
|
10052
10052
|
end
|
|
10053
10053
|
|
|
10054
|
+
# DescribePrefetchOriginLimit请求参数结构体
|
|
10055
|
+
class DescribePrefetchOriginLimitRequest < TencentCloud::Common::AbstractModel
|
|
10056
|
+
# @param ZoneId: 站点ID。
|
|
10057
|
+
# @type ZoneId: String
|
|
10058
|
+
# @param Offset: 分页查询偏移量,默认为 0。
|
|
10059
|
+
# @type Offset: Integer
|
|
10060
|
+
# @param Limit: 分页查询限制数目,默认值:20,上限:100。
|
|
10061
|
+
# @type Limit: Integer
|
|
10062
|
+
# @param Filters: 过滤条件,Filters.Values 的上限为 20。详细的过滤条件如下:
|
|
10063
|
+
# <li>domain-name:按照域名过滤。domain-name 形如:www.qq.com,不支持模糊查询;</li>
|
|
10064
|
+
# <li>area:按照限制加速区域过滤,不支持模糊查询。可选项:<br> Overseas:全球可用区(不含中国大陆);<br> MainlandChina:中国大陆可用区。</li>
|
|
10065
|
+
# @type Filters: Array
|
|
10066
|
+
|
|
10067
|
+
attr_accessor :ZoneId, :Offset, :Limit, :Filters
|
|
10068
|
+
|
|
10069
|
+
def initialize(zoneid=nil, offset=nil, limit=nil, filters=nil)
|
|
10070
|
+
@ZoneId = zoneid
|
|
10071
|
+
@Offset = offset
|
|
10072
|
+
@Limit = limit
|
|
10073
|
+
@Filters = filters
|
|
10074
|
+
end
|
|
10075
|
+
|
|
10076
|
+
def deserialize(params)
|
|
10077
|
+
@ZoneId = params['ZoneId']
|
|
10078
|
+
@Offset = params['Offset']
|
|
10079
|
+
@Limit = params['Limit']
|
|
10080
|
+
unless params['Filters'].nil?
|
|
10081
|
+
@Filters = []
|
|
10082
|
+
params['Filters'].each do |i|
|
|
10083
|
+
filter_tmp = Filter.new
|
|
10084
|
+
filter_tmp.deserialize(i)
|
|
10085
|
+
@Filters << filter_tmp
|
|
10086
|
+
end
|
|
10087
|
+
end
|
|
10088
|
+
end
|
|
10089
|
+
end
|
|
10090
|
+
|
|
10091
|
+
# DescribePrefetchOriginLimit返回参数结构体
|
|
10092
|
+
class DescribePrefetchOriginLimitResponse < TencentCloud::Common::AbstractModel
|
|
10093
|
+
# @param TotalCount: 回源限速限制总数。
|
|
10094
|
+
# @type TotalCount: Integer
|
|
10095
|
+
# @param Limits: 回源限速限制详情List。
|
|
10096
|
+
# @type Limits: Array
|
|
10097
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
10098
|
+
# @type RequestId: String
|
|
10099
|
+
|
|
10100
|
+
attr_accessor :TotalCount, :Limits, :RequestId
|
|
10101
|
+
|
|
10102
|
+
def initialize(totalcount=nil, limits=nil, requestid=nil)
|
|
10103
|
+
@TotalCount = totalcount
|
|
10104
|
+
@Limits = limits
|
|
10105
|
+
@RequestId = requestid
|
|
10106
|
+
end
|
|
10107
|
+
|
|
10108
|
+
def deserialize(params)
|
|
10109
|
+
@TotalCount = params['TotalCount']
|
|
10110
|
+
unless params['Limits'].nil?
|
|
10111
|
+
@Limits = []
|
|
10112
|
+
params['Limits'].each do |i|
|
|
10113
|
+
prefetchoriginlimit_tmp = PrefetchOriginLimit.new
|
|
10114
|
+
prefetchoriginlimit_tmp.deserialize(i)
|
|
10115
|
+
@Limits << prefetchoriginlimit_tmp
|
|
10116
|
+
end
|
|
10117
|
+
end
|
|
10118
|
+
@RequestId = params['RequestId']
|
|
10119
|
+
end
|
|
10120
|
+
end
|
|
10121
|
+
|
|
10054
10122
|
# DescribePrefetchTasks请求参数结构体
|
|
10055
10123
|
class DescribePrefetchTasksRequest < TencentCloud::Common::AbstractModel
|
|
10056
10124
|
# @param ZoneId: 站点ID。此参数将于2024年05月30日后由可选改为必填,详见公告:[【腾讯云 EdgeOne】云 API 变更通知](https://cloud.tencent.com/document/product/1552/104902)。
|
|
@@ -16935,6 +17003,61 @@ module TencentCloud
|
|
|
16935
17003
|
end
|
|
16936
17004
|
end
|
|
16937
17005
|
|
|
17006
|
+
# ModifyPrefetchOriginLimit请求参数结构体
|
|
17007
|
+
class ModifyPrefetchOriginLimitRequest < TencentCloud::Common::AbstractModel
|
|
17008
|
+
# @param ZoneId: 站点 ID。
|
|
17009
|
+
# @type ZoneId: String
|
|
17010
|
+
# @param DomainName: 加速域名。
|
|
17011
|
+
# @type DomainName: String
|
|
17012
|
+
# @param Area: 回源限速限制的加速区域。
|
|
17013
|
+
# 预热时,该加速区域将会受到配置的Bandwidth值限制。取值有:
|
|
17014
|
+
# <li>Overseas:全球可用区(不含中国大陆);</li>
|
|
17015
|
+
# <li>MainlandChina:中国大陆可用区。</li>
|
|
17016
|
+
# @type Area: String
|
|
17017
|
+
# @param Bandwidth: 回源限速带宽。
|
|
17018
|
+
# 预热时回到源站的带宽上限值,取值范围 100 - 100,000,单位 Mbps。
|
|
17019
|
+
# @type Bandwidth: Integer
|
|
17020
|
+
# @param Enabled: 回源限速限制控制开关。
|
|
17021
|
+
# 用于启用/删除本条回源限速限制,取值有:
|
|
17022
|
+
# <li>on:启用限制;</li>
|
|
17023
|
+
# <li>off:删除限制。</li>
|
|
17024
|
+
# @type Enabled: String
|
|
17025
|
+
|
|
17026
|
+
attr_accessor :ZoneId, :DomainName, :Area, :Bandwidth, :Enabled
|
|
17027
|
+
|
|
17028
|
+
def initialize(zoneid=nil, domainname=nil, area=nil, bandwidth=nil, enabled=nil)
|
|
17029
|
+
@ZoneId = zoneid
|
|
17030
|
+
@DomainName = domainname
|
|
17031
|
+
@Area = area
|
|
17032
|
+
@Bandwidth = bandwidth
|
|
17033
|
+
@Enabled = enabled
|
|
17034
|
+
end
|
|
17035
|
+
|
|
17036
|
+
def deserialize(params)
|
|
17037
|
+
@ZoneId = params['ZoneId']
|
|
17038
|
+
@DomainName = params['DomainName']
|
|
17039
|
+
@Area = params['Area']
|
|
17040
|
+
@Bandwidth = params['Bandwidth']
|
|
17041
|
+
@Enabled = params['Enabled']
|
|
17042
|
+
end
|
|
17043
|
+
end
|
|
17044
|
+
|
|
17045
|
+
# ModifyPrefetchOriginLimit返回参数结构体
|
|
17046
|
+
class ModifyPrefetchOriginLimitResponse < TencentCloud::Common::AbstractModel
|
|
17047
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
17048
|
+
# @type RequestId: String
|
|
17049
|
+
|
|
17050
|
+
attr_accessor :RequestId
|
|
17051
|
+
|
|
17052
|
+
def initialize(requestid=nil)
|
|
17053
|
+
@RequestId = requestid
|
|
17054
|
+
end
|
|
17055
|
+
|
|
17056
|
+
def deserialize(params)
|
|
17057
|
+
@RequestId = params['RequestId']
|
|
17058
|
+
end
|
|
17059
|
+
end
|
|
17060
|
+
|
|
16938
17061
|
# ModifyRealtimeLogDeliveryTask请求参数结构体
|
|
16939
17062
|
class ModifyRealtimeLogDeliveryTaskRequest < TencentCloud::Common::AbstractModel
|
|
16940
17063
|
# @param ZoneId: 站点 ID。
|
|
@@ -19302,6 +19425,46 @@ module TencentCloud
|
|
|
19302
19425
|
end
|
|
19303
19426
|
end
|
|
19304
19427
|
|
|
19428
|
+
# 回源限速限制详情。
|
|
19429
|
+
class PrefetchOriginLimit < TencentCloud::Common::AbstractModel
|
|
19430
|
+
# @param ZoneId: 站点 ID。
|
|
19431
|
+
# @type ZoneId: String
|
|
19432
|
+
# @param DomainName: 加速域名。
|
|
19433
|
+
# @type DomainName: String
|
|
19434
|
+
# @param Area: 回源限速限制的加速区域。
|
|
19435
|
+
# 预热时,该加速区域将会受到配置的Bandwidth值限制。取值有:
|
|
19436
|
+
# <li>Overseas:全球可用区(不含中国大陆);</li>
|
|
19437
|
+
# <li>MainlandChina:中国大陆可用区。</li>
|
|
19438
|
+
# @type Area: String
|
|
19439
|
+
# @param Bandwidth: 回源限速带宽。
|
|
19440
|
+
# 预热时回到源站的带宽上限值,取值范围 100 - 100,000,单位 Mbps。
|
|
19441
|
+
# @type Bandwidth: Integer
|
|
19442
|
+
# @param CreateTime: 回源限速限制创建的时间。
|
|
19443
|
+
# @type CreateTime: String
|
|
19444
|
+
# @param UpdateTime: 回源限速限制更新的时间。
|
|
19445
|
+
# @type UpdateTime: String
|
|
19446
|
+
|
|
19447
|
+
attr_accessor :ZoneId, :DomainName, :Area, :Bandwidth, :CreateTime, :UpdateTime
|
|
19448
|
+
|
|
19449
|
+
def initialize(zoneid=nil, domainname=nil, area=nil, bandwidth=nil, createtime=nil, updatetime=nil)
|
|
19450
|
+
@ZoneId = zoneid
|
|
19451
|
+
@DomainName = domainname
|
|
19452
|
+
@Area = area
|
|
19453
|
+
@Bandwidth = bandwidth
|
|
19454
|
+
@CreateTime = createtime
|
|
19455
|
+
@UpdateTime = updatetime
|
|
19456
|
+
end
|
|
19457
|
+
|
|
19458
|
+
def deserialize(params)
|
|
19459
|
+
@ZoneId = params['ZoneId']
|
|
19460
|
+
@DomainName = params['DomainName']
|
|
19461
|
+
@Area = params['Area']
|
|
19462
|
+
@Bandwidth = params['Bandwidth']
|
|
19463
|
+
@CreateTime = params['CreateTime']
|
|
19464
|
+
@UpdateTime = params['UpdateTime']
|
|
19465
|
+
end
|
|
19466
|
+
end
|
|
19467
|
+
|
|
19305
19468
|
# 预付费套餐计费参数
|
|
19306
19469
|
class PrepaidPlanParam < TencentCloud::Common::AbstractModel
|
|
19307
19470
|
# @param Period: 订阅预付费套餐的周期,单位:月,取值有:1,2,3,4,5,6,7,8,9,10,11,12,24,36。
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-teo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1188
|
|
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-12-
|
|
11
|
+
date: 2025-12-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|