tencentcloud-sdk-waf 3.0.661 → 3.0.662

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180125/models.rb +44 -15
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6d0de4e59ba0ac9e16a5b43eeb6eae689916016d
4
- data.tar.gz: d811aabdf20f4f50093a3f9d069ed7d64032dd2a
3
+ metadata.gz: 5d225e53d97f12635fc40402912825dac03bc55e
4
+ data.tar.gz: da029344e01fef390054f20c402d3e2668ba5c84
5
5
  SHA512:
6
- metadata.gz: 0f36aa4d68ac09c0b6f013ee5d32c1cef616ab174050776a0b1b62bf3c3e5cb05d81cde2fdcaaf935a97244c5db9674deee902629f96e464ef8dbc72ee868d71
7
- data.tar.gz: 68883417e1a0c4f631284902862c07232a9be437d9ff1e082a76adb365d03071278cde79666f6feb1efd7c7fe33d604e0f22a6cfdbd24c3481e745903f430e20
6
+ metadata.gz: 30de18001311c6206a596e00452ff428d1c21be47a2e4d72fe1e3642628c04a159d74bad5a584b4015d4616991e0cd57bb515744965cd3478ed880157118496d
7
+ data.tar.gz: 84e3980909571e0dee2cf529b4733c28cd2a2ad4879a9724ddec5c489ec26a3924a756f5f20a3e5bad141d490a83762945b2240f3c11a454a229193bb80d235b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.661
1
+ 3.0.662
@@ -1291,10 +1291,13 @@ module TencentCloud
1291
1291
  # @param CdcClusters: cdc类型会增加集群信息
1292
1292
  # 注意:此字段可能返回 null,表示取不到有效值。
1293
1293
  # @type CdcClusters: String
1294
+ # @param CloudType: 云类型:public:公有云;private:私有云;hybrid:混合云
1295
+ # 注意:此字段可能返回 null,表示取不到有效值。
1296
+ # @type CloudType: String
1294
1297
 
1295
- attr_accessor :Domain, :DomainId, :InstanceId, :InstanceName, :Edition, :IsCdn, :LoadBalancerSet, :FlowMode, :State, :AlbType, :IpHeaders, :CdcClusters
1298
+ attr_accessor :Domain, :DomainId, :InstanceId, :InstanceName, :Edition, :IsCdn, :LoadBalancerSet, :FlowMode, :State, :AlbType, :IpHeaders, :CdcClusters, :CloudType
1296
1299
 
1297
- def initialize(domain=nil, domainid=nil, instanceid=nil, instancename=nil, edition=nil, iscdn=nil, loadbalancerset=nil, flowmode=nil, state=nil, albtype=nil, ipheaders=nil, cdcclusters=nil)
1300
+ def initialize(domain=nil, domainid=nil, instanceid=nil, instancename=nil, edition=nil, iscdn=nil, loadbalancerset=nil, flowmode=nil, state=nil, albtype=nil, ipheaders=nil, cdcclusters=nil, cloudtype=nil)
1298
1301
  @Domain = domain
1299
1302
  @DomainId = domainid
1300
1303
  @InstanceId = instanceid
@@ -1307,6 +1310,7 @@ module TencentCloud
1307
1310
  @AlbType = albtype
1308
1311
  @IpHeaders = ipheaders
1309
1312
  @CdcClusters = cdcclusters
1313
+ @CloudType = cloudtype
1310
1314
  end
1311
1315
 
1312
1316
  def deserialize(params)
@@ -1329,6 +1333,7 @@ module TencentCloud
1329
1333
  @AlbType = params['AlbType']
1330
1334
  @IpHeaders = params['IpHeaders']
1331
1335
  @CdcClusters = params['CdcClusters']
1336
+ @CloudType = params['CloudType']
1332
1337
  end
1333
1338
  end
1334
1339
 
@@ -5777,13 +5782,13 @@ module TencentCloud
5777
5782
  # @type DomainId: String
5778
5783
  # @param MainDomain: 主域名,入参时为空
5779
5784
  # @type MainDomain: String
5780
- # @param Mode: waf模式,同saas waf保持一致
5785
+ # @param Mode: 规则引擎防护模式,0 观察模式,1拦截模式
5781
5786
  # @type Mode: Integer
5782
5787
  # @param Status: waf和LD的绑定,0:没有绑定,1:绑定
5783
5788
  # @type Status: Integer
5784
5789
  # @param State: 域名状态,0:正常,1:未检测到流量,2:即将过期,3:过期
5785
5790
  # @type State: Integer
5786
- # @param Engine: 使用的规则,同saas waf保持一致
5791
+ # @param Engine: 规则引擎和AI引擎防护模式联合状态,10规则引擎观察&&AI引擎关闭模式 11规则引擎观察&&AI引擎观察模式 12规则引擎观察&&AI引擎拦截模式 20规则引擎拦截&&AI引擎关闭模式 21规则引擎拦截&&AI引擎观察模式 22规则引擎拦截&&AI引擎拦截模式
5787
5792
  # @type Engine: Integer
5788
5793
  # @param IsCdn: 是否开启代理,0:不开启,1:开启
5789
5794
  # @type IsCdn: Integer
@@ -5812,10 +5817,13 @@ module TencentCloud
5812
5817
  # @param EngineType: 规则引擎类型, 1: menshen, 2:tiga
5813
5818
  # 注意:此字段可能返回 null,表示取不到有效值。
5814
5819
  # @type EngineType: Integer
5820
+ # @param CloudType: 云类型:public:公有云;private:私有云;hybrid:混合云
5821
+ # 注意:此字段可能返回 null,表示取不到有效值。
5822
+ # @type CloudType: String
5815
5823
 
5816
- attr_accessor :Domain, :DomainId, :MainDomain, :Mode, :Status, :State, :Engine, :IsCdn, :LoadBalancerSet, :Region, :Edition, :FlowMode, :ClsStatus, :Level, :CdcClusters, :AlbType, :IpHeaders, :EngineType
5824
+ attr_accessor :Domain, :DomainId, :MainDomain, :Mode, :Status, :State, :Engine, :IsCdn, :LoadBalancerSet, :Region, :Edition, :FlowMode, :ClsStatus, :Level, :CdcClusters, :AlbType, :IpHeaders, :EngineType, :CloudType
5817
5825
 
5818
- def initialize(domain=nil, domainid=nil, maindomain=nil, mode=nil, status=nil, state=nil, engine=nil, iscdn=nil, loadbalancerset=nil, region=nil, edition=nil, flowmode=nil, clsstatus=nil, level=nil, cdcclusters=nil, albtype=nil, ipheaders=nil, enginetype=nil)
5826
+ def initialize(domain=nil, domainid=nil, maindomain=nil, mode=nil, status=nil, state=nil, engine=nil, iscdn=nil, loadbalancerset=nil, region=nil, edition=nil, flowmode=nil, clsstatus=nil, level=nil, cdcclusters=nil, albtype=nil, ipheaders=nil, enginetype=nil, cloudtype=nil)
5819
5827
  @Domain = domain
5820
5828
  @DomainId = domainid
5821
5829
  @MainDomain = maindomain
@@ -5834,6 +5842,7 @@ module TencentCloud
5834
5842
  @AlbType = albtype
5835
5843
  @IpHeaders = ipheaders
5836
5844
  @EngineType = enginetype
5845
+ @CloudType = cloudtype
5837
5846
  end
5838
5847
 
5839
5848
  def deserialize(params)
@@ -5862,6 +5871,7 @@ module TencentCloud
5862
5871
  @AlbType = params['AlbType']
5863
5872
  @IpHeaders = params['IpHeaders']
5864
5873
  @EngineType = params['EngineType']
5874
+ @CloudType = params['CloudType']
5865
5875
  end
5866
5876
  end
5867
5877
 
@@ -6209,10 +6219,13 @@ module TencentCloud
6209
6219
  # @param LoadBalancerType: 负载均衡的网络类型
6210
6220
  # 注意:此字段可能返回 null,表示取不到有效值。
6211
6221
  # @type LoadBalancerType: String
6222
+ # @param LoadBalancerDomain: 负载均衡的域名
6223
+ # 注意:此字段可能返回 null,表示取不到有效值。
6224
+ # @type LoadBalancerDomain: String
6212
6225
 
6213
- attr_accessor :LoadBalancerId, :LoadBalancerName, :ListenerId, :ListenerName, :Vip, :Vport, :Region, :Protocol, :Zone, :NumericalVpcId, :LoadBalancerType
6226
+ attr_accessor :LoadBalancerId, :LoadBalancerName, :ListenerId, :ListenerName, :Vip, :Vport, :Region, :Protocol, :Zone, :NumericalVpcId, :LoadBalancerType, :LoadBalancerDomain
6214
6227
 
6215
- def initialize(loadbalancerid=nil, loadbalancername=nil, listenerid=nil, listenername=nil, vip=nil, vport=nil, region=nil, protocol=nil, zone=nil, numericalvpcid=nil, loadbalancertype=nil)
6228
+ def initialize(loadbalancerid=nil, loadbalancername=nil, listenerid=nil, listenername=nil, vip=nil, vport=nil, region=nil, protocol=nil, zone=nil, numericalvpcid=nil, loadbalancertype=nil, loadbalancerdomain=nil)
6216
6229
  @LoadBalancerId = loadbalancerid
6217
6230
  @LoadBalancerName = loadbalancername
6218
6231
  @ListenerId = listenerid
@@ -6224,6 +6237,7 @@ module TencentCloud
6224
6237
  @Zone = zone
6225
6238
  @NumericalVpcId = numericalvpcid
6226
6239
  @LoadBalancerType = loadbalancertype
6240
+ @LoadBalancerDomain = loadbalancerdomain
6227
6241
  end
6228
6242
 
6229
6243
  def deserialize(params)
@@ -6238,6 +6252,7 @@ module TencentCloud
6238
6252
  @Zone = params['Zone']
6239
6253
  @NumericalVpcId = params['NumericalVpcId']
6240
6254
  @LoadBalancerType = params['LoadBalancerType']
6255
+ @LoadBalancerDomain = params['LoadBalancerDomain']
6241
6256
  end
6242
6257
  end
6243
6258
 
@@ -6276,10 +6291,13 @@ module TencentCloud
6276
6291
  # @param LoadBalancerType: CLB类型
6277
6292
  # 注意:此字段可能返回 null,表示取不到有效值。
6278
6293
  # @type LoadBalancerType: String
6294
+ # @param LoadBalancerDomain: 负载均衡器的域名
6295
+ # 注意:此字段可能返回 null,表示取不到有效值。
6296
+ # @type LoadBalancerDomain: String
6279
6297
 
6280
- attr_accessor :ListenerId, :ListenerName, :LoadBalancerId, :LoadBalancerName, :Protocol, :Region, :Vip, :Vport, :Zone, :NumericalVpcId, :LoadBalancerType
6298
+ attr_accessor :ListenerId, :ListenerName, :LoadBalancerId, :LoadBalancerName, :Protocol, :Region, :Vip, :Vport, :Zone, :NumericalVpcId, :LoadBalancerType, :LoadBalancerDomain
6281
6299
 
6282
- def initialize(listenerid=nil, listenername=nil, loadbalancerid=nil, loadbalancername=nil, protocol=nil, region=nil, vip=nil, vport=nil, zone=nil, numericalvpcid=nil, loadbalancertype=nil)
6300
+ def initialize(listenerid=nil, listenername=nil, loadbalancerid=nil, loadbalancername=nil, protocol=nil, region=nil, vip=nil, vport=nil, zone=nil, numericalvpcid=nil, loadbalancertype=nil, loadbalancerdomain=nil)
6283
6301
  @ListenerId = listenerid
6284
6302
  @ListenerName = listenername
6285
6303
  @LoadBalancerId = loadbalancerid
@@ -6291,6 +6309,7 @@ module TencentCloud
6291
6309
  @Zone = zone
6292
6310
  @NumericalVpcId = numericalvpcid
6293
6311
  @LoadBalancerType = loadbalancertype
6312
+ @LoadBalancerDomain = loadbalancerdomain
6294
6313
  end
6295
6314
 
6296
6315
  def deserialize(params)
@@ -6305,6 +6324,7 @@ module TencentCloud
6305
6324
  @Zone = params['Zone']
6306
6325
  @NumericalVpcId = params['NumericalVpcId']
6307
6326
  @LoadBalancerType = params['LoadBalancerType']
6327
+ @LoadBalancerDomain = params['LoadBalancerDomain']
6308
6328
  end
6309
6329
  end
6310
6330
 
@@ -7335,19 +7355,23 @@ module TencentCloud
7335
7355
 
7336
7356
  # ModifyInstanceName请求参数结构体
7337
7357
  class ModifyInstanceNameRequest < TencentCloud::Common::AbstractModel
7358
+ # @param InstanceName: 新名称
7359
+ # @type InstanceName: String
7338
7360
  # @param InstanceID: 实例id
7339
7361
  # @type InstanceID: String
7340
7362
  # @param Edition: 版本
7341
7363
  # @type Edition: String
7342
7364
 
7343
- attr_accessor :InstanceID, :Edition
7365
+ attr_accessor :InstanceName, :InstanceID, :Edition
7344
7366
 
7345
- def initialize(instanceid=nil, edition=nil)
7367
+ def initialize(instancename=nil, instanceid=nil, edition=nil)
7368
+ @InstanceName = instancename
7346
7369
  @InstanceID = instanceid
7347
7370
  @Edition = edition
7348
7371
  end
7349
7372
 
7350
7373
  def deserialize(params)
7374
+ @InstanceName = params['InstanceName']
7351
7375
  @InstanceID = params['InstanceID']
7352
7376
  @Edition = params['Edition']
7353
7377
  end
@@ -7597,7 +7621,7 @@ module TencentCloud
7597
7621
  # @type SniHost: String
7598
7622
  # @param IpHeaders: IsCdn=3时,需要填此参数,表示自定义header
7599
7623
  # @type IpHeaders: Array
7600
- # @param XFFReset: 0:关闭xff重置;1:开启xff重置
7624
+ # @param XFFReset: 0:关闭xff重置;1:开启xff重置,只有在IsCdn=0时可以开启
7601
7625
  # @type XFFReset: Integer
7602
7626
 
7603
7627
  attr_accessor :Domain, :DomainId, :CertType, :Cert, :PrivateKey, :SSLId, :IsCdn, :UpstreamScheme, :HttpsUpstreamPort, :HttpsRewrite, :UpstreamType, :UpstreamDomain, :SrcList, :IsHttp2, :IsWebsocket, :LoadBalance, :IsGray, :Edition, :Ports, :IsKeepAlive, :InstanceID, :Anycast, :Weights, :ActiveCheck, :TLSVersion, :Ciphers, :CipherTemplate, :ProxyReadTimeout, :ProxySendTimeout, :SniType, :SniHost, :IpHeaders, :XFFReset
@@ -8979,10 +9003,13 @@ module TencentCloud
8979
9003
  # @param Cls: 指定域名是否写cls的开关 1:写 0:不写
8980
9004
  # 注意:此字段可能返回 null,表示取不到有效值。
8981
9005
  # @type Cls: Integer
9006
+ # @param CloudType: 标记是否是混合云接入。hybrid表示混合云接入域名
9007
+ # 注意:此字段可能返回 null,表示取不到有效值。
9008
+ # @type CloudType: String
8982
9009
 
8983
- attr_accessor :Appid, :Domain, :DomainId, :InstanceId, :InstanceName, :Edition, :Level, :WriteConfig, :Cls
9010
+ attr_accessor :Appid, :Domain, :DomainId, :InstanceId, :InstanceName, :Edition, :Level, :WriteConfig, :Cls, :CloudType
8984
9011
 
8985
- def initialize(appid=nil, domain=nil, domainid=nil, instanceid=nil, instancename=nil, edition=nil, level=nil, writeconfig=nil, cls=nil)
9012
+ def initialize(appid=nil, domain=nil, domainid=nil, instanceid=nil, instancename=nil, edition=nil, level=nil, writeconfig=nil, cls=nil, cloudtype=nil)
8986
9013
  @Appid = appid
8987
9014
  @Domain = domain
8988
9015
  @DomainId = domainid
@@ -8992,6 +9019,7 @@ module TencentCloud
8992
9019
  @Level = level
8993
9020
  @WriteConfig = writeconfig
8994
9021
  @Cls = cls
9022
+ @CloudType = cloudtype
8995
9023
  end
8996
9024
 
8997
9025
  def deserialize(params)
@@ -9004,6 +9032,7 @@ module TencentCloud
9004
9032
  @Level = params['Level']
9005
9033
  @WriteConfig = params['WriteConfig']
9006
9034
  @Cls = params['Cls']
9035
+ @CloudType = params['CloudType']
9007
9036
  end
9008
9037
  end
9009
9038
 
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.661
4
+ version: 3.0.662
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-18 00:00:00.000000000 Z
11
+ date: 2023-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common