tencentcloud-sdk-teo 3.0.1085 → 3.0.1091
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 +120 -0
- data/lib/v20220901/models.rb +378 -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: 48cf3e3f0840affb421ee08e86a39fa2fc19c34c
|
4
|
+
data.tar.gz: 01db8975eacc7e1934a290dbc784af6c97a1f382
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50b40cb3d31a7b637b0456dd67f7c14a60a9f3d396c27fe28050395ba42e8b3d6d237607484025250ef94a6a3ef1b7f3b3cef59b51eda3e9dce00c0801ea70f8
|
7
|
+
data.tar.gz: 134d0fa6d07344b43a4b0edc31f61317d26edf205216a7029421efc04843a07239cd23d461d198ba73ac107ec972e97d76666428b63bc15596150d498d66330e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1091
|
data/lib/v20220901/client.rb
CHANGED
@@ -125,6 +125,30 @@ module TencentCloud
|
|
125
125
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
126
126
|
end
|
127
127
|
|
128
|
+
# 本接口用于回源 IP 网段发生变更时,确认已将最新回源 IP 网段更新至源站防火墙。确认已更新至最新的回源 IP 网段后,相关变更通知将会停止推送。
|
129
|
+
|
130
|
+
# @param request: Request instance for ConfirmOriginACLUpdate.
|
131
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::ConfirmOriginACLUpdateRequest`
|
132
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::ConfirmOriginACLUpdateResponse`
|
133
|
+
def ConfirmOriginACLUpdate(request)
|
134
|
+
body = send_request('ConfirmOriginACLUpdate', request.serialize)
|
135
|
+
response = JSON.parse(body)
|
136
|
+
if response['Response'].key?('Error') == false
|
137
|
+
model = ConfirmOriginACLUpdateResponse.new
|
138
|
+
model.deserialize(response['Response'])
|
139
|
+
model
|
140
|
+
else
|
141
|
+
code = response['Response']['Error']['Code']
|
142
|
+
message = response['Response']['Error']['Message']
|
143
|
+
reqid = response['Response']['RequestId']
|
144
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
145
|
+
end
|
146
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
147
|
+
raise e
|
148
|
+
rescue StandardError => e
|
149
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
150
|
+
end
|
151
|
+
|
128
152
|
# 在创建完站点之后,您可以通过本接口创建加速域名。
|
129
153
|
|
130
154
|
# CNAME 模式接入时,若您未完成站点归属权校验,本接口将为您返回域名归属权验证信息,您可以单独对域名进行归属权验证,详情参考 [站点/域名归属权验证](https://cloud.tencent.com/document/product/1552/70789)。
|
@@ -1892,6 +1916,30 @@ module TencentCloud
|
|
1892
1916
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1893
1917
|
end
|
1894
1918
|
|
1919
|
+
# 本接口用于查询站点下的七层加速域名/四层代理实例与回源 IP 网段的绑定关系,以及回源 IP 网段详情。如果您想通过自动化脚本定期获取回源 IP 网段的最新版本,可以较低频率(建议每三天一次)轮询本接口,若 NextOriginACL 字段有返回值,则将最新的回源 IP 网段同步到源站防火墙配置中。
|
1920
|
+
|
1921
|
+
# @param request: Request instance for DescribeOriginACL.
|
1922
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::DescribeOriginACLRequest`
|
1923
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::DescribeOriginACLResponse`
|
1924
|
+
def DescribeOriginACL(request)
|
1925
|
+
body = send_request('DescribeOriginACL', request.serialize)
|
1926
|
+
response = JSON.parse(body)
|
1927
|
+
if response['Response'].key?('Error') == false
|
1928
|
+
model = DescribeOriginACLResponse.new
|
1929
|
+
model.deserialize(response['Response'])
|
1930
|
+
model
|
1931
|
+
else
|
1932
|
+
code = response['Response']['Error']['Code']
|
1933
|
+
message = response['Response']['Error']['Message']
|
1934
|
+
reqid = response['Response']['RequestId']
|
1935
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1936
|
+
end
|
1937
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1938
|
+
raise e
|
1939
|
+
rescue StandardError => e
|
1940
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1941
|
+
end
|
1942
|
+
|
1895
1943
|
# 获取源站组列表
|
1896
1944
|
|
1897
1945
|
# @param request: Request instance for DescribeOriginGroup.
|
@@ -2455,6 +2503,30 @@ module TencentCloud
|
|
2455
2503
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2456
2504
|
end
|
2457
2505
|
|
2506
|
+
# 本接口用于关闭站点的源站防护功能。停用后,相关资源不再仅使用「源站防护」提供的回源 IP 网段请求您的源站,同时停止发送回源 IP 网段更新通知。
|
2507
|
+
|
2508
|
+
# @param request: Request instance for DisableOriginACL.
|
2509
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::DisableOriginACLRequest`
|
2510
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::DisableOriginACLResponse`
|
2511
|
+
def DisableOriginACL(request)
|
2512
|
+
body = send_request('DisableOriginACL', request.serialize)
|
2513
|
+
response = JSON.parse(body)
|
2514
|
+
if response['Response'].key?('Error') == false
|
2515
|
+
model = DisableOriginACLResponse.new
|
2516
|
+
model.deserialize(response['Response'])
|
2517
|
+
model
|
2518
|
+
else
|
2519
|
+
code = response['Response']['Error']['Code']
|
2520
|
+
message = response['Response']['Error']['Message']
|
2521
|
+
reqid = response['Response']['RequestId']
|
2522
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2523
|
+
end
|
2524
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2525
|
+
raise e
|
2526
|
+
rescue StandardError => e
|
2527
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2528
|
+
end
|
2529
|
+
|
2458
2530
|
# 本接口(DownloadL4Logs)用于下载四层离线日志。
|
2459
2531
|
|
2460
2532
|
# @param request: Request instance for DownloadL4Logs.
|
@@ -2503,6 +2575,30 @@ module TencentCloud
|
|
2503
2575
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2504
2576
|
end
|
2505
2577
|
|
2578
|
+
# 开启回源白名单功能,按照4/7层实例开启。当前启用时候的实例数有上限设置,七层域名为200,四层转发实例为100,总实例个数不超过200,超过会提醒报错;可以先最大数量开启,超过的数量用ModifyOriginACL接口来设置。
|
2579
|
+
|
2580
|
+
# @param request: Request instance for EnableOriginACL.
|
2581
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::EnableOriginACLRequest`
|
2582
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::EnableOriginACLResponse`
|
2583
|
+
def EnableOriginACL(request)
|
2584
|
+
body = send_request('EnableOriginACL', request.serialize)
|
2585
|
+
response = JSON.parse(body)
|
2586
|
+
if response['Response'].key?('Error') == false
|
2587
|
+
model = EnableOriginACLResponse.new
|
2588
|
+
model.deserialize(response['Response'])
|
2589
|
+
model
|
2590
|
+
else
|
2591
|
+
code = response['Response']['Error']['Code']
|
2592
|
+
message = response['Response']['Error']['Message']
|
2593
|
+
reqid = response['Response']['RequestId']
|
2594
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2595
|
+
end
|
2596
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2597
|
+
raise e
|
2598
|
+
rescue StandardError => e
|
2599
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2600
|
+
end
|
2601
|
+
|
2506
2602
|
# 导出站点配置接口,本接口支持用户根据需要的配置项进行配置导出,导出的配置用于导入站点配置接口(ImportZoneConfig)进行配置导入。该功能仅支持标准版和企业版套餐站点使用。
|
2507
2603
|
|
2508
2604
|
# @param request: Request instance for ExportZoneConfig.
|
@@ -3208,6 +3304,30 @@ module TencentCloud
|
|
3208
3304
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3209
3305
|
end
|
3210
3306
|
|
3307
|
+
# 本接口用于对七层加速域名/四层代理实例启用/关闭特定回源 IP 网段回源。单次支持提交的七层加速域名的数量最大为 200,四层代理实例的数量最大为 100,支持七层加速域名/四层代理实例混合提交,总实例个数最大为 200。如需变更超过 200 个实例,请通过本接口分批提交。
|
3308
|
+
|
3309
|
+
# @param request: Request instance for ModifyOriginACL.
|
3310
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::ModifyOriginACLRequest`
|
3311
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::ModifyOriginACLResponse`
|
3312
|
+
def ModifyOriginACL(request)
|
3313
|
+
body = send_request('ModifyOriginACL', request.serialize)
|
3314
|
+
response = JSON.parse(body)
|
3315
|
+
if response['Response'].key?('Error') == false
|
3316
|
+
model = ModifyOriginACLResponse.new
|
3317
|
+
model.deserialize(response['Response'])
|
3318
|
+
model
|
3319
|
+
else
|
3320
|
+
code = response['Response']['Error']['Code']
|
3321
|
+
message = response['Response']['Error']['Message']
|
3322
|
+
reqid = response['Response']['RequestId']
|
3323
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3324
|
+
end
|
3325
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3326
|
+
raise e
|
3327
|
+
rescue StandardError => e
|
3328
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3329
|
+
end
|
3330
|
+
|
3211
3331
|
# 修改源站组配置,新提交的源站记录将会覆盖原有源站组中的源站记录。
|
3212
3332
|
|
3213
3333
|
# @param request: Request instance for ModifyOriginGroup.
|
data/lib/v20220901/models.rb
CHANGED
@@ -558,6 +558,26 @@ module TencentCloud
|
|
558
558
|
end
|
559
559
|
end
|
560
560
|
|
561
|
+
# IP 网段详情。
|
562
|
+
class Addresses < TencentCloud::Common::AbstractModel
|
563
|
+
# @param IPv4: IPv4 网段列表。
|
564
|
+
# @type IPv4: Array
|
565
|
+
# @param IPv6: IPv6 网段列表。
|
566
|
+
# @type IPv6: Array
|
567
|
+
|
568
|
+
attr_accessor :IPv4, :IPv6
|
569
|
+
|
570
|
+
def initialize(ipv4=nil, ipv6=nil)
|
571
|
+
@IPv4 = ipv4
|
572
|
+
@IPv6 = ipv6
|
573
|
+
end
|
574
|
+
|
575
|
+
def deserialize(params)
|
576
|
+
@IPv4 = params['IPv4']
|
577
|
+
@IPv6 = params['IPv6']
|
578
|
+
end
|
579
|
+
end
|
580
|
+
|
561
581
|
# 描述键值对过滤器,用于条件过滤查询,支持模糊查询。例如过滤ID、名称、状态等。
|
562
582
|
# 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
|
563
583
|
# 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。
|
@@ -2568,6 +2588,38 @@ module TencentCloud
|
|
2568
2588
|
end
|
2569
2589
|
end
|
2570
2590
|
|
2591
|
+
# ConfirmOriginACLUpdate请求参数结构体
|
2592
|
+
class ConfirmOriginACLUpdateRequest < TencentCloud::Common::AbstractModel
|
2593
|
+
# @param ZoneId: 站点 ID。
|
2594
|
+
# @type ZoneId: String
|
2595
|
+
|
2596
|
+
attr_accessor :ZoneId
|
2597
|
+
|
2598
|
+
def initialize(zoneid=nil)
|
2599
|
+
@ZoneId = zoneid
|
2600
|
+
end
|
2601
|
+
|
2602
|
+
def deserialize(params)
|
2603
|
+
@ZoneId = params['ZoneId']
|
2604
|
+
end
|
2605
|
+
end
|
2606
|
+
|
2607
|
+
# ConfirmOriginACLUpdate返回参数结构体
|
2608
|
+
class ConfirmOriginACLUpdateResponse < TencentCloud::Common::AbstractModel
|
2609
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2610
|
+
# @type RequestId: String
|
2611
|
+
|
2612
|
+
attr_accessor :RequestId
|
2613
|
+
|
2614
|
+
def initialize(requestid=nil)
|
2615
|
+
@RequestId = requestid
|
2616
|
+
end
|
2617
|
+
|
2618
|
+
def deserialize(params)
|
2619
|
+
@RequestId = params['RequestId']
|
2620
|
+
end
|
2621
|
+
end
|
2622
|
+
|
2571
2623
|
# 内容标识符。该功能仅白名单开放。
|
2572
2624
|
class ContentIdentifier < TencentCloud::Common::AbstractModel
|
2573
2625
|
# @param ContentId: 内容标识符 ID。
|
@@ -4265,6 +4317,43 @@ module TencentCloud
|
|
4265
4317
|
end
|
4266
4318
|
end
|
4267
4319
|
|
4320
|
+
# 当前生效的回源 IP 网段。
|
4321
|
+
class CurrentOriginACL < TencentCloud::Common::AbstractModel
|
4322
|
+
# @param EntireAddresses: 回源 IP 网段详情。
|
4323
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4324
|
+
# @type EntireAddresses: :class:`Tencentcloud::Teo.v20220901.models.Addresses`
|
4325
|
+
# @param Version: 版本号。
|
4326
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4327
|
+
# @type Version: String
|
4328
|
+
# @param ActiveTime: 版本生效时间,时间是北京时间 UTC+8, 遵循 ISO 8601 标准的日期和时间格式。
|
4329
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4330
|
+
# @type ActiveTime: String
|
4331
|
+
# @param IsPlaned: 本参数用于记录当前版本生效前是否完成「我已更新至最新回源 IP 网段」的确认。取值有:
|
4332
|
+
# <li>true:版本生效时,已完成更新至最新回源 IP 的确认;</li>
|
4333
|
+
# <li>false:版本生效时,仍未完成已更新至最新回源 IP 的确认,回源 IP 网段由后台强制更新至最新版本。</li>注意:本参数返回 false 时,请及时确认您的源站防火墙配置是否已更新至最新的回源 IP 网段,以避免出现回源失败。
|
4334
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4335
|
+
# @type IsPlaned: String
|
4336
|
+
|
4337
|
+
attr_accessor :EntireAddresses, :Version, :ActiveTime, :IsPlaned
|
4338
|
+
|
4339
|
+
def initialize(entireaddresses=nil, version=nil, activetime=nil, isplaned=nil)
|
4340
|
+
@EntireAddresses = entireaddresses
|
4341
|
+
@Version = version
|
4342
|
+
@ActiveTime = activetime
|
4343
|
+
@IsPlaned = isplaned
|
4344
|
+
end
|
4345
|
+
|
4346
|
+
def deserialize(params)
|
4347
|
+
unless params['EntireAddresses'].nil?
|
4348
|
+
@EntireAddresses = Addresses.new
|
4349
|
+
@EntireAddresses.deserialize(params['EntireAddresses'])
|
4350
|
+
end
|
4351
|
+
@Version = params['Version']
|
4352
|
+
@ActiveTime = params['ActiveTime']
|
4353
|
+
@IsPlaned = params['IsPlaned']
|
4354
|
+
end
|
4355
|
+
end
|
4356
|
+
|
4268
4357
|
# 实时日志投递到自定义 HTTP(S) 接口的配置信息。
|
4269
4358
|
class CustomEndpoint < TencentCloud::Common::AbstractModel
|
4270
4359
|
# @param Url: 实时日志投递的自定义 HTTP 接口地址,暂仅支持 HTTP/HTTPS 协议。
|
@@ -7430,6 +7519,45 @@ module TencentCloud
|
|
7430
7519
|
end
|
7431
7520
|
end
|
7432
7521
|
|
7522
|
+
# DescribeOriginACL请求参数结构体
|
7523
|
+
class DescribeOriginACLRequest < TencentCloud::Common::AbstractModel
|
7524
|
+
# @param ZoneId: 站点 ID。
|
7525
|
+
# @type ZoneId: String
|
7526
|
+
|
7527
|
+
attr_accessor :ZoneId
|
7528
|
+
|
7529
|
+
def initialize(zoneid=nil)
|
7530
|
+
@ZoneId = zoneid
|
7531
|
+
end
|
7532
|
+
|
7533
|
+
def deserialize(params)
|
7534
|
+
@ZoneId = params['ZoneId']
|
7535
|
+
end
|
7536
|
+
end
|
7537
|
+
|
7538
|
+
# DescribeOriginACL返回参数结构体
|
7539
|
+
class DescribeOriginACLResponse < TencentCloud::Common::AbstractModel
|
7540
|
+
# @param OriginACLInfo: 七层加速域名/四层代理实例与回源 IP 网段的绑定关系详情。
|
7541
|
+
# @type OriginACLInfo: :class:`Tencentcloud::Teo.v20220901.models.OriginACLInfo`
|
7542
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7543
|
+
# @type RequestId: String
|
7544
|
+
|
7545
|
+
attr_accessor :OriginACLInfo, :RequestId
|
7546
|
+
|
7547
|
+
def initialize(originaclinfo=nil, requestid=nil)
|
7548
|
+
@OriginACLInfo = originaclinfo
|
7549
|
+
@RequestId = requestid
|
7550
|
+
end
|
7551
|
+
|
7552
|
+
def deserialize(params)
|
7553
|
+
unless params['OriginACLInfo'].nil?
|
7554
|
+
@OriginACLInfo = OriginACLInfo.new
|
7555
|
+
@OriginACLInfo.deserialize(params['OriginACLInfo'])
|
7556
|
+
end
|
7557
|
+
@RequestId = params['RequestId']
|
7558
|
+
end
|
7559
|
+
end
|
7560
|
+
|
7433
7561
|
# DescribeOriginGroupHealthStatus请求参数结构体
|
7434
7562
|
class DescribeOriginGroupHealthStatusRequest < TencentCloud::Common::AbstractModel
|
7435
7563
|
# @param ZoneId: 站点 ID。
|
@@ -9354,6 +9482,38 @@ module TencentCloud
|
|
9354
9482
|
end
|
9355
9483
|
end
|
9356
9484
|
|
9485
|
+
# DisableOriginACL请求参数结构体
|
9486
|
+
class DisableOriginACLRequest < TencentCloud::Common::AbstractModel
|
9487
|
+
# @param ZoneId: 站点 ID。
|
9488
|
+
# @type ZoneId: String
|
9489
|
+
|
9490
|
+
attr_accessor :ZoneId
|
9491
|
+
|
9492
|
+
def initialize(zoneid=nil)
|
9493
|
+
@ZoneId = zoneid
|
9494
|
+
end
|
9495
|
+
|
9496
|
+
def deserialize(params)
|
9497
|
+
@ZoneId = params['ZoneId']
|
9498
|
+
end
|
9499
|
+
end
|
9500
|
+
|
9501
|
+
# DisableOriginACL返回参数结构体
|
9502
|
+
class DisableOriginACLResponse < TencentCloud::Common::AbstractModel
|
9503
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9504
|
+
# @type RequestId: String
|
9505
|
+
|
9506
|
+
attr_accessor :RequestId
|
9507
|
+
|
9508
|
+
def initialize(requestid=nil)
|
9509
|
+
@RequestId = requestid
|
9510
|
+
end
|
9511
|
+
|
9512
|
+
def deserialize(params)
|
9513
|
+
@RequestId = params['RequestId']
|
9514
|
+
end
|
9515
|
+
end
|
9516
|
+
|
9357
9517
|
# DNS 记录
|
9358
9518
|
class DnsRecord < TencentCloud::Common::AbstractModel
|
9359
9519
|
# @param ZoneId: 站点 ID。<br>注意:ZoneId 仅做出参使用,在 ModifyDnsRecords 不可作为入参使用,如有传此参数,会忽略。
|
@@ -9646,6 +9806,60 @@ module TencentCloud
|
|
9646
9806
|
end
|
9647
9807
|
end
|
9648
9808
|
|
9809
|
+
# EnableOriginACL请求参数结构体
|
9810
|
+
class EnableOriginACLRequest < TencentCloud::Common::AbstractModel
|
9811
|
+
# @param ZoneId: 站点ID。
|
9812
|
+
# @type ZoneId: String
|
9813
|
+
# @param L7EnableMode: 七层加速域名开启回源白名单的模式。
|
9814
|
+
# <li>all:为站点下的所有七层加速域名开启回源白名单。</li>
|
9815
|
+
# <li>specific:为站点下指定的七层加速域名开启回源白名单。</li>
|
9816
|
+
# 当参数为空时,默认为specific。
|
9817
|
+
# @type L7EnableMode: String
|
9818
|
+
# @param L7Hosts: 开启回源白名单的七层加速域名列表,当请求参数 L7EnableMode 为 all 时必须为空。
|
9819
|
+
# @type L7Hosts: Array
|
9820
|
+
# @param L4EnableMode: 四层代理 ID 开启回源白名单的模式。
|
9821
|
+
# <li>all:为站点下的所有四层代理开启回源白名单。</li>
|
9822
|
+
# <li>specific:为站点下指定的四层代理 ID 开启回源白名单。</li>
|
9823
|
+
# 当参数为空时,默认为specific。
|
9824
|
+
# @type L4EnableMode: String
|
9825
|
+
# @param L4ProxyIds: 开启回源白名单的四层代理 ID 列表,当请求参数 L4EnableMode 为 all 时必须为空。单次最多支持 200 个实例。
|
9826
|
+
# @type L4ProxyIds: Array
|
9827
|
+
|
9828
|
+
attr_accessor :ZoneId, :L7EnableMode, :L7Hosts, :L4EnableMode, :L4ProxyIds
|
9829
|
+
|
9830
|
+
def initialize(zoneid=nil, l7enablemode=nil, l7hosts=nil, l4enablemode=nil, l4proxyids=nil)
|
9831
|
+
@ZoneId = zoneid
|
9832
|
+
@L7EnableMode = l7enablemode
|
9833
|
+
@L7Hosts = l7hosts
|
9834
|
+
@L4EnableMode = l4enablemode
|
9835
|
+
@L4ProxyIds = l4proxyids
|
9836
|
+
end
|
9837
|
+
|
9838
|
+
def deserialize(params)
|
9839
|
+
@ZoneId = params['ZoneId']
|
9840
|
+
@L7EnableMode = params['L7EnableMode']
|
9841
|
+
@L7Hosts = params['L7Hosts']
|
9842
|
+
@L4EnableMode = params['L4EnableMode']
|
9843
|
+
@L4ProxyIds = params['L4ProxyIds']
|
9844
|
+
end
|
9845
|
+
end
|
9846
|
+
|
9847
|
+
# EnableOriginACL返回参数结构体
|
9848
|
+
class EnableOriginACLResponse < TencentCloud::Common::AbstractModel
|
9849
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9850
|
+
# @type RequestId: String
|
9851
|
+
|
9852
|
+
attr_accessor :RequestId
|
9853
|
+
|
9854
|
+
def initialize(requestid=nil)
|
9855
|
+
@RequestId = requestid
|
9856
|
+
end
|
9857
|
+
|
9858
|
+
def deserialize(params)
|
9859
|
+
@RequestId = params['RequestId']
|
9860
|
+
end
|
9861
|
+
end
|
9862
|
+
|
9649
9863
|
# 安全实例状态。
|
9650
9864
|
class EntityStatus < TencentCloud::Common::AbstractModel
|
9651
9865
|
# @param Entity: 实例名,现在只有子域名。
|
@@ -13312,6 +13526,49 @@ module TencentCloud
|
|
13312
13526
|
end
|
13313
13527
|
end
|
13314
13528
|
|
13529
|
+
# ModifyOriginACL请求参数结构体
|
13530
|
+
class ModifyOriginACLRequest < TencentCloud::Common::AbstractModel
|
13531
|
+
# @param ZoneId: 站点 ID。
|
13532
|
+
# @type ZoneId: String
|
13533
|
+
# @param OriginACLEntities: 需要启用/关闭特定回源 IP 网段回源的实例。
|
13534
|
+
# @type OriginACLEntities: Array
|
13535
|
+
|
13536
|
+
attr_accessor :ZoneId, :OriginACLEntities
|
13537
|
+
|
13538
|
+
def initialize(zoneid=nil, originaclentities=nil)
|
13539
|
+
@ZoneId = zoneid
|
13540
|
+
@OriginACLEntities = originaclentities
|
13541
|
+
end
|
13542
|
+
|
13543
|
+
def deserialize(params)
|
13544
|
+
@ZoneId = params['ZoneId']
|
13545
|
+
unless params['OriginACLEntities'].nil?
|
13546
|
+
@OriginACLEntities = []
|
13547
|
+
params['OriginACLEntities'].each do |i|
|
13548
|
+
originaclentity_tmp = OriginACLEntity.new
|
13549
|
+
originaclentity_tmp.deserialize(i)
|
13550
|
+
@OriginACLEntities << originaclentity_tmp
|
13551
|
+
end
|
13552
|
+
end
|
13553
|
+
end
|
13554
|
+
end
|
13555
|
+
|
13556
|
+
# ModifyOriginACL返回参数结构体
|
13557
|
+
class ModifyOriginACLResponse < TencentCloud::Common::AbstractModel
|
13558
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13559
|
+
# @type RequestId: String
|
13560
|
+
|
13561
|
+
attr_accessor :RequestId
|
13562
|
+
|
13563
|
+
def initialize(requestid=nil)
|
13564
|
+
@RequestId = requestid
|
13565
|
+
end
|
13566
|
+
|
13567
|
+
def deserialize(params)
|
13568
|
+
@RequestId = params['RequestId']
|
13569
|
+
end
|
13570
|
+
end
|
13571
|
+
|
13315
13572
|
# ModifyOriginGroup请求参数结构体
|
13316
13573
|
class ModifyOriginGroupRequest < TencentCloud::Common::AbstractModel
|
13317
13574
|
# @param ZoneId: 站点 ID
|
@@ -14116,6 +14373,54 @@ module TencentCloud
|
|
14116
14373
|
end
|
14117
14374
|
end
|
14118
14375
|
|
14376
|
+
# 当回源 IP 网段发生更新时,该字段会返回下一个版本将要生效的回源 IP 网段,包含与当前生效的回源 IP 网段的对比。
|
14377
|
+
class NextOriginACL < TencentCloud::Common::AbstractModel
|
14378
|
+
# @param Version: 版本号。
|
14379
|
+
# @type Version: String
|
14380
|
+
# @param PlannedActiveTime: 版本生效时间,时间是北京时间 UTC+8, 遵循 ISO 8601 标准的日期和时间格式。
|
14381
|
+
# @type PlannedActiveTime: String
|
14382
|
+
# @param EntireAddresses: 回源 IP 网段详情。
|
14383
|
+
# @type EntireAddresses: :class:`Tencentcloud::Teo.v20220901.models.Addresses`
|
14384
|
+
# @param AddedAddresses: 最新回源 IP 网段相较于 CurrentOrginACL 中回源 IP 网段新增的部分。
|
14385
|
+
# @type AddedAddresses: :class:`Tencentcloud::Teo.v20220901.models.Addresses`
|
14386
|
+
# @param RemovedAddresses: 最新回源 IP 网段相较于 CurrentOrginACL 中回源 IP 网段删减的部分。
|
14387
|
+
# @type RemovedAddresses: :class:`Tencentcloud::Teo.v20220901.models.Addresses`
|
14388
|
+
# @param NoChangeAddresses: 最新回源 IP 网段相较于 CurrentOrginACL 中回源 IP 网段无变化的部分。
|
14389
|
+
# @type NoChangeAddresses: :class:`Tencentcloud::Teo.v20220901.models.Addresses`
|
14390
|
+
|
14391
|
+
attr_accessor :Version, :PlannedActiveTime, :EntireAddresses, :AddedAddresses, :RemovedAddresses, :NoChangeAddresses
|
14392
|
+
|
14393
|
+
def initialize(version=nil, plannedactivetime=nil, entireaddresses=nil, addedaddresses=nil, removedaddresses=nil, nochangeaddresses=nil)
|
14394
|
+
@Version = version
|
14395
|
+
@PlannedActiveTime = plannedactivetime
|
14396
|
+
@EntireAddresses = entireaddresses
|
14397
|
+
@AddedAddresses = addedaddresses
|
14398
|
+
@RemovedAddresses = removedaddresses
|
14399
|
+
@NoChangeAddresses = nochangeaddresses
|
14400
|
+
end
|
14401
|
+
|
14402
|
+
def deserialize(params)
|
14403
|
+
@Version = params['Version']
|
14404
|
+
@PlannedActiveTime = params['PlannedActiveTime']
|
14405
|
+
unless params['EntireAddresses'].nil?
|
14406
|
+
@EntireAddresses = Addresses.new
|
14407
|
+
@EntireAddresses.deserialize(params['EntireAddresses'])
|
14408
|
+
end
|
14409
|
+
unless params['AddedAddresses'].nil?
|
14410
|
+
@AddedAddresses = Addresses.new
|
14411
|
+
@AddedAddresses.deserialize(params['AddedAddresses'])
|
14412
|
+
end
|
14413
|
+
unless params['RemovedAddresses'].nil?
|
14414
|
+
@RemovedAddresses = Addresses.new
|
14415
|
+
@RemovedAddresses.deserialize(params['RemovedAddresses'])
|
14416
|
+
end
|
14417
|
+
unless params['NoChangeAddresses'].nil?
|
14418
|
+
@NoChangeAddresses = Addresses.new
|
14419
|
+
@NoChangeAddresses.deserialize(params['NoChangeAddresses'])
|
14420
|
+
end
|
14421
|
+
end
|
14422
|
+
end
|
14423
|
+
|
14119
14424
|
# 不缓存配置
|
14120
14425
|
class NoCache < TencentCloud::Common::AbstractModel
|
14121
14426
|
# @param Switch: 不缓存配置开关,取值有:
|
@@ -14264,6 +14569,79 @@ module TencentCloud
|
|
14264
14569
|
end
|
14265
14570
|
end
|
14266
14571
|
|
14572
|
+
# 需要配置特定回源 IP 网段回源的实例。
|
14573
|
+
class OriginACLEntity < TencentCloud::Common::AbstractModel
|
14574
|
+
# @param Type: 实例类型,取值有:
|
14575
|
+
# - l7:七层加速域名;
|
14576
|
+
# - l4:四层代理实例。
|
14577
|
+
# @type Type: String
|
14578
|
+
# @param Instances: 实例详情,取值有:
|
14579
|
+
# - 当 Type = l7 时,请填写七层加速域名;
|
14580
|
+
# - 当 Type = l4 时,请填写四层代理实例 ID。
|
14581
|
+
# @type Instances: Array
|
14582
|
+
# @param OperationMode: 操作模式,取值有:
|
14583
|
+
# <li>enable:启用;</li>
|
14584
|
+
# <li>disable:停用。</li>
|
14585
|
+
# @type OperationMode: String
|
14586
|
+
|
14587
|
+
attr_accessor :Type, :Instances, :OperationMode
|
14588
|
+
|
14589
|
+
def initialize(type=nil, instances=nil, operationmode=nil)
|
14590
|
+
@Type = type
|
14591
|
+
@Instances = instances
|
14592
|
+
@OperationMode = operationmode
|
14593
|
+
end
|
14594
|
+
|
14595
|
+
def deserialize(params)
|
14596
|
+
@Type = params['Type']
|
14597
|
+
@Instances = params['Instances']
|
14598
|
+
@OperationMode = params['OperationMode']
|
14599
|
+
end
|
14600
|
+
end
|
14601
|
+
|
14602
|
+
# 七层加速域名/四层代理实例与回源 IP 网段的绑定关系,以及回源 IP 网段详情。
|
14603
|
+
class OriginACLInfo < TencentCloud::Common::AbstractModel
|
14604
|
+
# @param L7Hosts: 启用了特定回源 IP 网段回源的七层加速域名列表。源站防护未开启时为空。
|
14605
|
+
# @type L7Hosts: Array
|
14606
|
+
# @param L4ProxyIds: 启用了特定回源 IP 网段回源的四层代理实例列表。源站防护未开启时为空。
|
14607
|
+
# @type L4ProxyIds: Array
|
14608
|
+
# @param CurrentOriginACL: 当前生效的回源 IP 网段。源站防护未开启时为空。
|
14609
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14610
|
+
# @type CurrentOriginACL: :class:`Tencentcloud::Teo.v20220901.models.CurrentOriginACL`
|
14611
|
+
# @param NextOriginACL: 当回源 IP 网段发生更新时,该字段会返回下一个版本将要生效的回源 IP 网段,包含与当前回源 IP 网段的对比。无更新或者源站防护未开启时该字段为空。
|
14612
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14613
|
+
# @type NextOriginACL: :class:`Tencentcloud::Teo.v20220901.models.NextOriginACL`
|
14614
|
+
# @param Status: 源站防护状态,取值有:
|
14615
|
+
# <li>online:已生效;</li>
|
14616
|
+
# <li>offline:已停用;</li>
|
14617
|
+
# <li>updating: 配置部署中。</li>
|
14618
|
+
# @type Status: String
|
14619
|
+
|
14620
|
+
attr_accessor :L7Hosts, :L4ProxyIds, :CurrentOriginACL, :NextOriginACL, :Status
|
14621
|
+
|
14622
|
+
def initialize(l7hosts=nil, l4proxyids=nil, currentoriginacl=nil, nextoriginacl=nil, status=nil)
|
14623
|
+
@L7Hosts = l7hosts
|
14624
|
+
@L4ProxyIds = l4proxyids
|
14625
|
+
@CurrentOriginACL = currentoriginacl
|
14626
|
+
@NextOriginACL = nextoriginacl
|
14627
|
+
@Status = status
|
14628
|
+
end
|
14629
|
+
|
14630
|
+
def deserialize(params)
|
14631
|
+
@L7Hosts = params['L7Hosts']
|
14632
|
+
@L4ProxyIds = params['L4ProxyIds']
|
14633
|
+
unless params['CurrentOriginACL'].nil?
|
14634
|
+
@CurrentOriginACL = CurrentOriginACL.new
|
14635
|
+
@CurrentOriginACL.deserialize(params['CurrentOriginACL'])
|
14636
|
+
end
|
14637
|
+
unless params['NextOriginACL'].nil?
|
14638
|
+
@NextOriginACL = NextOriginACL.new
|
14639
|
+
@NextOriginACL.deserialize(params['NextOriginACL'])
|
14640
|
+
end
|
14641
|
+
@Status = params['Status']
|
14642
|
+
end
|
14643
|
+
end
|
14644
|
+
|
14267
14645
|
# 加速域名源站信息。
|
14268
14646
|
class OriginDetail < TencentCloud::Common::AbstractModel
|
14269
14647
|
# @param OriginType: 源站类型,取值有:
|
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.1091
|
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-06-
|
11
|
+
date: 2025-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|