tencentcloud-sdk-teo 3.0.1097 → 3.0.1102

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.
@@ -1221,6 +1221,33 @@ module TencentCloud
1221
1221
  end
1222
1222
  end
1223
1223
 
1224
+ # 策略模板绑定的域名信息
1225
+ class BindDomainInfo < TencentCloud::Common::AbstractModel
1226
+ # @param Domain: 域名。
1227
+ # @type Domain: String
1228
+ # @param ZoneId: 域名所属的站点 ID。
1229
+ # @type ZoneId: String
1230
+ # @param Status: 绑定状态,取值有:
1231
+ # <li>process:绑定中;</li>
1232
+ # <li>online:绑定成功;</li>
1233
+ # <li>fail:绑定失败。</li>
1234
+ # @type Status: String
1235
+
1236
+ attr_accessor :Domain, :ZoneId, :Status
1237
+
1238
+ def initialize(domain=nil, zoneid=nil, status=nil)
1239
+ @Domain = domain
1240
+ @ZoneId = zoneid
1241
+ @Status = status
1242
+ end
1243
+
1244
+ def deserialize(params)
1245
+ @Domain = params['Domain']
1246
+ @ZoneId = params['ZoneId']
1247
+ @Status = params['Status']
1248
+ end
1249
+ end
1250
+
1224
1251
  # BindSecurityTemplateToEntity请求参数结构体
1225
1252
  class BindSecurityTemplateToEntityRequest < TencentCloud::Common::AbstractModel
1226
1253
  # @param ZoneId: 需要绑定或解绑的策略模板所属站点 ID。
@@ -3713,6 +3740,159 @@ module TencentCloud
3713
3740
  end
3714
3741
  end
3715
3742
 
3743
+ # CreateMultiPathGatewayLine请求参数结构体
3744
+ class CreateMultiPathGatewayLineRequest < TencentCloud::Common::AbstractModel
3745
+ # @param ZoneId: 站点 ID 。
3746
+ # @type ZoneId: String
3747
+ # @param GatewayId: 多通道安全网关 ID 。
3748
+ # @type GatewayId: String
3749
+ # @param LineType: 线路类型,取值有:
3750
+ # <li>direct :直连线路,不支持修改和删除。</li> <li>proxy :EdgeOne 四层代理线路,支持修改实例 ID 和规则 ID,不支持删除。</li> <li>custom :自定义线路,支持修改、删除实例 ID 和规则 ID。</li>
3751
+ # @type LineType: String
3752
+ # @param LineAddress: 线路地址,格式为 ip:port。
3753
+ # @type LineAddress: String
3754
+ # @param ProxyId: 四层代理实例 ID,当线路类型 LineType 取值为 proxy(EdgeOne 四层代理)必传,可由接口 [DescribeL4Proxy](https://cloud.tencent.com/document/api/1552/103413) 获取。
3755
+ # @type ProxyId: String
3756
+ # @param RuleId: 转发规则 ID ,当线路类型 LineType 取值为 proxy(EdgeOne 四层代理)必传,可以从接口 [DescribeL4ProxyRules](https://cloud.tencent.com/document/api/1552/103412) 获取。
3757
+ # @type RuleId: String
3758
+
3759
+ attr_accessor :ZoneId, :GatewayId, :LineType, :LineAddress, :ProxyId, :RuleId
3760
+
3761
+ def initialize(zoneid=nil, gatewayid=nil, linetype=nil, lineaddress=nil, proxyid=nil, ruleid=nil)
3762
+ @ZoneId = zoneid
3763
+ @GatewayId = gatewayid
3764
+ @LineType = linetype
3765
+ @LineAddress = lineaddress
3766
+ @ProxyId = proxyid
3767
+ @RuleId = ruleid
3768
+ end
3769
+
3770
+ def deserialize(params)
3771
+ @ZoneId = params['ZoneId']
3772
+ @GatewayId = params['GatewayId']
3773
+ @LineType = params['LineType']
3774
+ @LineAddress = params['LineAddress']
3775
+ @ProxyId = params['ProxyId']
3776
+ @RuleId = params['RuleId']
3777
+ end
3778
+ end
3779
+
3780
+ # CreateMultiPathGatewayLine返回参数结构体
3781
+ class CreateMultiPathGatewayLineResponse < TencentCloud::Common::AbstractModel
3782
+ # @param LineId: 线路 ID , 取值有:
3783
+ # <li> line-1: EdgeOne 四层代理线路,支持修改实例和规则,不支持删除;</li>
3784
+ # <li> line-2 及以上:EdgeOne 四层代理线路或者自定义线路,支持修改、删除实例和规则。</li>
3785
+ # @type LineId: String
3786
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3787
+ # @type RequestId: String
3788
+
3789
+ attr_accessor :LineId, :RequestId
3790
+
3791
+ def initialize(lineid=nil, requestid=nil)
3792
+ @LineId = lineid
3793
+ @RequestId = requestid
3794
+ end
3795
+
3796
+ def deserialize(params)
3797
+ @LineId = params['LineId']
3798
+ @RequestId = params['RequestId']
3799
+ end
3800
+ end
3801
+
3802
+ # CreateMultiPathGateway请求参数结构体
3803
+ class CreateMultiPathGatewayRequest < TencentCloud::Common::AbstractModel
3804
+ # @param ZoneId: 站点 ID。
3805
+ # @type ZoneId: String
3806
+ # @param GatewayType: 网关类型,取值有:
3807
+ # <li> cloud:云上网关,腾讯云创建和管理的网关;</li>
3808
+ # <li> private:自有网关,用户部署的私有网关。</li>
3809
+ # @type GatewayType: String
3810
+ # @param GatewayName: 网关名称,16 个字符以内,可用字符(a-z,A-Z,0-9,-,_)。
3811
+ # @type GatewayName: String
3812
+ # @param GatewayPort: 网关端口,范围 1~65535(除去 8888 )。
3813
+ # @type GatewayPort: Integer
3814
+ # @param RegionId: 网关地域,GatewayType 取值为 cloud(云上网关)必填。可以从接口 DescribeMultiPathGatewayRegions 获取 RegionId 列表。
3815
+ # @type RegionId: String
3816
+ # @param GatewayIP: 网关地址,GatewayType 取值为 private(自有网关)必填,使用该地址时,请确保该地址已录入腾讯云多通道安全加速网关系统。如未录入,需要在本接口调用前通过工单或者联系架构师把网关 IP 地址提前录入腾讯云多通道安全加速网关系统。
3817
+ # @type GatewayIP: String
3818
+
3819
+ attr_accessor :ZoneId, :GatewayType, :GatewayName, :GatewayPort, :RegionId, :GatewayIP
3820
+
3821
+ def initialize(zoneid=nil, gatewaytype=nil, gatewayname=nil, gatewayport=nil, regionid=nil, gatewayip=nil)
3822
+ @ZoneId = zoneid
3823
+ @GatewayType = gatewaytype
3824
+ @GatewayName = gatewayname
3825
+ @GatewayPort = gatewayport
3826
+ @RegionId = regionid
3827
+ @GatewayIP = gatewayip
3828
+ end
3829
+
3830
+ def deserialize(params)
3831
+ @ZoneId = params['ZoneId']
3832
+ @GatewayType = params['GatewayType']
3833
+ @GatewayName = params['GatewayName']
3834
+ @GatewayPort = params['GatewayPort']
3835
+ @RegionId = params['RegionId']
3836
+ @GatewayIP = params['GatewayIP']
3837
+ end
3838
+ end
3839
+
3840
+ # CreateMultiPathGateway返回参数结构体
3841
+ class CreateMultiPathGatewayResponse < TencentCloud::Common::AbstractModel
3842
+ # @param GatewayId: 网关 ID。
3843
+ # @type GatewayId: String
3844
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3845
+ # @type RequestId: String
3846
+
3847
+ attr_accessor :GatewayId, :RequestId
3848
+
3849
+ def initialize(gatewayid=nil, requestid=nil)
3850
+ @GatewayId = gatewayid
3851
+ @RequestId = requestid
3852
+ end
3853
+
3854
+ def deserialize(params)
3855
+ @GatewayId = params['GatewayId']
3856
+ @RequestId = params['RequestId']
3857
+ end
3858
+ end
3859
+
3860
+ # CreateMultiPathGatewaySecretKey请求参数结构体
3861
+ class CreateMultiPathGatewaySecretKeyRequest < TencentCloud::Common::AbstractModel
3862
+ # @param ZoneId: 站点 ID。
3863
+ # @type ZoneId: String
3864
+ # @param SecretKey: 多通道安全加速网关接入密钥,base64字符串,编码前字符串长度为 32-48 个字符,非必填,不填系统自动生成,可通过接口 DescribeMultiPathGatewaySecretKey 查询。
3865
+ # @type SecretKey: String
3866
+
3867
+ attr_accessor :ZoneId, :SecretKey
3868
+
3869
+ def initialize(zoneid=nil, secretkey=nil)
3870
+ @ZoneId = zoneid
3871
+ @SecretKey = secretkey
3872
+ end
3873
+
3874
+ def deserialize(params)
3875
+ @ZoneId = params['ZoneId']
3876
+ @SecretKey = params['SecretKey']
3877
+ end
3878
+ end
3879
+
3880
+ # CreateMultiPathGatewaySecretKey返回参数结构体
3881
+ class CreateMultiPathGatewaySecretKeyResponse < TencentCloud::Common::AbstractModel
3882
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3883
+ # @type RequestId: String
3884
+
3885
+ attr_accessor :RequestId
3886
+
3887
+ def initialize(requestid=nil)
3888
+ @RequestId = requestid
3889
+ end
3890
+
3891
+ def deserialize(params)
3892
+ @RequestId = params['RequestId']
3893
+ end
3894
+ end
3895
+
3716
3896
  # CreateOriginGroup请求参数结构体
3717
3897
  class CreateOriginGroupRequest < TencentCloud::Common::AbstractModel
3718
3898
  # @param ZoneId: 站点 ID
@@ -4334,6 +4514,53 @@ module TencentCloud
4334
4514
  end
4335
4515
  end
4336
4516
 
4517
+ # CreateWebSecurityTemplate请求参数结构体
4518
+ class CreateWebSecurityTemplateRequest < TencentCloud::Common::AbstractModel
4519
+ # @param ZoneId: 站点 ID。该参数明确策略模板在访问权限上归属的站点。
4520
+ # @type ZoneId: String
4521
+ # @param TemplateName: 策略模板名称。由中文、英文、数字和下划线组成,不能以下划线开头,且长度不能超过 32 个字符。
4522
+ # @type TemplateName: String
4523
+ # @param SecurityPolicy: 安全策略模板配置内容,字段为空时生成默认配置。目前支持 Web 防护模块中的例外规则、自定义规则、速率限制规则和托管规则配置,通过表达式语法对安全策略进行配置。 Bot 管理规则配置暂不支持,正在开发中。
4524
+ # @type SecurityPolicy: :class:`Tencentcloud::Teo.v20220901.models.SecurityPolicy`
4525
+
4526
+ attr_accessor :ZoneId, :TemplateName, :SecurityPolicy
4527
+
4528
+ def initialize(zoneid=nil, templatename=nil, securitypolicy=nil)
4529
+ @ZoneId = zoneid
4530
+ @TemplateName = templatename
4531
+ @SecurityPolicy = securitypolicy
4532
+ end
4533
+
4534
+ def deserialize(params)
4535
+ @ZoneId = params['ZoneId']
4536
+ @TemplateName = params['TemplateName']
4537
+ unless params['SecurityPolicy'].nil?
4538
+ @SecurityPolicy = SecurityPolicy.new
4539
+ @SecurityPolicy.deserialize(params['SecurityPolicy'])
4540
+ end
4541
+ end
4542
+ end
4543
+
4544
+ # CreateWebSecurityTemplate返回参数结构体
4545
+ class CreateWebSecurityTemplateResponse < TencentCloud::Common::AbstractModel
4546
+ # @param TemplateId: 策略模板 ID。
4547
+ # @type TemplateId: String
4548
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4549
+ # @type RequestId: String
4550
+
4551
+ attr_accessor :TemplateId, :RequestId
4552
+
4553
+ def initialize(templateid=nil, requestid=nil)
4554
+ @TemplateId = templateid
4555
+ @RequestId = requestid
4556
+ end
4557
+
4558
+ def deserialize(params)
4559
+ @TemplateId = params['TemplateId']
4560
+ @RequestId = params['RequestId']
4561
+ end
4562
+ end
4563
+
4337
4564
  # CreateZone请求参数结构体
4338
4565
  class CreateZoneRequest < TencentCloud::Common::AbstractModel
4339
4566
  # @param Type: 站点接入类型。该参数取值如下,不填写时默认为 partial:
@@ -4349,7 +4576,9 @@ module TencentCloud
4349
4576
  # <li> mainland: 中国大陆可用区;</li>
4350
4577
  # <li> overseas: 全球可用区(不含中国大陆)。</li>
4351
4578
  # @type Area: String
4352
- # @param PlanId: 待绑定的目标套餐 ID。当您账号下已存在套餐时,可以填写此参数,直接将站点绑定至该套餐。若您当前没有可绑定的套餐时,请前往控制台购买套餐完成站点创建。
4579
+ # @param PlanId: 待绑定的目标套餐 ID。当您账号下已存在套餐时,可以填写此参数,直接将站点绑定至该套餐。若您当前没有可绑定的套餐时,可通过 [CreatePlan](https://cloud.tencent.com/document/product/1552/105771) 购买套餐。
4580
+ # 注意:如果不填写此参数,将创建一个处于“init”状态的站点,该站点为未激活状态,并不会显示在控制台上。您可以通过访问 [BindZoneToPlan](https://cloud.tencent.com/document/product/1552/83042) 来绑定套餐并激活站点,激活后站点可以正常提供服务。
4581
+
4353
4582
  # @type PlanId: String
4354
4583
  # @param AliasZoneName: 同名站点标识。限制输入数字、英文、"." 、"-" 和 "_",长度 200 个字符以内。详情参考 [同名站点标识](https://cloud.tencent.com/document/product/1552/70202),无此使用场景时,该字段保留为空即可。
4355
4584
  # @type AliasZoneName: String
@@ -5387,6 +5616,82 @@ module TencentCloud
5387
5616
  end
5388
5617
  end
5389
5618
 
5619
+ # DeleteMultiPathGatewayLine请求参数结构体
5620
+ class DeleteMultiPathGatewayLineRequest < TencentCloud::Common::AbstractModel
5621
+ # @param ZoneId: 站点 ID。
5622
+ # @type ZoneId: String
5623
+ # @param GatewayId: 网关 ID。
5624
+ # @type GatewayId: String
5625
+ # @param LineId: 线路 ID。
5626
+ # @type LineId: String
5627
+
5628
+ attr_accessor :ZoneId, :GatewayId, :LineId
5629
+
5630
+ def initialize(zoneid=nil, gatewayid=nil, lineid=nil)
5631
+ @ZoneId = zoneid
5632
+ @GatewayId = gatewayid
5633
+ @LineId = lineid
5634
+ end
5635
+
5636
+ def deserialize(params)
5637
+ @ZoneId = params['ZoneId']
5638
+ @GatewayId = params['GatewayId']
5639
+ @LineId = params['LineId']
5640
+ end
5641
+ end
5642
+
5643
+ # DeleteMultiPathGatewayLine返回参数结构体
5644
+ class DeleteMultiPathGatewayLineResponse < TencentCloud::Common::AbstractModel
5645
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5646
+ # @type RequestId: String
5647
+
5648
+ attr_accessor :RequestId
5649
+
5650
+ def initialize(requestid=nil)
5651
+ @RequestId = requestid
5652
+ end
5653
+
5654
+ def deserialize(params)
5655
+ @RequestId = params['RequestId']
5656
+ end
5657
+ end
5658
+
5659
+ # DeleteMultiPathGateway请求参数结构体
5660
+ class DeleteMultiPathGatewayRequest < TencentCloud::Common::AbstractModel
5661
+ # @param ZoneId: 站点 ID。
5662
+ # @type ZoneId: String
5663
+ # @param GatewayId: 网关 ID。
5664
+ # @type GatewayId: String
5665
+
5666
+ attr_accessor :ZoneId, :GatewayId
5667
+
5668
+ def initialize(zoneid=nil, gatewayid=nil)
5669
+ @ZoneId = zoneid
5670
+ @GatewayId = gatewayid
5671
+ end
5672
+
5673
+ def deserialize(params)
5674
+ @ZoneId = params['ZoneId']
5675
+ @GatewayId = params['GatewayId']
5676
+ end
5677
+ end
5678
+
5679
+ # DeleteMultiPathGateway返回参数结构体
5680
+ class DeleteMultiPathGatewayResponse < TencentCloud::Common::AbstractModel
5681
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5682
+ # @type RequestId: String
5683
+
5684
+ attr_accessor :RequestId
5685
+
5686
+ def initialize(requestid=nil)
5687
+ @RequestId = requestid
5688
+ end
5689
+
5690
+ def deserialize(params)
5691
+ @RequestId = params['RequestId']
5692
+ end
5693
+ end
5694
+
5390
5695
  # DeleteOriginGroup请求参数结构体
5391
5696
  class DeleteOriginGroupRequest < TencentCloud::Common::AbstractModel
5392
5697
  # @param ZoneId: 站点 ID
@@ -5567,6 +5872,42 @@ module TencentCloud
5567
5872
  end
5568
5873
  end
5569
5874
 
5875
+ # DeleteWebSecurityTemplate请求参数结构体
5876
+ class DeleteWebSecurityTemplateRequest < TencentCloud::Common::AbstractModel
5877
+ # @param ZoneId: 站点 ID。需要传入目标策略模板在访问权限上归属的站点,可使用 DescribeWebSecurityTemplates 接口查询策略模板归属的站点。
5878
+ # @type ZoneId: String
5879
+ # @param TemplateId: 策略模板 ID。
5880
+ # @type TemplateId: String
5881
+
5882
+ attr_accessor :ZoneId, :TemplateId
5883
+
5884
+ def initialize(zoneid=nil, templateid=nil)
5885
+ @ZoneId = zoneid
5886
+ @TemplateId = templateid
5887
+ end
5888
+
5889
+ def deserialize(params)
5890
+ @ZoneId = params['ZoneId']
5891
+ @TemplateId = params['TemplateId']
5892
+ end
5893
+ end
5894
+
5895
+ # DeleteWebSecurityTemplate返回参数结构体
5896
+ class DeleteWebSecurityTemplateResponse < TencentCloud::Common::AbstractModel
5897
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5898
+ # @type RequestId: String
5899
+
5900
+ attr_accessor :RequestId
5901
+
5902
+ def initialize(requestid=nil)
5903
+ @RequestId = requestid
5904
+ end
5905
+
5906
+ def deserialize(params)
5907
+ @RequestId = params['RequestId']
5908
+ end
5909
+ end
5910
+
5570
5911
  # DeleteZone请求参数结构体
5571
5912
  class DeleteZoneRequest < TencentCloud::Common::AbstractModel
5572
5913
  # @param ZoneId: 站点 ID。
@@ -7635,6 +7976,243 @@ module TencentCloud
7635
7976
  end
7636
7977
  end
7637
7978
 
7979
+ # DescribeMultiPathGatewayLine请求参数结构体
7980
+ class DescribeMultiPathGatewayLineRequest < TencentCloud::Common::AbstractModel
7981
+ # @param ZoneId: 站点 ID。
7982
+ # @type ZoneId: String
7983
+ # @param GatewayId: 网关 ID。
7984
+ # @type GatewayId: String
7985
+ # @param LineId: 线路 ID。
7986
+ # @type LineId: String
7987
+
7988
+ attr_accessor :ZoneId, :GatewayId, :LineId
7989
+
7990
+ def initialize(zoneid=nil, gatewayid=nil, lineid=nil)
7991
+ @ZoneId = zoneid
7992
+ @GatewayId = gatewayid
7993
+ @LineId = lineid
7994
+ end
7995
+
7996
+ def deserialize(params)
7997
+ @ZoneId = params['ZoneId']
7998
+ @GatewayId = params['GatewayId']
7999
+ @LineId = params['LineId']
8000
+ end
8001
+ end
8002
+
8003
+ # DescribeMultiPathGatewayLine返回参数结构体
8004
+ class DescribeMultiPathGatewayLineResponse < TencentCloud::Common::AbstractModel
8005
+ # @param Line: 线路信息。
8006
+ # @type Line: :class:`Tencentcloud::Teo.v20220901.models.MultiPathGatewayLine`
8007
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8008
+ # @type RequestId: String
8009
+
8010
+ attr_accessor :Line, :RequestId
8011
+
8012
+ def initialize(line=nil, requestid=nil)
8013
+ @Line = line
8014
+ @RequestId = requestid
8015
+ end
8016
+
8017
+ def deserialize(params)
8018
+ unless params['Line'].nil?
8019
+ @Line = MultiPathGatewayLine.new
8020
+ @Line.deserialize(params['Line'])
8021
+ end
8022
+ @RequestId = params['RequestId']
8023
+ end
8024
+ end
8025
+
8026
+ # DescribeMultiPathGatewayRegions请求参数结构体
8027
+ class DescribeMultiPathGatewayRegionsRequest < TencentCloud::Common::AbstractModel
8028
+ # @param ZoneId: 站点 ID。
8029
+ # @type ZoneId: String
8030
+
8031
+ attr_accessor :ZoneId
8032
+
8033
+ def initialize(zoneid=nil)
8034
+ @ZoneId = zoneid
8035
+ end
8036
+
8037
+ def deserialize(params)
8038
+ @ZoneId = params['ZoneId']
8039
+ end
8040
+ end
8041
+
8042
+ # DescribeMultiPathGatewayRegions返回参数结构体
8043
+ class DescribeMultiPathGatewayRegionsResponse < TencentCloud::Common::AbstractModel
8044
+ # @param GatewayRegions: 网关可用地域列表。
8045
+ # @type GatewayRegions: Array
8046
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8047
+ # @type RequestId: String
8048
+
8049
+ attr_accessor :GatewayRegions, :RequestId
8050
+
8051
+ def initialize(gatewayregions=nil, requestid=nil)
8052
+ @GatewayRegions = gatewayregions
8053
+ @RequestId = requestid
8054
+ end
8055
+
8056
+ def deserialize(params)
8057
+ unless params['GatewayRegions'].nil?
8058
+ @GatewayRegions = []
8059
+ params['GatewayRegions'].each do |i|
8060
+ gatewayregion_tmp = GatewayRegion.new
8061
+ gatewayregion_tmp.deserialize(i)
8062
+ @GatewayRegions << gatewayregion_tmp
8063
+ end
8064
+ end
8065
+ @RequestId = params['RequestId']
8066
+ end
8067
+ end
8068
+
8069
+ # DescribeMultiPathGateway请求参数结构体
8070
+ class DescribeMultiPathGatewayRequest < TencentCloud::Common::AbstractModel
8071
+ # @param ZoneId: 站点 ID。
8072
+ # @type ZoneId: String
8073
+ # @param GatewayId: 网关 ID。
8074
+ # @type GatewayId: String
8075
+
8076
+ attr_accessor :ZoneId, :GatewayId
8077
+
8078
+ def initialize(zoneid=nil, gatewayid=nil)
8079
+ @ZoneId = zoneid
8080
+ @GatewayId = gatewayid
8081
+ end
8082
+
8083
+ def deserialize(params)
8084
+ @ZoneId = params['ZoneId']
8085
+ @GatewayId = params['GatewayId']
8086
+ end
8087
+ end
8088
+
8089
+ # DescribeMultiPathGateway返回参数结构体
8090
+ class DescribeMultiPathGatewayResponse < TencentCloud::Common::AbstractModel
8091
+ # @param GatewayDetail: 网关详情。
8092
+ # @type GatewayDetail: :class:`Tencentcloud::Teo.v20220901.models.MultiPathGateway`
8093
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8094
+ # @type RequestId: String
8095
+
8096
+ attr_accessor :GatewayDetail, :RequestId
8097
+
8098
+ def initialize(gatewaydetail=nil, requestid=nil)
8099
+ @GatewayDetail = gatewaydetail
8100
+ @RequestId = requestid
8101
+ end
8102
+
8103
+ def deserialize(params)
8104
+ unless params['GatewayDetail'].nil?
8105
+ @GatewayDetail = MultiPathGateway.new
8106
+ @GatewayDetail.deserialize(params['GatewayDetail'])
8107
+ end
8108
+ @RequestId = params['RequestId']
8109
+ end
8110
+ end
8111
+
8112
+ # DescribeMultiPathGatewaySecretKey请求参数结构体
8113
+ class DescribeMultiPathGatewaySecretKeyRequest < TencentCloud::Common::AbstractModel
8114
+ # @param ZoneId: 站点 ID。
8115
+ # @type ZoneId: String
8116
+
8117
+ attr_accessor :ZoneId
8118
+
8119
+ def initialize(zoneid=nil)
8120
+ @ZoneId = zoneid
8121
+ end
8122
+
8123
+ def deserialize(params)
8124
+ @ZoneId = params['ZoneId']
8125
+ end
8126
+ end
8127
+
8128
+ # DescribeMultiPathGatewaySecretKey返回参数结构体
8129
+ class DescribeMultiPathGatewaySecretKeyResponse < TencentCloud::Common::AbstractModel
8130
+ # @param SecretKey: 接入密钥。
8131
+ # @type SecretKey: String
8132
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8133
+ # @type RequestId: String
8134
+
8135
+ attr_accessor :SecretKey, :RequestId
8136
+
8137
+ def initialize(secretkey=nil, requestid=nil)
8138
+ @SecretKey = secretkey
8139
+ @RequestId = requestid
8140
+ end
8141
+
8142
+ def deserialize(params)
8143
+ @SecretKey = params['SecretKey']
8144
+ @RequestId = params['RequestId']
8145
+ end
8146
+ end
8147
+
8148
+ # DescribeMultiPathGateways请求参数结构体
8149
+ class DescribeMultiPathGatewaysRequest < TencentCloud::Common::AbstractModel
8150
+ # @param ZoneId: 站点 ID。
8151
+ # @type ZoneId: String
8152
+ # @param Offset: 分页查询偏移量。默认值:0。
8153
+ # @type Offset: Integer
8154
+ # @param Limit: 分页查询限制数目。默认值:20,最大值:1000。
8155
+ # @type Limit: Integer
8156
+ # @param Filters: 网关列表的过滤字段,该参数不填写时,返回当前 appid 下所有网关信息,详细的过滤条件如下:
8157
+ # <li> gateway-type:按照网关类型进行过滤,支持取值 cloud 和 private,分别代表过滤云上网关和自由网关;</li>
8158
+ # <li> keyword:按照网关名的关键字进行过滤。</li>
8159
+ # @type Filters: Array
8160
+
8161
+ attr_accessor :ZoneId, :Offset, :Limit, :Filters
8162
+
8163
+ def initialize(zoneid=nil, offset=nil, limit=nil, filters=nil)
8164
+ @ZoneId = zoneid
8165
+ @Offset = offset
8166
+ @Limit = limit
8167
+ @Filters = filters
8168
+ end
8169
+
8170
+ def deserialize(params)
8171
+ @ZoneId = params['ZoneId']
8172
+ @Offset = params['Offset']
8173
+ @Limit = params['Limit']
8174
+ unless params['Filters'].nil?
8175
+ @Filters = []
8176
+ params['Filters'].each do |i|
8177
+ filter_tmp = Filter.new
8178
+ filter_tmp.deserialize(i)
8179
+ @Filters << filter_tmp
8180
+ end
8181
+ end
8182
+ end
8183
+ end
8184
+
8185
+ # DescribeMultiPathGateways返回参数结构体
8186
+ class DescribeMultiPathGatewaysResponse < TencentCloud::Common::AbstractModel
8187
+ # @param Gateways: 网关详情。
8188
+ # @type Gateways: Array
8189
+ # @param TotalCount: 总条数。
8190
+ # @type TotalCount: Integer
8191
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8192
+ # @type RequestId: String
8193
+
8194
+ attr_accessor :Gateways, :TotalCount, :RequestId
8195
+
8196
+ def initialize(gateways=nil, totalcount=nil, requestid=nil)
8197
+ @Gateways = gateways
8198
+ @TotalCount = totalcount
8199
+ @RequestId = requestid
8200
+ end
8201
+
8202
+ def deserialize(params)
8203
+ unless params['Gateways'].nil?
8204
+ @Gateways = []
8205
+ params['Gateways'].each do |i|
8206
+ multipathgateway_tmp = MultiPathGateway.new
8207
+ multipathgateway_tmp.deserialize(i)
8208
+ @Gateways << multipathgateway_tmp
8209
+ end
8210
+ end
8211
+ @TotalCount = params['TotalCount']
8212
+ @RequestId = params['RequestId']
8213
+ end
8214
+ end
8215
+
7638
8216
  # DescribeOriginACL请求参数结构体
7639
8217
  class DescribeOriginACLRequest < TencentCloud::Common::AbstractModel
7640
8218
  # @param ZoneId: 站点 ID。
@@ -9036,64 +9614,154 @@ module TencentCloud
9036
9614
  # <li>global:全球数据。</li>不填默认取值为global。
9037
9615
  # @type Area: String
9038
9616
 
9039
- attr_accessor :StartTime, :EndTime, :MetricName, :ZoneIds, :Limit, :Filters, :Interval, :Area
9617
+ attr_accessor :StartTime, :EndTime, :MetricName, :ZoneIds, :Limit, :Filters, :Interval, :Area
9618
+
9619
+ def initialize(starttime=nil, endtime=nil, metricname=nil, zoneids=nil, limit=nil, filters=nil, interval=nil, area=nil)
9620
+ @StartTime = starttime
9621
+ @EndTime = endtime
9622
+ @MetricName = metricname
9623
+ @ZoneIds = zoneids
9624
+ @Limit = limit
9625
+ @Filters = filters
9626
+ @Interval = interval
9627
+ @Area = area
9628
+ end
9629
+
9630
+ def deserialize(params)
9631
+ @StartTime = params['StartTime']
9632
+ @EndTime = params['EndTime']
9633
+ @MetricName = params['MetricName']
9634
+ @ZoneIds = params['ZoneIds']
9635
+ @Limit = params['Limit']
9636
+ unless params['Filters'].nil?
9637
+ @Filters = []
9638
+ params['Filters'].each do |i|
9639
+ querycondition_tmp = QueryCondition.new
9640
+ querycondition_tmp.deserialize(i)
9641
+ @Filters << querycondition_tmp
9642
+ end
9643
+ end
9644
+ @Interval = params['Interval']
9645
+ @Area = params['Area']
9646
+ end
9647
+ end
9648
+
9649
+ # DescribeTopL7CacheData返回参数结构体
9650
+ class DescribeTopL7CacheDataResponse < TencentCloud::Common::AbstractModel
9651
+ # @param TotalCount: 查询结果的总条数。
9652
+ # @type TotalCount: Integer
9653
+ # @param Data: 七层缓存TopN流量数据列表。
9654
+ # 注意:此字段可能返回 null,表示取不到有效值。
9655
+ # @type Data: Array
9656
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9657
+ # @type RequestId: String
9658
+
9659
+ attr_accessor :TotalCount, :Data, :RequestId
9660
+
9661
+ def initialize(totalcount=nil, data=nil, requestid=nil)
9662
+ @TotalCount = totalcount
9663
+ @Data = data
9664
+ @RequestId = requestid
9665
+ end
9666
+
9667
+ def deserialize(params)
9668
+ @TotalCount = params['TotalCount']
9669
+ unless params['Data'].nil?
9670
+ @Data = []
9671
+ params['Data'].each do |i|
9672
+ topdatarecord_tmp = TopDataRecord.new
9673
+ topdatarecord_tmp.deserialize(i)
9674
+ @Data << topdatarecord_tmp
9675
+ end
9676
+ end
9677
+ @RequestId = params['RequestId']
9678
+ end
9679
+ end
9680
+
9681
+ # DescribeWebSecurityTemplate请求参数结构体
9682
+ class DescribeWebSecurityTemplateRequest < TencentCloud::Common::AbstractModel
9683
+ # @param ZoneId: 站点 ID。需要传入目标策略模板在访问权限上归属的站点,可使用 DescribeWebSecurityTemplates 接口查询策略模板归属的站点。
9684
+ # @type ZoneId: String
9685
+ # @param TemplateId: 策略模板 ID。
9686
+ # @type TemplateId: String
9687
+
9688
+ attr_accessor :ZoneId, :TemplateId
9689
+
9690
+ def initialize(zoneid=nil, templateid=nil)
9691
+ @ZoneId = zoneid
9692
+ @TemplateId = templateid
9693
+ end
9694
+
9695
+ def deserialize(params)
9696
+ @ZoneId = params['ZoneId']
9697
+ @TemplateId = params['TemplateId']
9698
+ end
9699
+ end
9700
+
9701
+ # DescribeWebSecurityTemplate返回参数结构体
9702
+ class DescribeWebSecurityTemplateResponse < TencentCloud::Common::AbstractModel
9703
+ # @param SecurityPolicy: 安全策略模板配置内容,Bot 配置暂不支持,正在开发中。
9704
+ # @type SecurityPolicy: :class:`Tencentcloud::Teo.v20220901.models.SecurityPolicy`
9705
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9706
+ # @type RequestId: String
9707
+
9708
+ attr_accessor :SecurityPolicy, :RequestId
9709
+
9710
+ def initialize(securitypolicy=nil, requestid=nil)
9711
+ @SecurityPolicy = securitypolicy
9712
+ @RequestId = requestid
9713
+ end
9714
+
9715
+ def deserialize(params)
9716
+ unless params['SecurityPolicy'].nil?
9717
+ @SecurityPolicy = SecurityPolicy.new
9718
+ @SecurityPolicy.deserialize(params['SecurityPolicy'])
9719
+ end
9720
+ @RequestId = params['RequestId']
9721
+ end
9722
+ end
9040
9723
 
9041
- def initialize(starttime=nil, endtime=nil, metricname=nil, zoneids=nil, limit=nil, filters=nil, interval=nil, area=nil)
9042
- @StartTime = starttime
9043
- @EndTime = endtime
9044
- @MetricName = metricname
9724
+ # DescribeWebSecurityTemplates请求参数结构体
9725
+ class DescribeWebSecurityTemplatesRequest < TencentCloud::Common::AbstractModel
9726
+ # @param ZoneIds: 站点 ID 列表。单次查询最多传入 100 个站点。
9727
+ # @type ZoneIds: Array
9728
+
9729
+ attr_accessor :ZoneIds
9730
+
9731
+ def initialize(zoneids=nil)
9045
9732
  @ZoneIds = zoneids
9046
- @Limit = limit
9047
- @Filters = filters
9048
- @Interval = interval
9049
- @Area = area
9050
9733
  end
9051
9734
 
9052
9735
  def deserialize(params)
9053
- @StartTime = params['StartTime']
9054
- @EndTime = params['EndTime']
9055
- @MetricName = params['MetricName']
9056
9736
  @ZoneIds = params['ZoneIds']
9057
- @Limit = params['Limit']
9058
- unless params['Filters'].nil?
9059
- @Filters = []
9060
- params['Filters'].each do |i|
9061
- querycondition_tmp = QueryCondition.new
9062
- querycondition_tmp.deserialize(i)
9063
- @Filters << querycondition_tmp
9064
- end
9065
- end
9066
- @Interval = params['Interval']
9067
- @Area = params['Area']
9068
9737
  end
9069
9738
  end
9070
9739
 
9071
- # DescribeTopL7CacheData返回参数结构体
9072
- class DescribeTopL7CacheDataResponse < TencentCloud::Common::AbstractModel
9073
- # @param TotalCount: 查询结果的总条数。
9740
+ # DescribeWebSecurityTemplates返回参数结构体
9741
+ class DescribeWebSecurityTemplatesResponse < TencentCloud::Common::AbstractModel
9742
+ # @param TotalCount: 策略模板总数。
9074
9743
  # @type TotalCount: Integer
9075
- # @param Data: 七层缓存TopN流量数据列表。
9076
- # 注意:此字段可能返回 null,表示取不到有效值。
9077
- # @type Data: Array
9744
+ # @param SecurityPolicyTemplates: 策略模板列表。
9745
+ # @type SecurityPolicyTemplates: Array
9078
9746
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9079
9747
  # @type RequestId: String
9080
9748
 
9081
- attr_accessor :TotalCount, :Data, :RequestId
9749
+ attr_accessor :TotalCount, :SecurityPolicyTemplates, :RequestId
9082
9750
 
9083
- def initialize(totalcount=nil, data=nil, requestid=nil)
9751
+ def initialize(totalcount=nil, securitypolicytemplates=nil, requestid=nil)
9084
9752
  @TotalCount = totalcount
9085
- @Data = data
9753
+ @SecurityPolicyTemplates = securitypolicytemplates
9086
9754
  @RequestId = requestid
9087
9755
  end
9088
9756
 
9089
9757
  def deserialize(params)
9090
9758
  @TotalCount = params['TotalCount']
9091
- unless params['Data'].nil?
9092
- @Data = []
9093
- params['Data'].each do |i|
9094
- topdatarecord_tmp = TopDataRecord.new
9095
- topdatarecord_tmp.deserialize(i)
9096
- @Data << topdatarecord_tmp
9759
+ unless params['SecurityPolicyTemplates'].nil?
9760
+ @SecurityPolicyTemplates = []
9761
+ params['SecurityPolicyTemplates'].each do |i|
9762
+ securitypolicytemplateinfo_tmp = SecurityPolicyTemplateInfo.new
9763
+ securitypolicytemplateinfo_tmp.deserialize(i)
9764
+ @SecurityPolicyTemplates << securitypolicytemplateinfo_tmp
9097
9765
  end
9098
9766
  end
9099
9767
  @RequestId = params['RequestId']
@@ -10794,6 +11462,30 @@ module TencentCloud
10794
11462
  end
10795
11463
  end
10796
11464
 
11465
+ # 多通道安全网关可用地域
11466
+ class GatewayRegion < TencentCloud::Common::AbstractModel
11467
+ # @param RegionId: 地域 ID 。
11468
+ # @type RegionId: String
11469
+ # @param CNName: 中文地域名称。
11470
+ # @type CNName: String
11471
+ # @param ENName: 英文地域名称。
11472
+ # @type ENName: String
11473
+
11474
+ attr_accessor :RegionId, :CNName, :ENName
11475
+
11476
+ def initialize(regionid=nil, cnname=nil, enname=nil)
11477
+ @RegionId = regionid
11478
+ @CNName = cnname
11479
+ @ENName = enname
11480
+ end
11481
+
11482
+ def deserialize(params)
11483
+ @RegionId = params['RegionId']
11484
+ @CNName = params['CNName']
11485
+ @ENName = params['ENName']
11486
+ end
11487
+ end
11488
+
10797
11489
  # Grpc配置项
10798
11490
  class Grpc < TencentCloud::Common::AbstractModel
10799
11491
  # @param Switch: 是否开启 Grpc 配置,取值有:
@@ -13682,6 +14374,150 @@ module TencentCloud
13682
14374
  end
13683
14375
  end
13684
14376
 
14377
+ # ModifyMultiPathGatewayLine请求参数结构体
14378
+ class ModifyMultiPathGatewayLineRequest < TencentCloud::Common::AbstractModel
14379
+ # @param ZoneId: 站点 ID。
14380
+ # @type ZoneId: String
14381
+ # @param GatewayId: 多通道安全加速网关 ID 。
14382
+ # @type GatewayId: String
14383
+ # @param LineId: 线路 ID , 取值有:
14384
+ # <li> line-1: EdgeOne 四层代理线路,支持修改实例和规则,不支持删除;</li>
14385
+ # <li> line-2 及以上:EdgeOne 四层代理线路或者自定义线路,支持修改、删除实例和规则。</li>
14386
+ # @type LineId: String
14387
+ # @param LineType: 线路类型,取值有:
14388
+ # <li>proxy :EdgeOne 四层代理线路,支持修改实例和规则,不支持删除;</li>
14389
+ # <li>custom :自定义线路,支持编辑、删除实例和规则。</li>
14390
+ # @type LineType: String
14391
+ # @param LineAddress: 线路地址,格式为 host:port,直连线路( LineType 取值为 direct )不允许修改,其余类型支持修改。
14392
+ # @type LineAddress: String
14393
+ # @param ProxyId: 四层代理实例 ID ,当线路类型 LineType 取值为 proxy(EdgeOne 四层代理)可传入,进行修改。
14394
+ # @type ProxyId: String
14395
+ # @param RuleId: 转发规则 ID ,当线路类型 LineType 取值为 proxy(EdgeOne 四层代理)可传入,进行修改。
14396
+ # @type RuleId: String
14397
+
14398
+ attr_accessor :ZoneId, :GatewayId, :LineId, :LineType, :LineAddress, :ProxyId, :RuleId
14399
+
14400
+ def initialize(zoneid=nil, gatewayid=nil, lineid=nil, linetype=nil, lineaddress=nil, proxyid=nil, ruleid=nil)
14401
+ @ZoneId = zoneid
14402
+ @GatewayId = gatewayid
14403
+ @LineId = lineid
14404
+ @LineType = linetype
14405
+ @LineAddress = lineaddress
14406
+ @ProxyId = proxyid
14407
+ @RuleId = ruleid
14408
+ end
14409
+
14410
+ def deserialize(params)
14411
+ @ZoneId = params['ZoneId']
14412
+ @GatewayId = params['GatewayId']
14413
+ @LineId = params['LineId']
14414
+ @LineType = params['LineType']
14415
+ @LineAddress = params['LineAddress']
14416
+ @ProxyId = params['ProxyId']
14417
+ @RuleId = params['RuleId']
14418
+ end
14419
+ end
14420
+
14421
+ # ModifyMultiPathGatewayLine返回参数结构体
14422
+ class ModifyMultiPathGatewayLineResponse < TencentCloud::Common::AbstractModel
14423
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14424
+ # @type RequestId: String
14425
+
14426
+ attr_accessor :RequestId
14427
+
14428
+ def initialize(requestid=nil)
14429
+ @RequestId = requestid
14430
+ end
14431
+
14432
+ def deserialize(params)
14433
+ @RequestId = params['RequestId']
14434
+ end
14435
+ end
14436
+
14437
+ # ModifyMultiPathGateway请求参数结构体
14438
+ class ModifyMultiPathGatewayRequest < TencentCloud::Common::AbstractModel
14439
+ # @param ZoneId: 站点 ID。
14440
+ # @type ZoneId: String
14441
+ # @param GatewayId: 网关 ID。
14442
+ # @type GatewayId: String
14443
+ # @param GatewayName: 网关名称,16 个字符以内,可用字符(a-z,A-Z,0-9,-,_)。
14444
+ # @type GatewayName: String
14445
+ # @param GatewayIP: 网关地址,GatewayType 取值为 private(自有网关)可填入进行修改,使用该地址时,请确保该地址已录入腾讯云多通道安全加速网关系统。如未录入,需要在本接口调用前通过工单或者联系架构师把网关 IP 地址提前录入腾讯云多通道安全加速网关系统。
14446
+ # @type GatewayIP: String
14447
+ # @param GatewayPort: 网关端口,范围 1~65535(除去 8888 ),只支持修改 GatewayType 取值为 private 的自有网关。
14448
+ # @type GatewayPort: Integer
14449
+
14450
+ attr_accessor :ZoneId, :GatewayId, :GatewayName, :GatewayIP, :GatewayPort
14451
+
14452
+ def initialize(zoneid=nil, gatewayid=nil, gatewayname=nil, gatewayip=nil, gatewayport=nil)
14453
+ @ZoneId = zoneid
14454
+ @GatewayId = gatewayid
14455
+ @GatewayName = gatewayname
14456
+ @GatewayIP = gatewayip
14457
+ @GatewayPort = gatewayport
14458
+ end
14459
+
14460
+ def deserialize(params)
14461
+ @ZoneId = params['ZoneId']
14462
+ @GatewayId = params['GatewayId']
14463
+ @GatewayName = params['GatewayName']
14464
+ @GatewayIP = params['GatewayIP']
14465
+ @GatewayPort = params['GatewayPort']
14466
+ end
14467
+ end
14468
+
14469
+ # ModifyMultiPathGateway返回参数结构体
14470
+ class ModifyMultiPathGatewayResponse < TencentCloud::Common::AbstractModel
14471
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14472
+ # @type RequestId: String
14473
+
14474
+ attr_accessor :RequestId
14475
+
14476
+ def initialize(requestid=nil)
14477
+ @RequestId = requestid
14478
+ end
14479
+
14480
+ def deserialize(params)
14481
+ @RequestId = params['RequestId']
14482
+ end
14483
+ end
14484
+
14485
+ # ModifyMultiPathGatewaySecretKey请求参数结构体
14486
+ class ModifyMultiPathGatewaySecretKeyRequest < TencentCloud::Common::AbstractModel
14487
+ # @param ZoneId: 站点 ID。
14488
+ # @type ZoneId: String
14489
+ # @param SecretKey: 多通道安全加速网关接入密钥,base64 字符串,编码前字符串长度为 32-48 个字符。
14490
+ # @type SecretKey: String
14491
+
14492
+ attr_accessor :ZoneId, :SecretKey
14493
+
14494
+ def initialize(zoneid=nil, secretkey=nil)
14495
+ @ZoneId = zoneid
14496
+ @SecretKey = secretkey
14497
+ end
14498
+
14499
+ def deserialize(params)
14500
+ @ZoneId = params['ZoneId']
14501
+ @SecretKey = params['SecretKey']
14502
+ end
14503
+ end
14504
+
14505
+ # ModifyMultiPathGatewaySecretKey返回参数结构体
14506
+ class ModifyMultiPathGatewaySecretKeyResponse < TencentCloud::Common::AbstractModel
14507
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14508
+ # @type RequestId: String
14509
+
14510
+ attr_accessor :RequestId
14511
+
14512
+ def initialize(requestid=nil)
14513
+ @RequestId = requestid
14514
+ end
14515
+
14516
+ def deserialize(params)
14517
+ @RequestId = params['RequestId']
14518
+ end
14519
+ end
14520
+
13685
14521
  # ModifyOriginACL请求参数结构体
13686
14522
  class ModifyOriginACLRequest < TencentCloud::Common::AbstractModel
13687
14523
  # @param ZoneId: 站点 ID。
@@ -14202,6 +15038,54 @@ module TencentCloud
14202
15038
  end
14203
15039
  end
14204
15040
 
15041
+ # ModifyWebSecurityTemplate请求参数结构体
15042
+ class ModifyWebSecurityTemplateRequest < TencentCloud::Common::AbstractModel
15043
+ # @param ZoneId: 站点 ID。需要传入目标策略模板在访问权限上归属的站点,可使用 DescribeWebSecurityTemplates 接口查询策略模板归属的站点。
15044
+ # @type ZoneId: String
15045
+ # @param TemplateId: 策略模板 ID。
15046
+ # @type TemplateId: String
15047
+ # @param TemplateName: 修改后的策略模板名称。由中文、英文、数字和下划线组成,不能以下划线开头,且长度不能超过32个字符。字段为空时则不修改。
15048
+ # @type TemplateName: String
15049
+ # @param SecurityPolicy: 安全策略模板配置内容。值为空时不修改;没有传入的子模块结构不会被修改。目前支持 Web 防护模块中的例外规则、自定义规则、速率限制规则和托管规则配置,通过表达式语法对安全策略进行配置。 Bot 管理规则配置暂不支持,正在开发中。
15050
+ # 特别说明:当入参某个子模块结构时,请确保携带所有需要保留的规则内容,未传入规则内容视为删除。
15051
+ # @type SecurityPolicy: :class:`Tencentcloud::Teo.v20220901.models.SecurityPolicy`
15052
+
15053
+ attr_accessor :ZoneId, :TemplateId, :TemplateName, :SecurityPolicy
15054
+
15055
+ def initialize(zoneid=nil, templateid=nil, templatename=nil, securitypolicy=nil)
15056
+ @ZoneId = zoneid
15057
+ @TemplateId = templateid
15058
+ @TemplateName = templatename
15059
+ @SecurityPolicy = securitypolicy
15060
+ end
15061
+
15062
+ def deserialize(params)
15063
+ @ZoneId = params['ZoneId']
15064
+ @TemplateId = params['TemplateId']
15065
+ @TemplateName = params['TemplateName']
15066
+ unless params['SecurityPolicy'].nil?
15067
+ @SecurityPolicy = SecurityPolicy.new
15068
+ @SecurityPolicy.deserialize(params['SecurityPolicy'])
15069
+ end
15070
+ end
15071
+ end
15072
+
15073
+ # ModifyWebSecurityTemplate返回参数结构体
15074
+ class ModifyWebSecurityTemplateResponse < TencentCloud::Common::AbstractModel
15075
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
15076
+ # @type RequestId: String
15077
+
15078
+ attr_accessor :RequestId
15079
+
15080
+ def initialize(requestid=nil)
15081
+ @RequestId = requestid
15082
+ end
15083
+
15084
+ def deserialize(params)
15085
+ @RequestId = params['RequestId']
15086
+ end
15087
+ end
15088
+
14205
15089
  # ModifyZone请求参数结构体
14206
15090
  class ModifyZoneRequest < TencentCloud::Common::AbstractModel
14207
15091
  # @param ZoneId: 站点 ID。
@@ -14499,6 +15383,101 @@ module TencentCloud
14499
15383
  end
14500
15384
  end
14501
15385
 
15386
+ # 多通道安全网关详情
15387
+ class MultiPathGateway < TencentCloud::Common::AbstractModel
15388
+ # @param GatewayId: 网关 ID。
15389
+ # @type GatewayId: String
15390
+ # @param GatewayName: 网关名。
15391
+ # @type GatewayName: String
15392
+ # @param GatewayType: 网关类型,取值有:
15393
+ # <li> cloud:云上网关,腾讯云创建和管理的网关。</li>
15394
+ # <li> private:自有网关,用户部署的私有网关。</li>
15395
+ # @type GatewayType: String
15396
+ # @param GatewayPort: 网关端口,范围 1~65535(除去 8888 )。
15397
+ # @type GatewayPort: Integer
15398
+ # @param Status: 网关状态,取值有:
15399
+ # <li> creating : 创建中;</li>
15400
+ # <li> online : 在线;</li>
15401
+ # <li> offline : 离线;</li>
15402
+ # <li> disable : 已停用。</li>
15403
+ # @type Status: String
15404
+ # @param GatewayIP: 网关 IP, 格式为 IPv4。
15405
+ # @type GatewayIP: String
15406
+ # @param RegionId: 网关地域 Id,可以从接口 DescribeMultiPathGatewayRegions 获取 RegionId 列表。
15407
+ # @type RegionId: String
15408
+ # @param Lines: 线路信息,当查询网关信息详情 DescribeMultiPathGateway 的时候会返回,当查询网关列表 DescribeMultiPathGateways 的时候不会返回。
15409
+ # @type Lines: Array
15410
+
15411
+ attr_accessor :GatewayId, :GatewayName, :GatewayType, :GatewayPort, :Status, :GatewayIP, :RegionId, :Lines
15412
+
15413
+ def initialize(gatewayid=nil, gatewayname=nil, gatewaytype=nil, gatewayport=nil, status=nil, gatewayip=nil, regionid=nil, lines=nil)
15414
+ @GatewayId = gatewayid
15415
+ @GatewayName = gatewayname
15416
+ @GatewayType = gatewaytype
15417
+ @GatewayPort = gatewayport
15418
+ @Status = status
15419
+ @GatewayIP = gatewayip
15420
+ @RegionId = regionid
15421
+ @Lines = lines
15422
+ end
15423
+
15424
+ def deserialize(params)
15425
+ @GatewayId = params['GatewayId']
15426
+ @GatewayName = params['GatewayName']
15427
+ @GatewayType = params['GatewayType']
15428
+ @GatewayPort = params['GatewayPort']
15429
+ @Status = params['Status']
15430
+ @GatewayIP = params['GatewayIP']
15431
+ @RegionId = params['RegionId']
15432
+ unless params['Lines'].nil?
15433
+ @Lines = []
15434
+ params['Lines'].each do |i|
15435
+ multipathgatewayline_tmp = MultiPathGatewayLine.new
15436
+ multipathgatewayline_tmp.deserialize(i)
15437
+ @Lines << multipathgatewayline_tmp
15438
+ end
15439
+ end
15440
+ end
15441
+ end
15442
+
15443
+ # 多通道安全网关线路信息
15444
+ class MultiPathGatewayLine < TencentCloud::Common::AbstractModel
15445
+ # @param LineId: 线路 ID , 其中 line-0 和 line-1 为系统内置线路 ID,取值有:
15446
+ # <li> line-0:直连线路,不支持添加、编辑和删除;</li>
15447
+ # <li> line-1: EdgeOne 四层代理线路,支持修改实例和规则,不支持删除;</li>
15448
+ # <li> line-2 及以上:EdgeOne 四层代理线路或者自定义线路,支持修改、删除实例和规则。</li>
15449
+ # @type LineId: String
15450
+ # @param LineType: 线路类型,取值有:
15451
+ # <li>direct :直连线路,不支持编辑、不支持删除;</li>
15452
+ # <li>proxy :EdgeOne 四层代理线路,支持编辑修改实例和规则,不支持删除;</li>
15453
+ # <li>custom :自定义线路,支持编辑、支持删除。</li>
15454
+ # @type LineType: String
15455
+ # @param LineAddress: 线路地址,格式为 host:port 。
15456
+ # @type LineAddress: String
15457
+ # @param ProxyId: 四层代理实例 ID ,当线路类型 LineType 取值为 proxy(EdgeOne 四层代理)返回。
15458
+ # @type ProxyId: String
15459
+ # @param RuleId: 转发规则 ID ,当线路类型 LineType 取值为 proxy(EdgeOne 四层代理)返回。
15460
+ # @type RuleId: String
15461
+
15462
+ attr_accessor :LineId, :LineType, :LineAddress, :ProxyId, :RuleId
15463
+
15464
+ def initialize(lineid=nil, linetype=nil, lineaddress=nil, proxyid=nil, ruleid=nil)
15465
+ @LineId = lineid
15466
+ @LineType = linetype
15467
+ @LineAddress = lineaddress
15468
+ @ProxyId = proxyid
15469
+ @RuleId = ruleid
15470
+ end
15471
+
15472
+ def deserialize(params)
15473
+ @LineId = params['LineId']
15474
+ @LineType = params['LineType']
15475
+ @LineAddress = params['LineAddress']
15476
+ @ProxyId = params['ProxyId']
15477
+ @RuleId = params['RuleId']
15478
+ end
15479
+ end
15480
+
14502
15481
  # HTTPS 双向认证。
14503
15482
  class MutualTLS < TencentCloud::Common::AbstractModel
14504
15483
  # @param Switch: 双向认证配置开关,取值有:
@@ -16286,6 +17265,42 @@ module TencentCloud
16286
17265
  end
16287
17266
  end
16288
17267
 
17268
+ # RefreshMultiPathGatewaySecretKey请求参数结构体
17269
+ class RefreshMultiPathGatewaySecretKeyRequest < TencentCloud::Common::AbstractModel
17270
+ # @param ZoneId: 站点 ID。
17271
+ # @type ZoneId: String
17272
+
17273
+ attr_accessor :ZoneId
17274
+
17275
+ def initialize(zoneid=nil)
17276
+ @ZoneId = zoneid
17277
+ end
17278
+
17279
+ def deserialize(params)
17280
+ @ZoneId = params['ZoneId']
17281
+ end
17282
+ end
17283
+
17284
+ # RefreshMultiPathGatewaySecretKey返回参数结构体
17285
+ class RefreshMultiPathGatewaySecretKeyResponse < TencentCloud::Common::AbstractModel
17286
+ # @param SecretKey: 多通道安全加速网关接入密钥。
17287
+ # @type SecretKey: String
17288
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
17289
+ # @type RequestId: String
17290
+
17291
+ attr_accessor :SecretKey, :RequestId
17292
+
17293
+ def initialize(secretkey=nil, requestid=nil)
17294
+ @SecretKey = secretkey
17295
+ @RequestId = requestid
17296
+ end
17297
+
17298
+ def deserialize(params)
17299
+ @SecretKey = params['SecretKey']
17300
+ @RequestId = params['RequestId']
17301
+ end
17302
+ end
17303
+
16289
17304
  # 预付费套餐自动续费配置项。
16290
17305
  class RenewFlag < TencentCloud::Common::AbstractModel
16291
17306
  # @param Switch: 预付费套餐的自动续费标志,取值有:
@@ -17776,6 +18791,41 @@ module TencentCloud
17776
18791
  end
17777
18792
  end
17778
18793
 
18794
+ # 策略模板信息
18795
+ class SecurityPolicyTemplateInfo < TencentCloud::Common::AbstractModel
18796
+ # @param ZoneId: 策略模板所属的站点 ID。
18797
+ # @type ZoneId: String
18798
+ # @param TemplateId: 策略模板 ID。
18799
+ # @type TemplateId: String
18800
+ # @param TemplateName: 策略模板名称。
18801
+ # @type TemplateName: String
18802
+ # @param BindDomains: 策略模板绑定的域名信息。
18803
+ # @type BindDomains: Array
18804
+
18805
+ attr_accessor :ZoneId, :TemplateId, :TemplateName, :BindDomains
18806
+
18807
+ def initialize(zoneid=nil, templateid=nil, templatename=nil, binddomains=nil)
18808
+ @ZoneId = zoneid
18809
+ @TemplateId = templateid
18810
+ @TemplateName = templatename
18811
+ @BindDomains = binddomains
18812
+ end
18813
+
18814
+ def deserialize(params)
18815
+ @ZoneId = params['ZoneId']
18816
+ @TemplateId = params['TemplateId']
18817
+ @TemplateName = params['TemplateName']
18818
+ unless params['BindDomains'].nil?
18819
+ @BindDomains = []
18820
+ params['BindDomains'].each do |i|
18821
+ binddomaininfo_tmp = BindDomainInfo.new
18822
+ binddomaininfo_tmp.deserialize(i)
18823
+ @BindDomains << binddomaininfo_tmp
18824
+ end
18825
+ end
18826
+ end
18827
+ end
18828
+
17779
18829
  # 安全策略模板的绑定关系。
17780
18830
  class SecurityTemplateBinding < TencentCloud::Common::AbstractModel
17781
18831
  # @param TemplateId: 模板ID