tencentcloud-sdk-waf 3.0.662 → 3.0.663

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5d225e53d97f12635fc40402912825dac03bc55e
4
- data.tar.gz: da029344e01fef390054f20c402d3e2668ba5c84
3
+ metadata.gz: 9f8ad6d33275ae329ea22b4e9f01b69c65bf5776
4
+ data.tar.gz: 41f612313ea29f1b6a5eedd64c48f7b0fea6b9ca
5
5
  SHA512:
6
- metadata.gz: 30de18001311c6206a596e00452ff428d1c21be47a2e4d72fe1e3642628c04a159d74bad5a584b4015d4616991e0cd57bb515744965cd3478ed880157118496d
7
- data.tar.gz: 84e3980909571e0dee2cf529b4733c28cd2a2ad4879a9724ddec5c489ec26a3924a756f5f20a3e5bad141d490a83762945b2240f3c11a454a229193bb80d235b
6
+ metadata.gz: 9ea4cd61310cc83af5009c0643de07f1262e20c6e1fa7f954b812f8a777ec20c1113a1836af0035cd436062d8587837a8cd24be17ca334bd6604b32d902a1a04
7
+ data.tar.gz: 9b45264257c9cf90e0f08216bed48dd4de5ee3567e1c99bcb19e80ec08e2de49b3365d278ec5d1370bf51b4113e135218228f25acbdd75a410600bcbf1f9c429
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.662
1
+ 3.0.663
@@ -149,7 +149,7 @@ module TencentCloud
149
149
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
150
150
  end
151
151
 
152
- # 添加Spart防护域名
152
+ # 添加SaaS型WAF防护域名
153
153
 
154
154
  # @param request: Request instance for AddSpartaProtection.
155
155
  # @type request: :class:`Tencentcloud::waf::V20180125::AddSpartaProtectionRequest`
@@ -197,7 +197,7 @@ module TencentCloud
197
197
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
198
  end
199
199
 
200
- # clb-waf中添加防护的域名
200
+ # clb-waf中添加防护域名
201
201
 
202
202
  # @param request: Request instance for CreateHost.
203
203
  # @type request: :class:`Tencentcloud::waf::V20180125::CreateHostRequest`
@@ -510,7 +510,7 @@ module TencentCloud
510
510
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
511
511
  end
512
512
 
513
- # SAASWAF删除防护域名
513
+ # Saas型WAF删除防护域名
514
514
 
515
515
  # @param request: Request instance for DeleteSpartaProtection.
516
516
  # @type request: :class:`Tencentcloud::waf::V20180125::DeleteSpartaProtectionRequest`
@@ -850,7 +850,7 @@ module TencentCloud
850
850
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
851
851
  end
852
852
 
853
- # 查询加密套件信息
853
+ # Saas型WAF接入查询加密套件信息
854
854
 
855
855
  # @param request: Request instance for DescribeCiphersDetail.
856
856
  # @type request: :class:`Tencentcloud::waf::V20180125::DescribeCiphersDetailRequest`
@@ -946,7 +946,7 @@ module TencentCloud
946
946
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
947
947
  end
948
948
 
949
- # 获取一个clb域名详情
949
+ # 获取一个clbwaf域名详情
950
950
 
951
951
  # @param request: Request instance for DescribeDomainDetailsClb.
952
952
  # @type request: :class:`Tencentcloud::waf::V20180125::DescribeDomainDetailsClbRequest`
@@ -970,7 +970,7 @@ module TencentCloud
970
970
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
971
971
  end
972
972
 
973
- # 查询单个saas域名详情
973
+ # 查询单个saaswaf域名详情
974
974
 
975
975
  # @param request: Request instance for DescribeDomainDetailsSaas.
976
976
  # @type request: :class:`Tencentcloud::waf::V20180125::DescribeDomainDetailsSaasRequest`
@@ -1330,7 +1330,7 @@ module TencentCloud
1330
1330
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1331
1331
  end
1332
1332
 
1333
- # 获取非标端口列表
1333
+ # 获取Saas型WAF防护端口列表
1334
1334
 
1335
1335
  # @param request: Request instance for DescribePorts.
1336
1336
  # @type request: :class:`Tencentcloud::waf::V20180125::DescribePortsRequest`
@@ -2052,7 +2052,7 @@ module TencentCloud
2052
2052
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2053
2053
  end
2054
2054
 
2055
- # 修改ipv6开关
2055
+ # 切换ipv6开关
2056
2056
 
2057
2057
  # @param request: Request instance for ModifyDomainIpv6Status.
2058
2058
  # @type request: :class:`Tencentcloud::waf::V20180125::ModifyDomainIpv6StatusRequest`
@@ -2581,6 +2581,30 @@ module TencentCloud
2581
2581
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2582
2582
  end
2583
2583
 
2584
+ # 切换弹性的开关
2585
+
2586
+ # @param request: Request instance for SwitchElasticMode.
2587
+ # @type request: :class:`Tencentcloud::waf::V20180125::SwitchElasticModeRequest`
2588
+ # @rtype: :class:`Tencentcloud::waf::V20180125::SwitchElasticModeResponse`
2589
+ def SwitchElasticMode(request)
2590
+ body = send_request('SwitchElasticMode', request.serialize)
2591
+ response = JSON.parse(body)
2592
+ if response['Response'].key?('Error') == false
2593
+ model = SwitchElasticModeResponse.new
2594
+ model.deserialize(response['Response'])
2595
+ model
2596
+ else
2597
+ code = response['Response']['Error']['Code']
2598
+ message = response['Response']['Error']['Message']
2599
+ reqid = response['Response']['RequestId']
2600
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2601
+ end
2602
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2603
+ raise e
2604
+ rescue StandardError => e
2605
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2606
+ end
2607
+
2584
2608
  # Waf CC V2 Upsert接口
2585
2609
 
2586
2610
  # @param request: Request instance for UpsertCCRule.
@@ -630,78 +630,120 @@ module TencentCloud
630
630
 
631
631
  # AddSpartaProtection请求参数结构体
632
632
  class AddSpartaProtectionRequest < TencentCloud::Common::AbstractModel
633
- # @param Domain: 需要防御的域名
633
+ # @param Domain: 需要防护的域名
634
634
  # @type Domain: String
635
- # @param CertType: 证书类型,0表示没有证书,CertType=1表示自有证书,2 为托管证书
635
+ # @param CertType: 证书类型。
636
+ # 0:仅配置HTTP监听端口,没有证书
637
+ # 1:证书来源为自有证书
638
+ # 2:证书来源为托管证书
636
639
  # @type CertType: Integer
637
- # @param IsCdn: 表示是否开启了CDN代理,1:有部署CDN,0:未部署CDN
640
+ # @param IsCdn: waf前是否部署有七层代理服务。
641
+ # 0:没有部署代理服务
642
+ # 1:有部署代理服务,waf将使用XFF获取客户端IP
643
+ # 2:有部署代理服务,waf将使用remote_addr获取客户端IP
644
+ # 3:有部署代理服务,waf将使用ip_headers中的自定义header获取客户端IP
638
645
  # @type IsCdn: Integer
639
- # @param UpstreamType: 回源类型,0表示通过IP回源,1 表示通过域名回源
646
+ # @param UpstreamType: 回源类型。
647
+ # 0:通过IP回源
648
+ # 1:通过域名回源
640
649
  # @type UpstreamType: Integer
641
- # @param IsWebsocket: 是否开启WebSocket支持,1表示开启,0不开启
650
+ # @param IsWebsocket: 是否开启WebSocket支持。
651
+ # 0:关闭
652
+ # 1:开启
642
653
  # @type IsWebsocket: Integer
643
- # @param LoadBalance: 负载均衡策略,0表示轮询,1表示IP hash
654
+ # @param LoadBalance: 回源负载均衡策略。
655
+ # 0:轮询
656
+ # 1:IP hash
657
+ # 2:加权轮询
644
658
  # @type LoadBalance: String
645
- # @param Cert: 值为1时,需要填次参数,表示证书内容
659
+ # @param Cert: CertType为1时,需要填充此参数,表示自有证书的证书链
646
660
  # @type Cert: String
647
- # @param PrivateKey: CertType=1时,需要填次参数,表示证书的私钥
661
+ # @param PrivateKey: CertType1时,需要填充此参数,表示自有证书的私钥
648
662
  # @type PrivateKey: String
649
- # @param SSLId: CertType=2时,需要填次参数,表示证书的ID
663
+ # @param SSLId: CertType2时,需要填充此参数,表示腾讯云SSL平台托管的证书id
650
664
  # @type SSLId: String
651
- # @param ResourceId: Waf的资源ID
665
+ # @param ResourceId: 待废弃,可不填。Waf的资源ID
652
666
  # @type ResourceId: String
653
- # @param UpstreamScheme: HTTPS回源协议,填http或者https
667
+ # @param IpHeaders: IsCdn为3时,需要填此参数,表示自定义header
668
+ # @type IpHeaders: Array
669
+ # @param UpstreamScheme: 服务配置有HTTPS端口时,HTTPS的回源协议。
670
+ # http:使用http协议回源,和HttpsUpstreamPort配合使用
671
+ # https:使用https协议回源
654
672
  # @type UpstreamScheme: String
655
673
  # @param HttpsUpstreamPort: HTTPS回源端口,仅UpstreamScheme为http时需要填当前字段
656
674
  # @type HttpsUpstreamPort: String
657
- # @param IsGray: 是否开启灰度,0表示不开启灰度
675
+ # @param IsGray: 待废弃,可不填。是否开启灰度,0表示不开启灰度。
658
676
  # @type IsGray: Integer
659
- # @param GrayAreas: 灰度的地区
677
+ # @param GrayAreas: 待废弃,可不填。灰度的地区
660
678
  # @type GrayAreas: Array
661
- # @param UpstreamDomain: UpstreamType=1时,填次字段表示回源域名
679
+ # @param HttpsRewrite: 是否开启HTTP强制跳转到HTTPS。
680
+ # 0:不强制跳转
681
+ # 1:开启强制跳转
682
+ # @type HttpsRewrite: Integer
683
+ # @param UpstreamDomain: 域名回源时的回源域名。UpstreamType为1时,需要填充此字段
662
684
  # @type UpstreamDomain: String
663
- # @param SrcList: UpstreamType=0时,填次字段表示回源IP
685
+ # @param SrcList: IP回源时的回源IP列表。UpstreamType0时,需要填充此字段
664
686
  # @type SrcList: Array
665
- # @param IsHttp2: 是否开启HTTP2,开启HTTP2需要HTTPS支持
687
+ # @param IsHttp2: 是否开启HTTP2,需要开启HTTPS协议支持。
688
+ # 0:关闭
689
+ # 1:开启
666
690
  # @type IsHttp2: Integer
667
- # @param HttpsRewrite: 表示是否强制跳转到HTTPS,1强制跳转Https,0不强制跳转
668
- # @type HttpsRewrite: Integer
669
- # @param Ports: 服务有多端口需要设置此字段
691
+ # @param Ports: 服务端口列表配置。
692
+ # NginxServerId:新增域名时填'0'
693
+ # Port:监听端口号
694
+ # Protocol:端口协议
695
+ # UpstreamPort:与Port相同
696
+ # UpstreamProtocol:与Protocol相同
670
697
  # @type Ports: Array
671
- # @param Edition: WAF实例类型,sparta-waf表示SAAS型WAF,clb-waf表示负载均衡型WAF,cdn-waf表示CDN上的Web防护能力
698
+ # @param Edition: 待废弃,可不填。WAF实例类型。
699
+ # sparta-waf:SAAS型WAF
700
+ # clb-waf:负载均衡型WAF
701
+ # cdn-waf:CDN上的Web防护能力
672
702
  # @type Edition: String
673
- # @param IsKeepAlive: 是否开启长连接,0 短连接,1 长连接
703
+ # @param IsKeepAlive: 是否开启长连接。
704
+ # 0: 短连接
705
+ # 1: 长连接
674
706
  # @type IsKeepAlive: String
675
- # @param InstanceID: 实例id,上线之后带上此字段
707
+ # @param InstanceID: 域名所属实例id
676
708
  # @type InstanceID: String
677
- # @param Anycast: anycast IP类型开关: 0 普通IP 1 Anycast IP
709
+ # @param Anycast: 待废弃,目前填0即可。anycast IP类型开关: 0 普通IP 1 Anycast IP
678
710
  # @type Anycast: Integer
679
- # @param Weights: src权重
711
+ # @param Weights: 回源IP列表各IP的权重,和SrcList一一对应。当且仅当UpstreamType为0,并且SrcList有多个IP,并且LoadBalance为2时需要填写,否则填 []
680
712
  # @type Weights: Array
681
- # @param ActiveCheck: 是否开启主动健康检测,1表示开启,0表示不开启
713
+ # @param ActiveCheck: 是否开启主动健康检测。
714
+ # 0:不开启
715
+ # 1:开启
682
716
  # @type ActiveCheck: Integer
683
717
  # @param TLSVersion: TLS版本信息
684
718
  # @type TLSVersion: Integer
685
- # @param Ciphers: 加密套件信息
686
- # @type Ciphers: Array
687
- # @param CipherTemplate: 0:不支持选择:默认模版 1:通用型模版 2:安全型模版 3:自定义模版
719
+ # @param CipherTemplate: 加密套件模板。
720
+ # 0:不支持选择,使用默认模版
721
+ # 1:通用型模版
722
+ # 2:安全型模版
723
+ # 3:自定义模版
688
724
  # @type CipherTemplate: Integer
689
- # @param ProxyReadTimeout: 300s
725
+ # @param Ciphers: 自定义的加密套件列表。CipherTemplate为3时需要填此字段,表示自定义的加密套件,值通过DescribeCiphersDetail接口获取。
726
+ # @type Ciphers: Array
727
+ # @param ProxyReadTimeout: WAF与源站的读超时时间,默认300s。
690
728
  # @type ProxyReadTimeout: Integer
691
- # @param ProxySendTimeout: 300s
729
+ # @param ProxySendTimeout: WAF与源站的写超时时间,默认300s
692
730
  # @type ProxySendTimeout: Integer
693
- # @param SniType: 0:关闭SNI;1:开启SNI,SNI=源请求host;2:开启SNI,SNI=修改为源站host;3:开启SNI,自定义host,SNI=SniHost;
731
+ # @param SniType: WAF回源时的SNI类型。
732
+ # 0:关闭SNI,不配置client_hello中的server_name
733
+ # 1:开启SNI,client_hello中的server_name为防护域名
734
+ # 2:开启SNI,SNI为域名回源时的源站域名
735
+ # 3:开启SNI,SNI为自定义域名
694
736
  # @type SniType: Integer
695
- # @param SniHost: SniType=3时,需要填此参数,表示自定义的host
737
+ # @param SniHost: SniType3时,需要填此参数,表示自定义的SNI
696
738
  # @type SniHost: String
697
- # @param IpHeaders: is_cdn=3时,需要填此参数,表示自定义header
698
- # @type IpHeaders: Array
699
- # @param XFFReset: 0:关闭xff重置;1:开启xff重置
739
+ # @param XFFReset: 是否开启XFF重置。
740
+ # 0:关闭
741
+ # 1:开启
700
742
  # @type XFFReset: Integer
701
743
 
702
- attr_accessor :Domain, :CertType, :IsCdn, :UpstreamType, :IsWebsocket, :LoadBalance, :Cert, :PrivateKey, :SSLId, :ResourceId, :UpstreamScheme, :HttpsUpstreamPort, :IsGray, :GrayAreas, :UpstreamDomain, :SrcList, :IsHttp2, :HttpsRewrite, :Ports, :Edition, :IsKeepAlive, :InstanceID, :Anycast, :Weights, :ActiveCheck, :TLSVersion, :Ciphers, :CipherTemplate, :ProxyReadTimeout, :ProxySendTimeout, :SniType, :SniHost, :IpHeaders, :XFFReset
744
+ attr_accessor :Domain, :CertType, :IsCdn, :UpstreamType, :IsWebsocket, :LoadBalance, :Cert, :PrivateKey, :SSLId, :ResourceId, :IpHeaders, :UpstreamScheme, :HttpsUpstreamPort, :IsGray, :GrayAreas, :HttpsRewrite, :UpstreamDomain, :SrcList, :IsHttp2, :Ports, :Edition, :IsKeepAlive, :InstanceID, :Anycast, :Weights, :ActiveCheck, :TLSVersion, :CipherTemplate, :Ciphers, :ProxyReadTimeout, :ProxySendTimeout, :SniType, :SniHost, :XFFReset
703
745
 
704
- def initialize(domain=nil, certtype=nil, iscdn=nil, upstreamtype=nil, iswebsocket=nil, loadbalance=nil, cert=nil, privatekey=nil, sslid=nil, resourceid=nil, upstreamscheme=nil, httpsupstreamport=nil, isgray=nil, grayareas=nil, upstreamdomain=nil, srclist=nil, ishttp2=nil, httpsrewrite=nil, ports=nil, edition=nil, iskeepalive=nil, instanceid=nil, anycast=nil, weights=nil, activecheck=nil, tlsversion=nil, ciphers=nil, ciphertemplate=nil, proxyreadtimeout=nil, proxysendtimeout=nil, snitype=nil, snihost=nil, ipheaders=nil, xffreset=nil)
746
+ def initialize(domain=nil, certtype=nil, iscdn=nil, upstreamtype=nil, iswebsocket=nil, loadbalance=nil, cert=nil, privatekey=nil, sslid=nil, resourceid=nil, ipheaders=nil, upstreamscheme=nil, httpsupstreamport=nil, isgray=nil, grayareas=nil, httpsrewrite=nil, upstreamdomain=nil, srclist=nil, ishttp2=nil, ports=nil, edition=nil, iskeepalive=nil, instanceid=nil, anycast=nil, weights=nil, activecheck=nil, tlsversion=nil, ciphertemplate=nil, ciphers=nil, proxyreadtimeout=nil, proxysendtimeout=nil, snitype=nil, snihost=nil, xffreset=nil)
705
747
  @Domain = domain
706
748
  @CertType = certtype
707
749
  @IsCdn = iscdn
@@ -712,14 +754,15 @@ module TencentCloud
712
754
  @PrivateKey = privatekey
713
755
  @SSLId = sslid
714
756
  @ResourceId = resourceid
757
+ @IpHeaders = ipheaders
715
758
  @UpstreamScheme = upstreamscheme
716
759
  @HttpsUpstreamPort = httpsupstreamport
717
760
  @IsGray = isgray
718
761
  @GrayAreas = grayareas
762
+ @HttpsRewrite = httpsrewrite
719
763
  @UpstreamDomain = upstreamdomain
720
764
  @SrcList = srclist
721
765
  @IsHttp2 = ishttp2
722
- @HttpsRewrite = httpsrewrite
723
766
  @Ports = ports
724
767
  @Edition = edition
725
768
  @IsKeepAlive = iskeepalive
@@ -728,13 +771,12 @@ module TencentCloud
728
771
  @Weights = weights
729
772
  @ActiveCheck = activecheck
730
773
  @TLSVersion = tlsversion
731
- @Ciphers = ciphers
732
774
  @CipherTemplate = ciphertemplate
775
+ @Ciphers = ciphers
733
776
  @ProxyReadTimeout = proxyreadtimeout
734
777
  @ProxySendTimeout = proxysendtimeout
735
778
  @SniType = snitype
736
779
  @SniHost = snihost
737
- @IpHeaders = ipheaders
738
780
  @XFFReset = xffreset
739
781
  end
740
782
 
@@ -749,14 +791,15 @@ module TencentCloud
749
791
  @PrivateKey = params['PrivateKey']
750
792
  @SSLId = params['SSLId']
751
793
  @ResourceId = params['ResourceId']
794
+ @IpHeaders = params['IpHeaders']
752
795
  @UpstreamScheme = params['UpstreamScheme']
753
796
  @HttpsUpstreamPort = params['HttpsUpstreamPort']
754
797
  @IsGray = params['IsGray']
755
798
  @GrayAreas = params['GrayAreas']
799
+ @HttpsRewrite = params['HttpsRewrite']
756
800
  @UpstreamDomain = params['UpstreamDomain']
757
801
  @SrcList = params['SrcList']
758
802
  @IsHttp2 = params['IsHttp2']
759
- @HttpsRewrite = params['HttpsRewrite']
760
803
  unless params['Ports'].nil?
761
804
  @Ports = []
762
805
  params['Ports'].each do |i|
@@ -772,13 +815,12 @@ module TencentCloud
772
815
  @Weights = params['Weights']
773
816
  @ActiveCheck = params['ActiveCheck']
774
817
  @TLSVersion = params['TLSVersion']
775
- @Ciphers = params['Ciphers']
776
818
  @CipherTemplate = params['CipherTemplate']
819
+ @Ciphers = params['Ciphers']
777
820
  @ProxyReadTimeout = params['ProxyReadTimeout']
778
821
  @ProxySendTimeout = params['ProxySendTimeout']
779
822
  @SniType = params['SniType']
780
823
  @SniHost = params['SniHost']
781
- @IpHeaders = params['IpHeaders']
782
824
  @XFFReset = params['XFFReset']
783
825
  end
784
826
  end
@@ -2005,7 +2047,7 @@ module TencentCloud
2005
2047
  class DeleteSpartaProtectionRequest < TencentCloud::Common::AbstractModel
2006
2048
  # @param Domains: 域名列表
2007
2049
  # @type Domains: Array
2008
- # @param Edition: 版本
2050
+ # @param Edition: 实例类型
2009
2051
  # @type Edition: String
2010
2052
  # @param InstanceID: 实例id
2011
2053
  # @type InstanceID: String
@@ -4188,21 +4230,21 @@ module TencentCloud
4188
4230
 
4189
4231
  # DescribePorts请求参数结构体
4190
4232
  class DescribePortsRequest < TencentCloud::Common::AbstractModel
4191
- # @param Edition: 版本
4192
- # @type Edition: String
4193
4233
  # @param InstanceID: 实例ID
4194
4234
  # @type InstanceID: String
4235
+ # @param Edition: 实例类型
4236
+ # @type Edition: String
4195
4237
 
4196
- attr_accessor :Edition, :InstanceID
4238
+ attr_accessor :InstanceID, :Edition
4197
4239
 
4198
- def initialize(edition=nil, instanceid=nil)
4199
- @Edition = edition
4240
+ def initialize(instanceid=nil, edition=nil)
4200
4241
  @InstanceID = instanceid
4242
+ @Edition = edition
4201
4243
  end
4202
4244
 
4203
4245
  def deserialize(params)
4204
- @Edition = params['Edition']
4205
4246
  @InstanceID = params['InstanceID']
4247
+ @Edition = params['Edition']
4206
4248
  end
4207
4249
  end
4208
4250
 
@@ -8699,6 +8741,46 @@ module TencentCloud
8699
8741
  end
8700
8742
  end
8701
8743
 
8744
+ # SwitchElasticMode请求参数结构体
8745
+ class SwitchElasticModeRequest < TencentCloud::Common::AbstractModel
8746
+ # @param Edition: 版本,只能是sparta-waf, clb-waf, cdn-waf
8747
+ # @type Edition: String
8748
+ # @param Mode: 0代表关闭,1代表打开
8749
+ # @type Mode: Integer
8750
+ # @param InstanceID: 实例id
8751
+ # @type InstanceID: String
8752
+
8753
+ attr_accessor :Edition, :Mode, :InstanceID
8754
+
8755
+ def initialize(edition=nil, mode=nil, instanceid=nil)
8756
+ @Edition = edition
8757
+ @Mode = mode
8758
+ @InstanceID = instanceid
8759
+ end
8760
+
8761
+ def deserialize(params)
8762
+ @Edition = params['Edition']
8763
+ @Mode = params['Mode']
8764
+ @InstanceID = params['InstanceID']
8765
+ end
8766
+ end
8767
+
8768
+ # SwitchElasticMode返回参数结构体
8769
+ class SwitchElasticModeResponse < TencentCloud::Common::AbstractModel
8770
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8771
+ # @type RequestId: String
8772
+
8773
+ attr_accessor :RequestId
8774
+
8775
+ def initialize(requestid=nil)
8776
+ @RequestId = requestid
8777
+ end
8778
+
8779
+ def deserialize(params)
8780
+ @RequestId = params['RequestId']
8781
+ end
8782
+ end
8783
+
8702
8784
  # TLS 加密套件
8703
8785
  class TLSCiphers < TencentCloud::Common::AbstractModel
8704
8786
  # @param VersionId: TLS版本ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-waf
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.662
4
+ version: 3.0.663
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-19 00:00:00.000000000 Z
11
+ date: 2023-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common